==> Building on ninetales ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-piccata ./ PKGBUILD 1,353 100% 0.00kB/s 0:00:00 1,353 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-piccata-2.0.3-2.log 250 100% 244.14kB/s 0:00:00 250 100% 244.14kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,028 bytes received 103 bytes 2,262.00 bytes/sec total size is 1,549 speedup is 1.37 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root2 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)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root2]...done ==> Making package: python-piccata 2.0.3-2 (Thu Jun 1 20:12:17 2023) ==> Retrieving sources...  -> Downloading piccata-2.0.3.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:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 22975 100 22975 0 0 13568 0 0:00:01 0:00:01 --:--:-- 13568 ==> Validating source files with sha256sums... piccata-2.0.3.tar.gz ... Passed ==> Making package: python-piccata 2.0.3-2 (Thu Jun 1 20:12:49 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-1 104.68 MiB Total Installed Size: 104.74 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (23) New Version Net Change Download Size extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.17.1-1 0.29 MiB extra/python-inflect 6.0.4-2 0.38 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.7.0-1 0.07 MiB 0.02 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-more-itertools 9.1.1-4 0.61 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.5.1-1 0.20 MiB extra/python-pluggy 1.0.0-4 0.13 MiB extra/python-pydantic 1.10.7-4 6.36 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.5.24-1 0.11 MiB extra/python-typing_extensions 4.6.2-1 0.36 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-build 0.10.0-4 0.68 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-pytest 7.3.1-4 3.97 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB extra/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 0.02 MiB Total Installed Size: 20.22 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-jaraco.functools-3.7.0-1-any downloading... 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-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation 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 piccata-2.0.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting piccata-2.0.3.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... running egg_info writing piccata.egg-info/PKG-INFO writing dependency_links to piccata.egg-info/dependency_links.txt writing top-level names to piccata.egg-info/top_level.txt reading manifest file 'piccata.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'piccata.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/transport copying transport/__init__.py -> build/lib/transport copying transport/tester.py -> build/lib/transport copying transport/base.py -> build/lib/transport copying transport/tsocket.py -> build/lib/transport creating build/lib/piccata copying piccata/__init__.py -> build/lib/piccata copying piccata/core.py -> build/lib/piccata copying piccata/constants.py -> build/lib/piccata copying piccata/option.py -> build/lib/piccata copying piccata/block_transfer.py -> build/lib/piccata copying piccata/types.py -> build/lib/piccata copying piccata/message.py -> build/lib/piccata copying piccata/resource.py -> build/lib/piccata 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/transport copying build/lib/transport/__init__.py -> build/bdist.linux-riscv64/wheel/transport copying build/lib/transport/tester.py -> build/bdist.linux-riscv64/wheel/transport copying build/lib/transport/base.py -> build/bdist.linux-riscv64/wheel/transport copying build/lib/transport/tsocket.py -> build/bdist.linux-riscv64/wheel/transport creating build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/__init__.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/core.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/constants.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/option.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/block_transfer.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/types.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/message.py -> build/bdist.linux-riscv64/wheel/piccata copying build/lib/piccata/resource.py -> build/bdist.linux-riscv64/wheel/piccata running install_egg_info running egg_info writing piccata.egg-info/PKG-INFO writing dependency_links to piccata.egg-info/dependency_links.txt writing top-level names to piccata.egg-info/top_level.txt reading manifest file 'piccata.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'piccata.egg-info/SOURCES.txt' Copying piccata.egg-info to build/bdist.linux-riscv64/wheel/piccata-2.0.3-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/piccata-2.0.3.dist-info/WHEEL creating '/build/python-piccata/src/piccata-2.0.3/dist/.tmp-wcx3po5a/piccata-2.0.3-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'piccata/__init__.py' adding 'piccata/block_transfer.py' adding 'piccata/constants.py' adding 'piccata/core.py' adding 'piccata/message.py' adding 'piccata/option.py' adding 'piccata/resource.py' adding 'piccata/types.py' adding 'transport/__init__.py' adding 'transport/base.py' adding 'transport/tester.py' adding 'transport/tsocket.py' adding 'piccata-2.0.3.dist-info/LICENSE' adding 'piccata-2.0.3.dist-info/METADATA' adding 'piccata-2.0.3.dist-info/WHEEL' adding 'piccata-2.0.3.dist-info/top_level.txt' adding 'piccata-2.0.3.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built piccata-2.0.3-py3-none-any.whl ==> Starting check()... /usr/lib/python3.11/site-packages/piccata/message.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib/python3.11/site-packages/piccata/message.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib/python3.11/site-packages/piccata/resource.py:84: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.11/site-packages/piccata/resource.py:84: SyntaxWarning: "is" with a literal. Did you mean "=="? ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-piccata/src/piccata-2.0.3 collecting ... collected 37 items tests/test_coap_core.py::TestCoapSendRequestPath::test_coap_core_shall_not_queue_NON_request_on_retransmission_list PASSED [ 2%] tests/test_coap_core.py::TestCoapSendRequestPath::test_coap_core_shall_not_queue_request_on_pending_response_list_if_callback_is_not_registered PASSED [ 5%] tests/test_coap_core.py::TestCoapSendRequestPath::test_coap_core_shall_queue_CON_request_on_retransmission_list PASSED [ 8%] tests/test_coap_core.py::TestCoapSendRequestPath::test_coap_core_shall_queue_request_on_pending_response_list_if_callback_is_registered PASSED [ 10%] tests/test_coap_core.py::TestCoapSendRequestPath::test_coap_core_shall_return_error_when_non_request_message_is_sent_as_request PASSED [ 13%] tests/test_coap_core.py::TestCoapSendResponsePath::test_coap_core_shall_not_queue_NON_response_on_retransmission_list PASSED [ 16%] tests/test_coap_core.py::TestCoapSendResponsePath::test_coap_core_shall_queue_ACK_and_RST_response_on_responded_list PASSED [ 18%] tests/test_coap_core.py::TestCoapSendResponsePath::test_coap_core_shall_queue_CON_response_on_retransmission_list PASSED [ 21%] tests/test_coap_core.py::TestCoapSendResponsePath::test_coap_core_shall_return_error_when_non_response_message_is_sent_as_response PASSED [ 24%] tests/test_coap_core.py::TestCoapReceiveRequestPath::test_coap_core_shall_ignore_duplicated_CON_if_no_response_was_sent_to_the_original_message PASSED [ 27%] tests/test_coap_core.py::TestCoapReceiveRequestPath::test_coap_core_shall_ignore_duplicated_NON_request PASSED [ 29%] tests/test_coap_core.py::TestCoapReceiveRequestPath::test_coap_core_shall_resend_ACK_on_duplicated_CON_request PASSED [ 32%] tests/test_coap_core.py::TestCoapReceiveRequestPath::test_coap_core_shall_resend_RST_on_duplicated_CON_request PASSED [ 35%] tests/test_coap_core.py::TestCoapReceiveRequestPath::test_coap_core_shall_store_received_CON_request_on_deduplication_list PASSED [ 37%] tests/test_coap_core.py::TestCoapReceiveRequestPath::test_coap_core_shall_store_received_NON_request_on_deduplication_list PASSED [ 40%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_call_application_callback_with_error_on_RST_received PASSED [ 43%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_call_application_callback_with_error_on_request_cancelled PASSED [ 45%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_call_application_callback_with_success_on_response_received PASSED [ 48%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_call_application_callback_with_timeout_on_no_response_received PASSED [ 51%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_remove_CON_message_from_retransmission_list_if_ACK_is_received PASSED [ 54%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_remove_CON_message_from_retransmission_list_if_RST_is_received PASSED [ 56%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_remove_request_form_pending_response_list_if_RST_is_received PASSED [ 59%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_remove_request_from_pending_response_list_if_response_is_received PASSED [ 62%] tests/test_coap_core.py::TestCoapReceiveResponsePath::test_coap_core_shall_resend_ACK_on_duplicated_CON_response PASSED [ 64%] tests/test_communication.py::TestClientServerCommunication::test_client_server_communication FAILED [ 67%] tests/test_message_option.py::TestMessage::test_decode PASSED [ 70%] tests/test_message_option.py::TestMessage::test_encode PASSED [ 72%] tests/test_message_option.py::TestReadExtendedFieldValue::test_read_extended_field_value PASSED [ 75%] tests/test_message_option.py::TestUintOption::test_decode PASSED [ 78%] tests/test_message_option.py::TestUintOption::test_encode PASSED [ 81%] tests/test_message_option.py::TestUintOption::test_length PASSED [ 83%] tests/test_message_option.py::TestOptions::test_setUriPath PASSED [ 86%] tests/test_transport.py::TestTransport::test_tranport_shall_call_receive_callbacks_when_receive_is_called PASSED [ 89%] tests/test_transport.py::TestTransport::test_transport_shall_register_receivers PASSED [ 91%] tests/test_transport.py::TestTransport::test_transport_shall_remove_receivers PASSED [ 94%] tests/test_transport.py::TestSocketTransport::test_socket_transport_data_from_client_shall_reach_server PASSED [ 97%] tests/test_transport.py::TestSocketTransport::test_socket_transport_shall_close_socket_and_terminate_thread_on_close PASSED [100%] =================================== FAILURES =================================== ________ TestClientServerCommunication.test_client_server_communication ________ self = def test_client_server_communication(self): request = message.Message(mtype = CON, code=GET) request.opt.uri_path = (b"text", ) request.remote = (ip_address(u"127.0.0.1"), SERVER_PORT) request.timeout = ACK_TIMEOUT request.payload = b"" req = self.client_protocol.request(request, self._handle_text_response) counter = 0 while not self.stopWaiting: counter += 1 time.sleep(0.01) self.assertLess(counter, 500, "Timeout while waiting for callback from Coap") > self.assertTrue(self.responseReceived) E AssertionError: False is not true tests/test_communication.py:79: AssertionError =============================== warnings summary =============================== piccata/message.py:37 /build/python-piccata/src/piccata-2.0.3/piccata/message.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="? if version is not 1: piccata/resource.py:84 /build/python-piccata/src/piccata-2.0.3/piccata/resource.py:84: SyntaxWarning: "is" with a literal. Did you mean "=="? if path is "": tests/test_communication.py::TestClientServerCommunication::test_client_server_communication /usr/lib/python3.11/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-27 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 1394, in run self.function(*self.args, **self.kwargs) File "/build/python-piccata/src/piccata-2.0.3/piccata/core.py", line 305, in _timeout_transaction self._finish_transaction(request.token, request.remote, RESULT_TIMEOUT, None) File "/build/python-piccata/src/piccata-2.0.3/piccata/core.py", line 294, in _finish_transaction self._handle_app_callback(callback, result, request, response) File "/build/python-piccata/src/piccata-2.0.3/piccata/core.py", line 263, in _handle_app_callback cb(result, request, response, *args, **kw) File "/build/python-piccata/src/piccata-2.0.3/tests/test_communication.py", line 63, in _handle_text_response self.assertFalse(True, "No response received.") File "/usr/lib/python3.11/unittest/case.py", line 709, in assertFalse raise self.failureException(msg) AssertionError: True is not false : No response received. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_communication.py::TestClientServerCommunication::test_client_server_communication =================== 1 failed, 36 passed, 3 warnings in 4.94s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root2/build receiving incremental file list python-piccata-2.0.3-2-riscv64-build.log python-piccata-2.0.3-2-riscv64-check.log sent 62 bytes received 2,835 bytes 1,931.33 bytes/sec total size is 12,214 speedup is 4.22