Conversation
|
Can you post some log/artifact from a test run to show that the tests are running? I forget if it's running "make test" or what, if that's the case then there should be some output in install-time-test-log.txt |
|
@AlexanderRichert-NOAA for your request, it runs Since there's two versions of ESMF that are being installed from the workflows (8.6.1, and 8.8.0) it is run 4 times. Attached are the four results. |
|
I could be wrong, but I think the 'installcheck' target is different from 'test', the latter which is the one that actually runs the battery of unit tests (I think 'installcheck' is just compiling a small executable to make sure various installed files can be found based on ESMFMKFILE). I've had issues with some other packages where 'installcheck' output was overwriting 'test' output in install-time-test-log.txt, I don't know if that's what's happening here. In any case, it would be helpful to have some indication that a) it's running the unit tests and b) a failed unit test would cause 'spack install' to fail. |
|
I'll give a try and run things manually to see if it's actually running test and see if it can generate some kind of testing log either via ctest or other. |
|
You might keep an eye on install-time-test-log.txt while it's building-- if initially you see unit test output then it's probably getting overwritten during |
|
I manually ran the install step via cli and I see this in the terminal: ...
The stdout files for the system_tests can be found at:
/tmp/spack-stack/cache/build_stage/ubuntu/spack-stage-esmf-8.8.0-mfk6i5sxkojoxmb6xyntbsp2rzju7xpl/spack-src/test/testO/Linux.gfortran.64.openmpi.default
Found 51 multi-processor system tests, 51 passed and 0 failed.
make[2]: Leaving directory '/tmp/spack-stack/cache/build_stage/ubuntu/spack-stage-esmf-8.8.0-mfk6i5sxkojoxmb6xyntbsp2rzju7xpl/spack-src'
SYSTEM TESTS SUMMARY
Found 51 multi-processor system tests, 51 passed and 0 failed.
UNIT TESTS SUMMARY
Found 8666 non-exhaustive multi-processor unit tests, 8666 passed and 0 failed.
...So I think the installing with tests is doing a couple of things:
|
|
Yeah, that makes sense... Does any of that output get preserved anywhere under .spack/? We should have some sort of proof of unit tests running with each installation. |
|
Sadly, searching and the install-and-test-log.txt from the .spack does not show this, and I only got it by running it with the verbose flag. Is that something we'd like to add to the |
|
That's interesting, I guess I wouldn't have expected it to be in the verbose output based on my past experience... Does it show up in spack-build-out.txt? 🤞 |
|
Yes, the |
|
Awesome |
Summary
Added ESMF to the AWS Ubuntu 2404 weekly build test. (I didn't see anything in the logs that showed that it failed).
Testing
Tested it on AWS instance.
Applications affected
N/A
Systems affected
AWS Ubuntu 2404
Dependencies
N/A
Issue(s) addressed
Fixes #1577
Checklist