-
Notifications
You must be signed in to change notification settings - Fork 22
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
Prevent override the autoinst-log context within handle_unreachable #347
Merged
mergify
merged 8 commits into
os-autoinst:master
from
b10n1k:label_known_issues_override
Nov 27, 2024
Merged
Prevent override the autoinst-log context within handle_unreachable #347
mergify
merged 8 commits into
os-autoinst:master
from
b10n1k:label_known_issues_override
Nov 27, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b10n1k
force-pushed
the
label_known_issues_override
branch
3 times, most recently
from
September 15, 2024 19:26
43c7ebc
to
348e95e
Compare
b10n1k
force-pushed
the
label_known_issues_override
branch
from
November 13, 2024 08:01
348e95e
to
a3539b4
Compare
b10n1k
force-pushed
the
label_known_issues_override
branch
2 times, most recently
from
November 13, 2024 09:23
a05283a
to
3ddb915
Compare
perlpunk
reviewed
Nov 13, 2024
b10n1k
force-pushed
the
label_known_issues_override
branch
from
November 13, 2024 13:32
3ddb915
to
fcecd1c
Compare
perlpunk
reviewed
Nov 13, 2024
perlpunk
reviewed
Nov 13, 2024
perlpunk
reviewed
Nov 13, 2024
b10n1k
force-pushed
the
label_known_issues_override
branch
from
November 14, 2024 08:21
fcecd1c
to
b2a8159
Compare
b10n1k
force-pushed
the
label_known_issues_override
branch
from
November 14, 2024 08:29
b2a8159
to
af67a70
Compare
perlpunk
reviewed
Nov 14, 2024
b10n1k
force-pushed
the
label_known_issues_override
branch
from
November 15, 2024 11:40
af67a70
to
73aed5c
Compare
perlpunk
reviewed
Nov 15, 2024
perlpunk
reviewed
Nov 15, 2024
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.
hxselect is overwritten in the test with just cat -
, so it won't return the date. That's why the test fails
b10n1k
force-pushed
the
label_known_issues_override
branch
from
November 25, 2024 09:24
73aed5c
to
6ac7a1f
Compare
Martchus
requested changes
Nov 25, 2024
b10n1k
force-pushed
the
label_known_issues_override
branch
2 times, most recently
from
November 25, 2024 13:47
d872396
to
0f59bc3
Compare
perlpunk
reviewed
Nov 26, 2024
perlpunk
force-pushed
the
label_known_issues_override
branch
from
November 26, 2024 11:08
b113b67
to
38ba8dc
Compare
I pushed a commit. |
perlpunk
previously requested changes
Nov 26, 2024
perlpunk
reviewed
Nov 26, 2024
b10n1k
force-pushed
the
label_known_issues_override
branch
4 times, most recently
from
November 26, 2024 12:51
6dd1177
to
f5bcce6
Compare
perlpunk
reviewed
Nov 27, 2024
perlpunk
reviewed
Nov 27, 2024
`handle_unreachable` can override the log file passed to the function. This should not allowed because when the `handle_unreviewed` function is reach will run with incorrect logs. Solving the issue creating a separate temp local file for handle_unreachable and extract timeago in a variable in order to use it to determine the age of the job. This keeps clear now the out variable which should only contain the autoinst-log+reason. https://progress.opensuse.org/issues/166772 Signed-off-by: ybonatakis <[email protected]> Signed-off-by: Ioannis Bonatakis <[email protected]>
Fix exit handler
perlpunk
force-pushed
the
label_known_issues_override
branch
from
November 27, 2024 10:30
f5bcce6
to
47056a1
Compare
/home/runner/work/scripts/scripts/.bpan/.bpan/lib/test-tap.bash: ERROR: line 168 Tests pass, it's just printing that error. I'm not sure why that's needed here as `try` should take care of it, but I think it's because the error for calling investigate_issue without an argument is "Unbound variable" and that might not be catched the same way as other error messages. I might ask the test-tap author about it.
okurz
approved these changes
Nov 27, 2024
and move creation of temp files to top level (this only needs to be done once)
Martchus
approved these changes
Nov 27, 2024
and pass the correct variable. investigate_issue gets a url as a parameter and then strips everything until the last slash to get the id.
Apparently it wasn't too broken for the test to fail though
perlpunk
force-pushed
the
label_known_issues_override
branch
from
November 27, 2024 11:22
02626cd
to
eabd76b
Compare
I added some more fixes myself |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
handle_unreachable
can override the log file passed to the function. This should not allowed because when thehandle_unreviewed
function is reach will run with incorrect logs. Solving the issue creating a separate temp local filefor handle_unreachable and extract timeago in a variable in order to use it to
determine the age of the job. This keeps clear now the out variable which
should only contain the autoinst-log+reason.
https://progress.opensuse.org/issues/166772