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

test(e2e): take registry logs when e2e fails #830

Merged
merged 11 commits into from
Feb 22, 2023

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Feb 21, 2023

This PR takes the last 200 lines of registry logs when the Ginkgo test run fails with any error.

Raising this since we had an unexpected error happened on distribution side during E2E run (see logs). Since there is no distribution logs taken, it's very hard to trouble-shoot the failed E2E case. Adding this PR so we can have sth to look into when such random flaky error comes next time.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2023

Codecov Report

Merging #830 (daa6516) into main (1deed1c) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main     #830   +/-   ##
=======================================
  Coverage   63.50%   63.50%           
=======================================
  Files          21       21           
  Lines         844      844           
=======================================
  Hits          536      536           
  Misses        265      265           
  Partials       43       43           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@qweeah qweeah changed the title feat: add registry logs when e2e fails test(e2e): take registry logs when e2e fails Feb 21, 2023
@wangxiaoxuan273
Copy link
Contributor

LGTM. Thanks for the contribution.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
test/e2e/scripts/e2e.sh Outdated Show resolved Hide resolved
qweeah and others added 2 commits February 21, 2023 21:48
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Billy Zha <qweeah@gmail.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Copy link
Member

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit 7acd160 into oras-project:main Feb 22, 2023
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.

5 participants