Bug 1693603 - python-freezegun FTBFS with Python 3.8: test_uuid failures
Summary: python-freezegun FTBFS with Python 3.8: test_uuid failures
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-freezegun
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-03-28 09:52 UTC by Miro Hrončok
Modified: 2019-06-11 23:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-11 23:39:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (103.68 KB, text/plain)
2019-03-28 09:52 UTC, Miro Hrončok
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github spulec freezegun issues 293 0 None None None 2019-03-28 10:02:12 UTC

Description Miro Hrončok 2019-03-28 09:52:51 UTC
Created attachment 1548948 [details]
Full log from Copr

+ nosetests-3.8 tests/
.........................S.......................S.....S.S......................................FF..
======================================================================
FAIL: Test that we can go back in time after setting a future date.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/python3-python-freezegun-0.3.11-4.fc31/tests/test_uuid.py", line 28, in test_uuid1_future
    assert_equal(time_from_uuid(uuid.uuid1()), future_target)
AssertionError: FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)' = '%s != %s' % _common_shorten_repr(FakeDatetime(2019, 3, 28, 1, 36, 13, 24883), datetime.datetime(2056, 2, 6, 14, 3, 21))
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)' = self._formatMessage('FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)', 'FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)')
>>  raise self.failureException('FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)')
    

======================================================================
FAIL: Test that we can go forward in time after setting some time in the past.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/python3-python-freezegun-0.3.11-4.fc31/tests/test_uuid.py", line 42, in test_uuid1_past
    assert_equal(time_from_uuid(uuid.uuid1()), past_target)
AssertionError: FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)' = '%s != %s' % _common_shorten_repr(FakeDatetime(2019, 3, 28, 1, 36, 13, 50604), datetime.datetime(1978, 7, 6, 23, 6, 31))
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)' = self._formatMessage('FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)', 'FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)')
>>  raise self.failureException('FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)')
    

Name                    Stmts   Miss  Cover   Missing
-----------------------------------------------------
freezegun/__init__.py       8      0   100%
freezegun/_async.py        12      1    92%   12
freezegun/api.py          505    110    78%   39, 44-46, 50-51, 61-65, 76-77, 81-83, 101-102, 134, 175, 187, 334-337, 379, 407, 422, 494, 505, 510, 513-515, 546, 619, 621, 623, 630-632, 637, 651, 656, 670, 817-1479
-----------------------------------------------------
TOTAL                     525    111    79%
----------------------------------------------------------------------
Ran 100 tests in 0.654s

FAILED (SKIP=4, failures=2)

Version-Release number of selected component: python-freezegun-0.3.11-4.fc31


Note You need to log in before you can comment on or make changes to this bug.