Ticket 10516 - Data loss of special characters added after Chinese in comment field
Summary: Data loss of special characters added after Chinese in comment field
Status: RESOLVED INVALID
Alias: None
Product: Slurm
Classification: Unclassified
Component: Configuration (show other tickets)
Version: - Unsupported Older Versions
Hardware: Linux Linux
: 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2020-12-30 02:34 MST by wenjing
Modified: 2020-12-30 02:52 MST (History)
0 users

See Also:
Site: -Other-
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:
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 wenjing 2020-12-30 02:34:38 MST
In the script, I define the content of the comment field as "中国#China", but when I execute the command that scontrol show job, I can only see the Chinese field, and the content after #.

slurm script is:

#!/bin/bash
#SBATCH -J gongkaung_0630_174500
#SBATCH -N 1
#SBATCH -n 3
#SBATCH --comment=中国#China
#SBATCH -o %j.out
#SBATCH -e %j.err

date
sleep 100
date

scontrol show job:
[haowj@gv190 ~]$ scontrol show job 155
JobId=155 JobName=gongkaung_0630_174500
   UserId=haowj(1002) GroupId=haowj(1002) MCS_label=N/A
   Priority=1900 Nice=0 Account=test1 QOS=user_haowj_7751
   JobState=PENDING Reason=Nodes_required_for_job_are_DOWN,_DRAINED_or_reserved_for_jobs_in_higher_priority_partitions Dependency=(null)
   Requeue=1 Restarts=0 BatchFlag=1 Reboot=0 ExitCode=0:0
   RunTime=00:00:00 TimeLimit=10:00:00 TimeMin=N/A
   SubmitTime=2020-12-30T17:24:25 EligibleTime=2020-12-30T17:24:25
   AccrueTime=2020-12-30T17:24:25
   StartTime=Unknown EndTime=Unknown Deadline=N/A
   SuspendTime=None SecsPreSuspend=0 LastSchedEval=2020-12-30T17:24:26
   Partition=debug AllocNode:Sid=gv190:12904
   ReqNodeList=(null) ExcNodeList=(null)
   NodeList=(null)
   NumNodes=1-1 NumCPUs=3 NumTasks=3 CPUs/Task=1 ReqB:S:C:T=0:0:*:*
   TRES=cpu=3,mem=8571M,node=1,billing=3
   Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*
   MinCPUsNode=1 MinMemoryCPU=2857M MinTmpDiskNode=0
   Features=(null) DelayBoot=00:00:00
   OverSubscribe=OK Contiguous=0 Licenses=(null) Network=(null)
   Command=/home/haowj/test.sh
   WorkDir=/home/haowj
   Comment=中国 
   StdErr=/home/haowj/155.err
   StdIn=/dev/null
   StdOut=/home/haowj/155.out
   Power=
Comment 1 wenjing 2020-12-30 02:52:31 MST
Slurm version is 19.05.5