-
Notifications
You must be signed in to change notification settings - Fork 144
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
Use the rhts-report-result
alias for reporting beakerlib
subresults
#3372
Conversation
0f0f860
to
aa236b4
Compare
aa236b4
to
d91cd76
Compare
/packit test |
d91cd76
to
1d1a817
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.
Don't know much about rhts stuff, but lgtm.
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.
LGTM:)
rhts-report-result
alias for reporting beakerlib
subresults
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.
Looks good, thanks!
c584153
to
0a2b30e
Compare
Seems that
Easy steps to reproduce locally:
|
0a2b30e
to
2fe50b8
Compare
2fe50b8
to
cc93761
Compare
So, if I understand this correctly, the
The strange thing is that files created by tmt are always owned by It seems like the ACLs are not applied when the
I tried to reproduce it like the following:
Edit:
|
I believe that f157ae7 should fix the problem. |
…ng beakerlib subresults
This reverts commit f157ae7.
f157ae7
to
d4d1694
Compare
/packit test --id provision |
2 similar comments
/packit test --id provision |
/packit test --id provision |
Important tests passed in at least one of the recent |
I was troubleshooting why the logs for beakerlib phases (aka tmt subresults) are not saved by
tmt-report-result
script and the reason is the following.The beakerlib calls the command in
BEAKERLIB_COMMAND_REPORT_RESULT
variable in the following way:See the implementation of
rlReport
here:Suppose we use
tmt-report-result
as the value forBEAKERLIB_COMMAND_REPORT_RESULT
(as a script name). In that case, the script will not be compatible with the third$logfile
positional argument - it will just ignore it because it accepts the logfile provided only by the-o/--outputFile
option by default.We want to use the
rhts-report-result
alias because of a compatibility layer implemented by thetmt-report-result
script itself. If the script gets called withrhts-report-result
name, it will accept the third positional argument as alogfile
:tmt/tmt/steps/execute/scripts/tmt-report-result
Line 101 in e7cf41d
Related to:
Pull Request Checklist