Skip to content

Improve reliability/readability of bin tests scripts and failure output #2044

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cary-ilm
Copy link
Member

The src/test/bin tests have been failing intermittently in the CI checks, and the problem appears to be known instability in CMake's file(DOWNLOAD) when invoked from processes in GitHub actions. The downloaded files occasionally have 0 size.

This change brings the test images into the git repo rather than downloading them from
https://github.com/AcademySoftwareFoundation/openexr-images at configure time. I did that originally to avoid repo bloat, but it's unreliable. I trimmed the list of files used by the tests, so the additional data is not that significant, a few Mb.

This also restructures the test scripts to produce more informative output, and restructures the CI steps to make it easier to navigate the logs.

…output

The src/test/bin tests have been failing intermittently in the CI
checks, and the problem appears to be known instability in CMake's
file(DOWNLOAD) when invoked from processes in GitHub actions. The
downloaded files occasionally have 0 size.

This change brings the test images into the git repo rather than
downloading them from
https://github.com/AcademySoftwareFoundation/openexr-images at
configure time. I did that way originally to avoid repo bloat, so I
trimmed the list of files used by the tests, so the additional data is
not that signifiant, a few Mb.

This also restructures the test scripts to produce more informative
output, and restructures the CI steps to make it easier to navigate
the logs.

Signed-off-by: Cary Phillips <[email protected]>
@peterhillman
Copy link
Contributor

Would it be helpful to define all the image paths at the beginning of each script, rather than scattered throughout the code as they currently are? That would clarify which images are used by which scripts. It would also make future changes like this easier, or to modify scripts to run on a different images.

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

Successfully merging this pull request may close these issues.

2 participants