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

Update cloud functional test workflow - fix for (reading 'id') #7822

Closed

Conversation

lakshmimsft
Copy link
Contributor

@lakshmimsft lakshmimsft commented Aug 20, 2024

Description

As reported in #7782, #7668, attempting to stop functional test runs upon 'workflow_run' against main.
Manual workflow-dispatch for cloud tests works without errors on main branch and scheduled runs do not produce this error. Will run test runs to determine correct fix.

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: #7782, #7668

@radius-functional-tests
Copy link

radius-functional-tests bot commented Aug 20, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository lakshmimsft/radius-mainfork
Commit ref 7f9fa9c
Unique ID func65e6c6e422
Image tag pr-func65e6c6e422
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func65e6c6e422
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func65e6c6e422
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func65e6c6e422
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func65e6c6e422
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
⌛ Starting datastoresrp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ datastoresrp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@lakshmimsft lakshmimsft changed the title Update workflow for cloud functional test run for main Update cloud functional test workflow - fix for (reading 'id') Aug 20, 2024
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.06%. Comparing base (33d3d5e) to head (3c9fec5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7822      +/-   ##
==========================================
- Coverage   61.07%   61.06%   -0.01%     
==========================================
  Files         523      523              
  Lines       27466    27466              
==========================================
- Hits        16774    16772       -2     
- Misses       9209     9210       +1     
- Partials     1483     1484       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ytimocin
Copy link
Contributor

Could you explain this attempting to stop functional test runs upon 'workflow_run' against main a little bit more? I didn't know that that was the problem.

@lakshmimsft
Copy link
Contributor Author

In all 'expected' usecases , the workflow is running without errors. Based on error, the issue seems to be when the tests are run with github.event_name 'workflow_run' and run on branch main/ not on the PR branch, that is why there is no pr/id.

@lakshmimsft lakshmimsft marked this pull request as ready for review August 21, 2024 02:18
@lakshmimsft lakshmimsft requested review from a team as code owners August 21, 2024 02:18
@lakshmimsft lakshmimsft force-pushed the lakshmimsft/workflowiderror branch from 7f9fa9c to 3c9fec5 Compare August 22, 2024 18:01
@lakshmimsft
Copy link
Contributor Author

Discussed offline. We confirmed the functional tests are not getting triggered upon PR merge into main.
The specific errors are not occuring since the split into cloud/non-cloud tests.
Closing this PR and related issues.

@lakshmimsft lakshmimsft deleted the lakshmimsft/workflowiderror branch August 28, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read properties of undefined (reading 'id') in functional-test-cloud workflow in main
2 participants