Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 868301 Details for
Bug 912709
dev-python/time-machine-2.11.0: test failures on hppa (timeouts?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
file_912709.txt (text/plain), 29.15 KB, created by
Sam James
on 2023-08-21 06:49:27 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Sam James
Created:
2023-08-21 06:49:27 UTC
Size:
29.15 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-python/time-machine-2.11.0:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: python@gentoo.org >[32m * [39;49;00mUSE: elibc_glibc hppa kernel_linux python_targets_python3_11 test >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking time-machine-2.11.0.gh.tar.gz to /var/tmp/portage/dev-python/time-machine-2.11.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/time-machine-2.11.0/work >>>> Preparing source in /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0 ... > * Build system packages: > * dev-python/gpep517 : 13 > * dev-python/installer : 0.7.0 > * dev-python/cython : 3.0.0-r1 > * dev-python/setuptools : 67.8.0-r1 > * dev-python/setuptools-rust : > * dev-python/setuptools-scm : 7.1.0 > * dev-python/wheel : 0.40.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0 ... > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for time-machine-2.11.0 via setuptools.build_meta >gpep517 build-wheel --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/wheel >2023-08-20 06:44:07,050 gpep517 INFO Building wheel via backend setuptools.build_meta >2023-08-20 06:44:07,610 root INFO running bdist_wheel >2023-08-20 06:44:08,310 root INFO running build >2023-08-20 06:44:08,314 root INFO running build_py >2023-08-20 06:44:08,386 root INFO creating build >2023-08-20 06:44:08,390 root INFO creating build/lib.linux-parisc64-cpython-311 >2023-08-20 06:44:08,390 root INFO creating build/lib.linux-parisc64-cpython-311/time_machine >2023-08-20 06:44:08,390 root INFO copying src/time_machine/__init__.py -> build/lib.linux-parisc64-cpython-311/time_machine >2023-08-20 06:44:08,394 root INFO running egg_info >2023-08-20 06:44:08,486 root INFO creating src/time_machine.egg-info >2023-08-20 06:44:08,554 root INFO writing src/time_machine.egg-info/PKG-INFO >2023-08-20 06:44:08,558 root INFO writing dependency_links to src/time_machine.egg-info/dependency_links.txt >2023-08-20 06:44:08,562 root INFO writing entry points to src/time_machine.egg-info/entry_points.txt >2023-08-20 06:44:08,562 root INFO writing requirements to src/time_machine.egg-info/requires.txt >2023-08-20 06:44:08,562 root INFO writing top-level names to src/time_machine.egg-info/top_level.txt >2023-08-20 06:44:08,566 root INFO writing manifest file 'src/time_machine.egg-info/SOURCES.txt' >2023-08-20 06:44:08,866 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-08-20 06:44:08,914 root INFO reading manifest file 'src/time_machine.egg-info/SOURCES.txt' >2023-08-20 06:44:08,918 root INFO reading manifest template 'MANIFEST.in' >2023-08-20 06:44:08,926 root INFO adding license file 'LICENSE' >2023-08-20 06:44:08,930 root INFO writing manifest file 'src/time_machine.egg-info/SOURCES.txt' >2023-08-20 06:44:08,934 root INFO copying src/time_machine/py.typed -> build/lib.linux-parisc64-cpython-311/time_machine >2023-08-20 06:44:08,942 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-08-20 06:44:08,942 root INFO running build_ext >2023-08-20 06:44:10,258 root INFO building '_time_machine' extension >2023-08-20 06:44:10,262 root INFO creating build/temp.linux-parisc64-cpython-311 >2023-08-20 06:44:10,262 root INFO creating build/temp.linux-parisc64-cpython-311/src >2023-08-20 06:44:10,262 root INFO hppa2.0-unknown-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=2.0 -DNDEBUG -fPIC -I/usr/include/python3.11 -c src/_time_machine.c -o build/temp.linux-parisc64-cpython-311/src/_time_machine.o >2023-08-20 06:44:11,686 root INFO hppa2.0-unknown-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=2.0 -DNDEBUG build/temp.linux-parisc64-cpython-311/src/_time_machine.o -L/usr/lib -o build/lib.linux-parisc64-cpython-311/_time_machine.cpython-311-hppa-linux-gnu.so >2023-08-20 06:44:12,066 wheel INFO installing to build/bdist.linux-parisc64/wheel >2023-08-20 06:44:12,066 root INFO running install >2023-08-20 06:44:12,150 root INFO running install_lib >2023-08-20 06:44:12,226 root INFO creating build/bdist.linux-parisc64 >2023-08-20 06:44:12,226 root INFO creating build/bdist.linux-parisc64/wheel >2023-08-20 06:44:12,230 root INFO copying build/lib.linux-parisc64-cpython-311/_time_machine.cpython-311-hppa-linux-gnu.so -> build/bdist.linux-parisc64/wheel >2023-08-20 06:44:12,234 root INFO creating build/bdist.linux-parisc64/wheel/time_machine >2023-08-20 06:44:12,234 root INFO copying build/lib.linux-parisc64-cpython-311/time_machine/py.typed -> build/bdist.linux-parisc64/wheel/time_machine >2023-08-20 06:44:12,238 root INFO copying build/lib.linux-parisc64-cpython-311/time_machine/__init__.py -> build/bdist.linux-parisc64/wheel/time_machine >2023-08-20 06:44:12,242 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-08-20 06:44:12,242 root INFO running install_egg_info >2023-08-20 06:44:12,318 root INFO Copying src/time_machine.egg-info to build/bdist.linux-parisc64/wheel/time_machine-2.11.0-py3.11.egg-info >2023-08-20 06:44:12,350 root INFO running install_scripts >2023-08-20 06:44:12,394 wheel INFO creating build/bdist.linux-parisc64/wheel/time_machine-2.11.0.dist-info/WHEEL >2023-08-20 06:44:12,398 wheel INFO creating '/var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/wheel/.tmp-j20h9gex/time_machine-2.11.0-cp311-cp311-linux_parisc64.whl' and adding 'build/bdist.linux-parisc64/wheel' to it >2023-08-20 06:44:12,402 wheel INFO adding '_time_machine.cpython-311-hppa-linux-gnu.so' >2023-08-20 06:44:12,406 wheel INFO adding 'time_machine/__init__.py' >2023-08-20 06:44:12,406 wheel INFO adding 'time_machine/py.typed' >2023-08-20 06:44:12,410 wheel INFO adding 'time_machine-2.11.0.dist-info/LICENSE' >2023-08-20 06:44:12,414 wheel INFO adding 'time_machine-2.11.0.dist-info/METADATA' >2023-08-20 06:44:12,414 wheel INFO adding 'time_machine-2.11.0.dist-info/WHEEL' >2023-08-20 06:44:12,418 wheel INFO adding 'time_machine-2.11.0.dist-info/entry_points.txt' >2023-08-20 06:44:12,418 wheel INFO adding 'time_machine-2.11.0.dist-info/top_level.txt' >2023-08-20 06:44:12,422 wheel INFO adding 'time_machine-2.11.0.dist-info/RECORD' >2023-08-20 06:44:12,422 wheel INFO removing build/bdist.linux-parisc64/wheel >2023-08-20 06:44:12,434 gpep517 INFO The backend produced /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/wheel/time_machine-2.11.0-cp311-cp311-linux_parisc64.whl > * Installing time_machine-2.11.0-cp311-cp311-linux_parisc64.whl to /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/wheel/time_machine-2.11.0-cp311-cp311-linux_parisc64.whl >2023-08-20 06:44:13,462 gpep517 INFO Installing /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/wheel/time_machine-2.11.0-cp311-cp311-linux_parisc64.whl into /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/install >2023-08-20 06:44:13,598 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/time-machine-2.11.0 > * python3_11: running distutils-r1_run_phase python_test >python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern >[1m============================= test session starts ==============================[0m >platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 -- /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0-python3_11/install/usr/bin/python3.11 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0 >configfile: pyproject.toml >plugins: time-machine-2.11.0, pkgcore-0.12.21, forked-1.6.0, xdist-3.3.1 >[1mcollecting ... [0mcollected 81 items > >tests/test_time_machine.py::test_import_without_clock_realtime [32mPASSED[0m[32m [ 1/81][0m >tests/test_time_machine.py::test_datetime_now_no_args [32mPASSED[0m[32m [ 2/81][0m >tests/test_time_machine.py::test_datetime_now_no_args_no_tick [32mPASSED[0m[32m [ 3/81][0m >tests/test_time_machine.py::test_datetime_now_arg [32mPASSED[0m[32m [ 4/81][0m >tests/test_time_machine.py::test_datetime_utcnow [32mPASSED[0m[32m [ 5/81][0m >tests/test_time_machine.py::test_datetime_utcnow_no_tick [32mPASSED[0m[32m [ 6/81][0m >tests/test_time_machine.py::test_date_today [32mPASSED[0m[32m [ 7/81][0m >tests/test_time_machine.py::test_time_clock_gettime_realtime [32mPASSED[0m[32m [ 8/81][0m >tests/test_time_machine.py::test_time_clock_gettime_monotonic_unaffected [31mFAILED[0m[31m [ 9/81][0m >tests/test_time_machine.py::test_time_clock_gettime_ns_realtime [31mFAILED[0m[31m [10/81][0m >tests/test_time_machine.py::test_time_clock_gettime_ns_monotonic_unaffected [31mFAILED[0m[31m [11/81][0m >tests/test_time_machine.py::test_time_gmtime_no_args [32mPASSED[0m[31m [12/81][0m >tests/test_time_machine.py::test_time_gmtime_no_args_no_tick [32mPASSED[0m[31m [13/81][0m >tests/test_time_machine.py::test_time_gmtime_arg [32mPASSED[0m[31m [14/81][0m >tests/test_time_machine.py::test_time_localtime [32mPASSED[0m[31m [15/81][0m >tests/test_time_machine.py::test_time_localtime_no_tick [32mPASSED[0m[31m [16/81][0m >tests/test_time_machine.py::test_time_localtime_arg [32mPASSED[0m[31m [17/81][0m >tests/test_time_machine.py::test_time_strftime_format [32mPASSED[0m[31m [18/81][0m >tests/test_time_machine.py::test_time_strftime_format_no_tick [32mPASSED[0m[31m [19/81][0m >tests/test_time_machine.py::test_time_strftime_format_t [32mPASSED[0m[31m [20/81][0m >tests/test_time_machine.py::test_time_time [31mFAILED[0m[31m [21/81][0m >tests/test_time_machine.py::test_time_time_windows [31mFAILED[0m[31m [22/81][0m >tests/test_time_machine.py::test_time_time_no_tick [32mPASSED[0m[31m [23/81][0m >tests/test_time_machine.py::test_time_time_ns [31mFAILED[0m[31m [24/81][0m >tests/test_time_machine.py::test_time_time_ns_no_tick [32mPASSED[0m[31m [25/81][0m >tests/test_time_machine.py::test_nestable [32mPASSED[0m[31m [26/81][0m >tests/test_time_machine.py::test_unsupported_type [32mPASSED[0m[31m [27/81][0m >tests/test_time_machine.py::test_exceptions_dont_break_it [32mPASSED[0m[31m [28/81][0m >tests/test_time_machine.py::test_destination_datetime [32mPASSED[0m[31m [29/81][0m >tests/test_time_machine.py::test_destination_datetime_tzinfo_non_zoneinfo [32mPASSED[0m[31m [30/81][0m >tests/test_time_machine.py::test_destination_datetime_tzinfo_zoneinfo [32mPASSED[0m[31m [31/81][0m >tests/test_time_machine.py::test_destination_datetime_tzinfo_zoneinfo_nested [32mPASSED[0m[31m [32/81][0m >tests/test_time_machine.py::test_destination_datetime_tzinfo_zoneinfo_no_orig_tz [32mPASSED[0m[31m [33/81][0m >tests/test_time_machine.py::test_destination_datetime_tzinfo_zoneinfo_windows [32mPASSED[0m[31m [34/81][0m >tests/test_time_machine.py::test_destination_int [32mPASSED[0m[31m [35/81][0m >tests/test_time_machine.py::test_destination_datetime_naive [32mPASSED[0m[31m [36/81][0m >tests/test_time_machine.py::test_destination_date [32mPASSED[0m[31m [37/81][0m >tests/test_time_machine.py::test_destination_string [32mPASSED[0m[31m [38/81][0m >tests/test_time_machine.py::test_destination_callable_lambda_float [32mPASSED[0m[31m [39/81][0m >tests/test_time_machine.py::test_destination_callable_lambda_string [32mPASSED[0m[31m [40/81][0m >tests/test_time_machine.py::test_destination_generator [32mPASSED[0m[31m [41/81][0m >tests/test_time_machine.py::test_traveller_object [32mPASSED[0m[31m [42/81][0m >tests/test_time_machine.py::test_function_decorator [32mPASSED[0m[31m [43/81][0m >tests/test_time_machine.py::test_coroutine_decorator [32mPASSED[0m[31m [44/81][0m >tests/test_time_machine.py::test_class_decorator_fails_non_testcase [32mPASSED[0m[31m [45/81][0m >tests/test_time_machine.py::TestMethodDecorator::test_method_decorator [32mPASSED[0m[31m [46/81][0m >tests/test_time_machine.py::UnitTestMethodTests::test_method_decorator [32mPASSED[0m[31m [47/81][0m >tests/test_time_machine.py::UnitTestClassTests::test_class_decorator [32mPASSED[0m[31m [48/81][0m >tests/test_time_machine.py::UnitTestClassTests::test_stacked_method_decorator [32mPASSED[0m[31m [49/81][0m >tests/test_time_machine.py::UnitTestClassCustomSetUpClassTests::test_class_decorator [31mFAILED[0m[31m [50/81][0m >tests/test_time_machine.py::UnitTestClassSetUpClassSkipTests::test_thats_always_skipped [33mSKIPPED[0m[31m [51/81][0m >tests/test_time_machine.py::test_shift_with_timedelta [32mPASSED[0m[31m [52/81][0m >tests/test_time_machine.py::test_shift_integer_delta [32mPASSED[0m[31m [53/81][0m >tests/test_time_machine.py::test_shift_negative_delta [32mPASSED[0m[31m [54/81][0m >tests/test_time_machine.py::test_shift_wrong_delta [32mPASSED[0m[31m [55/81][0m >tests/test_time_machine.py::test_shift_when_tick [32mPASSED[0m[31m [56/81][0m >tests/test_time_machine.py::test_move_to_datetime [31mFAILED[0m[31m [57/81][0m >tests/test_time_machine.py::test_move_to_datetime_no_tick [32mPASSED[0m[31m [58/81][0m >tests/test_time_machine.py::test_move_to_past_datetime [32mPASSED[0m[31m [59/81][0m >tests/test_time_machine.py::test_move_to_datetime_with_tzinfo_zoneinfo [32mPASSED[0m[31m [60/81][0m >tests/test_time_machine.py::test_move_to_datetime_change_tick_on [31mFAILED[0m[31m [61/81][0m >tests/test_time_machine.py::test_move_to_datetime_change_tick_off [32mPASSED[0m[31m [62/81][0m >tests/test_time_machine.py::test_uuid1 [32mPASSED[0m[31m [63/81][0m >tests/test_time_machine.py::test_fixture_unused [32mPASSED[0m[31m [64/81][0m >tests/test_time_machine.py::test_fixture_used [32mPASSED[0m[31m [65/81][0m >tests/test_time_machine.py::test_fixture_used_tick_false [32mPASSED[0m[31m [66/81][0m >tests/test_time_machine.py::test_fixture_used_tick_true [31mFAILED[0m[31m [67/81][0m >tests/test_time_machine.py::test_fixture_used_twice [32mPASSED[0m[31m [68/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_is_travelling_false [32mPASSED[0m[31m [69/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_is_travelling_true [32mPASSED[0m[31m [70/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_datetime_now [32mPASSED[0m[31m [71/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_datetime_now_tz [32mPASSED[0m[31m [72/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_datetime_utcnow [32mPASSED[0m[31m [73/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_clock_gettime [32mPASSED[0m[31m [74/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_clock_gettime_ns [32mPASSED[0m[31m [75/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_gmtime [32mPASSED[0m[31m [76/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_localtime [32mPASSED[0m[31m [77/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_strftime_no_arg [32mPASSED[0m[31m [78/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_strftime_arg [32mPASSED[0m[31m [79/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_time [32mPASSED[0m[31m [80/81][0m >tests/test_time_machine.py::TestEscapeHatch::test_time_time_ns [32mPASSED[0m[31m [81/81][0m > >=================================== FAILURES =================================== >[31m[1m_________________ test_time_clock_gettime_monotonic_unaffected _________________[0m > > [37m@py_have_clock_gettime[39;49;00m[90m[39;49;00m > [94mdef[39;49;00m [92mtest_time_clock_gettime_monotonic_unaffected[39;49;00m():[90m[39;49;00m > start = time.clock_gettime(time.CLOCK_MONOTONIC)[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH + [94m180.0[39;49;00m):[90m[39;49;00m > frozen = time.clock_gettime(time.CLOCK_MONOTONIC)[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(frozen, [96mfloat[39;49;00m)[90m[39;49;00m >> [94massert[39;49;00m frozen > start[90m[39;49;00m >[1m[31mE assert 180060.382319348 > 180060.382319348[0m > >frozen = 180060.382319348 >start = 180060.382319348 > >[1m[31mtests/test_time_machine.py[0m:144: AssertionError >[31m[1m_____________________ test_time_clock_gettime_ns_realtime ______________________[0m > > [37m@py_have_clock_gettime[39;49;00m[90m[39;49;00m > [94mdef[39;49;00m [92mtest_time_clock_gettime_ns_realtime[39;49;00m():[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH + [94m190.0[39;49;00m):[90m[39;49;00m > first = time.clock_gettime_ns(time.CLOCK_REALTIME)[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(first, [96mint[39;49;00m)[90m[39;49;00m > [94massert[39;49;00m first == [96mint[39;49;00m((EPOCH + [94m190.0[39;49;00m) * NANOSECONDS_PER_SECOND)[90m[39;49;00m > second = time.clock_gettime_ns(time.CLOCK_REALTIME)[90m[39;49;00m >> [94massert[39;49;00m first < second < [96mint[39;49;00m((EPOCH + [94m191.0[39;49;00m) * NANOSECONDS_PER_SECOND)[90m[39;49;00m >[1m[31mE assert 190000000000 < 190000000000[0m > >first = 190000000000 >second = 190000000000 > >[1m[31mtests/test_time_machine.py[0m:158: AssertionError >[31m[1m_______________ test_time_clock_gettime_ns_monotonic_unaffected ________________[0m > > [37m@py_have_clock_gettime[39;49;00m[90m[39;49;00m > [94mdef[39;49;00m [92mtest_time_clock_gettime_ns_monotonic_unaffected[39;49;00m():[90m[39;49;00m > start = time.clock_gettime_ns(time.CLOCK_MONOTONIC)[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH + [94m190.0[39;49;00m):[90m[39;49;00m > frozen = time.clock_gettime_ns(time.CLOCK_MONOTONIC)[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(frozen, [96mint[39;49;00m)[90m[39;49;00m >> [94massert[39;49;00m frozen > start[90m[39;49;00m >[1m[31mE assert 180060818326206 > 180060818326206[0m > >frozen = 180060818326206 >start = 180060818326206 > >[1m[31mtests/test_time_machine.py[0m:171: AssertionError >[31m[1m________________________________ test_time_time ________________________________[0m > > [94mdef[39;49;00m [92mtest_time_time[39;49;00m():[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH):[90m[39;49;00m > first = time.time()[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(first, [96mfloat[39;49;00m)[90m[39;49;00m > [94massert[39;49;00m first == EPOCH[90m[39;49;00m > second = time.time()[90m[39;49;00m >> [94massert[39;49;00m first < second < EPOCH + [94m1.0[39;49;00m[90m[39;49;00m >[1m[31mE assert 0.0 < 0.0[0m > >first = 0.0 >second = 0.0 > >[1m[31mtests/test_time_machine.py[0m:251: AssertionError >[31m[1m____________________________ test_time_time_windows ____________________________[0m > > [37m@mock[39;49;00m.patch.object([90m[39;49;00m > time_machine,[90m[39;49;00m > [33m"[39;49;00m[33mSYSTEM_EPOCH_TIMESTAMP_NS[39;49;00m[33m"[39;49;00m,[90m[39;49;00m > (windows_epoch_in_posix * NANOSECONDS_PER_SECOND),[90m[39;49;00m > )[90m[39;49;00m > [94mdef[39;49;00m [92mtest_time_time_windows[39;49;00m():[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH):[90m[39;49;00m > first = time.time()[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(first, [96mfloat[39;49;00m)[90m[39;49;00m > [94massert[39;49;00m first == windows_epoch_in_posix[90m[39;49;00m > [90m[39;49;00m > second = time.time()[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(second, [96mfloat[39;49;00m)[90m[39;49;00m >> [94massert[39;49;00m windows_epoch_in_posix < second < windows_epoch_in_posix + [94m1.0[39;49;00m[90m[39;49;00m >[1m[31mE assert -11644445222 < -11644445222.0[0m > >first = -11644445222.0 >second = -11644445222.0 > >[1m[31mtests/test_time_machine.py[0m:274: AssertionError >[31m[1m______________________________ test_time_time_ns _______________________________[0m > > [94mdef[39;49;00m [92mtest_time_time_ns[39;49;00m():[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH + [94m150.0[39;49;00m):[90m[39;49;00m > first = time.time_ns()[90m[39;49;00m > [94massert[39;49;00m [96misinstance[39;49;00m(first, [96mint[39;49;00m)[90m[39;49;00m > [94massert[39;49;00m first == [96mint[39;49;00m((EPOCH + [94m150.0[39;49;00m) * NANOSECONDS_PER_SECOND)[90m[39;49;00m > second = time.time_ns()[90m[39;49;00m >> [94massert[39;49;00m first < second < [96mint[39;49;00m((EPOCH + [94m151.0[39;49;00m) * NANOSECONDS_PER_SECOND)[90m[39;49;00m >[1m[31mE assert 150000000000 < 150000000000[0m > >first = 150000000000 >second = 150000000000 > >[1m[31mtests/test_time_machine.py[0m:288: AssertionError >[31m[1m___________ UnitTestClassCustomSetUpClassTests.test_class_decorator ____________[0m > >self = <tests.test_time_machine.UnitTestClassCustomSetUpClassTests testMethod=test_class_decorator> > > [94mdef[39;49;00m [92mtest_class_decorator[39;49;00m([96mself[39;49;00m):[90m[39;49;00m >> [94massert[39;49;00m EPOCH + [94m95.0[39;49;00m < time.time() < EPOCH + [94m96.0[39;49;00m[90m[39;49;00m >[1m[31mE assert (0.0 + 95.0) < 95.0[0m >[1m[31mE + where 95.0 = <built-in function time>()[0m >[1m[31mE + where <built-in function time> = time.time[0m > >self = <tests.test_time_machine.UnitTestClassCustomSetUpClassTests testMethod=test_class_decorator> > >[1m[31mtests/test_time_machine.py[0m:521: AssertionError >[31m[1m____________________________ test_move_to_datetime _____________________________[0m > > [94mdef[39;49;00m [92mtest_move_to_datetime[39;49;00m():[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH) [94mas[39;49;00m traveller:[90m[39;49;00m > [94massert[39;49;00m time.time() == EPOCH[90m[39;49;00m > [90m[39;49;00m > traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME)[90m[39;49;00m > [90m[39;49;00m > first = time.time()[90m[39;49;00m > [94massert[39;49;00m first == EPOCH_PLUS_ONE_YEAR[90m[39;49;00m > [90m[39;49;00m > second = time.time()[90m[39;49;00m >> [94massert[39;49;00m first < second < first + [94m1.0[39;49;00m[90m[39;49;00m >[1m[31mE assert 31536000.0 < 31536000.0[0m > >first = 31536000.0 >second = 31536000.0 >traveller = <time_machine.Coordinates object at 0xf630b670> > >[1m[31mtests/test_time_machine.py[0m:585: AssertionError >[31m[1m_____________________ test_move_to_datetime_change_tick_on _____________________[0m > > [94mdef[39;49;00m [92mtest_move_to_datetime_change_tick_on[39;49;00m():[90m[39;49;00m > [94mwith[39;49;00m time_machine.travel(EPOCH, tick=[94mFalse[39;49;00m) [94mas[39;49;00m traveller:[90m[39;49;00m > traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME, tick=[94mTrue[39;49;00m)[90m[39;49;00m > [94massert[39;49;00m time.time() == EPOCH_PLUS_ONE_YEAR[90m[39;49;00m >> [94massert[39;49;00m time.time() > EPOCH_PLUS_ONE_YEAR[90m[39;49;00m >[1m[31mE assert 31536000.0 > 31536000.0[0m >[1m[31mE + where 31536000.0 = <built-in function time>()[0m >[1m[31mE + where <built-in function time> = time.time[0m > >traveller = <time_machine.Coordinates object at 0xf5f39470> > >[1m[31mtests/test_time_machine.py[0m:649: AssertionError >[31m[1m_________________________ test_fixture_used_tick_true __________________________[0m > >time_machine = <time_machine.TimeMachineFixture object at 0xf630b5d0> > > [94mdef[39;49;00m [92mtest_fixture_used_tick_true[39;49;00m(time_machine):[90m[39;49;00m > time_machine.move_to(EPOCH, tick=[94mTrue[39;49;00m)[90m[39;49;00m > original = time.time()[90m[39;49;00m > [94massert[39;49;00m original == EPOCH[90m[39;49;00m >> [94massert[39;49;00m original < time.time() < EPOCH + [94m10.0[39;49;00m[90m[39;49;00m >[1m[31mE assert 0.0 < 0.0[0m >[1m[31mE + where 0.0 = <built-in function time>()[0m >[1m[31mE + where <built-in function time> = time.time[0m > >original = 0.0 >time_machine = <time_machine.TimeMachineFixture object at 0xf630b5d0> > >[1m[31mtests/test_time_machine.py[0m:700: AssertionError >[36m[1m=========================== short test summary info ============================[0m >[33mSKIPPED[0m [1] ../../../../../../../usr/lib/python3.11/site-packages/_pytest/unittest.py:371: Not today >[31mFAILED[0m tests/test_time_machine.py::[1mtest_time_clock_gettime_monotonic_unaffected[0m - assert 180060.382319348 > 180060.382319348 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_time_clock_gettime_ns_realtime[0m - assert 190000000000 < 190000000000 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_time_clock_gettime_ns_monotonic_unaffected[0m - assert 180060818326206 > 180060818326206 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_time_time[0m - assert 0.0 < 0.0 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_time_time_windows[0m - assert -11644445222 < -11644445222.0 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_time_time_ns[0m - assert 150000000000 < 150000000000 >[31mFAILED[0m tests/test_time_machine.py::[1mUnitTestClassCustomSetUpClassTests::test_class_decorator[0m - assert (0.0 + 95.0) < 95.0 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_move_to_datetime[0m - assert 31536000.0 < 31536000.0 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_move_to_datetime_change_tick_on[0m - assert 31536000.0 > 31536000.0 >[31mFAILED[0m tests/test_time_machine.py::[1mtest_fixture_used_tick_true[0m - assert 0.0 < 0.0 >[31m=================== [31m[1m10 failed[0m, [32m70 passed[0m, [33m1 skipped[0m[31m in 3.94s[0m[31m ===================[0m > * ERROR: dev-python/time-machine-2.11.0::gentoo failed (test phase): > * pytest failed with python3.11 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3884: Called distutils-r1_src_test > * environment, line 1945: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 718: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3488: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3045: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3043: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1166: Called distutils-r1_run_phase 'python_test' > * environment, line 1868: Called python_test > * environment, line 3771: Called distutils-r1_python_test > * environment, line 1812: Called epytest > * environment, line 2475: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/time-machine-2.11.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/time-machine-2.11.0::gentoo'`. > * The complete build log is located at '/var/log/portage/build/dev-python/time-machine-2.11.0:20230820-064338.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/time-machine-2.11.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/time-machine-2.11.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0' > * S: '/var/tmp/portage/dev-python/time-machine-2.11.0/work/time-machine-2.11.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 912709
:
868301
|
868302
|
874380