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

Add temporary login for expired auth #7491

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

sk593
Copy link
Contributor

@sk593 sk593 commented Apr 11, 2024

Description

Long-running tests have started to fail due to the az login authentication expiring. Based on the error message (see linked issue), the authentication is only valid for 5 minutes. This seems to be a known issue based on discussion here but there's no fix so adding this temporary workaround until there's a way to extend the time the auth is valid.

Type of change

  • This pull request fixes a bug in Radius and has an approved issue (issue link required).
  • This pull request adds or changes features of Radius and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius Scheduled long running test failed - Run ID: 8649755889 #7490

Fixes: #issue_number

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.82%. Comparing base (5a669a3) to head (165cacc).

❗ Current head 165cacc differs from pull request most recent head b19758d. Consider uploading reports for the commit b19758d to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7491   +/-   ##
=======================================
  Coverage   63.82%   63.82%           
=======================================
  Files         417      417           
  Lines       23497    23497           
=======================================
  Hits        14997    14997           
  Misses       7229     7229           
  Partials     1271     1271           

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

@sk593 sk593 marked this pull request as ready for review April 11, 2024 20:48
@sk593 sk593 requested review from a team as code owners April 11, 2024 20:48
@sk593 sk593 force-pushed the update-LRT-azlogin branch 2 times, most recently from 165cacc to ac60ef8 Compare April 11, 2024 21:01
@sk593 sk593 temporarily deployed to functional-tests April 11, 2024 21:19 — with GitHub Actions Inactive
@radius-functional-tests
Copy link

radius-functional-tests bot commented Apr 11, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository sk593/radius
Commit ref b19758d
Unique ID func5d126efe3f
Image tag pr-func5d126efe3f
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func5d126efe3f
  • 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-func5d126efe3f
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func5d126efe3f
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func5d126efe3f
  • 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 ucp functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting datastoresrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting cli functional tests...
⌛ Starting shared functional tests...
⌛ Starting samples functional tests...
⌛ Starting msgrp functional tests...
✅ ucp functional tests succeeded
✅ samples functional tests succeeded
✅ msgrp functional tests succeeded
✅ daprrp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ cli functional tests succeeded
❌ shared functional test failed. Please check the logs for more details
⌛ Starting shared functional tests...
✅ shared functional tests succeeded

@sk593 sk593 merged commit 6b2b1b2 into radius-project:main Apr 11, 2024
15 checks passed
sk593 added a commit that referenced this pull request Apr 11, 2024
# Description

Minor update to azure cli login in LRT:
#7491

Adding this step to run always in case previous steps fail 

## 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).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
#7490 .

<!--

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

-->

Fixes: #issue_number

Signed-off-by: sk593 <[email protected]>
sk593 added a commit that referenced this pull request Apr 15, 2024
# Description

Long-running tests have started to fail due to the az login
authentication expiring. Based on the error message (see linked issue),
the authentication is only valid for 5 minutes. This seems to be a known
issue [based on discussion
here](Azure/azure-cli#28708 (comment))
but there's no fix so adding this temporary workaround until there's a
way to extend the time the auth is valid.


## 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).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
#7490

<!--

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

-->

Fixes: #issue_number

Signed-off-by: sk593 <[email protected]>
sk593 added a commit that referenced this pull request Apr 15, 2024
# Description

Minor update to azure cli login in LRT:
#7491

Adding this step to run always in case previous steps fail 

## 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).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
#7490 .

<!--

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

-->

Fixes: #issue_number

Signed-off-by: sk593 <[email protected]>
sk593 added a commit that referenced this pull request Apr 15, 2024
Copy link

@MoazzemHossain-bot MoazzemHossain-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls bug fixes

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.

4 participants