testsuite fails on armhf userspace with arm64 kernel

Bug #1791288 reported by Dimitri John Ledkov on 2018-09-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
High
Jelmer Vernooij
breezy (Ubuntu)
High
Jelmer Vernooij

Bug Description

======================================================================
ERROR: breezy.tests.test_timestamp.UnpackHighresDateTests.test_random
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/breezy/tests/test_timestamp.py", line 129, in test_random
    date = timestamp.format_highres_date(t, o)
  File "/<<PKGBUILDDIR>>/breezy/timestamp.py", line 60, in format_highres_date
    tt = time.gmtime(t + offset)
OverflowError: timestamp out of range for platform time_t

----------------------------------------------------------------------

As seen in the autopkgtests, which run inside an armhf lx[cd] container on arm64 host.

Related branches

Jelmer Vernooij (jelmer) on 2018-09-16
Changed in brz:
status: New → Triaged
Changed in breezy (Ubuntu):
status: New → Triaged
Changed in brz:
importance: Undecided → Medium
importance: Medium → High
Changed in breezy (Ubuntu):
importance: Undecided → High
tags: added: selftest
Changed in brz:
milestone: none → 3.0.0
Jelmer Vernooij (jelmer) wrote :

Can you consistently reproduce this?

Does "python -c 'import time; time.gmtime(time.time())'" ?

Jelmer Vernooij (jelmer) on 2018-09-21
Changed in brz:
assignee: nobody → Jelmer Vernooij (jelmer)
Changed in breezy (Ubuntu):
assignee: nobody → Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer) on 2018-09-22
Changed in brz:
status: Fix Committed → Fix Released
Jelmer Vernooij (jelmer) on 2019-02-14
Changed in breezy (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers