==> Building on mausholdvi ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-pygdbmi ./ .SRCINFO 560 100% 0.00kB/s 0:00:00 560 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 1,024 100% 1000.00kB/s 0:00:00 1,024 100% 1000.00kB/s 0:00:00 (xfr#2, to-chk=1/4) python-pygdbmi-0.11.0.0-3.log 371 100% 362.30kB/s 0:00:00 371 100% 362.30kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,312 bytes received 122 bytes 956.00 bytes/sec total size is 1,781 speedup is 1.24 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking chroot copy [felix1]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix1]...done ==> Making package: python-pygdbmi 0.11.0.0-3 (Sat Oct 14 17:22:46 2023) ==> Retrieving sources...  -> Downloading python-pygdbmi-0.11.0.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 30784 0 30784 0 0 23105 0 --:--:-- 0:00:01 --:--:-- 46152 ==> Validating source files with sha256sums... python-pygdbmi-0.11.0.0.tar.gz ... Passed ==> Making package: python-pygdbmi 0.11.0.0-3 (Sat Oct 14 17:23:09 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (6) New Version Net Change Download Size extra/boost-libs 1.83.0-2 6.69 MiB extra/gdb-common 13.2-1 0.92 MiB 0.08 MiB core/libnsl 2.0.0-3 0.06 MiB extra/source-highlight 3.1.9-11 2.99 MiB 0.65 MiB extra/gdb 13.2-1 9.11 MiB 4.23 MiB core/python 3.11.5-2.1 107.29 MiB Total Download Size: 4.97 MiB Total Installed Size: 127.07 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gdb-13.2-1-riscv64 downloading... source-highlight-3.1.9-11-riscv64 downloading... gdb-common-13.2-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing boost-libs... Optional dependencies for boost-libs openmpi: for mpi support installing source-highlight... Optional dependencies for source-highlight lesspipe: src-hilite-lesspipe.sh 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 gdb-common... installing gdb... :: Running post-transaction hooks... (1/1) Updating the info directory file... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (25) New Version Net Change extra/python-annotated-types 0.5.0-1 0.09 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.18.1-1 0.29 MiB extra/python-inflect 7.0.0-2 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 3.9.0-1 0.07 MiB extra/python-jaraco.text 3.11.1-3 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.1-1 0.47 MiB extra/python-platformdirs 3.11.0-1 0.23 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-pydantic 2.3.0-1 4.56 MiB extra/python-pydantic-core 1:2.6.3-1 4.37 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 2023.9.19-1 0.11 MiB extra/python-typing_extensions 4.8.0-1 0.35 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-build 1.0.3-1 0.68 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-pytest 7.4.2-1 4.01 MiB extra/python-setuptools 1:68.0.0-1 4.64 MiB extra/python-wheel 0.40.0-3 0.28 MiB Total Installed Size: 23.01 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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-iniconfig... installing python-pluggy... installing python-pytest... [?25h==> Retrieving sources...  -> Found python-pygdbmi-0.11.0.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-pygdbmi-0.11.0.0.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... running egg_info creating pygdbmi.egg-info writing pygdbmi.egg-info/PKG-INFO writing dependency_links to pygdbmi.egg-info/dependency_links.txt writing top-level names to pygdbmi.egg-info/top_level.txt writing manifest file 'pygdbmi.egg-info/SOURCES.txt' reading manifest file 'pygdbmi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'example.py' warning: no previously-included files found matching '.flake8' warning: no previously-included files found matching 'noxfile.py' warning: no previously-included files found matching 'mkdocs.yml' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files found matching '*.txt' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '*.sw[po]' warning: no previously-included files found matching '*~' no previously-included directories found matching 'docs' adding license file 'LICENSE' writing manifest file 'pygdbmi.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pygdbmi copying pygdbmi/__init__.py -> build/lib/pygdbmi copying pygdbmi/printcolor.py -> build/lib/pygdbmi copying pygdbmi/gdbescapes.py -> build/lib/pygdbmi copying pygdbmi/constants.py -> build/lib/pygdbmi copying pygdbmi/IoManager.py -> build/lib/pygdbmi copying pygdbmi/StringStream.py -> build/lib/pygdbmi copying pygdbmi/gdbcontroller.py -> build/lib/pygdbmi copying pygdbmi/gdbmiparser.py -> build/lib/pygdbmi running egg_info writing pygdbmi.egg-info/PKG-INFO writing dependency_links to pygdbmi.egg-info/dependency_links.txt writing top-level names to pygdbmi.egg-info/top_level.txt reading manifest file 'pygdbmi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'example.py' warning: no previously-included files found matching '.flake8' warning: no previously-included files found matching 'noxfile.py' warning: no previously-included files found matching 'mkdocs.yml' warning: no previously-included files found matching '__pycache__' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files found matching '*.txt' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '*.sw[po]' warning: no previously-included files found matching '*~' no previously-included directories found matching 'docs' adding license file 'LICENSE' writing manifest file 'pygdbmi.egg-info/SOURCES.txt' copying pygdbmi/py.typed -> build/lib/pygdbmi installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/__init__.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/printcolor.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/gdbescapes.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/py.typed -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/constants.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/IoManager.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/StringStream.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/gdbcontroller.py -> build/bdist.linux-riscv64/wheel/pygdbmi copying build/lib/pygdbmi/gdbmiparser.py -> build/bdist.linux-riscv64/wheel/pygdbmi running install_egg_info Copying pygdbmi.egg-info to build/bdist.linux-riscv64/wheel/pygdbmi-0.11.0.0-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/pygdbmi-0.11.0.0.dist-info/WHEEL creating '/build/python-pygdbmi/src/pygdbmi-0.11.0.0/dist/.tmp-kmzparx3/pygdbmi-0.11.0.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'pygdbmi/IoManager.py' adding 'pygdbmi/StringStream.py' adding 'pygdbmi/__init__.py' adding 'pygdbmi/constants.py' adding 'pygdbmi/gdbcontroller.py' adding 'pygdbmi/gdbescapes.py' adding 'pygdbmi/gdbmiparser.py' adding 'pygdbmi/printcolor.py' adding 'pygdbmi/py.typed' adding 'pygdbmi-0.11.0.0.dist-info/LICENSE' adding 'pygdbmi-0.11.0.0.dist-info/METADATA' adding 'pygdbmi-0.11.0.0.dist-info/WHEEL' adding 'pygdbmi-0.11.0.0.dist-info/top_level.txt' adding 'pygdbmi-0.11.0.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built pygdbmi-0.11.0.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 -- /build/python-pygdbmi/src/pygdbmi-0.11.0.0/test-env/bin/python cachedir: .pytest_cache rootdir: /build/python-pygdbmi/src/pygdbmi-0.11.0.0 collecting ... collected 69 items tests/test_example.py::test_example FAILED [ 1%] tests/test_gdbcontroller.py::test_controller PASSED [ 2%] tests/test_gdbcontroller.py::test_controller_buffer_randomized SKIPPED [ 4%] tests/test_gdbescapes.py::test_unescape[a-a] PASSED [ 5%] tests/test_gdbescapes.py::test_unescape[hello world-hello world] PASSED [ 7%] tests/test_gdbescapes.py::test_unescape[hello\\nworld-hello\nworld] PASSED [ 8%] tests/test_gdbescapes.py::test_unescape[quote: <\\">-quote: <">] PASSED [ 10%] tests/test_gdbescapes.py::test_unescape[\\360\\237\\215\\225-\U0001f355] PASSED [ 11%] tests/test_gdbescapes.py::test_unescape[\\040- ] PASSED [ 13%] tests/test_gdbescapes.py::test_unescape[\\tmultiple\\nescapes\\tin\\"the\\'same\\"string\\"foo\\040bar\\360\\237\\215\\225-\tmultiple\nescapes\tin"the'same"string"foo bar\U0001f355] PASSED [ 14%] tests/test_gdbescapes.py::test_unescape[254 '\\376'-254 '\\376'] PASSED [ 15%] tests/test_gdbescapes.py::test_bad_string["-Unescaped quote found] PASSED [ 17%] tests/test_gdbescapes.py::test_bad_string["x-Unescaped quote found] PASSED [ 18%] tests/test_gdbescapes.py::test_bad_string[a"-Unescaped quote found] PASSED [ 20%] tests/test_gdbescapes.py::test_bad_string[a"x-Unescaped quote found] PASSED [ 21%] tests/test_gdbescapes.py::test_bad_string[a"x"foo-Unescaped quote found] PASSED [ 23%] tests/test_gdbescapes.py::test_bad_string[\\777-Invalid octal number] PASSED [ 24%] tests/test_gdbescapes.py::test_bad_string[\\400-Invalid octal number] PASSED [ 26%] tests/test_gdbescapes.py::test_bad_string[\\X-Invalid escape character] PASSED [ 27%] tests/test_gdbescapes.py::test_bad_string[\\1-Invalid escape character] PASSED [ 28%] tests/test_gdbescapes.py::test_bad_string[\\11-Invalid escape character] PASSED [ 30%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[a"-a--None] PASSED [ 31%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[a"bc-a-bc-None] PASSED [ 33%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["a"-a--1] PASSED [ 34%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["a"bc-a-bc-1] PASSED [ 36%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[x="a"-a--3] PASSED [ 37%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[x="a"bc-a-bc-3] PASSED [ 39%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[\\""-"--None] PASSED [ 40%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["\\""-"--1] PASSED [ 42%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["\\"",foo-"-,foo-1] PASSED [ 43%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[x="\\""-"--3] PASSED [ 44%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["\\"hello\\"world\\""-"hello"world"--1] PASSED [ 46%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[\\n"-\n--None] PASSED [ 47%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["\\n"-\n--1] PASSED [ 49%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["\\n",foo-\n-,foo-1] PASSED [ 50%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes[x="\\n"-\n--3] PASSED [ 52%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["\\nhello\\nworld\\n"-\nhello\nworld\n--1] PASSED [ 53%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes["I want a \\360\\237\\215\\225"something else-I want a \U0001f355-something else-1] PASSED [ 55%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes_raises[] PASSED [ 56%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes_raises[\\"] PASSED [ 57%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes_raises[a\\"] PASSED [ 59%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes_raises[\\"a] PASSED [ 60%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes_raises[a] PASSED [ 62%] tests/test_gdbescapes.py::test_advance_past_string_with_gdb_escapes_raises[a\\"b] PASSED [ 63%] tests/test_gdbmiparser.py::test_parser[^done-expected_dict0] PASSED [ 65%] tests/test_gdbmiparser.py::test_parser[~"done"-expected_dict1] PASSED [ 66%] tests/test_gdbmiparser.py::test_parser[@"done"-expected_dict2] PASSED [ 68%] tests/test_gdbmiparser.py::test_parser[&"done"-expected_dict3] PASSED [ 69%] tests/test_gdbmiparser.py::test_parser[done-expected_dict4] PASSED [ 71%] tests/test_gdbmiparser.py::test_parser[~""-expected_dict5] PASSED [ 72%] tests/test_gdbmiparser.py::test_parser[~"\\b\\f\\n\\r\\t\\""-expected_dict6] PASSED [ 73%] tests/test_gdbmiparser.py::test_parser[@""-expected_dict7] PASSED [ 75%] tests/test_gdbmiparser.py::test_parser[@"\\b\\f\\n\\r\\t\\""-expected_dict8] PASSED [ 76%] tests/test_gdbmiparser.py::test_parser[&""-expected_dict9] PASSED [ 78%] tests/test_gdbmiparser.py::test_parser[&"\\b\\f\\n\\r\\t\\""-expected_dict10] PASSED [ 79%] tests/test_gdbmiparser.py::test_parser[&"\\\\"-expected_dict11] PASSED [ 81%] tests/test_gdbmiparser.py::test_parser[^done,thread-ids={thread-id="3",thread-id="2",thread-id="1"}, current-thread-id="1",number-of-threads="3"-expected_dict12] PASSED [ 82%] tests/test_gdbmiparser.py::test_parser[^error,msg="some message"-expected_dict13] PASSED [ 84%] tests/test_gdbmiparser.py::test_parser[^error,msg="some message",code="undefined-command"-expected_dict14] PASSED [ 85%] tests/test_gdbmiparser.py::test_parser[^error,msg="message\\twith\\nescapes"-expected_dict15] PASSED [ 86%] tests/test_gdbmiparser.py::test_parser[^error,msg="This is a double quote: <\\">"-expected_dict16] PASSED [ 88%] tests/test_gdbmiparser.py::test_parser[^error,msg="This is a double quote: <\\">",code="undefined-command"-expected_dict17] PASSED [ 89%] tests/test_gdbmiparser.py::test_parser[=breakpoint-modified,bkpt={number="1",empty_arr=[],type="breakpoint",disp="keep",enabled="y",addr="0x000000000040059c",func="main",file="hello.c",fullname="/home/git/pygdbmi/tests/sample_c_app/hello.c",line="9",thread-groups=["i1"],times="1",original-location="hello.c:9"}-expected_dict18] PASSED [ 91%] tests/test_gdbmiparser.py::test_parser[1342^done-expected_dict19] PASSED [ 92%] tests/test_gdbmiparser.py::test_parser[=event,name="gdb"discardme-expected_dict20] PASSED [ 94%] tests/test_gdbmiparser.py::test_parser[*running,thread-id="all"-expected_dict21] PASSED [ 95%] tests/test_gdbmiparser.py::test_parser[*stopped-expected_dict22] PASSED [ 97%] tests/test_gdbmiparser.py::test_performance_big_o PASSED [ 98%] tests/test_string_stream.py::test_string_stream PASSED [100%] =================================== FAILURES =================================== _________________________________ test_example _________________________________ def test_example() -> None: """Test `example.py` in the root of the repo""" > example.main() tests/test_example.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ example.py:52: in main responses = gdbmi.write("-file-exec-and-symbols %s" % SAMPLE_C_BINARY) pygdbmi/gdbcontroller.py:125: in write return self.io_manager.write( pygdbmi/IoManager.py:284: in write return self.get_gdb_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout_sec = 1 raise_error_on_timeout = True def get_gdb_response( self, timeout_sec: float = DEFAULT_GDB_TIMEOUT_SEC, raise_error_on_timeout: bool = True, ) -> List[Dict]: """Get response from GDB, and block while doing so. If GDB does not have any response ready to be read by timeout_sec, an exception is raised. Args: timeout_sec: Maximum time to wait for reponse. Must be >= 0. Will return after raise_error_on_timeout: Whether an exception should be raised if no response was found after timeout_sec Returns: List of parsed GDB responses, returned from gdbmiparser.parse_response, with the additional key 'stream' which is either 'stdout' or 'stderr' Raises: GdbTimeoutError: if response is not received within timeout_sec ValueError: if select returned unexpected file number """ if timeout_sec < 0: logger.warning("timeout_sec was negative, replacing with 0") timeout_sec = 0 if USING_WINDOWS: retval = self._get_responses_windows(timeout_sec) else: retval = self._get_responses_unix(timeout_sec) if not retval and raise_error_on_timeout: > raise GdbTimeoutError( "Did not get response from gdb after %s seconds" % timeout_sec ) E pygdbmi.constants.GdbTimeoutError: Did not get response from gdb after 1 seconds pygdbmi/IoManager.py:104: GdbTimeoutError =========================== short test summary info ============================ FAILED tests/test_example.py::test_example - pygdbmi.constants.GdbTimeoutErro... =================== 1 failed, 67 passed, 1 skipped in 10.80s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix1/build receiving incremental file list python-pygdbmi-0.11.0.0-3-riscv64-build.log python-pygdbmi-0.11.0.0-3-riscv64-check.log sent 62 bytes received 3,389 bytes 6,902.00 bytes/sec total size is 14,481 speedup is 4.20