* Package: dev-python/strict-rfc3339-0.7-r1  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 sparc userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking strict-rfc3339-version-0.7.tar.gz to /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work >>> Preparing source in /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile * DISTUTILS_USE_SETUPTOOLS value is probably incorrect * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) * expected: DISTUTILS_USE_SETUPTOOLS=no python2.7 setup.py build running build running build_py copying strict_rfc3339.py -> /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7-python2_7/lib warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 20 running build running build_py copying strict_rfc3339.py -> /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7-python3_6/lib warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/strict-rfc3339-0.7-r1 * python2_7: running distutils-r1_run_phase python_test test_dst_transition (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_float (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_leap_year (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_simple_cases (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_validates (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_wacky_offset (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_y2038 (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_dst_transition (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_float (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_now (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_simple_cases (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_dst_transition (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_float (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_now (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_simple_cases (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_float (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_leap_year (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_now (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_simple_cases (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_y2038 (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_accepts_good (test_strict_rfc3339.TestValidateRFC3339) ... ok test_handles_leapyear (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_bad_format (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_leap_seconds (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_no_offset (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_out_of_range (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_trailing (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_year_0 (test_strict_rfc3339.TestValidateRFC3339) ... ok ---------------------------------------------------------------------- Ran 28 tests in 0.086s OK Warning: can't run this test on 32 bit Warning: can't run this test on 32 bit * python3_6: running distutils-r1_run_phase python_test test_dst_transition (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_float (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_leap_year (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_simple_cases (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_validates (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_wacky_offset (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_y2038 (test_strict_rfc3339.TestRFC3339toTimestamp) ... ok test_dst_transition (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_float (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_now (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_simple_cases (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetLondon) ... ok test_dst_transition (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_float (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_now (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_simple_cases (test_strict_rfc3339.TestTimestampToRFC3339LocalOffsetNewYork) ... ok test_float (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_leap_year (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ERROR test_now (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_simple_cases (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ok test_y2038 (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ... ERROR test_accepts_good (test_strict_rfc3339.TestValidateRFC3339) ... ok test_handles_leapyear (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_bad_format (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_leap_seconds (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_no_offset (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_out_of_range (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_trailing (test_strict_rfc3339.TestValidateRFC3339) ... ok test_rejects_year_0 (test_strict_rfc3339.TestValidateRFC3339) ... ok ====================================================================== ERROR: test_leap_year (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7/test_strict_rfc3339.py", line 163, in test_leap_year assert self.func(4107456000) == "2100-02-28T00:00:00Z" File "/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7/strict_rfc3339.py", line 143, in timestamp_to_rfc3339_utcoffset time_tuple = time.gmtime(seconds) OverflowError: timestamp out of range for platform time_t ====================================================================== ERROR: test_y2038 (test_strict_rfc3339.TestTimestampToRFC3339UTCOffset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7/test_strict_rfc3339.py", line 149, in test_y2038 assert self.func(4102444800) == "2100-01-01T00:00:00Z" File "/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7/strict_rfc3339.py", line 143, in timestamp_to_rfc3339_utcoffset time_tuple = time.gmtime(seconds) OverflowError: timestamp out of range for platform time_t ---------------------------------------------------------------------- Ran 28 tests in 0.063s FAILED (errors=2) * ERROR: dev-python/strict-rfc3339-0.7-r1::gentoo failed (test phase): * Tests fail with python3.6 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2869: Called distutils-r1_src_test * environment, line 1022: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 417: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2409: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1788: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1786: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 669: Called distutils-r1_run_phase 'python_test' * environment, line 953: Called python_test * environment, line 2771: Called die * The specific snippet of code: * "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/strict-rfc3339-0.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/strict-rfc3339-0.7-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7' * S: '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7'