action #96122
closedErrors from hook scripts in openqa-gru service log ("grep: range out of order in character class") size:M
Description
Observation¶
journalctl -u openqa-gru
on osd shows:
Jul 27 20:00:36 openqa openqa-gru[2105]: grep: exceeded PCRE's backtracking limit
Jul 27 20:00:37 openqa openqa-gru[2105]: grep: range out of order in character class
Acceptance criteria¶
- AC1: No obvious error messages like the above mentioned in openqa-gru logs
Suggestions¶
- openqa-label-known-issues looks like a good candidate because the regular expressions for the grep in
label_on_issue
come from outside (issue subjects)
Further details¶
openqa-gru runs multiple asynchronous background processes. The ones mentioned above are from "job_post_hooks".
Updated by tinita over 3 years ago
- Copied from action #95830: Errors from hook scripts in openqa-gru service log ("parse error: Invalid numeric literal at...", JSON error) size:M added
Updated by ilausuch over 3 years ago
- Subject changed from Errors from hook scripts in openqa-gru service log ("grep: range out of order in character class") to Errors from hook scripts in openqa-gru service log ("grep: range out of order in character class") size:M
- Due date deleted (
2021-08-10) - Status changed from New to Workable
- Start date deleted (
2021-07-27)
We estimated this ticket because is urgent
Updated by tinita over 3 years ago
- Status changed from Workable to In Progress
- Assignee set to tinita
Updated by openqa_review over 3 years ago
- Due date set to 2021-08-12
Setting due date based on mean cycle time of SUSE QE Tools
Updated by tinita over 3 years ago
- Status changed from In Progress to Feedback
PR for logging problematic grep calls: https://github.com/os-autoinst/scripts/pull/96
In a second step, we can see which strings are problematic and how to avoid that.
Updated by tinita over 3 years ago
The PR was merged 4 days ago.
So far I didn't see any grep errors in the logs.
Waiting a bit longer.
Updated by tinita over 3 years ago
- Status changed from Feedback to Resolved
I can't see a grep error in the logs.
Unfortunately the logs are still quite short, currently I see:
journalctl --since=2021-08-04 -u openqa-gru -f
-- Logs begin at Sun 2021-07-18 03:30:00 CEST. --
Aug 09 08:30:05 openqa openqa-gru[15072]: unable to clone job 6701666: it is part of a parallel or directly chained cluster (not supported)
So it only goes back to this morning.
The PR only improved the error message, but if I don't see the error in the logs at all, I can't keep this ticket open forever.
Resolving for now.