Skip to content
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

Closed

Conversation

cgwalters
Copy link
Member

So the output isn't all intermingled. Yes, need to improve g-d-t-r.

@cgwalters
Copy link
Member Author

Blah, really just need to fix g-d-t-r to have a saner option to record the output even for successful tests.

gnomesysadmins pushed a commit to GNOME/gnome-desktop-testing that referenced this pull request Sep 27, 2017
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
@cgwalters cgwalters force-pushed the ci-gdtr-report-directory branch from c798d42 to 4eb85ad Compare September 27, 2017 01:14
Copy link
Member

@pwithnall pwithnall left a 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!.

@cgwalters
Copy link
Member Author

Removing gdtr-results/

Ahhh right.

@cgwalters cgwalters force-pushed the ci-gdtr-report-directory branch from 6f50ba6 to 70473e1 Compare September 27, 2017 13:13
# 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
Copy link
Member

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?

@cgwalters cgwalters force-pushed the ci-gdtr-report-directory branch from af5e572 to 33288b9 Compare September 27, 2017 15:23
@jlebon
Copy link
Member

jlebon commented Sep 27, 2017

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.
@cgwalters cgwalters force-pushed the ci-gdtr-report-directory branch from 33288b9 to ee61d31 Compare September 27, 2017 17:03
@cgwalters
Copy link
Member Author

"I know, I'll use regular expressions!" ... cgwalters/homegit@db05a91

@jlebon
Copy link
Member

jlebon commented Sep 27, 2017

@rh-atomic-bot r+ ee61d31

@rh-atomic-bot
Copy link

⌛ Testing commit ee61d31 with merge b71a913...

@rh-atomic-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: jlebon
Pushing b71a913 to master...

jlebon added a commit to jlebon/ostree that referenced this pull request Sep 28, 2017
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.
rh-atomic-bot pushed a commit that referenced this pull request Sep 28, 2017
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
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.

4 participants