How to download test logs from a Travis build

From OPeNDAP Documentation
Revision as of 19:32, 19 April 2023 by Jimg (talk | contribs)
⧼opendap2-jumptonavigation⧽

All of our CI/CD builds for both libdap4 and the BES run tests and save the results of the tests to an S3 bucket named opendap.travis.tests.

Here's how to download the collected log files from those tests.

  1. Scroll to the end of one of the travis builds for these projects.
  2. At the very end you will see a line that says ...
  3. Expand that line by clicking the triangle to the left.
  4. Copy the S3 URL.
  5. Using the AWS Command Line Tool, copy the file to your local computer: aws s3 cp ... .
  6. Make a new directory, move the tarball into that new (otherwise empty) directory, and expand the tarball (if you don't do this in a new directory, it can litter your CWD with lots of files and dirs).
  7. Now, find the test results you want to see.

Here's a screenshot of the line at the very bottom of a travis build log:

The part of the Travis build log that has the information you need to download the information