报错信息如下:
[ 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)
Hey tong_1001, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论