Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733298 - dev-python/llfuse fails test test_rounding: OverflowError: Python int too large to convert to C long
Summary: dev-python/llfuse fails test test_rounding: OverflowError: Python int too lar...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 731430 772488
  Show dependency tree
 
Reported: 2020-07-20 10:03 UTC by Agostino Sarubbo
Modified: 2021-03-01 16:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,83.92 KB, text/plain)
2020-07-20 10:03 UTC, Agostino Sarubbo
Details
build.log x86 (build.log,7.58 KB, text/plain)
2021-03-01 16:28 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-20 10:03:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/llfuse fails tests.
Discovered on: x86 (internal ref: x86_at)
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-20 10:03:55 UTC
Created attachment 649952 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-16 05:55:54 UTC
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.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-01 16:28:16 UTC
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