Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NaviX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ETP-HTC
NaviX
Commits
fc653dbd
There was a problem fetching the pipeline summary.
Commit
fc653dbd
authored
6 years ago
by
Christoph Heidecker
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug in monitoring log file
parent
c6a6d971
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
navix/monitor.py
+1
-1
1 addition, 1 deletion
navix/monitor.py
navix/replygenerator/generate_file_list.py
+0
-1
0 additions, 1 deletion
navix/replygenerator/generate_file_list.py
tests/Test_monitor.py
+4
-4
4 additions, 4 deletions
tests/Test_monitor.py
with
5 additions
and
6 deletions
navix/monitor.py
+
1
−
1
View file @
fc653dbd
...
...
@@ -103,7 +103,7 @@ class Monitor:
next_line_input_files
=
False
else
:
next_line_input_files
=
True
self
.
Input_Files
.
extend
(
line
.
split
(
"
,
"
))
self
.
Input_Files
.
extend
(
line
.
split
(
"
,
"
))
except
Exception
as
e
:
self
.
queue_logging
.
put
(
"
ERROR:
"
+
str
(
self
.
thread_num
)
+
"
: Failed to get list of input files (string with server name)!
\n
"
...
...
This diff is collapsed.
Click to expand it.
navix/replygenerator/generate_file_list.py
+
0
−
1
View file @
fc653dbd
...
...
@@ -69,7 +69,6 @@ def get_files_to_search_from_data(queue_logging, thread_num, data):
try
:
input_tmp
=
str
(
data
).
replace
(
"
\n
"
,
"
,
"
).
replace
(
"
,,
"
,
"
,
"
)
# TODO: Check whether input_tmp should include invalid addresses
# TODO: Check whether input_tmp should include doubled comma (currently disabled)
except
Exception
as
e
:
queue_logging
.
put
(
"
ERROR:
"
+
str
(
thread_num
)
+
"
: Failed to save input files to local variable, data:
"
...
...
This diff is collapsed.
Click to expand it.
tests/Test_monitor.py
+
4
−
4
View file @
fc653dbd
...
...
@@ -82,9 +82,9 @@ class TestMonitor(TestCase):
+
"
\"
END_OF_REQUESTED_FILES
\n
"
+
self
.
settings
.
requested_files_mon
+
"
=
\"
[
'
/eos/opendata/cms/Run2012B/
"
+
"
DoubleMuParked/AOD/22Jan2013-v1/
"
+
"
10000/1EC938EF-ABEC-E211-94E0-90E6BA442F24.root
'
,
'
/eos/
"
+
"
10000/1EC938EF-ABEC-E211-94E0-90E6BA442F24.root
'
,
'
/eos/
"
+
"
opendata/cms/Run2012B/DoubleMuParked/AOD/22Jan2013-v1/10000/
"
+
"
4804A3F3-CDEC-E211-BC43-00259073E4EA.root
'
,
"
+
"
4804A3F3-CDEC-E211-BC43-00259073E4EA.root
'
,
"
+
"'
/eos/opendata/cms/Run2012B/DoubleMuParked/AOD/22Jan2013-v1/
"
+
"
10000/649DE9C1-EFEC-E211-B82C-485B39800C0F.root
'
]
\"\n
"
+
self
.
settings
.
hpda_rank_monitoring
+
"
=
\"
{
'
machine ==
\"
ekpsg04.ekp.kit.edu
\"
'
:
"
...
...
@@ -103,8 +103,8 @@ class TestMonitor(TestCase):
self
.
assertEqual
(
"
Done at:
"
,
lines
[
3
][:
len
(
"
Done at:
"
)])
self
.
assertEqual
(
"
JobID: 1599920@SuperGuenther
\n
"
,
lines
[
4
])
self
.
assertEqual
(
"
Requested files: [
'
/eos/opendata/cms/Run2012B/DoubleMuParked/AOD/22Jan2013-v1/10000/
"
+
"
1EC938EF-ABEC-E211-94E0-90E6BA442F24.root
'
,
'
/eos/opendata/cms/Run2012B/DoubleMuParked/
"
+
"
AOD/22Jan2013-v1/10000/4804A3F3-CDEC-E211-BC43-00259073E4EA.root
'
,
"
+
"
1EC938EF-ABEC-E211-94E0-90E6BA442F24.root
'
,
'
/eos/opendata/cms/Run2012B/DoubleMuParked/
"
+
"
AOD/22Jan2013-v1/10000/4804A3F3-CDEC-E211-BC43-00259073E4EA.root
'
,
"
+
"'
/eos/opendata/cms/Run2012B/DoubleMuParked/AOD/22Jan2013-v1/10000/
"
+
"
649DE9C1-EFEC-E211-B82C-485B39800C0F.root
'
]
\n
"
,
lines
[
5
])
self
.
assertEqual
(
"
File found on server: {
'
/eos/opendata/cms/Run2012B/DoubleMuParked/AOD/22Jan2013-v1/10000/
"
...
...
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