Ticket 3821 - scontrol show job jobid should print an error message if jobid is non-numerical
Summary: scontrol show job jobid should print an error message if jobid is non-numerical
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 16.05.10
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Director of Support
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2017-05-18 06:26 MDT by Ole.H.Nielsen@fysik.dtu.dk
Modified: 2017-05-24 14:03 MDT (History)
1 user (show)

See Also:
Site: DTU Physics
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 17.02.4
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Ole.H.Nielsen@fysik.dtu.dk 2017-05-18 06:26:11 MDT
The command "scontrol show job jobid" prints job information.  However, if a non-numerical jobid is given, the command prints all jobs in the system. 

Expected behaviour: Error message like in the case of a non-existent numerical jobid: 
slurm_load_jobs error: Invalid job id specified

Reproduce by: scontrol show job atextstring
Comment 7 Tim Shaw 2017-05-24 14:03:06 MDT
Ole,

Thanks for identifying this bug.  It has been fixed in commit ea906a243a55 and will be available in the 17.02.4 release.

Regards.

Tim