0s autopkgtest [21:07:22]: starting date and time: 2025-06-05 21:07:22+0000 0s autopkgtest [21:07:22]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [21:07:22]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.65hg4gfo/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade graypy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.4-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-s390x-2.secgroup --name adt-questing-s390x-graypy-20250605-210721-juju-7f2275-prod-proposed-migration-environment-15-53c4f00b-10a2-45f7-bc66-aa4517e2a758 --image adt/ubuntu-questing-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 54s autopkgtest [21:08:16]: testbed dpkg architecture: s390x 55s autopkgtest [21:08:17]: testbed apt version: 3.1.0ubuntu3 55s autopkgtest [21:08:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s autopkgtest [21:08:17]: testbed release detected to be: None 56s autopkgtest [21:08:18]: updating testbed package index (apt update) 56s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 56s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 56s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 56s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 56s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [55.3 kB] 57s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [438 kB] 57s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [13.0 kB] 57s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [3168 B] 57s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [72.9 kB] 57s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/restricted s390x Packages [716 B] 57s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [351 kB] 57s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [4128 B] 57s Fetched 1187 kB in 1s (1741 kB/s) 60s Reading package lists... 61s autopkgtest [21:08:23]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 61s The following packages will be upgraded: 61s libpython3-stdlib libpython3.13 libpython3.13-minimal libpython3.13-stdlib 61s python3 python3-minimal python3.13 python3.13-gdbm python3.13-minimal 61s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s Need to get 8670 kB of archives. 61s After this operation, 12.3 kB of additional disk space will be used. 61s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x libpython3.13 s390x 3.13.4-1 [2522 kB] 62s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x python3.13 s390x 3.13.4-1 [744 kB] 62s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x python3.13-minimal s390x 3.13.4-1 [2375 kB] 62s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x libpython3.13-minimal s390x 3.13.4-1 [883 kB] 62s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x libpython3.13-stdlib s390x 3.13.4-1 [2053 kB] 62s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3-minimal s390x 3.13.4-1 [27.9 kB] 62s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3 s390x 3.13.4-1 [24.0 kB] 62s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3-stdlib s390x 3.13.4-1 [10.5 kB] 62s Get:9 http://ftpmaster.internal/ubuntu questing/main s390x python3.13-gdbm s390x 3.13.4-1 [31.9 kB] 62s Fetched 8670 kB in 1s (14.3 MB/s) 62s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60226 files and directories currently installed.) 62s Preparing to unpack .../libpython3.13_3.13.4-1_s390x.deb ... 62s Unpacking libpython3.13:s390x (3.13.4-1) over (3.13.3-4) ... 62s Preparing to unpack .../python3.13_3.13.4-1_s390x.deb ... 62s Unpacking python3.13 (3.13.4-1) over (3.13.3-4) ... 62s Preparing to unpack .../python3.13-minimal_3.13.4-1_s390x.deb ... 62s Unpacking python3.13-minimal (3.13.4-1) over (3.13.3-4) ... 62s Preparing to unpack .../libpython3.13-minimal_3.13.4-1_s390x.deb ... 62s Unpacking libpython3.13-minimal:s390x (3.13.4-1) over (3.13.3-4) ... 62s Preparing to unpack .../libpython3.13-stdlib_3.13.4-1_s390x.deb ... 62s Unpacking libpython3.13-stdlib:s390x (3.13.4-1) over (3.13.3-4) ... 62s Setting up libpython3.13-minimal:s390x (3.13.4-1) ... 62s Setting up python3.13-minimal (3.13.4-1) ... 63s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60226 files and directories currently installed.) 63s Preparing to unpack .../python3-minimal_3.13.4-1_s390x.deb ... 63s Unpacking python3-minimal (3.13.4-1) over (3.13.3-1) ... 63s Setting up python3-minimal (3.13.4-1) ... 63s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60226 files and directories currently installed.) 63s Preparing to unpack .../python3_3.13.4-1_s390x.deb ... 63s Unpacking python3 (3.13.4-1) over (3.13.3-1) ... 64s Preparing to unpack .../libpython3-stdlib_3.13.4-1_s390x.deb ... 64s Unpacking libpython3-stdlib:s390x (3.13.4-1) over (3.13.3-1) ... 64s Preparing to unpack .../python3.13-gdbm_3.13.4-1_s390x.deb ... 64s Unpacking python3.13-gdbm (3.13.4-1) over (3.13.3-4) ... 64s Setting up libpython3.13-stdlib:s390x (3.13.4-1) ... 64s Setting up python3.13-gdbm (3.13.4-1) ... 64s Setting up libpython3-stdlib:s390x (3.13.4-1) ... 64s Setting up libpython3.13:s390x (3.13.4-1) ... 64s Setting up python3.13 (3.13.4-1) ... 64s Setting up python3 (3.13.4-1) ... 65s Processing triggers for man-db (2.13.1-1) ... 65s Processing triggers for libc-bin (2.41-6ubuntu2) ... 65s Processing triggers for systemd (257.4-1ubuntu3) ... 65s Reading package lists... 66s Building dependency tree... 66s Reading state information... 66s Solving dependencies... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s autopkgtest [21:08:30]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 13:39:00 UTC 2025 68s autopkgtest [21:08:30]: @@@@@@@@@@@@@@@@@@@@ apt-source graypy 70s Get:1 http://ftpmaster.internal/ubuntu questing/universe graypy 2.1.0-1 (dsc) [2090 B] 70s Get:2 http://ftpmaster.internal/ubuntu questing/universe graypy 2.1.0-1 (tar) [24.2 kB] 70s Get:3 http://ftpmaster.internal/ubuntu questing/universe graypy 2.1.0-1 (diff) [2964 B] 70s gpgv: Signature made Wed Jan 6 14:09:05 2021 UTC 70s gpgv: using RSA key E7FAB70B3950275E6DA30975DD8CD5A5DE8C7E7A 70s gpgv: Can't check signature: No public key 70s dpkg-source: warning: cannot verify inline signature for ./graypy_2.1.0-1.dsc: no acceptable signature found 70s autopkgtest [21:08:32]: testing package graypy version 2.1.0-1 70s autopkgtest [21:08:32]: build not needed 70s autopkgtest [21:08:32]: test python3-pytest: preparing testbed 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Solving dependencies... 71s The following NEW packages will be installed: 71s python3-amqplib python3-graypy python3-iniconfig python3-mock python3-pluggy 71s python3-pytest 71s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 71s Need to get 393 kB of archives. 71s After this operation, 2076 kB of additional disk space will be used. 71s Get:1 http://ftpmaster.internal/ubuntu questing/universe s390x python3-amqplib all 1.0.2-4 [31.2 kB] 72s Get:2 http://ftpmaster.internal/ubuntu questing/universe s390x python3-graypy all 2.1.0-1 [15.9 kB] 72s Get:3 http://ftpmaster.internal/ubuntu questing/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 72s Get:4 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 72s Get:5 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pytest all 8.3.5-2 [252 kB] 72s Get:6 http://ftpmaster.internal/ubuntu questing/universe s390x python3-mock all 5.2.0-1 [66.3 kB] 72s Fetched 393 kB in 0s (1022 kB/s) 72s Selecting previously unselected package python3-amqplib. 72s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60226 files and directories currently installed.) 72s Preparing to unpack .../0-python3-amqplib_1.0.2-4_all.deb ... 72s Unpacking python3-amqplib (1.0.2-4) ... 72s Selecting previously unselected package python3-graypy. 72s Preparing to unpack .../1-python3-graypy_2.1.0-1_all.deb ... 72s Unpacking python3-graypy (2.1.0-1) ... 72s Selecting previously unselected package python3-iniconfig. 72s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 72s Unpacking python3-iniconfig (1.1.1-2) ... 72s Selecting previously unselected package python3-pluggy. 72s Preparing to unpack .../3-python3-pluggy_1.5.0-1_all.deb ... 72s Unpacking python3-pluggy (1.5.0-1) ... 72s Selecting previously unselected package python3-pytest. 72s Preparing to unpack .../4-python3-pytest_8.3.5-2_all.deb ... 72s Unpacking python3-pytest (8.3.5-2) ... 72s Selecting previously unselected package python3-mock. 72s Preparing to unpack .../5-python3-mock_5.2.0-1_all.deb ... 72s Unpacking python3-mock (5.2.0-1) ... 72s Setting up python3-iniconfig (1.1.1-2) ... 73s Setting up python3-amqplib (1.0.2-4) ... 73s Setting up python3-mock (5.2.0-1) ... 73s Setting up python3-pluggy (1.5.0-1) ... 73s Setting up python3-graypy (2.1.0-1) ... 73s Setting up python3-pytest (8.3.5-2) ... 73s Processing triggers for man-db (2.13.1-1) ... 75s autopkgtest [21:08:37]: test python3-pytest: cp -r setup.py tests "$AUTOPKGTEST_TMP"; cd "$AUTOPKGTEST_TMP"; python3 -m pytest tests 75s autopkgtest [21:08:37]: test python3-pytest: [----------------------- 76s ============================= test session starts ============================== 76s platform linux -- Python 3.13.4, pytest-8.3.5, pluggy-1.5.0 76s rootdir: /tmp/autopkgtest.ejXl5e/autopkgtest_tmp 76s plugins: typeguard-4.4.2 76s collected 246 items 76s 76s tests/integration/test_chunked_logging.py FFF [ 1%] 76s tests/integration/test_common_logging.py FFFFFFFFFFFFF [ 6%] 76s tests/integration/test_debugging_fields.py FFFFFFF [ 9%] 76s tests/integration/test_extra_fields.py FFFFFFF [ 12%] 77s tests/integration/test_status_issue.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 25%] 78s FFFFFF [ 28%] 78s tests/unit/test_ExcludeFilter.py ....... [ 30%] 78s tests/unit/test_GELFRabbitHandler.py ..x. [ 32%] 78s tests/unit/test_chunking.py ............. [ 37%] 78s tests/unit/test_handler.py ...........................................ss [ 56%] 78s sssssssssss............................................................. [ 85%] 78s ...........................ss....... [100%] 78s 78s =================================== FAILURES =================================== 78s ____________________ test_chunked_logging[BaseGELFChunker] _____________________ 78s 78s gelf_chunker = 78s 78s @pytest.mark.parametrize( 78s "gelf_chunker", [BaseGELFChunker, GELFWarningChunker, GELFTruncatingChunker] 78s ) 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_chunked_logging(gelf_chunker): 78s """Test sending a log that requires chunking to be fully sent""" 78s logger = logging.getLogger("test_chunked_logger") 78s handler = GELFUDPHandler( 78s "127.0.0.1", TEST_UDP_PORT, gelf_chunker=gelf_chunker(chunk_size=10) 78s ) 78s logger.addHandler(handler) 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_chunked_logging.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'e7af630a-e629-447a-86ff-a3e35f7cf6f4' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_chunked_logger:test_chunked_logging.py:35 e7af630a-e629-447a-86ff-a3e35f7cf6f4 78s ___________________ test_chunked_logging[GELFWarningChunker] ___________________ 78s 78s gelf_chunker = 78s 78s @pytest.mark.parametrize( 78s "gelf_chunker", [BaseGELFChunker, GELFWarningChunker, GELFTruncatingChunker] 78s ) 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_chunked_logging(gelf_chunker): 78s """Test sending a log that requires chunking to be fully sent""" 78s logger = logging.getLogger("test_chunked_logger") 78s handler = GELFUDPHandler( 78s "127.0.0.1", TEST_UDP_PORT, gelf_chunker=gelf_chunker(chunk_size=10) 78s ) 78s logger.addHandler(handler) 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_chunked_logging.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'e04a5b70-fdc6-4cc0-8a8f-d71898585eaf' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_chunked_logger:test_chunked_logging.py:35 e04a5b70-fdc6-4cc0-8a8f-d71898585eaf 78s _________________ test_chunked_logging[GELFTruncatingChunker] __________________ 78s 78s gelf_chunker = 78s 78s @pytest.mark.parametrize( 78s "gelf_chunker", [BaseGELFChunker, GELFWarningChunker, GELFTruncatingChunker] 78s ) 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_chunked_logging(gelf_chunker): 78s """Test sending a log that requires chunking to be fully sent""" 78s logger = logging.getLogger("test_chunked_logger") 78s handler = GELFUDPHandler( 78s "127.0.0.1", TEST_UDP_PORT, gelf_chunker=gelf_chunker(chunk_size=10) 78s ) 78s logger.addHandler(handler) 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_chunked_logging.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'f971f2a7-d33a-4a5a-8367-5b45384d3017' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_chunked_logger:test_chunked_logging.py:35 f971f2a7-d33a-4a5a-8367-5b45384d3017 78s ________________________ test_common_logging[handler0] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '25e3b8fd-acd7-492d-b106-70efed15eb12' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 25e3b8fd-acd7-492d-b106-70efed15eb12 78s ________________________ test_common_logging[handler1] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '5ebe7d7a-f2c2-4b64-8691-ac2e21f0154d' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 5ebe7d7a-f2c2-4b64-8691-ac2e21f0154d 78s ________________________ test_common_logging[handler2] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '2192c795-cbbd-4a8e-9875-ef5fd3d86cf2' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 2192c795-cbbd-4a8e-9875-ef5fd3d86cf2 78s ________________________ test_common_logging[handler3] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '3c5b208a-dddd-4253-b757-7f9a19273acc' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_common_logging.py", line 21, in test_common_logging 78s logger.error(message) 78s Message: '3c5b208a-dddd-4253-b757-7f9a19273acc' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 3c5b208a-dddd-4253-b757-7f9a19273acc 78s ________________________ test_common_logging[handler4] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '99d5d20b-d879-4d6a-8388-e9a090d14434' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_common_logging.py", line 21, in test_common_logging 78s logger.error(message) 78s Message: '99d5d20b-d879-4d6a-8388-e9a090d14434' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 99d5d20b-d879-4d6a-8388-e9a090d14434 78s ________________________ test_common_logging[handler5] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '8d1d288d-c4f3-473a-b2e4-8c335b7f75c7' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_common_logging.py", line 21, in test_common_logging 78s logger.error(message) 78s Message: '8d1d288d-c4f3-473a-b2e4-8c335b7f75c7' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 8d1d288d-c4f3-473a-b2e4-8c335b7f75c7 78s ________________________ test_common_logging[handler6] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '2f8173e4-b1bd-45b6-83cc-ece13682ce4b' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_common_logging.py", line 21, in test_common_logging 78s logger.error(message) 78s Message: '2f8173e4-b1bd-45b6-83cc-ece13682ce4b' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 2f8173e4-b1bd-45b6-83cc-ece13682ce4b 78s ________________________ test_common_logging[handler7] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s > logger.error(message) 78s 78s tests/integration/test_common_logging.py:21: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ________________________ test_common_logging[handler8] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s > logger.error(message) 78s 78s tests/integration/test_common_logging.py:21: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ________________________ test_common_logging[handler9] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '4a05eb1d-8ff5-41a4-8221-76666d65ef33' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 4a05eb1d-8ff5-41a4-8221-76666d65ef33 78s ________________________ test_common_logging[handler10] ________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'ae07aa49-65ae-4833-8a08-7cef255b679c' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 ae07aa49-65ae-4833-8a08-7cef255b679c 78s ________________________ test_common_logging[handler11] ________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '70d7d744-7413-476d-86fc-15d9ecabda09' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 70d7d744-7413-476d-86fc-15d9ecabda09 78s ________________________ test_common_logging[handler12] ________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_common_logging(logger): 78s """Test sending a common usage log""" 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message) 78s 78s tests/integration/test_common_logging.py:22: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '286366b1-227b-40e1-b970-8b5e685ff7f0' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_common_logging.py:21 286366b1-227b-40e1-b970-8b5e685ff7f0 78s __________________________ test_debug_mode[handler0] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response( 78s message, fields=["function", "pid", "thread_name"] 78s ) 78s 78s tests/integration/test_debugging_fields.py:52: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'a99c360e-540d-485b-8acc-32645fe3b6a5' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_debugging_fields.py:51 a99c360e-540d-485b-8acc-32645fe3b6a5 78s __________________________ test_debug_mode[handler1] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response( 78s message, fields=["function", "pid", "thread_name"] 78s ) 78s 78s tests/integration/test_debugging_fields.py:52: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '30b80d2d-4043-466c-9e8f-8c898c3e9b45' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_debugging_fields.py:51 30b80d2d-4043-466c-9e8f-8c898c3e9b45 78s __________________________ test_debug_mode[handler2] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response( 78s message, fields=["function", "pid", "thread_name"] 78s ) 78s 78s tests/integration/test_debugging_fields.py:52: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '9eec1763-0e2b-4dac-8f7c-9a57dc467452' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_debugging_fields.py:51 9eec1763-0e2b-4dac-8f7c-9a57dc467452 78s __________________________ test_debug_mode[handler3] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s > logger.error(message) 78s 78s tests/integration/test_debugging_fields.py:51: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s __________________________ test_debug_mode[handler4] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s > logger.error(message) 78s 78s tests/integration/test_debugging_fields.py:51: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s __________________________ test_debug_mode[handler5] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response( 78s message, fields=["function", "pid", "thread_name"] 78s ) 78s 78s tests/integration/test_debugging_fields.py:52: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '268f62c5-4f80-461e-9650-9adefe267779' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_debugging_fields.py", line 51, in test_debug_mode 78s logger.error(message) 78s Message: '268f62c5-4f80-461e-9650-9adefe267779' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_debugging_fields.py:51 268f62c5-4f80-461e-9650-9adefe267779 78s __________________________ test_debug_mode[handler6] ___________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_debug_mode(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response( 78s message, fields=["function", "pid", "thread_name"] 78s ) 78s 78s tests/integration/test_debugging_fields.py:52: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'a0af1f13-cd40-42db-83b3-2b46362d56c2' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_debugging_fields.py", line 51, in test_debug_mode 78s logger.error(message) 78s Message: 'a0af1f13-cd40-42db-83b3-2b46362d56c2' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_debugging_fields.py:51 a0af1f13-cd40-42db-83b3-2b46362d56c2 78s ________________________ test_dynamic_fields[handler0] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message, fields=["ozzy", "van_halen"]) 78s 78s tests/integration/test_extra_fields.py:65: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '01a2e8b7-012a-41bf-bbb9-452fa9f80492' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test:test_extra_fields.py:64 01a2e8b7-012a-41bf-bbb9-452fa9f80492 78s ________________________ test_dynamic_fields[handler1] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message, fields=["ozzy", "van_halen"]) 78s 78s tests/integration/test_extra_fields.py:65: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '4daeb52d-2cb9-45c7-831a-60ade322b9ef' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test:test_extra_fields.py:64 4daeb52d-2cb9-45c7-831a-60ade322b9ef 78s ________________________ test_dynamic_fields[handler2] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message, fields=["ozzy", "van_halen"]) 78s 78s tests/integration/test_extra_fields.py:65: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'b0c1aa47-6b74-45ca-924b-821b0a793c23' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test:test_extra_fields.py:64 b0c1aa47-6b74-45ca-924b-821b0a793c23 78s ________________________ test_dynamic_fields[handler3] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s > logger.error(message) 78s 78s tests/integration/test_extra_fields.py:64: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ________________________ test_dynamic_fields[handler4] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s > logger.error(message) 78s 78s tests/integration/test_extra_fields.py:64: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ________________________ test_dynamic_fields[handler5] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message, fields=["ozzy", "van_halen"]) 78s 78s tests/integration/test_extra_fields.py:65: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '10c537bd-2dde-4163-a0b9-8df4693b9175' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_extra_fields.py", line 64, in test_dynamic_fields 78s logger.error(message) 78s Message: '10c537bd-2dde-4163-a0b9-8df4693b9175' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test:test_extra_fields.py:64 10c537bd-2dde-4163-a0b9-8df4693b9175 78s ________________________ test_dynamic_fields[handler6] _________________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_dynamic_fields(logger): 78s message = get_unique_message() 78s logger.error(message) 78s > graylog_response = get_graylog_response(message, fields=["ozzy", "van_halen"]) 78s 78s tests/integration/test_extra_fields.py:65: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'ad85425e-89f1-41cc-a7df-f8d5e8380119' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_extra_fields.py", line 64, in test_dynamic_fields 78s logger.error(message) 78s Message: 'ad85425e-89f1-41cc-a7df-f8d5e8380119' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test:test_extra_fields.py:64 ad85425e-89f1-41cc-a7df-f8d5e8380119 78s _____________________ test_non_status_field_log[handler0] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '08e72dce-00b1-419d-b736-a2321df7503a' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 08e72dce-00b1-419d-b736-a2321df7503a 78s _____________________ test_non_status_field_log[handler1] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '2cf0fc7c-5820-4aa6-8363-6a0c34347ede' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 2cf0fc7c-5820-4aa6-8363-6a0c34347ede 78s _____________________ test_non_status_field_log[handler2] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'fce03fdf-e01a-4abc-bf94-1adbf4ebff2e' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 fce03fdf-e01a-4abc-bf94-1adbf4ebff2e 78s _____________________ test_non_status_field_log[handler3] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'e1cae1c8-8a87-45fd-9797-1d34f43c05e7' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 24, in test_non_status_field_log 78s logger.error(message, extra={"foo": "bar"}) 78s Message: 'e1cae1c8-8a87-45fd-9797-1d34f43c05e7' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 e1cae1c8-8a87-45fd-9797-1d34f43c05e7 78s _____________________ test_non_status_field_log[handler4] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'cebf222e-32ea-4d11-b55d-ec3968d0b7ad' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 24, in test_non_status_field_log 78s logger.error(message, extra={"foo": "bar"}) 78s Message: 'cebf222e-32ea-4d11-b55d-ec3968d0b7ad' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 cebf222e-32ea-4d11-b55d-ec3968d0b7ad 78s _____________________ test_non_status_field_log[handler5] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '37bd105d-c556-4275-9978-9eaba8452aaf' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 24, in test_non_status_field_log 78s logger.error(message, extra={"foo": "bar"}) 78s Message: '37bd105d-c556-4275-9978-9eaba8452aaf' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 37bd105d-c556-4275-9978-9eaba8452aaf 78s _____________________ test_non_status_field_log[handler6] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '95953961-3a2a-46e1-99b0-520467289916' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 24, in test_non_status_field_log 78s logger.error(message, extra={"foo": "bar"}) 78s Message: '95953961-3a2a-46e1-99b0-520467289916' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 95953961-3a2a-46e1-99b0-520467289916 78s _____________________ test_non_status_field_log[handler7] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s > logger.error(message, extra={"foo": "bar"}) 78s 78s tests/integration/test_status_issue.py:24: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s _____________________ test_non_status_field_log[handler8] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s > logger.error(message, extra={"foo": "bar"}) 78s 78s tests/integration/test_status_issue.py:24: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s _____________________ test_non_status_field_log[handler9] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'a94e51ad-1342-4c97-a31a-d8c030bf8c35' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 a94e51ad-1342-4c97-a31a-d8c030bf8c35 78s _____________________ test_non_status_field_log[handler10] _____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'd281ea94-30c5-4e23-acf5-9f13da5c5096' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 d281ea94-30c5-4e23-acf5-9f13da5c5096 78s _____________________ test_non_status_field_log[handler11] _____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '50ac5cc6-2ae7-479f-9241-aa6f3282223c' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 50ac5cc6-2ae7-479f-9241-aa6f3282223c 78s _____________________ test_non_status_field_log[handler12] _____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_non_status_field_log(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar"}) 78s > graylog_response = get_graylog_response(message, fields=["foo"]) 78s 78s tests/integration/test_status_issue.py:25: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '57f94ec1-04d4-4845-8eed-008fa5f63715' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:24 57f94ec1-04d4-4845-8eed-008fa5f63715 78s ______________________ test_status_field_issue[handler0] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'b5103800-6fc9-4ec0-809a-ccac8a9e2d96' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 b5103800-6fc9-4ec0-809a-ccac8a9e2d96 78s ______________________ test_status_field_issue[handler1] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '37717d72-2a8b-49fe-bd71-4888c3e59200' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 37717d72-2a8b-49fe-bd71-4888c3e59200 78s ______________________ test_status_field_issue[handler2] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '8047a604-aff6-4f96-b649-0022ab9b9cbd' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 8047a604-aff6-4f96-b649-0022ab9b9cbd 78s ______________________ test_status_field_issue[handler3] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '574610e4-9cae-4d56-94bc-c24a4d66610c' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 35, in test_status_field_issue 78s logger.error(message, extra={"status": "OK"}) 78s Message: '574610e4-9cae-4d56-94bc-c24a4d66610c' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 574610e4-9cae-4d56-94bc-c24a4d66610c 78s ______________________ test_status_field_issue[handler4] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'eaa3ddd3-7ebc-436f-b82d-60e937c74900' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 35, in test_status_field_issue 78s logger.error(message, extra={"status": "OK"}) 78s Message: 'eaa3ddd3-7ebc-436f-b82d-60e937c74900' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 eaa3ddd3-7ebc-436f-b82d-60e937c74900 78s ______________________ test_status_field_issue[handler5] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '8d05a7bc-e422-4630-a3e0-3ed9e2b96c57' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 35, in test_status_field_issue 78s logger.error(message, extra={"status": "OK"}) 78s Message: '8d05a7bc-e422-4630-a3e0-3ed9e2b96c57' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 8d05a7bc-e422-4630-a3e0-3ed9e2b96c57 78s ______________________ test_status_field_issue[handler6] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'e88562b2-dcb3-4f89-8d1c-b8ac78b741fe' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 35, in test_status_field_issue 78s logger.error(message, extra={"status": "OK"}) 78s Message: 'e88562b2-dcb3-4f89-8d1c-b8ac78b741fe' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 e88562b2-dcb3-4f89-8d1c-b8ac78b741fe 78s ______________________ test_status_field_issue[handler7] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s > logger.error(message, extra={"status": "OK"}) 78s 78s tests/integration/test_status_issue.py:35: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ______________________ test_status_field_issue[handler8] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s > logger.error(message, extra={"status": "OK"}) 78s 78s tests/integration/test_status_issue.py:35: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ______________________ test_status_field_issue[handler9] _______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '1977178b-a15f-4b86-a406-920c3432f572' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 1977178b-a15f-4b86-a406-920c3432f572 78s ______________________ test_status_field_issue[handler10] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'c777c314-959a-4272-a07f-7a2d074324be' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 c777c314-959a-4272-a07f-7a2d074324be 78s ______________________ test_status_field_issue[handler11] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '5316bb51-3228-4a77-938b-7d732a518d9b' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 5316bb51-3228-4a77-938b-7d732a518d9b 78s ______________________ test_status_field_issue[handler12] ______________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["status"]) 78s 78s tests/integration/test_status_issue.py:36: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '74492901-a599-4fe8-800d-24c2a3c9a4fe' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:35 74492901-a599-4fe8-800d-24c2a3c9a4fe 78s ___________________ test_status_field_issue_multi[handler0] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '6e49a942-bea0-486f-a6de-cd2e283af292' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 6e49a942-bea0-486f-a6de-cd2e283af292 78s ___________________ test_status_field_issue_multi[handler1] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '26613b36-c827-4ddf-9262-49ae2266cd61' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 26613b36-c827-4ddf-9262-49ae2266cd61 78s ___________________ test_status_field_issue_multi[handler2] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '47dfdd82-3a55-4799-ac54-3f6d261eae9b' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 47dfdd82-3a55-4799-ac54-3f6d261eae9b 78s ___________________ test_status_field_issue_multi[handler3] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'c6ca69b4-e40c-4399-958b-cc3f63e69720' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 46, in test_status_field_issue_multi 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s Message: 'c6ca69b4-e40c-4399-958b-cc3f63e69720' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 c6ca69b4-e40c-4399-958b-cc3f63e69720 78s ___________________ test_status_field_issue_multi[handler4] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'c67ebc2b-3e28-49c8-80c2-e1a7976b0b98' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 46, in test_status_field_issue_multi 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s Message: 'c67ebc2b-3e28-49c8-80c2-e1a7976b0b98' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 c67ebc2b-3e28-49c8-80c2-e1a7976b0b98 78s ___________________ test_status_field_issue_multi[handler5] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '722979a0-8db4-43bd-acb2-d495a72c12dd' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 46, in test_status_field_issue_multi 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s Message: '722979a0-8db4-43bd-acb2-d495a72c12dd' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 722979a0-8db4-43bd-acb2-d495a72c12dd 78s ___________________ test_status_field_issue_multi[handler6] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '6a2f1484-d7b0-42e7-be09-4279ea771413' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ----------------------------- Captured stderr call ----------------------------- 78s --- Logging error --- 78s Traceback (most recent call last): 78s File "/usr/lib/python3.13/logging/handlers.py", line 692, in emit 78s self.send(s) 78s ~~~~~~~~~^^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 634, in send 78s self.createSocket() 78s ~~~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3.13/logging/handlers.py", line 614, in createSocket 78s self.sock = self.makeSocket() 78s ~~~~~~~~~~~~~~~^^ 78s File "/usr/lib/python3/dist-packages/graypy/handler.py", line 709, in makeSocket 78s wrapped_socket = ssl.wrap_socket( 78s ^^^^^^^^^^^^^^^ 78s AttributeError: module 'ssl' has no attribute 'wrap_socket' 78s Call stack: 78s File "", line 198, in _run_module_as_main 78s File "", line 88, in _run_code 78s File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in 78s raise SystemExit(pytest.console_main()) 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main 78s code = main() 78s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main 78s ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main 78s return wrap_session(config, _main) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 78s session.exitstatus = doit(config, session) or 0 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 78s config.hook.pytest_runtestloop(session=session) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 78s item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 78s runtestprotocol(item, nextitem=nextitem) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol 78s reports.append(call_and_report(item, "call", log)) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report 78s call = CallInfo.from_call( 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call 78s result: TResult | None = func() 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in 78s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call 78s item.runtest() 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest 78s self.ihook.pytest_pyfunc_call(pyfuncitem=self) 78s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 78s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 78s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 78s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 78s res = hook_impl.function(*args) 78s File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call 78s result = testfunction(**testargs) 78s File "/tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_status_issue.py", line 46, in test_status_field_issue_multi 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s Message: '6a2f1484-d7b0-42e7-be09-4279ea771413' 78s Arguments: () 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 6a2f1484-d7b0-42e7-be09-4279ea771413 78s ___________________ test_status_field_issue_multi[handler7] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s > logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s 78s tests/integration/test_status_issue.py:46: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ___________________ test_status_field_issue_multi[handler8] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s > logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s 78s tests/integration/test_status_issue.py:46: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s /usr/lib/python3.13/logging/__init__.py:1551: in error 78s self._log(ERROR, msg, args, **kwargs) 78s /usr/lib/python3.13/logging/__init__.py:1667: in _log 78s self.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1686: in handle 78s self.callHandlers(record) 78s /usr/lib/python3.13/logging/__init__.py:1744: in callHandlers 78s hdlr.handle(record) 78s /usr/lib/python3.13/logging/__init__.py:1027: in handle 78s self.emit(record) 78s /usr/lib/python3/dist-packages/graypy/handler.py:771: in emit 78s connection.request("POST", self.path, pickle, self.headers) 78s /usr/lib/python3.13/http/client.py:1338: in request 78s self._send_request(method, url, body, headers, encode_chunked) 78s /usr/lib/python3.13/http/client.py:1384: in _send_request 78s self.endheaders(body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1333: in endheaders 78s self._send_output(message_body, encode_chunked=encode_chunked) 78s /usr/lib/python3.13/http/client.py:1093: in _send_output 78s self.send(msg) 78s /usr/lib/python3.13/http/client.py:1037: in send 78s self.connect() 78s /usr/lib/python3.13/http/client.py:1003: in connect 78s self.sock = self._create_connection( 78s /usr/lib/python3.13/socket.py:864: in create_connection 78s raise exceptions[0] 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s address = ('127.0.0.1', 12203), timeout = 5, source_address = None 78s 78s def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 78s source_address=None, *, all_errors=False): 78s """Connect to *address* and return the socket object. 78s 78s Convenience function. Connect to *address* (a 2-tuple ``(host, 78s port)``) and return the socket object. Passing the optional 78s *timeout* parameter will set the timeout on the socket instance 78s before attempting to connect. If no *timeout* is supplied, the 78s global default timeout setting returned by :func:`getdefaulttimeout` 78s is used. If *source_address* is set it must be a tuple of (host, port) 78s for the socket to bind as a source address before making the connection. 78s A host of '' or port 0 tells the OS to use the default. When a connection 78s cannot be created, raises the last error if *all_errors* is False, 78s and an ExceptionGroup of all errors if *all_errors* is True. 78s """ 78s 78s host, port = address 78s exceptions = [] 78s for res in getaddrinfo(host, port, 0, SOCK_STREAM): 78s af, socktype, proto, canonname, sa = res 78s sock = None 78s try: 78s sock = socket(af, socktype, proto) 78s if timeout is not _GLOBAL_DEFAULT_TIMEOUT: 78s sock.settimeout(timeout) 78s if source_address: 78s sock.bind(source_address) 78s > sock.connect(sa) 78s E ConnectionRefusedError: [Errno 111] Connection refused 78s 78s /usr/lib/python3.13/socket.py:849: ConnectionRefusedError 78s ___________________ test_status_field_issue_multi[handler9] ____________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'f2cf5315-162b-458f-8ff3-5bf1e32d0f44' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 f2cf5315-162b-458f-8ff3-5bf1e32d0f44 78s ___________________ test_status_field_issue_multi[handler10] ___________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = 'ee357028-77f4-45d5-9542-994d52ac4181' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 ee357028-77f4-45d5-9542-994d52ac4181 78s ___________________ test_status_field_issue_multi[handler11] ___________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '3ce8aefb-ed3a-4da8-80bc-731f071a7651' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 3ce8aefb-ed3a-4da8-80bc-731f071a7651 78s ___________________ test_status_field_issue_multi[handler12] ___________________ 78s 78s logger = 78s 78s @pytest.mark.skipif(not LOCAL_GRAYLOG_UP, reason="local Graylog instance not up") 78s def test_status_field_issue_multi(logger): 78s message = get_unique_message() 78s logger.error(message, extra={"foo": "bar", "status": "OK"}) 78s > graylog_response = get_graylog_response(message, fields=["foo", "status"]) 78s 78s tests/integration/test_status_issue.py:47: 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s tests/integration/helper.py:39: in get_graylog_response 78s return _parse_api_response( 78s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 78s 78s api_response = 78s wanted_message = '7ef066f9-d138-42b7-9b24-ef54b534c1dc' 78s 78s def _parse_api_response(api_response, wanted_message): 78s > assert api_response.status_code == 200 78s E AssertionError 78s 78s tests/integration/helper.py:62: AssertionError 78s ------------------------------ Captured log call ------------------------------- 78s ERROR test_logger:test_status_issue.py:46 7ef066f9-d138-42b7-9b24-ef54b534c1dc 78s =============================== warnings summary =============================== 78s tests/helper.py:66 78s /tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/helper.py:66: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. 78s Use @pytest.fixture instead; they are the same. 78s @pytest.yield_fixture 78s 78s tests/helper.py:74 78s /tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/helper.py:74: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. 78s Use @pytest.fixture instead; they are the same. 78s @pytest.yield_fixture 78s 78s tests/integration/test_extra_fields.py:50 78s /tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/integration/test_extra_fields.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. 78s Use @pytest.fixture instead; they are the same. 78s @pytest.yield_fixture 78s 78s tests/unit/test_handler.py:36 78s /tmp/autopkgtest.ejXl5e/autopkgtest_tmp/tests/unit/test_handler.py:36: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. 78s Use @pytest.fixture instead; they are the same. 78s @pytest.yield_fixture 78s 78s tests/unit/test_chunking.py::test_gelf_chunkers_overflow[GELFWarningChunker] 78s /usr/lib/python3/dist-packages/graypy/handler.py:467: GELFChunkOverflowWarning: chunk overflowing GELF message: b'x\x9c\xed\x94\xc1\x0e\x820\x0c\x86\xdf\xa5gb\x98\xa8(\xef\xa0\xf1\xe0}Y\xe6\x06\rc#\xac`\x8c\xf1\xdd\xed\xd0\x18\x9f\xc1\xf0\x9f\xda\xbf\xff\x9a]\xfa=`2C\xc4\xe0\xa1\x02\xb1\xca!\x83&D\xe2F\x8d\x14\xfa\xb6&\xc3]\x06\xb1\t\x03\xc9\xce\xc4\xa8j\x93\xa2\x8b\x16-\xfa{\xf1\xe9\x13\xf2\xd9\x93\xeaz\xa8D\xb99\x88m\xb9\xcf\xc5\xaa\x10\xbbuy\xc8\xc0\x99\xc98\xa8v\x19X\xa5\xd1!\xdd\x99\x0e\t\x1a\xb26\xceJ\xdd\x8c\xbee\xc0\xc8\xc0\x98\xb1.\xdcx\xa1E\xc7\x08\xf1\xa3s\xfc\x1c\xfd\xb7\x96v\xf4\x9af\x14}\x8c\x1e\xafP\xad\xf3\xa2\xe0\x9a\x9a\xc1\xa8\xab\xf4\xaaK\xfc9*\xf4\x97\xd9\x81\x94\x1b\x82f4\xfd\x0e\xcfo+M\xf9\xf3\xba\x95\xe8m\xf8.&\x15\xdb\xd3\x1cN\xc6\xf3\x05\xeaM\x1f\x89' 78s warnings.warn( 78s 78s tests/unit/test_chunking.py::test_gelf_chunkers_overflow[GELFTruncatingChunker] 78s /usr/lib/python3/dist-packages/graypy/handler.py:570: GELFChunkOverflowWarning: truncating GELF chunk overflowing message: b'x\x9c\xed\x94\xc1\x0e\x820\x0c\x86\xdf\xa5gb\x98("\xef\xa0\xf1\xe0}Y\xe6\x06\rc#\xach\x8c\xf1\xdd\xed\xd0\x18\x9f\xc1\xf0\x9f\xda\xbf\xff\x9a]\xfa=\xe0j\xc6\x88\xc1C\rb\x95C\x06m\x88\xc4\x8d\x9a(\x0c]C\x86\xbb\x0cb\x1bF\x92\xbd\x89Q5&E\x17-Z\xf4\xf7\xe2\xd3\'\xe4\xb3\'\xd5\x0fP\x8b\xddf/\xb6\xbb*\x17\xabB\x94UQV\x198s5\x0e\xea2\x03\xab4:\xa4;\xe3!QC6\xc6Y\xa9\xdb\xc9wL\x18\x19\x983\xd6\x85\x1bo\xb4\xe8\x98!~r\x8e\x9f\xa3\xff\xd6\xd2N^\xd3\xcc\xa2\x8f1\xe0\x05\xeau^\x14\\S;\x1au\x91^\xf5\t@\x07\x85\xfe<;\x90rc\xd0\xcc\xa6\xdf\xe1\xe9m\xa5)\xff^w\x12\xbd\r\xdf\xc5\xa4bw\x9c\xc3\xc9x\xbe\x00\xefR\x1f\xc0' 78s warnings.warn( 78s 78s tests/unit/test_chunking.py::test_gelf_chunkers_overflow[GELFTruncatingChunker] 78s /usr/lib/python3/dist-packages/graypy/handler.py:577: GELFTruncationFailureWarning: truncation failed preventing chunk overflowing for GELF message: b'x\x9c\xed\x94\xc1\x0e\x820\x0c\x86\xdf\xa5gb\x98("\xef\xa0\xf1\xe0}Y\xe6\x06\rc#\xach\x8c\xf1\xdd\xed\xd0\x18\x9f\xc1\xf0\x9f\xda\xbf\xff\x9a]\xfa=\xe0j\xc6\x88\xc1C\rb\x95C\x06m\x88\xc4\x8d\x9a(\x0c]C\x86\xbb\x0cb\x1bF\x92\xbd\x89Q5&E\x17-Z\xf4\xf7\xe2\xd3\'\xe4\xb3\'\xd5\x0fP\x8b\xddf/\xb6\xbb*\x17\xabB\x94UQV\x198s5\x0e\xea2\x03\xab4:\xa4;\xe3!QC6\xc6Y\xa9\xdb\xc9wL\x18\x19\x983\xd6\x85\x1bo\xb4\xe8\x98!~r\x8e\x9f\xa3\xff\xd6\xd2N^\xd3\xcc\xa2\x8f1\xe0\x05\xeau^\x14\\S;\x1au\x91^\xf5\t@\x07\x85\xfe<;\x90rc\xd0\xcc\xa6\xdf\xe1\xe9m\xa5)\xff^w\x12\xbd\r\xdf\xc5\xa4bw\x9c\xc3\xc9x\xbe\x00\xefR\x1f\xc0' 78s warnings.warn(w) 78s 78s tests/unit/test_chunking.py::test_chunk_overflow_truncate_fail 78s /usr/lib/python3/dist-packages/graypy/handler.py:570: GELFChunkOverflowWarning: truncating GELF chunk overflowing message: b'x\x9c\xed\x94\xc1j\xc30\x0c\x86\xdfE\xe7P\xe2z]\xdb\xbcC\xcb\x0e\xbb\x1b\xe1\xda\x8d\x88c\x07[\xe9(c\xef>9-e\xcf0\xf2\x9f\xa4_?\x02\x1d\xf4}\xc3\xcd\xe5B)B\x07j\xd3B\x03}*,\r\xce\x9c\xa6\xe1\xcaN\xba\x06J\x9f2\x9b\xd1\x95\x82WW\xa3\xabV\xad\xfa\xf7\x92\xd7g\x92\xb7g\x1c\'\xe8\xd4\xfe\xed\xa8v\xfbC\xab6Z\x1du\xab\x0f\r\x04ws\x01\xba\xf7\x06\xa4/\xc3y\x8e\x16\xd9\x19\x8f\x14d\xaf\xa7 $\x89s\x08\xb2\x84\xe2\xab6^r\xbc\x10\xe9iLt\x81n\xdbj-5\xf7\xd9\xe1\xc5D\x1c+\x86NH\xf1sq\xa0\xe6r\xb2B\xa8\xbf\xc3\x8f\x87U\xa7r\x83\x1d\x0cE\x9f^\x8b\x19\xcbp^\xc2\xd5\xf8\xf9\x05\xf0\\"1' 78s warnings.warn( 78s 78s tests/unit/test_chunking.py::test_chunk_overflow_truncate_fail_large_inherited_field 78s /usr/lib/python3/dist-packages/graypy/handler.py:570: GELFChunkOverflowWarning: truncating GELF chunk overflowing message: b'x\x9c\xed\xcd\xc1\x8e\xda0\x10\x06\xe0WA>G+X\xdaRx\x87V=\xf4\x1e\xb9\xac\x03\x11&A\x89\xa1ZU}\xf7\x9a\xad\x16\xf5\x01z\xfc$\x1ff\xfeo<\xf3+\xdc\xd24\xf7\xe3\x10va\xf5\xb4\x0cM8\x8es\xa9M\xbc\x96\xf1r:\x94T\xbb&\xcc\xc7q*\xed9\xcds<\xa4\xaaS\x8a\xf38\xc4\x1f9-\xde\xc3&\x94\xbe\xd6%\x9e/a\xb7\xda|\xd8\xae>n>/WO\xeb\xd5v\xbb\xde<7!\xa7[\xcaa\xf7\xa9\t]\xdc\xf7\xb9/\xafuQ9\xf6\xf3\xa2\xbe\xb8\xa8+s~]\xe4q8,\xde\x07(\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94\xfe/\rMh\xf3x8\xa4)\xecBIsi\xf7\xc7\xebpj\xc7[\x9a\xba<\xfel\xcbt\x1d\xf6\xb1\xa4\xb6\x8b}\xae\xd3]\x9fS\xd8\r\xd7\x9c\x9b\x90\xfb\xe1Q\xb7]\x9d+\xfd8<\x82K\xff\x12v\xcf\xcb\xf5\xba\xd6\xe5X\x8f\xbf\xb4C<\xd7\x0f\xe1K\xec\x87\xefo\xc9\xfd\xfce\x1a\xf7i\x9e\xff\xc5o\x7f\xa3\xbb\xce%\xeeOm?t\xe3cq\x89\xf3\xe9\xeb\xdb\xf0=\xf8\xfd\x077\xa2\xfd\xfe' 78s warnings.warn( 78s 78s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 78s =========================== short test summary info ============================ 78s FAILED tests/integration/test_chunked_logging.py::test_chunked_logging[BaseGELFChunker] 78s FAILED tests/integration/test_chunked_logging.py::test_chunked_logging[GELFWarningChunker] 78s FAILED tests/integration/test_chunked_logging.py::test_chunked_logging[GELFTruncatingChunker] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler0] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler1] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler2] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler3] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler4] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler5] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler6] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler7] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler8] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler9] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler10] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler11] 78s FAILED tests/integration/test_common_logging.py::test_common_logging[handler12] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler0] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler1] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler2] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler3] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler4] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler5] 78s FAILED tests/integration/test_debugging_fields.py::test_debug_mode[handler6] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler0] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler1] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler2] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler3] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler4] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler5] 78s FAILED tests/integration/test_extra_fields.py::test_dynamic_fields[handler6] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler0] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler1] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler2] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler3] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler4] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler5] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler6] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler7] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler8] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler9] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler10] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler11] 78s FAILED tests/integration/test_status_issue.py::test_non_status_field_log[handler12] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler0] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler1] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler2] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler3] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler4] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler5] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler6] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler7] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler8] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler9] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler10] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler11] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue[handler12] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler0] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler1] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler2] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler3] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler4] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler5] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler6] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler7] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler8] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler9] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler10] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler11] 78s FAILED tests/integration/test_status_issue.py::test_status_field_issue_multi[handler12] 78s ====== 69 failed, 161 passed, 15 skipped, 1 xfailed, 9 warnings in 2.53s ======= 78s autopkgtest [21:08:40]: test python3-pytest: -----------------------] 79s autopkgtest [21:08:41]: test python3-pytest: - - - - - - - - - - results - - - - - - - - - - 79s python3-pytest FAIL non-zero exit status 1 79s autopkgtest [21:08:41]: @@@@@@@@@@@@@@@@@@@@ summary 79s python3-pytest FAIL non-zero exit status 1 84s nova [W] Using flock in prodstack7-s390x 84s Creating nova instance adt-questing-s390x-graypy-20250605-210721-juju-7f2275-prod-proposed-migration-environment-15-53c4f00b-10a2-45f7-bc66-aa4517e2a758 from image adt/ubuntu-questing-s390x-server-20250605.img (UUID d4380d2b-8b01-41e5-a7a5-52ada3daeeb8)... 84s nova [W] Timed out waiting for 9c31a3cf-9a5e-430a-8c18-045267d18df0 to get deleted.