testsuite fails on armhf userspace with arm64 kernel

Bug #1791288 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
High
Jelmer Vernooij
breezy (Ubuntu)
Fix Released
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.

Tags: selftest

Related branches

Jelmer Vernooij (jelmer)
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
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Can you consistently reproduce this?

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

Jelmer Vernooij (jelmer)
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)
Changed in brz:
status: Fix Committed → Fix Released
Jelmer Vernooij (jelmer)
Changed in breezy (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.