Comments (5)
Looking at your log, the problem is probably Invoke-NavContainerCodeUnit, which I myself stopped using earlier due to instabilities.
Reason is that the Invoke-NavCodeUnit cmdlet only works with Windows Authentication. For this reason - BcContainerHelper creates a tmp windows user and uses this to invoke the codeunit.
Apparently - that doesn't always work:-(
I modified my apps to include an API page and then I used Invoke-BcContainerAPI to invoke the code I needed - that always works and is something I can use in online environments as well.
Another mechanism is to have an install codeunit in the app, which runs the code needed.
from al-go.
One more error to the collection. This time it's from step "Importing test data"
Error: Unexpected error when running action. Error Message: Cannot bind argument to parameter 'WindowsAccount' because it is null., StackTrace: at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 112 <- at Invoke-NavContainerCodeunit, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\ObjectHandling\Invoke-NavContainerCodeunit.ps1: line 49 <- at <ScriptBlock>, C:\a\srs-bc\srs-bc\SRS.base\.AL-Go\ImportTestDataInBcContainer.ps1: line 3 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2315 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 947 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 909 <- at <ScriptBlock>, C:\a\_actions\microsoft\AL-Go-Actions\v5.1\RunPipeline\RunPipeline.ps1: line 361 <- at <ScriptBlock>, C:\a\_temp\ac4616ac-5fe8-44a0-abca-b1ee51138d11.ps1: line 4 <- at <ScriptBlock>, <No file>: line 1
from al-go.
Could you share your ImportTestDataInBcContainer with us?
from al-go.
Could you share the full log of a failing Test Current?
from al-go.
Could you share your ImportTestDataInBcContainer with us?
It's already shared. See at the bottom of the post.
Could you share the full log of a failing Test Current?
Will send file via Yammer
from al-go.
Related Issues (20)
- SyncMode for custom deployments? HOT 4
- Automatic updates for AL-Go are failing HOT 9
- Deployment to the sandbox environment failed with the error message: "underlying connection was closed." HOT 6
- Publish to AppSource fails with error code AVS0106 HOT 2
- Deliver to Storage Failing with Error Message "unable to locate apps" HOT 4
- Sync-NAVApp : Table 344 Setup Checklist Line :: The table 'Setup Checklist Line' cannot be located. Removing tables is not allowed unless they are temporary or are being moved by migration to another app. HOT 4
- BCContainerHelper settings skipped HOT 2
- RELEASENOTES.copy.md not updated when running Update AL-Go System Files? HOT 1
- Publish to AppSource does not include library app HOT 12
- Enhancement request: named secret setting fot AZURE_CREDENTIALS
- No apps to publish given during DeployTo job HOT 1
- Steps in "Publish To Environment" not using custom shell-property from deployment settings HOT 2
- Build cannot find build artifacts HOT 2
- Deliver to Storage is not using ubuntu runner HOT 2
- Create hotfix - No artifacts found for this project error message with Create release workflow HOT 1
- Increment Version Number - repoVersion in .github/AL-Go-Settings.json is not updated HOT 2
- Question - Workflow specific setting HOT 4
- Why filter deployment settings? HOT 4
- Publish to AppSource fails HOT 9
- Unexpected error when running CICD Action during build process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-go.