-
Notifications
You must be signed in to change notification settings - Fork 44
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
Unit test failures for Ubuntu Xenial build on Travis-CI #1093
Comments
check-TESTS: $(check_SCRIPTS)
log_list=`for i in $$bases; do echo $$i.log; done`; \
trs_list=`for i in $$bases; do echo $$i.trs; done`; \
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
exit $$?; Perhaps add a check-TESTS: $(check_SCRIPTS)
log_list=`for i in $$bases; do echo $$i.log; done`; \
trs_list=`for i in $$bases; do echo $$i.trs; done`; \
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
result=$$?; cat "$$log_list"; exit $$?; |
Where is this code? It's not in test/utilities/Makefile.am or test/Makefile.am or Makefile.am... |
https://tecnocode.co.uk/tag/automake/ In the build script, sorry, on my phone... I. The Travis for maybe?
|
Not really much I can add, other than just pointing to the files/lines MB-System/test/utilities/Makefile.in Lines 723 to 732 in 9f95efa
and MB-System/ci/travis/build_linux/script.sh Line 10 in 9d9cf51
that are being suggested to edit for some extra output ... |
I was able to modify test/utilities/Makefile.in to cat out the relevant log files when I run make check on my laptop (brute force, as below). However, I still can't get this to work when it runs within Travis-CI - the overall log file comes out rather different, and doesn't have the text from the additional commands. check-TESTS: $(check_SCRIPTS) My next approach will be to try a run a docker instance identical to the failing build, and see what the output of the problem programs is. |
For some time one of the test builds on Travis CI has been failing seven of the unit tests while all of the other builds succeed. The problem instance is build 5 on Ubuntu Xenial. An example is at
https://travis-ci.com/github/dwcaress/MB-System/builds/166606866
The failures are for mbbackangle, mbgrid, mbmosaic, mbprocess, mbsegygrid, mbsegypsd, mbsslayout, which is also a list of all the c++ programs that call the functions that in turn call GMT functions to read and write GMT grids.
I have been unable to figure out how to get the actual shell output of the tests for these programs into logs that I can see, and so I don't know what the failures actually are. I have been unable to produce a similar build outside Travis-CI, which would presumably show the problem. The tests that fail are simply comparing the shell output of invoking these programs without data input to the expected text. All other Ubuntu builds in the testing succeed.
I'm hoping for advice from @schwehr or @carueda
The text was updated successfully, but these errors were encountered: