Source: pyaff4
Version: 0.27+really0.26.post6-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_file.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/registry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/zip.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/test_memory.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_directory.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/struct_parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/stream_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/container_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/hashes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/rdfvalue.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_imager_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/linear_hasher.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/symbolic_streams.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/data_store.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_map.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_image.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/hashing_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/data_store_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_directory_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/rdfvalue_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/plugins.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/block_hasher.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_map_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/stream_factory.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/container.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_image_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/zip_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/lexicon.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/aff4_cloud.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
> copying pyaff4/standards_test.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build; 
> python3.9 -m nose -v 
> testCreateMember (pyaff4.aff4_directory_test.AFF4DirectoryTest) ... ERROR
> testOpenImageByURN (pyaff4.aff4_image_test.AFF4ImageTest) ... ok
> testAddRange (pyaff4.aff4_map_test.AFF4MapTest) ... ok
> testCreateMapStream (pyaff4.aff4_map_test.AFF4MapTest) ... ok
> testLRU (pyaff4.data_store_test.AFF4ObjectCacheTest) ... ok
> testDataStore (pyaff4.data_store_test.DataStoreTest) ... ok
> testTurtleSerialization (pyaff4.data_store_test.DataStoreTest) ... FAIL
> testAppend (pyaff4.rdfvalue_test.URNTest) ... ok
> testTrailingSlashURN (pyaff4.rdfvalue_test.URNTest) ... ok
> testURN (pyaff4.rdfvalue_test.URNTest) ... ok
> testXSDInt (pyaff4.rdfvalue_test.URNTest) ... ok
> testFileBackedStream (pyaff4.stream_test.StreamTest) ... ok
> Failure: SkipTest (volatility not available) ... SKIP: volatility not 
> available
> testOpenSegmentByURN (pyaff4.zip_test.ZipTest) ... ok
> testStreamedSegment (pyaff4.zip_test.ZipTest) ... ok
> 
> ======================================================================
> ERROR: testCreateMember (pyaff4.aff4_directory_test.AFF4DirectoryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4/aff4_directory_test.py",
>  line 59, in testCreateMember
>     with resolver.AFF4FactoryOpen(child_urn) as child:
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4/data_store.py", 
> line 384, in AFF4FactoryOpen
>     obj.LoadFromURN()
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4/aff4_file.py", line 
> 99, in LoadFromURN
>     self.fd = open(filename, flags)
> FileNotFoundError: [Errno 2] No such file or directory: 
> "/tmp/aff4_directory//b'Foobar.txt'"
> -------------------- >> begin captured logging << --------------------
> rdflib: DEBUG: RDFLib Version: 5.0.0
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Test images not cloned into repository. Tests disabled.To 
> enable type `git submodules init`
> pyaff4: INFO: Opening file ///tmp/aff4_directory/container.description
> pyaff4: INFO: Opening file /tmp/aff4_directory//Foobar.txt
> pyaff4: INFO: Opening file /tmp/aff4_directory//container.description
> pyaff4: INFO: Opening file /tmp/aff4_directory//information.turtle
> pyaff4: INFO: Opening file ///tmp/aff4_directory/container.description
> pyaff4: INFO: AFF4Directory volume found: 
> aff4://f1bc5a00-589e-4bac-a2a6-33c4623ce28c
> pyaff4: INFO: Opening file ///tmp/aff4_directory/information.turtle
> pyaff4: INFO: Opening file /tmp/aff4_directory//b'Foobar.txt'
> --------------------- >> end captured logging << ---------------------
> 
> ======================================================================
> FAIL: testTurtleSerialization (pyaff4.data_store_test.DataStoreTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build/pyaff4/data_store_test.py",
>  line 64, in testTurtleSerialization
>     self.assertEquals(res, b"foo")
> AssertionError: <pyaff4.rdfvalue.XSDString object at 0x7f6fb7379cd0> != b'foo'
> 
> ----------------------------------------------------------------------
> Ran 15 tests in 0.255s
> 
> FAILED (SKIP=1, errors=1, failures=1)
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aff4/build; python3.9 -m nose -v 
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.9 
> returned exit code 13

The full build log is available from:
   
http://qa-logs.debian.net/2020/12/26/pyaff4_0.27+really0.26.post6-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to