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

Failing Long Running Tests Workflow: Test_RecipeCommands failure to publish bicep recipe #7276

Closed
1 task
kachawla opened this issue Mar 6, 2024 · 1 comment · Fixed by #7275
Closed
1 task
Assignees
Labels
bug Something is broken or not working as expected

Comments

@kachawla
Copy link
Contributor

kachawla commented Mar 6, 2024

Steps to reproduce

Re-run long running tests workflow #7270, or run Test_RecipeCommands test.

Observed behavior

=== FAIL: test/functional-portable/cli/noncloud Test_RecipeCommands/deploy_testdata/corerp-resources-recipe-env.bicep/Validate_`rad_bicep_publish`_is_publishing_the_file_to_the_given_target (0.03s)
    cli_test.go:144: 
        	Error Trace:	/home/runner/work/radius/radius/test/functional-portable/cli/noncloud/cli_test.go:144
        	Error:      	Received unexpected error:
make: *** [build/test.mk:[88](https://github.com/radius-project/radius/actions/runs/8163596132/job/22317410703#step:21:89): test-functional-cli-noncloud] Error 1
        	            	command 'rad bicep publish --file ../../shared/resources/testdata/recipes/test-bicep-recipes/corerp-redis-recipe.bicep --target br:ghcr.io/radius-project/dev/test-bicep-recipes/redis-recipe:test-1709677328-570' had non-zero exit code: exit status 1
        	Test:       	Test_RecipeCommands/deploy_testdata/corerp-resources-recipe-env.bicep/Validate_`rad_bicep_publish`_is_publishing_the_file_to_the_given_target
        --- FAIL: Test_RecipeCommands/deploy_testdata/corerp-resources-recipe-env.bicep/Validate_`rad_bicep_publish`_is_publishing_the_file_to_the_given_target (0.03s)

=== FAIL: test/functional-portable/cli/noncloud Test_RecipeCommands/deploy_testdata/corerp-resources-recipe-env.bicep (18.43s)
cli.go:418: [rad] Failed to prepare Bicep file "../../shared/resources/testdata/recipes/test-bicep-recipes/corerp-redis-recipe.bicep". Cause: could not find file: stat ../../shared/resources/testdata/recipes/test-bicep-recipes/corerp-redis-recipe.bicep: no such file or directory. cli.go:418: [rad] 

Desired behavior

Tests should pass.

Workaround

None.

rad Version

https://github.com/radius-project/radius/actions/runs/8163596132/job/22317410703

Operating system

https://github.com/radius-project/radius/actions/runs/8163596132/job/22317410703

Additional context

No response

Would you like to support us?

  • Yes, I would like to support you

AB#11400

@kachawla kachawla added the bug Something is broken or not working as expected label Mar 6, 2024
@kachawla kachawla self-assigned this Mar 6, 2024
@radius-triage-bot
Copy link

👋 @kachawla Thanks for filing this bug report.

A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.

For more information on our triage process please visit our triage overview

kachawla added a commit that referenced this issue Mar 6, 2024
# Description


0c2406b
moved location of the test without changing the testdata path causing
long running tests workflow to break, example here:
#7270.

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #7276

Signed-off-by: karishma-chawla <[email protected]>
Co-authored-by: karishma-chawla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken or not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant