登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
就在本周六,成都站 Gitee Talk | 模力方舟 AI 应用开发沙龙抢占最后席位!聚焦 AI 开发全链路,结识技术同频人~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
47
Star
45
Fork
305
openEuler
/
QA
代码
Issues
11
Pull Requests
26
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
openEuler 23.09 alpha 版本下cachefilesd出现问题
待办的
#I7VRX5
任务
KotorinMinami
创建于
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)
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
sig/sig-QA
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/openeuler/QA.git
[email protected]
:openeuler/QA.git
openeuler
QA
QA
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册