Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
159
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Commits
d927c111
Commit
d927c111
authored
7 months ago
by
Teng Jian Khoo
Browse files
Options
Downloads
Patches
Plain Diff
Correct FPE tracing logic
parent
38815ca7
No related branches found
No related tags found
1 merge request
!72091
Fix FPE scanning and undefined variable in check_log.py script
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigValidation/TrigValTools/bin/check_log.py
+3
-3
3 additions, 3 deletions
Trigger/TrigValidation/TrigValTools/bin/check_log.py
with
3 additions
and
3 deletions
Trigger/TrigValidation/TrigValTools/bin/check_log.py
+
3
−
3
View file @
d927c111
...
...
@@ -71,7 +71,7 @@ fpeTracebackCont = [
'
included from :
'
,
'
in library :
'
,
]
regexMap
[
'
backtrac
e
'
].
extend
(
fpeTracebackStart
)
regexMap
[
'
fp
e
'
].
extend
(
fpeTracebackStart
)
# Warning keywords
regexMap
[
'
warning
'
]
=
[
'
WARNING
'
]
...
...
@@ -146,7 +146,7 @@ def scanLogfile(args, logfile, ignorePattern=[]):
if
args
.
warnings
is
True
:
categories
+=
[
'
warning
'
]
if
args
.
errors
is
True
:
categories
+=
[
'
error/fatal
'
,
'
prohibited
'
,
'
python error
'
,
'
backtrace
'
]
categories
+=
[
'
error/fatal
'
,
'
prohibited
'
,
'
python error
'
,
'
fpe
'
,
'
backtrace
'
]
igLevels
=
re
.
compile
(
'
|
'
.
join
(
ignorePattern
))
...
...
@@ -175,7 +175,7 @@ def scanLogfile(args, logfile, ignorePattern=[]):
resultsA
[
'
backtrace
'
].
append
(
line
)
elif
fpeTracing
:
# Continue following FPE so long as recognised
if
fpeContPattern
.
search
(
line
):
if
fpeStartPattern
.
search
(
line
)
or
fpeContPattern
.
search
(
line
):
resultsA
[
'
fpe
'
].
append
(
line
)
else
:
fpeTracing
=
False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment