autopkgtest failure on armhf due to 32-bit integer overflow

Bug #1981741 reported by Nick Rosbrook
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-llfuse (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

autopkgtest log here: https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/armhf/p/python-llfuse/20220621_094148_f5e2e@/log.gz

This test fails because a test value in `tst_rounding` overflows 32-bit integers:

============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest.pj5DKH/build.qGL/src/test, configfile: pytest.ini
collecting ... collected 15 items

test/test_api.py::test_inquire_bits PASSED [ 6%]
test/test_api.py::test_listdir PASSED [ 13%]
test/test_api.py::test_sup_groups PASSED [ 20%]
test/test_api.py::test_entry_res PASSED [ 26%]
test/test_api.py::test_xattr PASSED [ 33%]
test/test_api.py::test_copy PASSED [ 40%]
test/test_examples.py::test_lltest PASSED [ 46%]
test/test_examples.py::test_tmpfs FAILED [ 53%]

=================================== FAILURES ===================================
__________________________________ test_tmpfs __________________________________
Traceback (most recent call last):
  File "/tmp/autopkgtest.pj5DKH/build.qGL/src/test/test_examples.py", line 82, in test_tmpfs
    tst_rounding(mnt_dir)
  File "/tmp/autopkgtest.pj5DKH/build.qGL/src/test/test_examples.py", line 355, in tst_rounding
    os.utime(filename, None, ns=(atime_ns, mtime_ns))
OverflowError: timestamp out of range for platform time_t
=========================== short test summary info ============================
FAILED test/test_examples.py::test_tmpfs - OverflowError: timestamp out of ra...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
========================= 1 failed, 7 passed in 2.59s ==========================

I have opened a PR to fix this upstream: https://github.com/python-llfuse/python-llfuse/pull/71

Nick Rosbrook (enr0n)
summary: - autopkgtest failure on armhf
+ autopkgtest failure on armhf due to 32-bit integer overflow
Revision history for this message
Nick Rosbrook (enr0n) wrote :
tags: added: update-excuse
Revision history for this message
Nick Rosbrook (enr0n) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-llfuse - 1.4.1+dfsg-2ubuntu1

---------------
python-llfuse (1.4.1+dfsg-2ubuntu1) kinetic; urgency=medium

  * debian/patches/test-fix-integer-overflow-on-32-bit-arches.patch: Fix
    integer overflow in tst_rounding on 32-bit arches (LP: #1981741).

 -- Nick Rosbrook <email address hidden> Thu, 14 Jul 2022 15:05:57 -0400

Changed in python-llfuse (Ubuntu):
status: New → 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.