FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2017 PLD Team
$Revision: 1.37 $
Powered by sfistak.
Your IP: 54.80.226.185

python-pytest-timeout c01a2773-1e5a-45c5-8d82-8f3a2e264577

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/i686/FAIL/python-pytest-timeout,c01a2773-1e5a-45c5-8d82-8f3a2e264577.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2017/03/12 19:22:25
Runtime:0:00:43.914159

Toc:

  • error 1
  • rpm: error: Failed build dependencies:
  • error 2
  • rpm: error: Failed build dependencies:
  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702
  • build
  • Executing(%build): /bin/sh -e /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702
  • error 3
  • pytest.py: error: argument --timeout: invalid int value: '1.5'
  • error 4
  • except ImportError:
  • error 5
  • except os.error:
  • error 6
  • E OSError: out of pty devices
  • error 7
  • error: Bad exit status from /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702 (%build)
  • error 8
  • RPM build errors:
  • error 9
  • error: No files produced.

Content:

checking if we should skip the build
started at: Sun Mar 12 19:21:21 2017
fetching https://srcbuilder.pld-linux.org/th//srpms/c01a2773-1e5a-45c5-8d82-8f3a2e264577/python-pytest-timeout-1.2.0-1.src.rpm
fetched 25663 bytes, 71.5 K/s
installing srpm: python-pytest-timeout-1.2.0-1.src.rpm
+ install -d /tmp/B.jRcC4q/BUILD /tmp/B.jRcC4q/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog python-pytest-timeout-1.2.0-1.src.rpm
* Sun Mar 12 2017 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/python-pytest-timeout.git;a=log;h=master
* Sun Mar 12 2017 Jakub Bogusz <qboosh@pld-linux.org> beeea2d
- updated to 1.2.0 * Wed Dec 28 2016 Arkadiusz Miśkiewicz <arekm@maven.pl> b6e7f21
- python 3.6 - release 2 (by relup.sh) * Wed May 25 2016 Elan Ruusamäe <glen@delfi.ee> 481c201
- BR setuptools * Wed May 25 2016 Elan Ruusamäe <glen@delfi.ee> 16a57b4
- cleanup template leftovers * Wed May 25 2016 Mateusz Korniak <matkor@pld-linux.org> 44e10bd
- Initial version 1.0.0. + rpm -Uhv --nodeps --define '_topdir /tmp/B.jRcC4q' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' python-pytest-timeout-1.2.0-1.src.rpm Preparing... ################################################## python-pytest-timeout ################################################## + rm -f python-pytest-timeout-1.2.0-1.src.rpm + install -m 700 -d /tmp/B.jRcC4q/BUILD/tmp + TMPDIR=/tmp/B.jRcC4q/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.jRcC4q' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'prep exit 0' /tmp/B.jRcC4q/python-pytest-timeout.spec Building target platforms: i686-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: error: Failed build dependencies: rpm: python3-pexpect is needed by python-pytest-timeout-1.2.0-1.src rpm: Building target platforms: i686-pld-linux updating poldek cache... ready is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2017.03.12-16.31.01.gz... ..............................done Retrieving diff::packages.ndir.dscr.2017.03.12-16.31.01.gz... Loading [pndir]th-test... Applying packages.ndir.2017.03.12-16.31.01.gz... Writing /root/.poldek-cache/[...]/packages.ndir.gz... Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2017.03.12-15.41.02.gz... ..............................done Retrieving diff::packages.ndir.dscr.2017.03.12-15.41.02.gz... Loading [pndir]th-test... Applying packages.ndir.2017.03.12-15.41.02.gz... Writing /root/.poldek-cache/[...]/packages.ndir.gz... checking conflicting packages in BRed packages poldek: Loading [pndir]ready... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th... poldek: Loading [pndir]th... poldek: 29177 packages read poldek: Removed 2570 duplicate packages from available set poldek: Processing dependencies... poldek: There are 1 package to install: poldek: I python3-pexpect-4.2.1-1.noarch poldek: This operation will use 535.0KB of disk space. poldek: Need to get 96.4KB of archives. poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: error: Failed build dependencies: rpm: python3-pexpect is needed by python-pytest-timeout-1.2.0-1.src rpm: Building target platforms: i686-pld-linux installing BR: python3\-pexpect + poldek --noask --caplookup -Q -v --upgrade python3-pexpect Loading [pndir]ready... Loading [pndir]th-test... Loading [pndir]th-test... Loading [pndir]th-ready... Loading [pndir]th-ready... Loading [pndir]th... Loading [pndir]th... 29177 packages read Removed 2570 duplicate packages from available set Processing dependencies... There are 1 package to install: I python3-pexpect-4.2.1-1.noarch This operation will use 535.0KB of disk space. Need to get 96.4KB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## python3-pexpect ################################################## building RPM using: set -ex; : build-id: c01a2773-1e5a-45c5-8d82-8f3a2e264577; TMPDIR=/tmp/B.jRcC4q/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.jRcC4q' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.jRcC4q/python-pytest-timeout.spec + : build-id: c01a2773-1e5a-45c5-8d82-8f3a2e264577 + TMPDIR=/tmp/B.jRcC4q/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.jRcC4q' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.jRcC4q/python-pytest-timeout.spec Building target platforms: i686-pld-linux Executing(%prep): /bin/sh -e /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702 + umask 022 + cd /tmp/B.jRcC4q/BUILD + cd /tmp/B.jRcC4q/BUILD + rm -rf pytest-timeout-1.2.0 + /usr/bin/gzip -dc /tmp/B.jRcC4q/pytest-timeout-1.2.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-timeout-1.2.0 + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/home/users/builder/GNUstep/Tools:/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin TMPDIR=/tmp/B.jRcC4q/BUILD/tmp + umask 022 + cd /tmp/B.jRcC4q/BUILD + cd pytest-timeout-1.2.0 + LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' + export LDFLAGS + CFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CFLAGS + CXXFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CXXFLAGS + CC=i686-pld-linux-gcc + export CC + CXX=i686-pld-linux-g++ + export CXX + /usr/bin/python2 setup.py build '--build-base=build-2' running build running build_py creating build-2 creating build-2/lib copying pytest_timeout.py -> build-2/lib + pwd + PYTHONPATH=/tmp/B.jRcC4q/BUILD/pytest-timeout-1.2.0 /usr/bin/python2 -m pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 rootdir: /tmp/B.jRcC4q/BUILD/pytest-timeout-1.2.0, inifile: tox.ini plugins: timeout-1.2.0, hypothesis-3.1.0 collected 31 items test_pytest_timeout.py FF..................F.F.......F =========================== short test summary info ============================ FAIL test_pytest_timeout.py::test_header FAIL test_pytest_timeout.py::test_sigalrm FAIL test_pytest_timeout.py::test_timeout_mark_sigalrm FAIL test_pytest_timeout.py::test_timeout_mark_non_int FAIL test_pytest_timeout.py::test_suppresses_timeout_when_pdb_is_entered =================================== FAILURES =================================== _________________________________ test_header __________________________________ testdir = <Testdir local('/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_header0')> def test_header(testdir): testdir.makepyfile(""" def test_x(): pass """) result = testdir.runpytest('--timeout=1') result.stdout.fnmatch_lines([ > 'timeout: 1.0s method:*' ]) E Failed: remains unmatched: 'timeout: 1.0s method:*', see stderr ../../../../../pytest-timeout-1.2.0/test_pytest_timeout.py:29: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python2 /usr/share/python2.7/site-packages/pytest.py --basetemp=/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_header0/runpytest-0 --timeout=1 in: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_header0 ============================= test session starts ============================== platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 rootdir: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_header0, inifile: plugins: timeout-1.0.0, hypothesis-3.1.0 collected 1 items test_header.py . =========================== 1 passed in 0.01 seconds =========================== ----------------------------- Captured stderr call ----------------------------- nomatch: 'timeout: 1.0s method:*' and: u'============================= test session starts ==============================' and: u'platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1' and: u'rootdir: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_header0, inifile: ' and: u'plugins: timeout-1.0.0, hypothesis-3.1.0' and: u'collected 1 items' and: u'' and: u'test_header.py .' and: u'' and: u'=========================== 1 passed in 0.01 seconds ===========================' _________________________________ test_sigalrm _________________________________ testdir = <Testdir local('/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_sigalrm0')> @have_sigalrm def test_sigalrm(testdir): testdir.makepyfile(""" import time def test_foo(): time.sleep(2) """) result = testdir.runpytest('--timeout=1.5') result.stdout.fnmatch_lines([ > '*Failed: Timeout >1.5s*' ]) E Failed: remains unmatched: '*Failed: Timeout >1.5s*', see stderr ../../../../../pytest-timeout-1.2.0/test_pytest_timeout.py:43: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python2 /usr/share/python2.7/site-packages/pytest.py --basetemp=/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_sigalrm0/runpytest-0 --timeout=1.5 in: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_sigalrm0 ----------------------------- Captured stderr call ----------------------------- usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] pytest.py: error: argument --timeout: invalid int value: '1.5' __________________________ test_timeout_mark_sigalrm ___________________________ testdir = <Testdir local('/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_sigalrm0')> @have_sigalrm def test_timeout_mark_sigalrm(testdir): testdir.makepyfile(""" import time, pytest @pytest.mark.timeout(1) def test_foo(): time.sleep(2) assert False """) result = testdir.runpytest() > result.stdout.fnmatch_lines(['*Failed: Timeout >1.0s*']) E Failed: remains unmatched: '*Failed: Timeout >1.0s*', see stderr ../../../../../pytest-timeout-1.2.0/test_pytest_timeout.py:151: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python2 /usr/share/python2.7/site-packages/pytest.py --basetemp=/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_sigalrm0/runpytest-0 in: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_sigalrm0 ============================= test session starts ============================== platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 rootdir: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_sigalrm0, inifile: plugins: timeout-1.0.0, hypothesis-3.1.0 collected 1 items test_timeout_mark_sigalrm.py F =================================== FAILURES =================================== ___________________________________ test_foo ___________________________________ @pytest.mark.timeout(1) def test_foo(): > time.sleep(2) E Failed: Timeout >1s test_timeout_mark_sigalrm.py:5: Failed =========================== 1 failed in 1.02 seconds =========================== ----------------------------- Captured stderr call ----------------------------- nomatch: '*Failed: Timeout >1.0s*' and: u'============================= test session starts ==============================' and: u'platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1' and: u'rootdir: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_sigalrm0, inifile: ' and: u'plugins: timeout-1.0.0, hypothesis-3.1.0' and: u'collected 1 items' and: u'' and: u'test_timeout_mark_sigalrm.py F' and: u'' and: u'=================================== FAILURES ===================================' and: u'___________________________________ test_foo ___________________________________' and: u'' and: u' @pytest.mark.timeout(1)' and: u' def test_foo():' and: u'> time.sleep(2)' and: u'E Failed: Timeout >1s' and: u'' and: u'test_timeout_mark_sigalrm.py:5: Failed' and: u'=========================== 1 failed in 1.02 seconds ===========================' __________________________ test_timeout_mark_non_int ___________________________ testdir = <Testdir local('/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_non_int0')> def test_timeout_mark_non_int(testdir): testdir.makepyfile(""" import time, pytest @pytest.mark.timeout(0.5) def test_foo(): time.sleep(1) """) result = testdir.runpytest('--timeout_method=thread') > result.stderr.fnmatch_lines(['*++ Timeout ++*']) E Failed: remains unmatched: '*++ Timeout ++*', see stderr ../../../../../pytest-timeout-1.2.0/test_pytest_timeout.py:175: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python2 /usr/share/python2.7/site-packages/pytest.py --basetemp=/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_non_int0/runpytest-0 --timeout_method=thread in: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_non_int0 ============================= test session starts ============================== platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 rootdir: /tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_timeout_mark_non_int0, inifile: plugins: timeout-1.0.0, hypothesis-3.1.0 collected 1 items test_timeout_mark_non_int.py . =========================== 1 passed in 1.01 seconds =========================== _________________ test_suppresses_timeout_when_pdb_is_entered __________________ testdir = <Testdir local('/tmp/B.jRcC4q/BUILD/tmp/pytest-of-builder/pytest-0/testdir/test_suppresses_timeout_when_pdb_is_entered0')> def test_suppresses_timeout_when_pdb_is_entered(testdir): p1 = testdir.makepyfile(""" import pytest, pdb @pytest.mark.timeout(1) def test_foo(): pdb.set_trace() """) > child = testdir.spawn_pytest(str(p1)) ../../../../../pytest-timeout-1.2.0/test_pytest_timeout.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/share/python2.7/site-packages/_pytest/pytester.py:981: in spawn_pytest ??? /usr/share/python2.7/site-packages/_pytest/pytester.py:996: in spawn ??? /usr/share/python2.7/site-packages/pexpect/pty_spawn.py:197: in __init__ ??? /usr/share/python2.7/site-packages/pexpect/pty_spawn.py:297: in _spawn ??? /usr/share/python2.7/site-packages/pexpect/pty_spawn.py:308: in _spawnpty ??? /usr/share/python2.7/site-packages/ptyprocess/ptyprocess.py:220: in spawn ??? /usr/lib/python2.7/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib/python2.7/pty.py:29: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name). SGI and generic BSD version, for when openpty() fails.""" try: import sgi except ImportError: pass else: try: tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) except IOError, msg: raise os.error, msg return master_fd, tty_name for x in 'pqrstuvwxyzPQRST': for y in '0123456789abcdef': pty_name = '/dev/pty' + x + y try: fd = os.open(pty_name, os.O_RDWR) except os.error: continue return (fd, '/dev/tty' + x + y) > raise os.error, 'out of pty devices' E OSError: out of pty devices /usr/lib/python2.7/pty.py:70: OSError ===================== 5 failed, 26 passed in 42.43 seconds ===================== error: Bad exit status from /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702 (%build) RPM build errors: Bad exit status from /tmp/B.jRcC4q/BUILD/tmp/rpm-tmp.80702 (%build) ended at: Sun Mar 12 19:22:24 2017, done in 0:00:43.914159 error: No files produced. + chmod -R u+rwX /tmp/B.jRcC4q/BUILD + rm -rf /tmp/B.jRcC4q/tmp /tmp/B.jRcC4q/BUILD + rm -rf /tmp/B.jRcC4q Begin-PLD-Builder-Info Build-Time: user:26.25s sys:2.62s real:63.59s (faults io:0 non-io:680348) End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]