-
Notifications
You must be signed in to change notification settings - Fork 305
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
ci: Record primary context results using g-d-t-r --report-directory #1218
Conversation
f436416
to
c798d42
Compare
Blah, really just need to fix g-d-t-r to have a saner option to record the output even for successful tests. |
This contains just the test output (stdout/stderr), and is always generated even on success. This is really what we want for libostree at least; see ostreedev/ostree#1218
c798d42
to
4eb85ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks reasonable, although it looks like you’re targeting the wrong commit with the fixup!
.
Ahhh right. |
6f50ba6
to
70473e1
Compare
ci/build-check.sh
Outdated
# Keep this in sync with papr.yml | ||
# TODO; Split the main/clang builds into separate build dirs | ||
for x in test-suite.log config.log gdtr-results; do | ||
if test -e ${x}; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be test -e ${resultsdir}/${x}
right?
af5e572
to
33288b9
Compare
Looks like it worked! Though that last fixup is still targeting the wrong commit. |
So the output isn't all intermingled. I just pushed a commit to add `--log-directory`, so we need to build it from git master for now.
33288b9
to
ee61d31
Compare
"I know, I'll use regular expressions!" ... cgwalters/homegit@db05a91 |
☀️ Test successful - status-atomicjenkins |
This was originally part of ostreedev#1199, but never got in. The work in ostreedev#1218 is awesome for CI, though for the developer workflow, I find it much easier to just set $TEST_TMPDIR to a non-overlayfs mount point. Teach the test libraries to just look at $PWD rather than /. Also export the function that does the overlayfs checking. Prep for a future patch.
This was originally part of #1199, but never got in. The work in #1218 is awesome for CI, though for the developer workflow, I find it much easier to just set $TEST_TMPDIR to a non-overlayfs mount point. Teach the test libraries to just look at $PWD rather than /. Also export the function that does the overlayfs checking. Prep for a future patch. Closes: #1170 Approved by: cgwalters
So the output isn't all intermingled. Yes, need to improve g-d-t-r.