Bug 212 - [Anolis OS 8.4 龙芯版][4.19.190-3.an8.loongarch64] Yum repo中部分软件包安装失败
Summary: [Anolis OS 8.4 龙芯版][4.19.190-3.an8.loongarch64] Yum repo中部分软件包安装失败
Status: RESOLVED DUPLICATE of bug 211
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.4
Hardware: loongarch Linux
: P2-High S2-major
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on: 211
Blocks:
  Show dependency tree
 
Reported: 2021-12-28 10:13 UTC by xugangjian
Modified: 2021-12-31 17:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xugangjian alibaba_cloud_group 2021-12-28 10:13:52 UTC
[问题描述]
使用 Anolis OS 8.4 龙芯版 4.19.190-3.an8.loongarch64 环境在pkg-smoke 测试时,对应 powertools/AppStream/baseos  3个repo 所有包进行测试,将失败的安装包进行整理记录如下:

repo-id:powertools

1.1).参数及调用问题:
ghostscript-tools-printing
gspell-devel
libtiff-tools
mtdev-devel (调用问题:Error: failed to run /usr/bin/mtdev-test)
ocaml(Error: failed to run /usr/bin/ocamlbyteinfo)
ocaml-findlib(Error: failed to run /usr/bin/ocamlfind)
ocaml-runtime(Error: failed to run /usr/bin/ocamlrun)

1.2). 安装时由于依赖/冲突/缺包导致失败:
docbook-utils
glibc-nss-devel
istack-commons
ocl-icd-devel
perl-DateTime
perl-DateTime-Format-Builder
perl-Devel-CallChecker
perl-JSON-XS
perl-Params-Classify
perl-Params-Validate
perl-SGMLSpm
perl-Unicode-LineBreak
pstoedit
python3-sphinx

1.3).产生 core dump:
doxygen-doxywizard  
(timeout: the monitored command dumped core
./smoke.sh: line 17: 26703 Aborted                 timeout 10 /usr/bin/doxywizard --help
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.)


2.repo-id : baseos

2.1).参数及调用问题:
NetworkManager(Error: failed to run /usr/sbin/ifup  Error: failed to run /usr/sbin/ifdown )
OpenIPMI-lanserv(Error: failed to run /usr/bin/sdrcomp)
at(Error: failed to run /usr/sbin/atrun)
audit(Error: failed to run /usr/bin/ausyscall)
bash(Error: failed to run /usr/bin/bg)
blktrace(Error: failed to run /usr/bin/blkrawverify)
bzip2(Error: failed to run /usr/bin/bzip2recover)
checkpolicy(Error: failed to run /usr/bin/sedispol)
crontabs(Error: failed to run /usr/bin/run-parts)
ctdb(Error: failed to run /usr/bin/ctdb_local_daemons)
device-mapper-multipath(Error: failed to run /usr/sbin/multipathd)
dhcp-client(Error: failed to run /usr/sbin/dhclient-script)
e2fsprogs(Error: failed to run /usr/sbin/e2label)
environment-modules(Error: failed to run /usr/bin/modulecmd)
expect(Error: failed to run /usr/bin/autoexpect)
fipscheck(Error: failed to run /usr/bin/fipscheck)
fuse(Error: failed to run /usr/bin/ulockmgr_server)
gfs2-utils(Error: failed to run /usr/sbin/gfs2_withdraw_helper)
gnupg2(Error: failed to run /usr/sbin/addgnupghome)
initscripts(Error: failed to run /usr/sbin/consoletype)
iproute(Error: failed to run /usr/sbin/ifcfg)
iprutils(Error: failed to run /usr/sbin/iprdbg)
iptables(Error: failed to run /usr/sbin/xtables-nft-multi)
iptables-utils(Error: failed to run /usr/sbin/nfbpf_compile)
iputils(Error: failed to run /usr/sbin/clockdiff)
irqbalance(Error: failed to run /usr/sbin/irqbalance)
kexec-tools(Error: failed to run /usr/sbin/vmcore-dmesg)
krb5-devel(Error: failed to run /usr/bin/uuclient)
krb5-server(Error: failed to run /usr/bin/sclient)
krb5-workstation(Error: failed to run /usr/bin/kpasswd)
less(Error: failed to run /usr/bin/lesspipe.sh)
libcom_err-devel(Error: failed to run /usr/bin/compile_et)
libhugetlbfs-utils( Error: failed to run /usr/bin/huge_page_setup_helper.py)
libnl3-cli(Error: failed to run /usr/bin/nf-ct-events)
libpwquality(Error: failed to run /usr/bin/pwscore)
librdmacm-utils(Error: failed to run /usr/bin/rping)
libselinux-utils(Error: failed to run /usr/sbin/selinuxenabled Error: failed to run /usr/sbin/selinuxexeccon   Error: failed to run /usr/sbin/setenforce)
libstoragemgmt-local-plugin(Error: failed to run /usr/bin/local_lsmplugin)
lksctp-tools(Error: failed to run /usr/bin/withsctp)
lldpad(Error: failed to run /usr/sbin/lldptool)
lm_sensors(Error: failed to run /usr/sbin/sensors-detect)
lockdev(Error: failed to run /usr/sbin/lockdev)
minicom(Error: failed to run /usr/bin/xminicom)
netlabel_tools(Error: failed to run /usr/sbin/netlabel-config)
nfs-utils(Error: failed to run /usr/sbin/nfsconvert)
ntsysv(Error: failed to run /usr/sbin/ntsysv)
numactl(Error: failed to run /usr/bin/memhog)
nvmetcli(Error: failed to run /usr/sbin/nvmetcli)
penssh-clients(Error: failed to run /usr/bin/ssh-add)
openssl(Error: failed to run /usr/bin/openssl)
openssl-perl(Error: failed to run /usr/bin/tsget)
pam(Error: failed to run /usr/sbin/mkhomedir_helper)
pciutils(Error: failed to run /usr/sbin/update-pciids)
platform-python(Error: failed to run /usr/bin/unversioned-python)
policycoreutils(Error: failed to run /usr/sbin/genhomedircon)
policycoreutils-newrole(Error: failed to run /usr/bin/newrole)
policycoreutils-python-utils(Error: failed to run /usr/bin/chcat)
ppp(Error: failed to run /usr/sbin/ppp-watch)
psmisc(Error: failed to run usr/sbin/fuser)
ealmd(Error: failed to run /usr/sbin/realm)
rmt(Error: failed to run /usr/sbin/rmt)
samba-client(Error: failed to run /usr/bin/smbprint)
selinux-policy-devel(Error: failed to run /usr/bin/macro-expander)
smc-tools(Error: failed to run /usr/bin/smc_run)
stunnel(Error: failed to run /usr/bin/stunnel)
target-restore(Error: failed to run /usr/bin/targetctl)
tmpwatch(Error: failed to run /usr/sbin/tmpwatch)
unzip(Error: failed to run /usr/bin/funzip)
usb_modeswitch(Error: failed to run /usr/sbin/usb_modeswitch_dispatcher)
usermode(Error: failed to run /usr/bin/consolehelper)

2.2). 安装时由于依赖/冲突/缺包导致失败:
coreutils-single
ksc
libcurl-minimal
mokutil
openssl-ibmpkcs11
samba-winbind-krb5-locator  (libreplace-samba4.so => not found  Error: ldd check failed on /usr/lib64/samba/krb5/winbind_krb5_locator.so)


3.repo-id : APPStream
分析中



【测试环境】

[内核]
内核:
[root@localhost ~]# uname -r
4.19.190-3.an8.loongarch64

# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.4"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.4"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.4"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"


# lscpu
Architecture:        loongarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
CPU family:          Loongson-64bit
Model name:          Loongson-3A5000LL
BogoMIPS:            4600.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            256K
L3 cache:            16384K
NUMA node0 CPU(s):   0-3
Flags:               cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips


# free -h
              total        used        free      shared  buff/cache   available
Mem:           15Gi       1.1Gi        12Gi        21Mi       1.7Gi        12Gi
Swap:         7.9Gi          0B       7.9Gi


[问题复现]

[root@localhost ~]# ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 30.240.156.103  netmask 255.255.248.0  broadcast 30.240.159.255
        inet6 fe80::223:9eff:fe25:9234  prefixlen 64  scopeid 0x20<link>
        ether 00:23:9e:25:92:34  txqueuelen 1000  (Ethernet)
        RX packets 315411  bytes 329958882 (314.6 MiB)
        RX errors 0  dropped 5  overruns 0  frame 0
        TX packets 338455  bytes 32682450 (31.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 45  base 0x4000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 140  bytes 30411 (29.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 140  bytes 30411 (29.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:ed:f0:af  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

执行:https://code.aone.alibaba-inc.com/AKTF/pkg-smoke-test/blob/master/pkg-smoke-test.sh
Comment 1 xugangjian alibaba_cloud_group 2021-12-28 10:30:19 UTC
提交时由于页面反馈错误,导致提交2遍,与 https://bugzilla.openanolis.cn/show_bug.cgi?id=211  重复,关闭此页,留下 【211】页
Comment 2 shuming admin 2021-12-31 17:46:07 UTC
Dup of 211

*** This bug has been marked as a duplicate of bug 211 ***