>>> py3-cstruct: Building testing/py3-cstruct 5.2-r0 (using abuild 3.11.21-r0) started Thu, 10 Aug 2023 20:24:11 +0000 >>> py3-cstruct: Checking sanity of /home/buildozer/aports/testing/py3-cstruct/APKBUILD... >>> py3-cstruct: Analyzing dependencies... >>> py3-cstruct: Installing for build: build-base py3-gpep517 py3-setuptools py3-wheel py3-pytest (1/33) Installing libbz2 (1.0.8-r6) (2/33) Installing libffi (3.4.4-r3) (3/33) Installing gdbm (1.23-r1) (4/33) Installing xz-libs (5.4.4-r0) (5/33) Installing mpdecimal (2.5.1-r2) (6/33) Installing libpanelw (6.4_p20230722-r0) (7/33) Installing readline (8.2.1-r2) (8/33) Installing sqlite-libs (3.42.0-r2) (9/33) Installing python3 (3.11.4-r4) (10/33) Installing python3-pycache-pyc0 (3.11.4-r4) (11/33) Installing pyc (0.1-r0) (12/33) Installing py3-installer-pyc (0.7.0-r1) (13/33) Installing py3-gpep517-pyc (13-r4) (14/33) Installing python3-pyc (3.11.4-r4) (15/33) Installing py3-installer (0.7.0-r1) (16/33) Installing py3-gpep517 (13-r4) (17/33) Installing py3-parsing (3.1.1-r0) (18/33) Installing py3-parsing-pyc (3.1.1-r0) (19/33) Installing py3-packaging (23.1-r3) (20/33) Installing py3-packaging-pyc (23.1-r3) (21/33) Installing py3-setuptools (68.0.0-r2) (22/33) Installing py3-setuptools-pyc (68.0.0-r2) (23/33) Installing py3-wheel (0.41.0-r2) (24/33) Installing py3-wheel-pyc (0.41.0-r2) (25/33) Installing py3-iniconfig (1.1.1-r6) (26/33) Installing py3-iniconfig-pyc (1.1.1-r6) (27/33) Installing py3-pluggy (1.2.0-r0) (28/33) Installing py3-pluggy-pyc (1.2.0-r0) (29/33) Installing py3-py (1.11.0-r2) (30/33) Installing py3-py-pyc (1.11.0-r2) (31/33) Installing py3-pytest (7.4.0-r0) (32/33) Installing py3-pytest-pyc (7.4.0-r0) (33/33) Installing .makedepends-py3-cstruct (20230810.202412) Executing busybox-1.36.1-r5.trigger OK: 401 MiB in 138 packages >>> py3-cstruct: Cleaning up srcdir >>> py3-cstruct: Cleaning up pkgdir >>> py3-cstruct: Cleaning up tmpdir >>> py3-cstruct: Fetching https://distfiles.alpinelinux.org/distfiles/edge//py3-cstruct-5.2.tar.gz >>> py3-cstruct: Fetching https://distfiles.alpinelinux.org/distfiles/edge//py3-cstruct-5.2.tar.gz >>> py3-cstruct: Checking sha512sums... py3-cstruct-5.2.tar.gz: OK >>> py3-cstruct: Unpacking /var/cache/distfiles/edge/py3-cstruct-5.2.tar.gz... 2023-08-10 20:24:13,050 gpep517 INFO Building wheel via backend setuptools.build_meta 2023-08-10 20:24:13,076 root INFO running bdist_wheel 2023-08-10 20:24:13,082 root INFO running build 2023-08-10 20:24:13,082 root INFO running build_py 2023-08-10 20:24:13,083 root INFO creating build 2023-08-10 20:24:13,084 root INFO creating build/lib 2023-08-10 20:24:13,084 root INFO creating build/lib/cstruct 2023-08-10 20:24:13,084 root INFO copying cstruct/cstruct.py -> build/lib/cstruct 2023-08-10 20:24:13,084 root INFO copying cstruct/__init__.py -> build/lib/cstruct 2023-08-10 20:24:13,084 root INFO copying cstruct/native_types.py -> build/lib/cstruct 2023-08-10 20:24:13,084 root INFO copying cstruct/cenum.py -> build/lib/cstruct 2023-08-10 20:24:13,084 root INFO copying cstruct/exceptions.py -> build/lib/cstruct 2023-08-10 20:24:13,084 root INFO copying cstruct/c_expr.py -> build/lib/cstruct 2023-08-10 20:24:13,085 root INFO copying cstruct/field.py -> build/lib/cstruct 2023-08-10 20:24:13,085 root INFO copying cstruct/mem_cstruct.py -> build/lib/cstruct 2023-08-10 20:24:13,085 root INFO copying cstruct/c_parser.py -> build/lib/cstruct 2023-08-10 20:24:13,085 root INFO copying cstruct/base.py -> build/lib/cstruct 2023-08-10 20:24:13,085 root INFO copying cstruct/abstract.py -> build/lib/cstruct 2023-08-10 20:24:13,085 root INFO running egg_info 2023-08-10 20:24:13,088 root INFO creating cstruct.egg-info 2023-08-10 20:24:13,089 root INFO writing cstruct.egg-info/PKG-INFO 2023-08-10 20:24:13,089 root INFO writing dependency_links to cstruct.egg-info/dependency_links.txt 2023-08-10 20:24:13,089 root INFO writing requirements to cstruct.egg-info/requires.txt 2023-08-10 20:24:13,089 root INFO writing top-level names to cstruct.egg-info/top_level.txt 2023-08-10 20:24:13,089 root INFO writing manifest file 'cstruct.egg-info/SOURCES.txt' 2023-08-10 20:24:13,090 root INFO reading manifest file 'cstruct.egg-info/SOURCES.txt' 2023-08-10 20:24:13,090 root INFO reading manifest template 'MANIFEST.in' 2023-08-10 20:24:13,090 root INFO adding license file 'LICENSE' 2023-08-10 20:24:13,091 root INFO writing manifest file 'cstruct.egg-info/SOURCES.txt' 2023-08-10 20:24:13,093 wheel INFO installing to build/bdist.linux-s390x/wheel 2023-08-10 20:24:13,093 root INFO running install 2023-08-10 20:24:13,099 root INFO running install_lib 2023-08-10 20:24:13,100 root INFO creating build/bdist.linux-s390x 2023-08-10 20:24:13,100 root INFO creating build/bdist.linux-s390x/wheel 2023-08-10 20:24:13,100 root INFO creating build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,100 root INFO copying build/lib/cstruct/cstruct.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,100 root INFO copying build/lib/cstruct/__init__.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/native_types.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/cenum.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/exceptions.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/c_expr.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/field.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/mem_cstruct.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,101 root INFO copying build/lib/cstruct/c_parser.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,102 root INFO copying build/lib/cstruct/base.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,102 root INFO copying build/lib/cstruct/abstract.py -> build/bdist.linux-s390x/wheel/cstruct 2023-08-10 20:24:13,102 root INFO running install_egg_info 2023-08-10 20:24:13,104 root INFO Copying cstruct.egg-info to build/bdist.linux-s390x/wheel/cstruct-5.2-py3.11.egg-info 2023-08-10 20:24:13,104 root INFO running install_scripts 2023-08-10 20:24:13,106 wheel INFO creating build/bdist.linux-s390x/wheel/cstruct-5.2.dist-info/WHEEL 2023-08-10 20:24:13,106 wheel INFO creating '/home/buildozer/aports/testing/py3-cstruct/src/python-cstruct-5.2/.dist/.tmp-gjs6mjsi/cstruct-5.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-s390x/wheel' to it 2023-08-10 20:24:13,106 wheel INFO adding 'cstruct/__init__.py' 2023-08-10 20:24:13,106 wheel INFO adding 'cstruct/abstract.py' 2023-08-10 20:24:13,106 wheel INFO adding 'cstruct/base.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/c_expr.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/c_parser.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/cenum.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/cstruct.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/exceptions.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/field.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/mem_cstruct.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct/native_types.py' 2023-08-10 20:24:13,107 wheel INFO adding 'cstruct-5.2.dist-info/LICENSE' 2023-08-10 20:24:13,108 wheel INFO adding 'cstruct-5.2.dist-info/METADATA' 2023-08-10 20:24:13,108 wheel INFO adding 'cstruct-5.2.dist-info/WHEEL' 2023-08-10 20:24:13,108 wheel INFO adding 'cstruct-5.2.dist-info/top_level.txt' 2023-08-10 20:24:13,108 wheel INFO adding 'cstruct-5.2.dist-info/zip-safe' 2023-08-10 20:24:13,108 wheel INFO adding 'cstruct-5.2.dist-info/RECORD' 2023-08-10 20:24:13,108 wheel INFO removing build/bdist.linux-s390x/wheel 2023-08-10 20:24:13,108 gpep517 INFO The backend produced .dist/cstruct-5.2-py2.py3-none-any.whl cstruct-5.2-py2.py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 rootdir: /home/buildozer/aports/testing/py3-cstruct/src/python-cstruct-5.2 configfile: pytest.ini testpaths: tests collected 78 items tests/test_alignment.py ....... [ 8%] tests/test_c_expr.py ...... [ 16%] tests/test_cenum.py ......... [ 28%] tests/test_cstruct.py .............. [ 46%] tests/test_define.py ...... [ 53%] tests/test_flexible_array.py .... [ 58%] tests/test_get_type.py . [ 60%] tests/test_memcstruct.py .............. [ 78%] tests/test_native_types.py .. [ 80%] tests/test_nested.py .......... [ 93%] tests/test_pickle.py .. [ 96%] tests/test_typdef.py . [ 97%] tests/test_union.py .F [100%] =================================== FAILURES =================================== ______________________________ test_union_unpack _______________________________ def test_union_unpack(): union = UnionT1() union.unpack(None) assert union.a == 0 assert union.a1 == 0 assert union.b == 0 assert union.c == 0 union.unpack(struct.pack("b", 10) + cstruct.CHAR_ZERO * union.size) assert union.a == 10 assert union.a1 == 10 assert union.b == 10 assert union.c == 10 union.unpack(struct.pack("h", 1979) + cstruct.CHAR_ZERO * union.size) > assert union.a == 187 E assert 7 == 187 E + where 7 = UnionT1(a=7, a1=7, b=47879, c=47879, d=Partition(status=7, start=Position(head=187, sector=0, cyl=0), partition_type=0...=Position(head=0, sector=0, cyl=0), partition_type=0, end=Position(head=0, sector=0, cyl=0), start_sect=0, sectors=0)]).a tests/test_union.py:91: AssertionError =========================== short test summary info ============================ FAILED tests/test_union.py::test_union_unpack - assert 7 == 187 ========================= 1 failed, 77 passed in 0.32s ========================= >>> ERROR: py3-cstruct: check failed >>> py3-cstruct: Uninstalling dependencies... (1/33) Purging .makedepends-py3-cstruct (20230810.202412) (2/33) Purging py3-gpep517-pyc (13-r4) (3/33) Purging py3-gpep517 (13-r4) (4/33) Purging py3-installer-pyc (0.7.0-r1) (5/33) Purging py3-installer (0.7.0-r1) (6/33) Purging py3-setuptools-pyc (68.0.0-r2) (7/33) Purging py3-setuptools (68.0.0-r2) (8/33) Purging py3-wheel-pyc (0.41.0-r2) (9/33) Purging py3-wheel (0.41.0-r2) (10/33) Purging py3-pytest-pyc (7.4.0-r0) (11/33) Purging py3-pytest (7.4.0-r0) (12/33) Purging py3-iniconfig-pyc (1.1.1-r6) (13/33) Purging py3-iniconfig (1.1.1-r6) (14/33) Purging py3-packaging-pyc (23.1-r3) (15/33) Purging py3-packaging (23.1-r3) (16/33) Purging py3-parsing-pyc (3.1.1-r0) (17/33) Purging py3-parsing (3.1.1-r0) (18/33) Purging py3-pluggy-pyc (1.2.0-r0) (19/33) Purging py3-pluggy (1.2.0-r0) (20/33) Purging py3-py-pyc (1.11.0-r2) (21/33) Purging py3-py (1.11.0-r2) (22/33) Purging python3-pyc (3.11.4-r4) (23/33) Purging python3-pycache-pyc0 (3.11.4-r4) (24/33) Purging pyc (0.1-r0) (25/33) Purging python3 (3.11.4-r4) (26/33) Purging gdbm (1.23-r1) (27/33) Purging libbz2 (1.0.8-r6) (28/33) Purging libffi (3.4.4-r3) (29/33) Purging libpanelw (6.4_p20230722-r0) (30/33) Purging mpdecimal (2.5.1-r2) (31/33) Purging readline (8.2.1-r2) (32/33) Purging sqlite-libs (3.42.0-r2) (33/33) Purging xz-libs (5.4.4-r0) Executing busybox-1.36.1-r5.trigger OK: 345 MiB in 105 packages