Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Al Validation doesn't show correct Results- It says Run-AlValidationSuccess Without event running the script #3510

Closed
BSSIRajbir opened this issue Apr 25, 2024 · 1 comment
Assignees

Comments

@BSSIRajbir
Copy link

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!

Describe the issue
Trying to run Al validation but it is running without running validation.

Scripts used to create container and cause the issue



$licenseFile ='BC-Feb-2024.bclicense'
$validationResults = Run-AlValidation -validateVersion 23.0 `
-licenseFile $licenseFile `
-previousApps @("License Management_1.36.0.0.app","Subscription Billing Suite_1.42.7.0.app") `
-apps @("Subscription Billing Suite_1.42.7.1.app") `
-countries @("US") `
-affixes @( "xxxx" ) 
$validationResults | Write-Host -ForegroundColor Red

Full output of scripts

 _____                               _                
 |  __ \                             | |               
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Container name                  bcserver
Credential                      admin/Jisy5453
MemoryLimit                     8G
validateVersion                 23.0
validateCurrent                 False
validateNextMinor               False
validateNextMajor               False
countries                       us
validateCountries               us
affixes                         Bssi
supportedCountries              
ObsoleteTagMinAllowedMajorMinor 
vsixFile                        
Install Apps
- None
Previous Apps
- C:\Users\rajbir\Desktop\AppsValidation\Signing\Binary Stream Software Inc._Binary Stream Inc License Management_1.36.0.0.app
- C:\Users\rajbir\Desktop\AppsValidation\Apps\PreviousVersion\Binary Stream Software Inc._Subscription Billing Suite_1.42.7.0.app
Apps
- C:\Users\rajbir\Desktop\AppsValidation\Apps\CurrentVersion\Binary Stream Software Inc._Subscription Billing Suite_1.42.7.1.app

  _____       _ _ _                                          _        _                            
 |  __ \     | | (_)                                        (_)      (_)                           
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |     
                          |___/   |___/                                                 |___/      

Pulling mcr.microsoft.com/businesscentral:ltsc2019-filesonly

Pulling generic image took 2 seconds
  _____       _                      _                         _   _  __           _       
 |  __ \     | |                    (_)                       | | (_)/ _|         | |      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/
                                                                                           
Error querying artifacts. Error message was Unable to connect to the remote server

Repeating download attempt ( 2  of  10 )...

WARNING: NextMajor artifacts doesn't exist for us

AL Validation finished in 21 seconds
  _____                          ___      __   _ _     _       _   _                _____                            
 |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)              / ____|                           
 | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | (___  _   _  ___ ___ ___ ___ ___ 
 |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \   \___ \| | | |/ __/ __/ _ \ __/ __|
 | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | |  ____) | |_| | (__ (__  __\__ \__ \
 |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_____/ \__,_|\___\___\___|___/___/
...

Screenshots

Additional context

  • previously it used to work fine.
  • today same script was throwing errors: I tried with adding license file link: updating bccontainer helper version, still not worked
@freddydk
Copy link
Contributor

I cannot see the version of BcContainerHelper, but given that the error is that it cannot determine the artifacts, my guess is that you are running an older version.
Please update your BcContainerHelper (and restart) PowerShell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants