Summary: | dev-python/llfuse fails test test_rounding: OverflowError: Python int too large to convert to C long | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | sam, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 731430, 772488 | ||
Attachments: |
build.log
build.log x86 |
Description
Agostino Sarubbo
2020-07-20 10:03:49 UTC
Created attachment 649952 [details]
build.log
build log and emerge --info
Seems like sandbox incompatibility:
if hit:
> raise AssertionError('Suspicious output to stderr (matched "%s")' % hit.group(0))
E AssertionError: Suspicious output to stderr (matched "ERROR")
test/pytest_checklogs.py:104: AssertionError
---------------------------- Captured stderr setup -----------------------------
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Created attachment 688914 [details] build.log x86 > ____________________________________________________ test_rounding _____________________________________________________ > > def test_rounding(): > # Incorrect division previously resulted in rounding errors for > # all dates. > entry = llfuse.EntryAttributes() > > # Approximately 100 years, ending in 999 > secs = 100 * 365 * 24 * 3600 + 999 > nanos = _NANOS_PER_SEC - 1 > > total = secs * _NANOS_PER_SEC + nanos > > > entry.st_atime_ns = total > > test/test_rounding.py:31: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > > self.attr.st_atime = val // _NANOS_PER_SEC > E OverflowError: Python int too large to convert to C long > > src/misc.pxi:474: OverflowError > =============================================== short test summary info ================================================ > FAILED test/test_rounding.py::test_rounding - OverflowError: Python int too large to convert to C long > ======================================== 1 failed, 6 passed, 8 skipped in 1.29s ======================================== > * ERROR: dev-python/llfuse-1.4.0::gentoo failed (test phase): > * Tests fail with python3.8 |