Ticket 10516

Summary: Data loss of special characters added after Chinese in comment field
Product: Slurm Reporter: wenjing <hwj_0201>
Component: ConfigurationAssignee: Jacob Jenson <jacob>
Status: RESOLVED INVALID QA Contact:
Severity: 6 - No support contract    
Priority: ---    
Version: - Unsupported Older Versions   
Hardware: Linux   
OS: Linux   
Site: -Other- Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---

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