登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情~
代码拉取完成,页面将自动刷新
仓库状态说明
开源项目
>
开发工具
>
测试工具
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
39
Star
75
Fork
728
openEuler
/
mugen
关闭
代码
Issues
164
Pull Requests
143
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
[mugen]AT用例适配docker容器
已完成
#I7R8MN
任务
ga_beng_cui
成员
创建于
2023-08-07 19:14
AT.json文件中共266条自动化用例,其中26条用例需要适配docker容器,对于容器不支持命令或者功能在用例里面跳过 | 用例 | 修改原因 | 评审结果 | 备注 | | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | ------------------------------------------------------------ | | testcases/smoke-test/smoke-basic-os/oe_test_user_debug_iotop_03/oe_test_user_debug_iotop_03.sh | # iotop -o -b -n 2 -d 10 Netlink error: No such file or directory (2) The Linux kernel interfaces that iotop relies on for process I/O statistics were not found. Please enable CONFIG_TASKSTATS in your Linux kernel build configuration, use iotop outside a container and or share the host's network namespace with the container. Please do not file bugs on iotop about this. | 跳过 | iotop根据Linux内核(需要2.6.20及以上)来监测I/O,并且能显示当前进程/线程的I/O使用率 容器不支持 | | testcases/smoke-test/smoke-basic-os/oe_test_sort/oe_test_sort.sh | #locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= | 跳过 | 环境变量导致字符排序规则与虚拟机不同 | | testcases/smoke-test/smoke-basic-os/oe_test_rsyslog_10/oe_test_rsyslog_10.sh | # timedatectl Failed to connect to bus: No such file or directory | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_df/oe_test_df.sh | df\|grep "boot"; df Filesystem 1K-blocks Used Available Use% Mounted on overlay 45572980 7697008 35528556 18% / tmpfs 65536 0 65536 0% /dev tmpfs 4096 0 4096 0% /sys/fs/cgroup /dev/mapper/openeuler_openeuler-root 45572980 7697008 35528556 18% /etc/hosts shm 65536 0 65536 0% /dev/shm tmpfs 537616 53820 483796 11% /run tmpfs 1344036 8 1344028 1% /tmp | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_dracut/oe_test_dracut.sh | dracut: WARNING: running in hostonly mode in a container!! dracut: Cannot find module directory /lib/modules/5.10.0-153.12.0.92.oe2203sp2.aarch64/ dracut: and --no-kernel was not specified | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_chroncy_001/oe_test_chroncy_001.sh | systemctl start chronyd Job for chronyd.service failed because a timeout was exceeded. See "systemctl status chronyd.service" and "journalctl -xeu chronyd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_audit_fixed_memory_01/oe_test_audit_fixed_memory_01.sh | Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xeu auditd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_audit_abnormal_kill/oe_test_audit_abnormal_kill.sh | Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xeu auditd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_chrt/oe_test_chrt.sh | chrt: failed to set pid 395384's policy: Operation not permitted | 跳过 | 不支持更改进程调度策略和优先级 | | testcases/smoke-test/smoke-basic-os/oe_test_audit_fixed_memory_02/oe_test_audit_fixed_memory_02.sh | Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xeu auditd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-OVS/oe_test_OVS/oe_test_OVS.sh | ovs-vsctl #添加网桥会卡住直到超时 | 跳过 | | | testcases/smoke-test/smoke-baseinfo//oe_test_baseinfo/oe_test_baseinfo.sh | timedatectl:Failed to connect to bus: No such file or directory localectl:Failed to connect to bus: No such file or directory | 跳过 | | | testcases/smoke-test/smoke-baseinfo//oe_test_partition/oe_test_partition.sh | lsblk部分信息docker中不存在 boot相关 | 跳过 | | | testcases/smoke-test/smoke-module/oe_test_module.sh | 卸载某些模块导致docker ip丢失 | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_nfs_03/oe_test_nfs_03.sh | docker中mount失败,由于执行下面命令失败 exportfs -avr exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/nfs". Assuming default behaviour ('no_subtree_check'). NOTE: this default has changed since nfs-utils version 1.0.x exporting *:/home/nfs exportfs: /home/nfs does not support NFS export | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_nfs/oe_test_nfs.sh | exportfs -avr exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/nfs". Assuming default behaviour ('no_subtree_check'). NOTE: this default has changed since nfs-utils version 1.0.x exporting *:/home/nfs exportfs: /home/nfs does not support NFS export | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_iscsi/oe_test_iscsi.sh | 执行echo -e 'cd /\n clearconfig confirm=true\n' \| targetcli报错 g-io-error-quark: Could not connect: Connection refused 此错误的原因是其中一个条目/etc/fstab指向不再存在的分区 UUID,/etc/fstab不存在 | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_network_001/oe_test_network_001.sh | 执行nmcli connection show不会显示网卡信息 使用ip a替代 | 适配 | | | testcases/smoke-test/smoke-basic-os/oe_test_log_001/oe_test_log_001.sh | 默认未安装rsyslog 安装之后重启服务/var/log/messages中不会立马出现新的日志 | 适配 | | | testcases/smoke-test/smoke-basic-os/oe_test_ipv6_dnsmasq/oe_test_ipv6_dnsmasq.sh | dnsmasq服务启动超时 Aug 07 14:26:32 5fedf797a313 systemd[1]: Starting DNS caching server.... Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: started, version 2.86 cachesize 150 Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: compile time options: IPv6 GNU-getopt DBus no-UBus no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP no- conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: reading /etc/resolv.conf Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: using nameserver 114.114.114.114#53 Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: read /etc/hosts - 9 names Aug 07 14:26:32 5fedf797a313 systemd[1]: dnsmasq.service: New main PID 29638 does not belong to service, and PID file is not owned by ro ot. Refusing. Aug 07 14:26:32 5fedf797a313 systemd[1]: dnsmasq.service: New main PID 29638 does not belong to service, and PID file is not owned by ro ot. Refusing. Aug 07 14:28:02 5fedf797a313 systemd[1]: dnsmasq.service: start operation timed out. Terminating. Aug 07 14:28:02 5fedf797a313 systemd[1]: dnsmasq.service: Failed with result 'timeout'. Aug 07 14:28:02 5fedf797a313 systemd[1]: Failed to start DNS caching server.. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_losetup/oe_test_losetup.sh | losetup /dev/loop0 floppy.img losetup: /dev/loop0: failed to set up loop device: No such file or directory | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_grub2_mkconfig/oe_test_grub2_mkconfig.sh | 安装grub2-tools提示grub2-tools-minimal已安装,但是相关命令仍不存在 | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_os-prober_02/oe_test_os-prober_02.sh | linux-boot-prober $(df -Th \| grep 'boot$' \| awk '{print $1}') 容器中没有boot | 跳过 | # df -Th Filesystem Type Size Used Avail Use% Mounted on overlay overlay 44G 16G 26G 39% / tmpfs tmpfs 64M 0 64M 0% /dev tmpfs tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup /dev/mapper/openeuler_openeuler-root ext4 44G 16G 26G 39% /etc/hosts shm tmpfs 64M 4.0K 64M 1% /dev/shm tmpfs tmpfs 527M 27M 501M 6% /run tmpfs tmpfs 1.3G 816K 1.3G 1% /tmp | | testcases/smoke-test/smoke-basic-os/oe_test_openssl/oe_test_openssl.sh | /etc/fstab文件不存在 | 部分跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_iptables-save/oe_test_iptables-save.sh | 执行iptables-save打印结果部分信息不存在,如: nat mangle raw security | 部分跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_gettext/oe_test_gettext.sh | docker中中文显示乱码 设置成中文之后,打印内容仍是英文 | 跳过 | |
AT.json文件中共266条自动化用例,其中26条用例需要适配docker容器,对于容器不支持命令或者功能在用例里面跳过 | 用例 | 修改原因 | 评审结果 | 备注 | | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | ------------------------------------------------------------ | | testcases/smoke-test/smoke-basic-os/oe_test_user_debug_iotop_03/oe_test_user_debug_iotop_03.sh | # iotop -o -b -n 2 -d 10 Netlink error: No such file or directory (2) The Linux kernel interfaces that iotop relies on for process I/O statistics were not found. Please enable CONFIG_TASKSTATS in your Linux kernel build configuration, use iotop outside a container and or share the host's network namespace with the container. Please do not file bugs on iotop about this. | 跳过 | iotop根据Linux内核(需要2.6.20及以上)来监测I/O,并且能显示当前进程/线程的I/O使用率 容器不支持 | | testcases/smoke-test/smoke-basic-os/oe_test_sort/oe_test_sort.sh | #locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= | 跳过 | 环境变量导致字符排序规则与虚拟机不同 | | testcases/smoke-test/smoke-basic-os/oe_test_rsyslog_10/oe_test_rsyslog_10.sh | # timedatectl Failed to connect to bus: No such file or directory | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_df/oe_test_df.sh | df\|grep "boot"; df Filesystem 1K-blocks Used Available Use% Mounted on overlay 45572980 7697008 35528556 18% / tmpfs 65536 0 65536 0% /dev tmpfs 4096 0 4096 0% /sys/fs/cgroup /dev/mapper/openeuler_openeuler-root 45572980 7697008 35528556 18% /etc/hosts shm 65536 0 65536 0% /dev/shm tmpfs 537616 53820 483796 11% /run tmpfs 1344036 8 1344028 1% /tmp | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_dracut/oe_test_dracut.sh | dracut: WARNING: running in hostonly mode in a container!! dracut: Cannot find module directory /lib/modules/5.10.0-153.12.0.92.oe2203sp2.aarch64/ dracut: and --no-kernel was not specified | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_chroncy_001/oe_test_chroncy_001.sh | systemctl start chronyd Job for chronyd.service failed because a timeout was exceeded. See "systemctl status chronyd.service" and "journalctl -xeu chronyd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_audit_fixed_memory_01/oe_test_audit_fixed_memory_01.sh | Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xeu auditd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_audit_abnormal_kill/oe_test_audit_abnormal_kill.sh | Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xeu auditd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_chrt/oe_test_chrt.sh | chrt: failed to set pid 395384's policy: Operation not permitted | 跳过 | 不支持更改进程调度策略和优先级 | | testcases/smoke-test/smoke-basic-os/oe_test_audit_fixed_memory_02/oe_test_audit_fixed_memory_02.sh | Job for auditd.service failed because the control process exited with error code. See "systemctl status auditd.service" and "journalctl -xeu auditd.service" for details. | 跳过 | | | testcases/smoke-test/smoke-OVS/oe_test_OVS/oe_test_OVS.sh | ovs-vsctl #添加网桥会卡住直到超时 | 跳过 | | | testcases/smoke-test/smoke-baseinfo//oe_test_baseinfo/oe_test_baseinfo.sh | timedatectl:Failed to connect to bus: No such file or directory localectl:Failed to connect to bus: No such file or directory | 跳过 | | | testcases/smoke-test/smoke-baseinfo//oe_test_partition/oe_test_partition.sh | lsblk部分信息docker中不存在 boot相关 | 跳过 | | | testcases/smoke-test/smoke-module/oe_test_module.sh | 卸载某些模块导致docker ip丢失 | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_nfs_03/oe_test_nfs_03.sh | docker中mount失败,由于执行下面命令失败 exportfs -avr exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/nfs". Assuming default behaviour ('no_subtree_check'). NOTE: this default has changed since nfs-utils version 1.0.x exporting *:/home/nfs exportfs: /home/nfs does not support NFS export | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_nfs/oe_test_nfs.sh | exportfs -avr exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/nfs". Assuming default behaviour ('no_subtree_check'). NOTE: this default has changed since nfs-utils version 1.0.x exporting *:/home/nfs exportfs: /home/nfs does not support NFS export | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_iscsi/oe_test_iscsi.sh | 执行echo -e 'cd /\n clearconfig confirm=true\n' \| targetcli报错 g-io-error-quark: Could not connect: Connection refused 此错误的原因是其中一个条目/etc/fstab指向不再存在的分区 UUID,/etc/fstab不存在 | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_network_001/oe_test_network_001.sh | 执行nmcli connection show不会显示网卡信息 使用ip a替代 | 适配 | | | testcases/smoke-test/smoke-basic-os/oe_test_log_001/oe_test_log_001.sh | 默认未安装rsyslog 安装之后重启服务/var/log/messages中不会立马出现新的日志 | 适配 | | | testcases/smoke-test/smoke-basic-os/oe_test_ipv6_dnsmasq/oe_test_ipv6_dnsmasq.sh | dnsmasq服务启动超时 Aug 07 14:26:32 5fedf797a313 systemd[1]: Starting DNS caching server.... Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: started, version 2.86 cachesize 150 Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: compile time options: IPv6 GNU-getopt DBus no-UBus no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP no- conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: reading /etc/resolv.conf Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: using nameserver 114.114.114.114#53 Aug 07 14:26:32 5fedf797a313 dnsmasq[29638]: read /etc/hosts - 9 names Aug 07 14:26:32 5fedf797a313 systemd[1]: dnsmasq.service: New main PID 29638 does not belong to service, and PID file is not owned by ro ot. Refusing. Aug 07 14:26:32 5fedf797a313 systemd[1]: dnsmasq.service: New main PID 29638 does not belong to service, and PID file is not owned by ro ot. Refusing. Aug 07 14:28:02 5fedf797a313 systemd[1]: dnsmasq.service: start operation timed out. Terminating. Aug 07 14:28:02 5fedf797a313 systemd[1]: dnsmasq.service: Failed with result 'timeout'. Aug 07 14:28:02 5fedf797a313 systemd[1]: Failed to start DNS caching server.. | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_losetup/oe_test_losetup.sh | losetup /dev/loop0 floppy.img losetup: /dev/loop0: failed to set up loop device: No such file or directory | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_grub2_mkconfig/oe_test_grub2_mkconfig.sh | 安装grub2-tools提示grub2-tools-minimal已安装,但是相关命令仍不存在 | 跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_os-prober_02/oe_test_os-prober_02.sh | linux-boot-prober $(df -Th \| grep 'boot$' \| awk '{print $1}') 容器中没有boot | 跳过 | # df -Th Filesystem Type Size Used Avail Use% Mounted on overlay overlay 44G 16G 26G 39% / tmpfs tmpfs 64M 0 64M 0% /dev tmpfs tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup /dev/mapper/openeuler_openeuler-root ext4 44G 16G 26G 39% /etc/hosts shm tmpfs 64M 4.0K 64M 1% /dev/shm tmpfs tmpfs 527M 27M 501M 6% /run tmpfs tmpfs 1.3G 816K 1.3G 1% /tmp | | testcases/smoke-test/smoke-basic-os/oe_test_openssl/oe_test_openssl.sh | /etc/fstab文件不存在 | 部分跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_iptables-save/oe_test_iptables-save.sh | 执行iptables-save打印结果部分信息不存在,如: nat mangle raw security | 部分跳过 | | | testcases/smoke-test/smoke-basic-os/oe_test_gettext/oe_test_gettext.sh | docker中中文显示乱码 设置成中文之后,打印内容仍是英文 | 跳过 | |
附件
AT用例适配容器.md
(10.02 KB)
下载
ga_beng_cui
2023-08-07 19:16
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已拒绝
负责人
未设置
ga_beng_cui
ga_beng_cui
负责人
协作者
+负责人
+协作者
标签
sig/sig-QA
未设置
项目
未立项任务
未立项任务
里程碑
openEuler-mugen
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/openeuler/mugen.git
git@gitee.com:openeuler/mugen.git
openeuler
mugen
mugen
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册