Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
48
Star
44
Fork
337
openEuler
/
QA
Code
Issues
12
Pull Requests
21
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
openEuler 23.09 alpha 版本下cachefilesd出现问题
Backlog
#I7VRX5
Task
KotorinMinami
Opened this issue
2023-08-24 23:18
### 意图 这里是软件所第三测试小队,在使用mugen对openEuler23.09 RISCV进行测试时,使用[x86架构qemu镜像](http://121.36.84.172/dailybuild/openEuler-23.09/alpha_openeuler-2023-08-14-14-17-53/virtual_machine_img/x86_64/)进行对比测试,以排查上游和mugen脚本可能存在的缺陷或误判。在测试中,发现x86下cachefilesd出现以下问题: ### 缺陷 - 使用x86和riscv qemu镜像进行cachefilesd的测试时测试例oe_test_service_cachefilesd失败 - 按照mugen脚本对环境的配置完毕,使用dnf安装cachefilesd后,启动cachefilesd,systemd模块未能正常启动,journalctl有文件缺失提示: ``` [root@localhost ~]# systemctl start cachefilesd [root@localhost ~]# [ 1765.802117][ T1102] CacheFiles: Security denies permission to nominate security context: error -2 [ 1765.803058][ T1102] CacheFiles: Failed to register: -2 [root@localhost ~]# systemctl status cachefilesd × cachefilesd.service - Local network file caching management daemon Loaded: loaded (/usr/lib/systemd/system/cachefilesd.service; disabled; pre> Active: failed (Result: exit-code) since Thu 2023-08-24 14:02:13 UTC; 37s > Duration: 3ms Process: 1100 ExecStartPre=/sbin/modprobe -qab cachefiles (code=exited, sta> Process: 1102 ExecStart=/usr/sbin/cachefilesd -n -f /etc/cachefilesd.conf (> Main PID: 1102 (code=exited, status=1/FAILURE) Aug 24 14:02:13 localhost.localdomain systemd[1]: Starting Local network file caching management daemon... Aug 24 14:02:13 localhost.localdomain systemd[1]: Started Local network file caching management daemon. Aug 24 14:02:13 localhost.localdomain cachefilesd[1102]: About to bind cache Aug 24 14:02:13 localhost.localdomain cachefilesd[1102]: CacheFiles bind failed: errno 2 (No such file or directory) Aug 24 14:02:13 localhost.localdomain systemd[1]: cachefilesd.service: Main process exited, code=exited, status=1/FAILU> Aug 24 14:02:13 localhost.localdomain systemd[1]: cachefilesd.service: Failed ``` - 在riscv中相同步骤出现相同结果 ### 环境 - 使用qemu虚拟机进行测试,其中镜像地址:http://121.36.84.172/dailybuild/openEuler-23.09/alpha_openeuler-2023-08-14-14-17-53/virtual_machine_img/x86_64/ - 启动命令: ``` qemu-system-x86_64 \ -cpu host -accel kvm \ -m 4G \ -smp 4 \ -drive file=openEuler-23.09-x86_64.qcow2,format=qcow2 \ -drive if=pflash,format=raw,file=OVMF.fd \ -nographic \ -device virtio-net-pci,netdev=n0 \ -netdev user,id=n0 \ -nic user,hostfwd=tcp::20022-:22 ``` - TIP: 由于23.09 x86_64 默认软件源配置错误,如果要安装软件包则需要如下操作,故默认软件源有一下更改: ``` sed -i 's/repo.openeuler.org\/openEuler-23.09\//121.36.84.172\/dailybuild\/openEuler-23.09\/alpha_openeuler-2023-08-14-14-17-53\//g' /etc/yum.repos.d/openEuler.repo ``` ### 需求 - 该缺陷是否为上游缺陷导致,如是,请修复;如不是,请给出如何在对应qemu镜像下给出配置方法使得mugen测试例通过或给出此mugen测试不适合qemu镜像,将此归类为非问题的缘由 ### 链接 - [x86下qemu镜像运行mugen测试,cachefilesd测试例log](https://github.com/KotorinMinami/res_list/blob/master/oe-rv2309/mugen-x86/logs/cachefilesd/oe_test_service_cachefilesd/2023-08-22-14%3A39%3A45.log) - [mugen 对应测试例脚本](https://gitee.com/openeuler/mugen/blob/master/testcases/cli-test/cachefilesd/oe_test_service_cachefilesd.sh)
### 意图 这里是软件所第三测试小队,在使用mugen对openEuler23.09 RISCV进行测试时,使用[x86架构qemu镜像](http://121.36.84.172/dailybuild/openEuler-23.09/alpha_openeuler-2023-08-14-14-17-53/virtual_machine_img/x86_64/)进行对比测试,以排查上游和mugen脚本可能存在的缺陷或误判。在测试中,发现x86下cachefilesd出现以下问题: ### 缺陷 - 使用x86和riscv qemu镜像进行cachefilesd的测试时测试例oe_test_service_cachefilesd失败 - 按照mugen脚本对环境的配置完毕,使用dnf安装cachefilesd后,启动cachefilesd,systemd模块未能正常启动,journalctl有文件缺失提示: ``` [root@localhost ~]# systemctl start cachefilesd [root@localhost ~]# [ 1765.802117][ T1102] CacheFiles: Security denies permission to nominate security context: error -2 [ 1765.803058][ T1102] CacheFiles: Failed to register: -2 [root@localhost ~]# systemctl status cachefilesd × cachefilesd.service - Local network file caching management daemon Loaded: loaded (/usr/lib/systemd/system/cachefilesd.service; disabled; pre> Active: failed (Result: exit-code) since Thu 2023-08-24 14:02:13 UTC; 37s > Duration: 3ms Process: 1100 ExecStartPre=/sbin/modprobe -qab cachefiles (code=exited, sta> Process: 1102 ExecStart=/usr/sbin/cachefilesd -n -f /etc/cachefilesd.conf (> Main PID: 1102 (code=exited, status=1/FAILURE) Aug 24 14:02:13 localhost.localdomain systemd[1]: Starting Local network file caching management daemon... Aug 24 14:02:13 localhost.localdomain systemd[1]: Started Local network file caching management daemon. Aug 24 14:02:13 localhost.localdomain cachefilesd[1102]: About to bind cache Aug 24 14:02:13 localhost.localdomain cachefilesd[1102]: CacheFiles bind failed: errno 2 (No such file or directory) Aug 24 14:02:13 localhost.localdomain systemd[1]: cachefilesd.service: Main process exited, code=exited, status=1/FAILU> Aug 24 14:02:13 localhost.localdomain systemd[1]: cachefilesd.service: Failed ``` - 在riscv中相同步骤出现相同结果 ### 环境 - 使用qemu虚拟机进行测试,其中镜像地址:http://121.36.84.172/dailybuild/openEuler-23.09/alpha_openeuler-2023-08-14-14-17-53/virtual_machine_img/x86_64/ - 启动命令: ``` qemu-system-x86_64 \ -cpu host -accel kvm \ -m 4G \ -smp 4 \ -drive file=openEuler-23.09-x86_64.qcow2,format=qcow2 \ -drive if=pflash,format=raw,file=OVMF.fd \ -nographic \ -device virtio-net-pci,netdev=n0 \ -netdev user,id=n0 \ -nic user,hostfwd=tcp::20022-:22 ``` - TIP: 由于23.09 x86_64 默认软件源配置错误,如果要安装软件包则需要如下操作,故默认软件源有一下更改: ``` sed -i 's/repo.openeuler.org\/openEuler-23.09\//121.36.84.172\/dailybuild\/openEuler-23.09\/alpha_openeuler-2023-08-14-14-17-53\//g' /etc/yum.repos.d/openEuler.repo ``` ### 需求 - 该缺陷是否为上游缺陷导致,如是,请修复;如不是,请给出如何在对应qemu镜像下给出配置方法使得mugen测试例通过或给出此mugen测试不适合qemu镜像,将此归类为非问题的缘由 ### 链接 - [x86下qemu镜像运行mugen测试,cachefilesd测试例log](https://github.com/KotorinMinami/res_list/blob/master/oe-rv2309/mugen-x86/logs/cachefilesd/oe_test_service_cachefilesd/2023-08-22-14%3A39%3A45.log) - [mugen 对应测试例脚本](https://gitee.com/openeuler/mugen/blob/master/testcases/cli-test/cachefilesd/oe_test_service_cachefilesd.sh)
Comments (
1
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/sig-QA
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
No related branch
master
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/openeuler/QA.git
git@gitee.com:openeuler/QA.git
openeuler
QA
QA
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register