* Package: dev-python/peewee-2.8.3 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking peewee-2.8.3.tar.gz to /var/tmp/portage/dev-python/peewee-2.8.3/work >>> Source unpacked in /var/tmp/portage/dev-python/peewee-2.8.3/work >>> Preparing source in /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3 ... * Will copy sources from /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3 * python2_7: copying to /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7 * python3_5: copying to /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3 ... * python2_7: running distutils-r1_run_phase python_compile /usr/bin/python2.7 setup.py build running build running build_py copying peewee.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib copying pwiz.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/test_utils.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/sqlite_udf.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/sqlite_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/sqlcipher_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/signals.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/shortcuts.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/reflection.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/read_slave.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/postgres_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/pool.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/migrate.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/kv.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/hybrid.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/gfk.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/flask_utils.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/fields.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/djpeewee.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/db_url.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/dataset.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/csv_utils.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/csv_loader.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/berkeleydb.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/apsw_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse copying playhouse/__init__.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse warning: build_py: byte-compiling is disabled, skipping. running build_ext cythoning playhouse/_speedups.pyx to playhouse/_speedups.c building 'playhouse._speedups' extension creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7 creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c playhouse/_speedups.c -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse/_speedups.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-strict-aliasing /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse/_speedups.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse/_speedups.so cythoning playhouse/_sqlite_udf.pyx to playhouse/_sqlite_udf.c building 'playhouse._sqlite_udf' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c playhouse/_sqlite_udf.c -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse/_sqlite_udf.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-strict-aliasing /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse/_sqlite_udf.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse/_sqlite_udf.so cythoning playhouse/_sqlite_ext.pyx to playhouse/_sqlite_ext.c building 'playhouse._sqlite_ext' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c playhouse/_sqlite_ext.c -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse/_sqlite_ext.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-strict-aliasing /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/temp.linux-x86_64-2.7/playhouse/_sqlite_ext.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/lib/playhouse/_sqlite_ext.so running build_scripts creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/scripts copying and adjusting pwiz.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/scripts changing mode of /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/build/scripts/pwiz.py from 644 to 755 * python3_5: running distutils-r1_run_phase python_compile /usr/bin/python3.5 setup.py build running build running build_py copying peewee.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib copying pwiz.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/test_utils.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/sqlite_udf.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/sqlite_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/sqlcipher_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/signals.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/shortcuts.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/reflection.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/read_slave.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/postgres_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/pool.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/migrate.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/kv.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/hybrid.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/gfk.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/flask_utils.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/fields.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/djpeewee.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/db_url.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/dataset.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/csv_utils.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/csv_loader.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/berkeleydb.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/apsw_ext.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse copying playhouse/__init__.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse warning: build_py: byte-compiling is disabled, skipping. running build_ext cythoning playhouse/_speedups.pyx to playhouse/_speedups.c building 'playhouse._speedups' extension creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5 creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python3.5m -c playhouse/_speedups.c -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse/_speedups.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse/_speedups.o -L/usr/lib64 -lpython3.5m -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse/_speedups.cpython-35m-x86_64-linux-gnu.so cythoning playhouse/_sqlite_udf.pyx to playhouse/_sqlite_udf.c building 'playhouse._sqlite_udf' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python3.5m -c playhouse/_sqlite_udf.c -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse/_sqlite_udf.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse/_sqlite_udf.o -L/usr/lib64 -lpython3.5m -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse/_sqlite_udf.cpython-35m-x86_64-linux-gnu.so cythoning playhouse/_sqlite_ext.pyx to playhouse/_sqlite_ext.c building 'playhouse._sqlite_ext' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python3.5m -c playhouse/_sqlite_ext.c -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse/_sqlite_ext.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/temp.linux-x86_64-3.5/playhouse/_sqlite_ext.o -L/usr/lib64 -lpython3.5m -o /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/lib/playhouse/_sqlite_ext.cpython-35m-x86_64-linux-gnu.so running build_scripts creating /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/scripts copying and adjusting pwiz.py -> /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/scripts changing mode of /var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python3_5/build/scripts/pwiz.py from 644 to 755 * python3_5: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/peewee-2.8.3 * python2_7: running distutils-r1_run_phase python_test .......................................................................................................................................................................................................................Exception in thread Thread-13: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/playhouse/tests/test_database.py", line 50, in create_user_thread User.create(username='u%d' % i) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 4776, in create inst.save(force_insert=True) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 4982, in save pk_from_cursor = self.insert(**field_dict).execute() File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3435, in execute cursor = self._execute() File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 2826, in _execute return self.database.execute_sql(sql, params, self.require_commit) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3683, in execute_sql self.commit() File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3507, in __exit__ reraise(new_type, new_type(*exc_args), traceback) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3676, in execute_sql cursor.execute(sql, params or ()) OperationalError: database is locked Exception in thread Thread-14: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/playhouse/tests/test_database.py", line 50, in create_user_thread User.create(username='u%d' % i) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 4776, in create inst.save(force_insert=True) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 4982, in save pk_from_cursor = self.insert(**field_dict).execute() File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3435, in execute cursor = self._execute() File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 2826, in _execute return self.database.execute_sql(sql, params, self.require_commit) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3683, in execute_sql self.commit() File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3507, in __exit__ reraise(new_type, new_type(*exc_args), traceback) File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/peewee.py", line 3676, in execute_sql cursor.execute(sql, params or ()) OperationalError: database is locked F............................................................................................................................................................ ====================================================================== FAIL: test_multiple_writers (playhouse.tests.test_database.TestMultiThreadedQueries) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7/playhouse/tests/test_database.py", line 61, in test_multiple_writers self.assertEqual(User.select().count(), self.threads * 10) AssertionError: 20 != 40 ---------------------------------------------------------------------- Ran 372 tests in 1919.907s FAILED (failures=1) Skipping TestCompoundWithOrderLimit tests. Skipping TestDropTableCascade tests. Skipping TestDatabaseSequences tests. Skipping TestUnicodeConversion tests. Skipping TestPostgresqlSchema tests. Skipping TestInsertReturningModelAPI tests. Skipping TestReturningClause tests. Skipping TestWindowFunctions tests. Skipping TestDistinctOn tests. Skipping TestForUpdate tests. Skipping TestForUpdateNoWait tests. Adding tests for "tests" * ERROR: dev-python/peewee-2.8.3::gentoo failed (test phase): * tests failed under python2.7 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2607: Called distutils-r1_src_test * environment, line 854: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 311: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2142: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1508: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1506: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 528: Called distutils-r1_run_phase 'python_test' * environment, line 785: Called python_test * environment, line 2509: Called die * The specific snippet of code: * "${PYTHON}" ./runtests.py || die "tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/peewee-2.8.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/peewee-2.8.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:peewee-2.8.3:20180120-092858.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/peewee-2.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/peewee-2.8.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3-python2_7' * S: '/var/tmp/portage/dev-python/peewee-2.8.3/work/peewee-2.8.3'