Trying to get the 'make check' output out of dockerland.#1407
Conversation
jgallagher59701
left a comment
There was a problem hiding this comment.
I think there is a problem where the build for EL8 can pass but tests fail. I'll put that in a comment because it's a long comment and it's not something I can isolate to specific piece of text.
|
Here in the EL8 build output in Travis, I see: Which says that that there was no error. But, when I looked at s3://opendap.travis.tests/bes-autotest-7686.4-logs.tgz and I looked around, I found in bes/dap/tests that two tests (05 and 06) failed (Segmentation fault). Here's the testsuite.log for test 05: Searching, I found: I think that there are places in the Travis script when $? is used and that can be tricky because Travis uses that for its own purpose (I've read that, I don't know much more about it). That might be the problem. |
|
Interesting. Both tests 5 and 6 are expected failures: so I think that's maybe why there were no errors reported?? |
| -f ${BES_REPO_DIR}/Dockerfile ${BES_REPO_DIR} | ||
| -f "${BES_REPO_DIR}/Dockerfile" "${BES_REPO_DIR}" | ||
|
|
||
| build_status=$? |
There was a problem hiding this comment.
This could be part of the issue I talk about in the PR comment. Here's a link to the Travis CI docs: https://docs.travis-ci.com/user/job-lifecycle/#use-the--command Bottom line, don't use $? in the script part of the Travis CI yaml.
There was a problem hiding this comment.
But that's not "in" .travis.yml
Yeah, my mistake |
|
Ok @jgallagher59701 - I addressed the |
|
|
|
kneumiller
left a comment
There was a problem hiding this comment.
I believe this is ready to be merged. I'll write up the ticket for the sonarscan/hdf failures.



Description
This is ready for review. With this PR, our build-docker jobs in BES TravisCI (.travis.yml), the Docker file runs
make check(and notmake check -k. Should we switch?) and captures the status without failing immediately when the tests fail. The status is written to a file and copied out of the docker image along with the test log file inventory and the test logs tarball. This way the calling code inbuild-rhel-docker.shand ultimately.travis.ymlcan upload the test logs to our S3 bucket and only then fail the build.Reference ticket: HYRAX-####
TODO
Tasks