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

Download test artifacts #4127

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

oxve
Copy link
Contributor

@oxve oxve commented Sep 18, 2024

Add a build step that downloads the test artifacts from GCS.

b/288331664

@oxve oxve added the on_device label Sep 18, 2024
@oxve oxve force-pushed the download-test-results branch 10 times, most recently from 4dde62e to 17d9ab3 Compare September 19, 2024 22:45
oxve added a commit that referenced this pull request Sep 19, 2024
Will allow #4127 to upload results
for the platforms in question.

b/288331664
Android and raspi emit junit xml files that MH pulls from the devices and uploads to GCS.
Download those files and upload them as artifacts so the test report uploader will pick them up.
run: |
set -uxe
i=0
while [ $i -lt 6 ]; do
Copy link
Member

Choose a reason for hiding this comment

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

This is a bit opaque - what does 6 do here ? Just 6 retries ? A comment line would clarify

if: always() && env.TEST_TYPE == 'unit_test'
env:
COBALT_XMLS_FILENAME: cobalt_xmls.zip
COBALT_ERROR_LOG: webDriverTestLog.ERROR
Copy link
Member

@kaidokert kaidokert Sep 20, 2024

Choose a reason for hiding this comment

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

Ideally we could leave that legacy name behind on the lab side and bring something cleaner here, e.g stdout.log and stderr.log, but i know this would prompt several layers of touches. So lets just accept it for now.

Copy link
Member

@kaidokert kaidokert left a comment

Choose a reason for hiding this comment

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

Seems okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants