Bug 6788 - [Anolis23 GA][X86/aarch64]Anolis23-pkg-nightly-test 执行uuid -v 4 -F BIN,有概率失败
Summary: [Anolis23 GA][X86/aarch64]Anolis23-pkg-nightly-test 执行uuid -v 4 -F BIN,有概率失败
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-12 16:35 UTC by gitpush
Modified: 2023-10-12 16:39 UTC (History)
1 user (show)

See Also:


Attachments
执行过程 (170.24 KB, image/png)
2023-10-12 16:35 UTC, gitpush
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2023-10-12 16:35:56 UTC
Created attachment 903 [details]
执行过程

问题描述]:
uuid -v 4 -F BIN &> uuid4.log
file -i  uuid4.log
-F BIN:指定输出格式为二进制形式 ,应该都是charset=binary,有概率出现charset=unknown-8bit


[环境信息]:
内核信息:
# uname -r
5.17.0-1.an23.x86_64

操作系统信息:
# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"




[问题发生概率]:偶现

[期望结果]:
正常执行


[实际结果]:
概率就会出现失败


[复现步骤]:	
uuid -v 4 -F BIN &> uuid4.log
file -i  uuid4.log
Comment 1 yunmeng365524 2023-10-12 16:39:26 UTC
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: application/octet-stream; charset=binary
[root@localhost ~]# uuid -v 4 -F BIN &> uuid4.log
[root@localhost ~]# file -i uuid4.log
uuid4.log: text/plain; charset=unknown-8bit