Package: src:python-fissix
Version: 24.4.24-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

Notes:

1. This happens randomly, but the failure rate is around 50%.

2. Similar failures may be found here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-fissix.html

3. The VM offer below should be understood as "a machine where it fails 50% of 
the time".

4. I have no idea if this is an upstream bug, a Debian bug, or a combination of 
both,
so I'm not brave enough to forward it upstream until someone who knows better
can look at it.


About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-fissix, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
============================= test session starts ==============================
platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
collected 669 items

tests/test_all_fixers.py .                                               [  0%]
tests/test_fixers.py ................................................... [  7%]
........................................................................ [ 18%]
........................................................................ [ 29%]
........................................................................ [ 40%]
........................................................................ [ 50%]
........................................................................ [ 61%]
...........................................................              [ 70%]
tests/test_main.py xxx.                                                  [ 71%]
tests/test_parser.py ..x.F.............................................. [ 78%]
...............................................                          [ 85%]
tests/test_pytree.py ....................................                [ 91%]
tests/test_refactor.py ....................                              [ 94%]
tests/test_util.py ........................................              [100%]

=================================== FAILURES ===================================
_________________ TestPgen2Caching.test_load_packaged_grammar __________________

self = <tests.test_parser.TestPgen2Caching 
testMethod=test_load_packaged_grammar>

    def test_load_packaged_grammar(self):
        modname = __name__ + ".load_test"
    
        class MyLoader:
            def get_data(self, where):
                return pickle.dumps({"elephant": 19})
    
        class MyModule:
            __file__ = "parsertestmodule"
            __spec__ = importlib.util.spec_from_loader(modname, MyLoader())
    
        sys.modules[modname] = MyModule()
        self.addCleanup(operator.delitem, sys.modules, modname)
        g = pgen2_driver.load_packaged_grammar(modname, "Grammar.txt")
>       self.assertEqual(g.elephant, 19)
                         ^^^^^^^^^^
E       AttributeError: 'Grammar' object has no attribute 'elephant'

tests/test_parser.py:127: AttributeError
=========================== short test summary info ============================
FAILED tests/test_parser.py::TestPgen2Caching::test_load_packaged_grammar - A...
================== 1 failed, 664 passed, 4 xfailed in 15.21s ===================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fissix/build; python3.14 -m pytest tests
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_fissix/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
collected 669 items

tests/test_all_fixers.py .                                               [  0%]
tests/test_fixers.py ................................................... [  7%]
........................................................................ [ 18%]
........................................................................ [ 29%]
........................................................................ [ 40%]
........................................................................ [ 50%]
........................................................................ [ 61%]
...........................................................              [ 70%]
tests/test_main.py xxx.                                                  [ 71%]
tests/test_parser.py ..x.F.............................................. [ 78%]
...............................................                          [ 85%]
tests/test_pytree.py ....................................                [ 91%]
tests/test_refactor.py ....................                              [ 94%]
tests/test_util.py ........................................              [100%]

=================================== FAILURES ===================================
_________________ TestPgen2Caching.test_load_packaged_grammar __________________

self = <tests.test_parser.TestPgen2Caching 
testMethod=test_load_packaged_grammar>

    def test_load_packaged_grammar(self):
        modname = __name__ + ".load_test"
    
        class MyLoader:
            def get_data(self, where):
                return pickle.dumps({"elephant": 19})
    
        class MyModule:
            __file__ = "parsertestmodule"
            __spec__ = importlib.util.spec_from_loader(modname, MyLoader())
    
        sys.modules[modname] = MyModule()
        self.addCleanup(operator.delitem, sys.modules, modname)
        g = pgen2_driver.load_packaged_grammar(modname, "Grammar.txt")
>       self.assertEqual(g.elephant, 19)
                         ^^^^^^^^^^
E       AttributeError: 'Grammar' object has no attribute 'elephant'

tests/test_parser.py:127: AttributeError
=========================== short test summary info ============================
FAILED tests/test_parser.py::TestPgen2Caching::test_load_packaged_grammar - A...
================== 1 failed, 664 passed, 4 xfailed in 15.93s ===================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_fissix/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to