Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
e6812a71
Commit
e6812a71
authored
9 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Improve slurmstepd logging
parent
a9dc0097
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmd/slurmstepd/req.c
+13
-12
13 additions, 12 deletions
src/slurmd/slurmstepd/req.c
with
13 additions
and
12 deletions
src/slurmd/slurmstepd/req.c
+
13
−
12
View file @
e6812a71
...
@@ -786,29 +786,30 @@ _handle_signal_container(int fd, stepd_step_rec_t *job, uid_t uid)
...
@@ -786,29 +786,30 @@ _handle_signal_container(int fd, stepd_step_rec_t *job, uid_t uid)
/* Not really errors,
/* Not really errors,
* but we want messages displayed by default */
* but we want messages displayed by default */
if
(
sig
==
SIG_TIME_LIMIT
)
{
if
(
sig
==
SIG_TIME_LIMIT
)
{
error
(
"*** %s CANCELLED AT %s DUE TO TIME LIMIT
on %s
***"
,
error
(
"*** %s
ON %s
CANCELLED AT %s DUE TO TIME LIMIT ***"
,
entity
,
time_str
,
job
->
node_name
);
entity
,
job
->
node_name
,
time_str
);
msg_sent
=
1
;
msg_sent
=
1
;
}
else
if
(
sig
==
SIG_PREEMPTED
)
{
}
else
if
(
sig
==
SIG_PREEMPTED
)
{
error
(
"*** %s CANCELLED AT %s DUE TO PREEMPTION
on %s
***"
,
error
(
"*** %s
ON %s
CANCELLED AT %s DUE TO PREEMPTION ***"
,
entity
,
time_str
,
job
->
node_name
);
entity
,
job
->
node_name
,
time_str
);
msg_sent
=
1
;
msg_sent
=
1
;
}
else
if
(
sig
==
SIG_NODE_FAIL
)
{
}
else
if
(
sig
==
SIG_NODE_FAIL
)
{
error
(
"*** %s CANCELLED AT %s DUE TO NODE %s FAILURE ***"
,
error
(
"*** %s ON %s CANCELLED AT %s DUE TO NODE "
entity
,
time_str
,
job
->
node_name
);
"FAILURE, SEE SLURMCTLD LOG FOR DETAILS ***"
,
entity
,
job
->
node_name
,
time_str
);
msg_sent
=
1
;
msg_sent
=
1
;
}
else
if
(
sig
==
SIG_REQUEUED
)
{
}
else
if
(
sig
==
SIG_REQUEUED
)
{
error
(
"*** %s CANCELLED AT %s DUE TO JOB REQUEUE ***"
,
error
(
"*** %s
ON %s
CANCELLED AT %s DUE TO JOB REQUEUE ***"
,
entity
,
time_str
);
entity
,
job
->
node_name
,
time_str
);
msg_sent
=
1
;
msg_sent
=
1
;
}
else
if
(
sig
==
SIG_FAILURE
)
{
}
else
if
(
sig
==
SIG_FAILURE
)
{
error
(
"*** %s FAILED (non-zero exit code or other "
error
(
"*** %s
ON %s
FAILED (non-zero exit code or other "
"failure mode)
on %s
***"
,
"failure mode) ***"
,
entity
,
job
->
node_name
);
entity
,
job
->
node_name
);
msg_sent
=
1
;
msg_sent
=
1
;
}
else
if
((
sig
==
SIGTERM
)
||
(
sig
==
SIGKILL
))
{
}
else
if
((
sig
==
SIGTERM
)
||
(
sig
==
SIGKILL
))
{
error
(
"*** %s CANCELLED AT %s ***
on %s
"
,
error
(
"*** %s
ON %s
CANCELLED AT %s ***"
,
entity
,
time_str
,
job
->
node_name
);
entity
,
job
->
node_name
,
time_str
);
msg_sent
=
1
;
msg_sent
=
1
;
}
}
}
}
...
...
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