登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
9
Star
1
Fork
11
src-openEuler
/
python-pid
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
pid 3.0.4版本执行测试用例失败
已完成
#I288L7
缺陷
桐小哥
创建于
2020-12-05 09:52
报错信息如下: [ 1303s] + cd pid-3.0.4 [ 1303s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-pid-3.0.4-3.oe1.aarch64/usr/lib/python2.7/site-packages [ 1303s] + nosetests-2.7 [ 1304s] ...F..........E............E...........EE... [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_chmod_win32 [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 167, in test_pid_chmod_win32 [ 1304s] pass [ 1304s] File "/usr/lib/python2.7/site-packages/_pytest/python_api.py", line 667, in __exit__ [ 1304s] fail(self.message) [ 1304s] File "/usr/lib/python2.7/site-packages/_pytest/outcomes.py", line 97, in fail [ 1304s] raise Failed(msg=msg, pytrace=pytrace) [ 1304s] Failed: DID NOT RAISE <class 'pid.base.PidFileConfigurationError'> [ 1304s] -------------------- >> begin captured logging << -------------------- [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> entering setup [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> create pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> check pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> closing pidfile: /tmp/nosetests-2.7.pid [ 1304s] --------------------- >> end captured logging << --------------------- [ 1304s] [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_gid_win32 [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 308, in test_pid_gid_win32 [ 1304s] with pid.PidFile(gid=gid): [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/pid/base.py", line 239, in __enter__ [ 1304s] self.create() [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/pid/base.py", line 209, in create [ 1304s] self._chown() [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/pid/posix.py", line 30, in _chown [ 1304s] os.fchown(self.fh.fileno(), self.uid, self.gid) [ 1304s] OSError: [Errno 1] Operation not permitted [ 1304s] -------------------- >> begin captured logging << -------------------- [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa87e9530> entering setup [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa87e9530> create pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa87e9530> check pidfile: /tmp/nosetests-2.7.pid [ 1304s] --------------------- >> end captured logging << --------------------- [ 1304s] [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_contextdecorator [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 503, in test_pid_contextdecorator [ 1304s] @pid.PidFile() [ 1304s] TypeError: 'PidFile' object is not callable [ 1304s] [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_contextdecorator_already_locked [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 512, in test_pid_contextdecorator_already_locked [ 1304s] @pid.PidFile("testpiddecorator") [ 1304s] TypeError: 'PidFile' object is not callable [ 1304s] [ 1304s] ====================================================================== [ 1304s] FAIL: test_pid.test_pid_pid_win32 [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 73, in test_pid_pid_win32 [ 1304s] assert pidtext == "", "Read '%s' from locked file on Windows with Python2" % (pidtext) [ 1304s] AssertionError: Read '13717' from locked file on Windows with Python2 [ 1304s] -------------------- >> begin captured logging << -------------------- [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> entering setup [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> create pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> check pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> closing pidfile: /tmp/nosetests-2.7.pid [ 1304s] --------------------- >> end captured logging << --------------------- [ 1304s] [ 1304s] ---------------------------------------------------------------------- [ 1304s] Ran 44 tests in 0.914s [ 1304s] [ 1304s] FAILED (errors=4, failures=1) [ 1304s] error: Bad exit status from /var/tmp/rpm-tmp.VPdcO0 (%check)
报错信息如下: [ 1303s] + cd pid-3.0.4 [ 1303s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-pid-3.0.4-3.oe1.aarch64/usr/lib/python2.7/site-packages [ 1303s] + nosetests-2.7 [ 1304s] ...F..........E............E...........EE... [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_chmod_win32 [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 167, in test_pid_chmod_win32 [ 1304s] pass [ 1304s] File "/usr/lib/python2.7/site-packages/_pytest/python_api.py", line 667, in __exit__ [ 1304s] fail(self.message) [ 1304s] File "/usr/lib/python2.7/site-packages/_pytest/outcomes.py", line 97, in fail [ 1304s] raise Failed(msg=msg, pytrace=pytrace) [ 1304s] Failed: DID NOT RAISE <class 'pid.base.PidFileConfigurationError'> [ 1304s] -------------------- >> begin captured logging << -------------------- [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> entering setup [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> create pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> check pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa8846530> closing pidfile: /tmp/nosetests-2.7.pid [ 1304s] --------------------- >> end captured logging << --------------------- [ 1304s] [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_gid_win32 [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 308, in test_pid_gid_win32 [ 1304s] with pid.PidFile(gid=gid): [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/pid/base.py", line 239, in __enter__ [ 1304s] self.create() [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/pid/base.py", line 209, in create [ 1304s] self._chown() [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/pid/posix.py", line 30, in _chown [ 1304s] os.fchown(self.fh.fileno(), self.uid, self.gid) [ 1304s] OSError: [Errno 1] Operation not permitted [ 1304s] -------------------- >> begin captured logging << -------------------- [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa87e9530> entering setup [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa87e9530> create pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa87e9530> check pidfile: /tmp/nosetests-2.7.pid [ 1304s] --------------------- >> end captured logging << --------------------- [ 1304s] [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_contextdecorator [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 503, in test_pid_contextdecorator [ 1304s] @pid.PidFile() [ 1304s] TypeError: 'PidFile' object is not callable [ 1304s] [ 1304s] ====================================================================== [ 1304s] ERROR: test_pid.test_pid_contextdecorator_already_locked [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 512, in test_pid_contextdecorator_already_locked [ 1304s] @pid.PidFile("testpiddecorator") [ 1304s] TypeError: 'PidFile' object is not callable [ 1304s] [ 1304s] ====================================================================== [ 1304s] FAIL: test_pid.test_pid_pid_win32 [ 1304s] ---------------------------------------------------------------------- [ 1304s] Traceback (most recent call last): [ 1304s] File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest [ 1304s] self.test(*self.arg) [ 1304s] File "/home/abuild/rpmbuild/BUILD/pid-3.0.4/tests/test_pid.py", line 73, in test_pid_pid_win32 [ 1304s] assert pidtext == "", "Read '%s' from locked file on Windows with Python2" % (pidtext) [ 1304s] AssertionError: Read '13717' from locked file on Windows with Python2 [ 1304s] -------------------- >> begin captured logging << -------------------- [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> entering setup [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> create pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> check pidfile: /tmp/nosetests-2.7.pid [ 1304s] PidFile: DEBUG: <pid.posix.PidFile object at 0xffffa891dc80> closing pidfile: /tmp/nosetests-2.7.pid [ 1304s] --------------------- >> end captured logging << --------------------- [ 1304s] [ 1304s] ---------------------------------------------------------------------- [ 1304s] Ran 44 tests in 0.914s [ 1304s] [ 1304s] FAILED (errors=4, failures=1) [ 1304s] error: Bad exit status from /var/tmp/rpm-tmp.VPdcO0 (%check)
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
Ulricajt
Ulricajt
负责人
协作者
+负责人
+协作者
桐小哥
tong_1001
负责人
协作者
+负责人
+协作者
标签
未设置
项目
未立项任务
未立项任务
里程碑
openEuler-20.03-LTS-SP1-round-2
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (28)
标签 (24)
master
openEuler-23.03
openEuler-23.09
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.09
openEuler-25.03
openEuler-25.09
openEuler-22.03-LTS
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-22.09
openEuler-20.03-LTS-SP1
openEuler-21.03
openEuler-21.09
openEuler-20.09
openEuler-20.03-LTS
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP2
openEuler1.0
openEuler1.0-base
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200928
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/python-pid.git
git@gitee.com:src-openeuler/python-pid.git
src-openeuler
python-pid
python-pid
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册