Comment 1 for bug 2060963

Revision history for this message
Mate Kukri (mkukri) wrote :

Upon further digging it seems one of the tests try to put the newly 64-bit timestamps into a sqlite3 database's INT type:

root@autopkgtest-lxd-dmjxfz:/tmp/autopkgtest.c6ltL9/build.h9M/src# Traceback (most recent call last):
  File "/tmp/autopkgtest.c6ltL9/build.h9M/src/examples/tmpfs.py", line 454, in <module>
    trio.run(pyfuse3.main)
  File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2275, in run
    raise runner.main_task_outcome.error
  File "/tmp/autopkgtest.c6ltL9/build.h9M/src/src/_pyfuse3.py", line 43, in wrapper
    await fn(*args, **kwargs)
  File "src/pyfuse3.pyx", line 781, in main
    async with trio.open_nursery() as nursery:
  File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 971, in __aexit__
    raise combined_error_from_nursery
  File "/tmp/autopkgtest.c6ltL9/build.h9M/src/src/_pyfuse3.py", line 43, in wrapper
    await fn(*args, **kwargs)
  File "src/internal.pxi", line 272, in _session_loop
    await py_retval
  File "src/handlers.pxi", line 168, in fuse_setattr_async
    entry = <EntryAttributes?> await operations.setattr(c.ino, entry, fields, fh, ctx)
  File "/tmp/autopkgtest.c6ltL9/build.h9M/src/examples/tmpfs.py", line 308, in setattr
    self.cursor.execute('UPDATE inodes SET mtime_ns=? WHERE id=?',
OverflowError: Python int too large to convert to SQLite INTEGER