==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_eea364cf-c64c-463e-af4a-a178d34b5563]...done ==> Making package: python-pycares 4.4.0-1.1 (Mon Mar 11 17:21:04 2024) ==> Retrieving sources... -> Cloning pycares git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v2/python-pycares-4.4.0-1/pycares'... ==> Validating source files with b2sums... pycares ... Skipped ==> Making package: python-pycares 4.4.0-1.1 (Mon Mar 11 17:21:09 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (6) New Version Net Change core/libnsl 2.0.1-1 0.07 MiB core/python 3.11.8-1 74.64 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/c-ares 1.27.0-1 0.61 MiB extra/python-cffi 1.16.0-1 1.42 MiB Total Installed Size: 78.91 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-ply... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (30) New Version Net Change extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/python-annotated-types 0.6.0-1 0.11 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.19.1-1 0.30 MiB extra/python-inflect 7.0.0-3 0.39 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 4.0.0-1 0.07 MiB extra/python-jaraco.text 3.12.0-1 0.09 MiB extra/python-more-itertools 10.1.0-1 0.63 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-platformdirs 4.1.0-1 0.23 MiB extra/python-pluggy 1.4.0-1 0.21 MiB extra/python-pydantic 2.6.3-1 4.89 MiB extra/python-pydantic-core 1:2.16.3-1 5.60 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2024.3.3-1 0.11 MiB extra/python-typing_extensions 4.10.0-1 0.39 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/git 2.44.0-1 26.35 MiB extra/python-build 1.1.1-1 0.69 MiB extra/python-idna 3.6-1 0.71 MiB extra/python-installer 0.7.0-4 0.19 MiB extra/python-pytest 1:7.4.4-1 4.02 MiB extra/python-setuptools 1:69.0.3-4 4.68 MiB extra/python-wheel 0.42.0-2 0.28 MiB Total Installed Size: 51.41 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-annotated-types... installing python-typing_extensions... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-idna... installing python-iniconfig... installing python-pluggy... installing python-pytest... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of pycares git repo... Cloning into 'pycares'... done. Switched to a new branch 'makepkg' ==> Starting build()... * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pycares copying src/pycares/_version.py -> build/lib.linux-x86_64-cpython-311/pycares copying src/pycares/utils.py -> build/lib.linux-x86_64-cpython-311/pycares copying src/pycares/__init__.py -> build/lib.linux-x86_64-cpython-311/pycares copying src/pycares/errno.py -> build/lib.linux-x86_64-cpython-311/pycares copying src/pycares/__main__.py -> build/lib.linux-x86_64-cpython-311/pycares running build_ext generating cffi module 'build/temp.linux-x86_64-cpython-311/_cares.c' creating build/temp.linux-x86_64-cpython-311 building '_cares' extension creating build/temp.linux-x86_64-cpython-311/build creating build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311 gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-pycares -flto=auto -falign-functions=32 -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Ideps/build-config/include -I/usr/include/python3.11 -c build/temp.linux-x86_64-cpython-311/_cares.c -o build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311/_cares.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-pycares -flto=auto -falign-functions=32 build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311/_cares.o -L/usr/lib -ldl -lrt -lcares -o build/lib.linux-x86_64-cpython-311/pycares/_cares.cpython-311-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pycares copying build/lib.linux-x86_64-cpython-311/pycares/_version.py -> build/bdist.linux-x86_64/wheel/pycares copying build/lib.linux-x86_64-cpython-311/pycares/_cares.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/pycares copying build/lib.linux-x86_64-cpython-311/pycares/utils.py -> build/bdist.linux-x86_64/wheel/pycares copying build/lib.linux-x86_64-cpython-311/pycares/__init__.py -> build/bdist.linux-x86_64/wheel/pycares copying build/lib.linux-x86_64-cpython-311/pycares/errno.py -> build/bdist.linux-x86_64/wheel/pycares copying build/lib.linux-x86_64-cpython-311/pycares/__main__.py -> build/bdist.linux-x86_64/wheel/pycares running install_egg_info running egg_info creating src/pycares.egg-info writing src/pycares.egg-info/PKG-INFO writing dependency_links to src/pycares.egg-info/dependency_links.txt writing requirements to src/pycares.egg-info/requires.txt writing top-level names to src/pycares.egg-info/top_level.txt writing manifest file 'src/pycares.egg-info/SOURCES.txt' reading manifest file 'src/pycares.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'tox.ini' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*.[ao]' found under directory '*' warning: no previously-included files matching '*.so' found under directory '*' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE' writing manifest file 'src/pycares.egg-info/SOURCES.txt' Copying src/pycares.egg-info to build/bdist.linux-x86_64/wheel/pycares-4.4.0-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pycares-4.4.0.dist-info/WHEEL creating '/startdir/src/pycares/dist/.tmp-wpy_nb1z/pycares-4.4.0-cp311-cp311-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pycares/__init__.py' adding 'pycares/__main__.py' adding 'pycares/_cares.cpython-311-x86_64-linux-gnu.so' adding 'pycares/_version.py' adding 'pycares/errno.py' adding 'pycares/utils.py' adding 'pycares-4.4.0.dist-info/LICENSE' adding 'pycares-4.4.0.dist-info/METADATA' adding 'pycares-4.4.0.dist-info/WHEEL' adding 'pycares-4.4.0.dist-info/top_level.txt' adding 'pycares-4.4.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built pycares-4.4.0-cp311-cp311-linux_x86_64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 -- /startdir/src/pycares/test-env/bin/python cachedir: .pytest_cache rootdir: /startdir/src/pycares collecting ... collected 54 items / 5 deselected / 49 selected tests/test_all.py::DNSTest::test_channel_local_ip PASSED [ 2%] tests/test_all.py::DNSTest::test_channel_local_ip2 PASSED [ 4%] tests/test_all.py::DNSTest::test_channel_nameservers PASSED [ 6%] tests/test_all.py::DNSTest::test_channel_nameservers2 PASSED [ 8%] tests/test_all.py::DNSTest::test_channel_nameservers3 PASSED [ 10%] tests/test_all.py::DNSTest::test_channel_timeout PASSED [ 12%] tests/test_all.py::DNSTest::test_custom_resolvconf PASSED [ 14%] tests/test_all.py::DNSTest::test_errorcode_dict PASSED [ 16%] tests/test_all.py::DNSTest::test_getaddrinfo PASSED [ 18%] tests/test_all.py::DNSTest::test_getaddrinfo2 PASSED [ 20%] tests/test_all.py::DNSTest::test_getaddrinfo3 PASSED [ 22%] tests/test_all.py::DNSTest::test_getaddrinfo4 PASSED [ 24%] tests/test_all.py::DNSTest::test_getaddrinfo5 PASSED [ 26%] tests/test_all.py::DNSTest::test_gethostbyname PASSED [ 28%] tests/test_all.py::DNSTest::test_gethostbyname_small_timeout PASSED [ 30%] tests/test_all.py::DNSTest::test_idna2008_encoding PASSED [ 32%] tests/test_all.py::DNSTest::test_idna_encoding PASSED [ 34%] tests/test_all.py::DNSTest::test_idna_encoding_query_a FAILED [ 36%] tests/test_all.py::DNSTest::test_import_errno PASSED [ 38%] tests/test_all.py::DNSTest::test_lookup PASSED [ 40%] tests/test_all.py::DNSTest::test_query_a PASSED [ 42%] tests/test_all.py::DNSTest::test_query_a_bad PASSED [ 44%] tests/test_all.py::DNSTest::test_query_a_rotate PASSED [ 46%] tests/test_all.py::DNSTest::test_query_aaaa PASSED [ 48%] tests/test_all.py::DNSTest::test_query_any SKIPPED (ANY type does no...) [ 51%] tests/test_all.py::DNSTest::test_query_bad_type PASSED [ 53%] tests/test_all.py::DNSTest::test_query_caa PASSED [ 55%] tests/test_all.py::DNSTest::test_query_cancelled PASSED [ 57%] tests/test_all.py::DNSTest::test_query_class_chaos PASSED [ 59%] tests/test_all.py::DNSTest::test_query_class_invalid PASSED [ 61%] tests/test_all.py::DNSTest::test_query_cname PASSED [ 63%] tests/test_all.py::DNSTest::test_query_mx PASSED [ 65%] tests/test_all.py::DNSTest::test_query_naptr PASSED [ 67%] tests/test_all.py::DNSTest::test_query_ns PASSED [ 69%] tests/test_all.py::DNSTest::test_query_onion PASSED [ 71%] tests/test_all.py::DNSTest::test_query_ptr PASSED [ 73%] tests/test_all.py::DNSTest::test_query_ptr_ipv6 PASSED [ 75%] tests/test_all.py::DNSTest::test_query_soa PASSED [ 77%] tests/test_all.py::DNSTest::test_query_srv PASSED [ 79%] tests/test_all.py::DNSTest::test_query_timeout PASSED [ 81%] tests/test_all.py::DNSTest::test_query_txt PASSED [ 83%] tests/test_all.py::DNSTest::test_query_txt_bytes1 PASSED [ 85%] tests/test_all.py::DNSTest::test_query_txt_bytes2 XFAIL [ 87%] tests/test_all.py::DNSTest::test_query_txt_chunked FAILED [ 89%] tests/test_all.py::DNSTest::test_query_txt_multiple_chunked PASSED [ 91%] tests/test_all.py::DNSTest::test_query_txt_multiple_chunked_with_non_ascii_content XFAIL [ 93%] tests/test_all.py::DNSTest::test_result_not_ascii SKIPPED (The site ...) [ 95%] tests/test_all.py::DNSTest::test_search PASSED [ 97%] tests/test_all.py::DNSTest::test_strerror_str PASSED [100%] =================================== FAILURES =================================== ______________________ DNSTest.test_idna_encoding_query_a ______________________ self = def test_idna_encoding_query_a(self): host = 'espaƱa.icom.museum' self.result, self.errorno = None, None def cb(result, errorno): self.result, self.errorno = result, errorno # try encoding it as utf-8 self.channel.query(host.encode(), pycares.QUERY_TYPE_A, cb) self.wait() > self.assertEqual(self.errorno, pycares.errno.ARES_ENOTFOUND) E AssertionError: 8 != 4 tests/test_all.py:572: AssertionError ________________________ DNSTest.test_query_txt_chunked ________________________ self = def test_query_txt_chunked(self): self.result, self.errorno = None, None def cb(result, errorno): self.result, self.errorno = result, errorno self.channel.query('jobscoutdaily.com', pycares.QUERY_TYPE_TXT, cb) self.wait() self.assertNoError(self.errorno) # If the chunks are aggregated, only one TXT record should be visible. Three would show if they are not properly merged. # jobscoutdaily.com. 21600 IN TXT "v=spf1 " "include:emailcampaigns.net include:spf.dynect.net include:ccsend.com include:_spf.elasticemail.com ip4:67.200.116.86 ip4:67.200.116.90 ip4:67.200.116.97 ip4:67.200.116.111 ip4:74.199.198.2 " " ~all" self.assertEqual(len(self.result), 1) > self.assertEqual(self.result[0].text, 'v=spf1 include:emailcampaigns.net include:spf.dynect.net include:ccsend.com include:_spf.elasticemail.com ip4:67.200.116.86 ip4:67.200.116.90 ip4:67.200.116.97 ip4:67.200.116.111 ip4:74.199.198.2 ~all') E AssertionError: 'v=spf1 A MX include:emailcampaigns.net include:s[104 chars]~all' != 'v=spf1 include:emailcampaigns.net include:spf.dy[150 chars]~all' E - v=spf1 A MX include:emailcampaigns.net include:spf.dynect.net include:ccsend.com include:_spf.elasticemail.com ip4:67.200.116.0/24 ip4:74.199.198.0/24 ~all E + v=spf1 include:emailcampaigns.net include:spf.dynect.net include:ccsend.com include:_spf.elasticemail.com ip4:67.200.116.86 ip4:67.200.116.90 ip4:67.200.116.97 ip4:67.200.116.111 ip4:74.199.198.2 ~all tests/test_all.py:293: AssertionError =========================== short test summary info ============================ FAILED tests/test_all.py::DNSTest::test_idna_encoding_query_a - AssertionErro... FAILED tests/test_all.py::DNSTest::test_query_txt_chunked - AssertionError: '... ====== 2 failed, 43 passed, 2 skipped, 5 deselected, 2 xfailed in 13.77s ======= ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_eea364cf-c64c-463e-af4a-a178d34b5563/build