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

[Bug]: When adding BCPT Tests to the workflow it errors when calling the BCPTSuites endpoint #1378

Open
PetraDriessen86 opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@PetraDriessen86
Copy link

AL-Go version

5.2

Describe the issue

When I add a BCPT test app to my repo (using the AL-GO for github workflow) and then run a workflow that uses Build AL-GO Project, it ends with a bad request error when calling the BCPTSuites endpoint.

Expected behavior

BCPT tests execute and pipeline runs succesfully.

Steps to reproduce

  1. Create a BCPT test app in your repository.
  2. Run workflow CICD or PullRequestHandler

*At my first run, I didnt add the "installPerformanceToolkit" setting, as I expected it to be true automatically because of the BCPT test app with dependency to the performance toolkit. At this point it was indeed recognized that the app was present, however, the performance toolkit was not installed, so I ended with a 404 on the BCPTSuites endpoint. I therefore added the setting and set it to true.

Additional context (logs, screenshots, etc.)

Error: Unexpected error when running action.
Error Message: The remote server returned an error: (400) Bad Request.,
StackTrace: at Invoke-BcContainerApi,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\Api\Invoke-NavContainerApi.ps1: line 169 <- at Run-BCPTTestsInBcContainer,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-BCPTTestsInBcContainer.ps1: line 116 <- at ,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1211 <- at ,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2800 <- at ,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2784 <- at ,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2779 <- at ,
C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1259 <- at Run-AlPipeli
Error: Process completed with exit code 1.

@PetraDriessen86 PetraDriessen86 added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant