0s autopkgtest [10:25:18]: starting date and time: 2024-11-11 10:25:18+0000 0s autopkgtest [10:25:18]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [10:25:18]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3qp9f04d/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-pytest-benchmark --apt-upgrade pytest-codspeed --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-pytest-benchmark/5.1.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-8.secgroup --name adt-plucky-arm64-pytest-codspeed-20241111-102518-juju-7f2275-prod-proposed-migration-environment-20-4f536176-2935-4914-93b7-8050d08e78c3 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 74s autopkgtest [10:26:32]: testbed dpkg architecture: arm64 74s autopkgtest [10:26:32]: testbed apt version: 2.9.8 74s autopkgtest [10:26:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 75s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 75s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 75s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 75s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [913 kB] 76s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [91.3 kB] 76s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [119 kB] 76s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 76s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [666 kB] 76s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 76s Fetched 1953 kB in 1s (2091 kB/s) 76s Reading package lists... 78s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Calculating upgrade... 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 81s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 81s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 81s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 82s Reading package lists... 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 83s Calculating upgrade... 83s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s autopkgtest [10:26:45]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 87s autopkgtest [10:26:45]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-codspeed 89s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pytest-codspeed 2.2.1-3 (dsc) [2394 B] 89s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pytest-codspeed 2.2.1-3 (tar) [12.8 kB] 89s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pytest-codspeed 2.2.1-3 (diff) [4300 B] 89s gpgv: Signature made Sun Aug 25 20:52:55 2024 UTC 89s gpgv: using RSA key B70DFC6F134FECFC011E62AA83016014251D1DB0 89s gpgv: Can't check signature: No public key 89s dpkg-source: warning: cannot verify inline signature for ./pytest-codspeed_2.2.1-3.dsc: no acceptable signature found 89s autopkgtest [10:26:47]: testing package pytest-codspeed version 2.2.1-3 89s autopkgtest [10:26:47]: build not needed 89s autopkgtest [10:26:47]: test upstream-tests: preparing testbed 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s Starting pkgProblemResolver with broken count: 0 92s Starting 2 pkgProblemResolver with broken count: 0 92s Done 92s The following additional packages will be installed: 92s python3-all python3-cffi python3-cpuinfo python3-filelock python3-iniconfig 92s python3-packaging python3-pluggy python3-ply python3-pycparser 92s python3-pytest python3-pytest-benchmark python3-pytest-codspeed 92s Suggested packages: 92s python3-dev python-ply-doc cpp 92s Recommended packages: 92s python3-elasticsearch python3-freezegun python3-pygal 92s The following NEW packages will be installed: 92s autopkgtest-satdep python3-all python3-cffi python3-cpuinfo python3-filelock 92s python3-iniconfig python3-packaging python3-pluggy python3-ply 92s python3-pycparser python3-pytest python3-pytest-benchmark 92s python3-pytest-codspeed 92s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 92s Need to get 600 kB/600 kB of archives. 92s After this operation, 3298 kB of additional disk space will be used. 92s Get:1 /tmp/autopkgtest.BtnIJN/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [744 B] 93s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 93s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-ply all 3.11-7 [45.4 kB] 93s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pycparser all 2.22-2 [76.5 kB] 93s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi all 1.17.1-1 [74.8 kB] 93s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-cpuinfo all 9.0.0+git20221119-2 [21.6 kB] 93s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-filelock all 3.15.4-1 [12.8 kB] 93s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 93s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 93s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 93s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 93s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-pytest-benchmark all 5.1.0-1 [38.8 kB] 93s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-codspeed all 2.2.1-3 [9062 B] 93s Fetched 600 kB in 1s (941 kB/s) 93s Selecting previously unselected package python3-all. 94s (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 ... 79935 files and directories currently installed.) 94s Preparing to unpack .../00-python3-all_3.12.6-0ubuntu1_arm64.deb ... 94s Unpacking python3-all (3.12.6-0ubuntu1) ... 94s Selecting previously unselected package python3-ply. 94s Preparing to unpack .../01-python3-ply_3.11-7_all.deb ... 94s Unpacking python3-ply (3.11-7) ... 94s Selecting previously unselected package python3-pycparser. 94s Preparing to unpack .../02-python3-pycparser_2.22-2_all.deb ... 94s Unpacking python3-pycparser (2.22-2) ... 94s Selecting previously unselected package python3-cffi. 94s Preparing to unpack .../03-python3-cffi_1.17.1-1_all.deb ... 94s Unpacking python3-cffi (1.17.1-1) ... 94s Selecting previously unselected package python3-cpuinfo. 94s Preparing to unpack .../04-python3-cpuinfo_9.0.0+git20221119-2_all.deb ... 94s Unpacking python3-cpuinfo (9.0.0+git20221119-2) ... 94s Selecting previously unselected package python3-filelock. 94s Preparing to unpack .../05-python3-filelock_3.15.4-1_all.deb ... 94s Unpacking python3-filelock (3.15.4-1) ... 94s Selecting previously unselected package python3-iniconfig. 94s Preparing to unpack .../06-python3-iniconfig_1.1.1-2_all.deb ... 94s Unpacking python3-iniconfig (1.1.1-2) ... 94s Selecting previously unselected package python3-packaging. 94s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 94s Unpacking python3-packaging (24.1-1) ... 94s Selecting previously unselected package python3-pluggy. 94s Preparing to unpack .../08-python3-pluggy_1.5.0-1_all.deb ... 94s Unpacking python3-pluggy (1.5.0-1) ... 94s Selecting previously unselected package python3-pytest. 94s Preparing to unpack .../09-python3-pytest_8.3.3-1_all.deb ... 94s Unpacking python3-pytest (8.3.3-1) ... 94s Selecting previously unselected package python3-pytest-benchmark. 94s Preparing to unpack .../10-python3-pytest-benchmark_5.1.0-1_all.deb ... 94s Unpacking python3-pytest-benchmark (5.1.0-1) ... 94s Selecting previously unselected package python3-pytest-codspeed. 94s Preparing to unpack .../11-python3-pytest-codspeed_2.2.1-3_all.deb ... 94s Unpacking python3-pytest-codspeed (2.2.1-3) ... 94s Selecting previously unselected package autopkgtest-satdep. 94s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 94s Unpacking autopkgtest-satdep (0) ... 94s Setting up python3-iniconfig (1.1.1-2) ... 94s Setting up python3-filelock (3.15.4-1) ... 94s Setting up python3-ply (3.11-7) ... 95s Setting up python3-all (3.12.6-0ubuntu1) ... 95s Setting up python3-pycparser (2.22-2) ... 95s Setting up python3-packaging (24.1-1) ... 95s Setting up python3-cpuinfo (9.0.0+git20221119-2) ... 95s Setting up python3-pluggy (1.5.0-1) ... 95s Setting up python3-pytest (8.3.3-1) ... 96s Setting up python3-cffi (1.17.1-1) ... 96s Setting up python3-pytest-codspeed (2.2.1-3) ... 96s Setting up python3-pytest-benchmark (5.1.0-1) ... 96s Setting up autopkgtest-satdep (0) ... 96s Processing triggers for man-db (2.12.1-3) ... 100s (Reading database ... 80413 files and directories currently installed.) 100s Removing autopkgtest-satdep (0) ... 100s autopkgtest [10:26:58]: test upstream-tests: [----------------------- 101s 101s *************************** 101s *** Testing with python3.12 101s *************************** 101s 101s Content of current working folder: 101s 101s total 12 101s drwxr-xr-x 3 ubuntu ubuntu 4096 Nov 11 10:26 . 101s drwxrwxrwt 5 root root 4096 Nov 11 10:26 .. 101s drwxrwxr-x 4 ubuntu ubuntu 4096 Nov 11 10:26 tests 101s Running tests... 101s 101s ============================= test session starts ============================== 101s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 101s codspeed: 2.2.1 (callgraph: enabled) 101s cachedir: .pytest_cache 101s benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) 101s rootdir: /tmp/autopkgtest.BtnIJN/autopkgtest_tmp 101s plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1 101s collecting ... collected 25 items 101s 103s tests/benchmarks/test_bench_fibo.py::test_iterative_fibo_10 PASSED [ 4%] 104s tests/benchmarks/test_bench_fibo.py::test_recursive_fibo_10 PASSED [ 8%] 105s tests/benchmarks/test_bench_fibo.py::test_recursive_fibo_20 PASSED [ 12%] 105s tests/benchmarks/test_bench_fibo.py::test_recursive_cached_fibo_10 PASSED [ 16%] 106s tests/benchmarks/test_bench_fibo.py::test_recursive_cached_fibo_100 PASSED [ 20%] 107s tests/examples/test_addition_fixture.py::test_some_addition_performance PASSED [ 24%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_without_env FAILED [ 28%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_with_kwargs FAILED [ 32%] 107s tests/test_pytest_plugin.py::test_bench_enabled_header_with_perf SKIPPED [ 36%] 107s tests/test_pytest_plugin.py::test_bench_enabled_header_without_perf SKIPPED [ 40%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_by_env SKIPPED (val...) [ 44%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_and_env SKIPPED (va...) [ 48%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_and_env_bench_run_once SKIPPED [ 52%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_and_env_bench_hierachy_called SKIPPED [ 56%] 107s tests/test_pytest_plugin.py::test_plugin_disabled XFAIL (Expected to...) [ 60%] 107s tests/test_pytest_plugin.py::test_plugin_enabled_nothing_to_benchmark SKIPPED [ 64%] 107s tests/test_pytest_plugin.py::test_plugin_only_benchmark_collection PASSED [ 68%] 108s tests/test_pytest_plugin.py::test_pytest_benchmark_compatibility PASSED [ 72%] 108s tests/test_pytest_plugin.py::test_pytest_benchmark_extra_info FAILED [ 76%] 109s tests/test_pytest_plugin.py::test_pytest_benchmark_return_value FAILED [ 80%] 109s tests/test_pytest_plugin.py::test_perf_maps_generation SKIPPED (valg...) [ 84%] 109s tests/test_pytest_plugin.py::test_pytest_xdist_concurrency_compatibility SKIPPED [ 88%] 109s tests/test_utils.py::test_get_git_relative_path_found PASSED [ 92%] 109s tests/test_utils.py::test_get_git_relative_path_not_found PASSED [ 96%] 109s tests/test_utils.py::test_get_git_relative_uri PASSED [100%] 109s 109s =================================== FAILURES =================================== 109s _______________________ test_plugin_enabled_without_env ________________________ 109s 109s pytester = 109s 109s def test_plugin_enabled_without_env(pytester: pytest.Pytester) -> None: 109s pytester.makepyfile( 109s """ 109s def test_some_addition_performance(benchmark): 109s @benchmark 109s def _(): 109s return 1 + 1 109s """ 109s ) 109s result = pytester.runpytest("--codspeed") 109s > result.stdout.fnmatch_lines( 109s [ 109s ( 109s "*NOTICE: codspeed is enabled, but no " 109s "performance measurement will be made*" 109s ), 109s "*1 benchmark tested*", 109s "*1 passed*", 109s ] 109s ) 109s E Failed: nomatch: '*NOTICE: codspeed is enabled, but no performance measurement will be made*' 109s E and: '============================= test session starts ==============================' 109s E and: 'platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0' 109s E and: 'codspeed: 2.2.1 (callgraph: enabled)' 109s E fnmatch: '*NOTICE: codspeed is enabled, but no performance measurement will be made*' 109s E with: "\x1b[1mNOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment.\x1b[0m" 109s E nomatch: '*1 benchmark tested*' 109s E and: '\x1b[93mCodSpeed had to disable the following plugins: pytest-benchmark\x1b[0m' 109s E and: 'benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)' 109s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_without_env0' 109s E and: 'plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1' 109s E and: 'collected 1 item' 109s E and: '' 109s E and: 'test_plugin_enabled_without_env.py ' 109s E and: 'INTERNALERROR> Traceback (most recent call last):' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session' 109s E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main' 109s E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 109s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 109s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 109s E and: 'INTERNALERROR> return outcome.get_result()' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 109s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 109s E and: 'INTERNALERROR> result = func()' 109s E and: 'INTERNALERROR> ^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 109s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 109s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop' 109s E and: 'INTERNALERROR> return (yield) # Run all the tests.' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop' 109s E and: 'INTERNALERROR> result = yield' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 109s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop' 109s E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 109s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 109s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 109s E and: 'INTERNALERROR> return outcome.get_result()' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 109s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 109s E and: 'INTERNALERROR> result = func()' 109s E and: 'INTERNALERROR> ^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 109s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 109s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> return (yield)' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> return (yield)' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> res = yield' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> return (yield)' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 109s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> runtestprotocol(item, nextitem=nextitem)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol' 109s E and: 'INTERNALERROR> rep = call_and_report(item, "setup", log)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report' 109s E and: 'INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 109s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 109s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 109s E and: 'INTERNALERROR> return outcome.get_result()' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 109s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 109s E and: 'INTERNALERROR> result = func()' 109s E and: 'INTERNALERROR> ^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 109s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall' 109s E and: 'INTERNALERROR> teardown[0].send(outcome)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport' 109s E and: 'INTERNALERROR> raise TypeError(' 109s E and: 'INTERNALERROR> TypeError: unexpected type for `benchmark` in funcargs, must be a BenchmarkFixture instance. You should not use other plugins that define a `benchmark` fixture, or return and unexpected value if you do redefine it.' 109s E and: '============================== 0 benchmark tested ==============================' 109s E and: '' 109s E and: '============================== 1 warning in 0.01s ==============================' 109s E remains unmatched: '*1 benchmark tested*' 109s 109s /tmp/autopkgtest.BtnIJN/autopkgtest_tmp/tests/test_pytest_plugin.py:38: Failed 109s ----------------------------- Captured stdout call ----------------------------- 109s ============================= test session starts ============================== 109s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 109s codspeed: 2.2.1 (callgraph: enabled) 109s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 109s CodSpeed had to disable the following plugins: pytest-benchmark 109s benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) 109s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_without_env0 109s plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1 109s collected 1 item 109s 109s test_plugin_enabled_without_env.py 109s INTERNALERROR> Traceback (most recent call last): 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 109s INTERNALERROR> session.exitstatus = doit(config, session) or 0 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 109s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 109s INTERNALERROR> return (yield) # Run all the tests. 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 109s INTERNALERROR> result = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 109s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 109s INTERNALERROR> res = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 109s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 109s INTERNALERROR> rep = call_and_report(item, "setup", log) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 109s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 109s INTERNALERROR> teardown[0].send(outcome) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 109s INTERNALERROR> raise TypeError( 109s INTERNALERROR> TypeError: unexpected type for `benchmark` in funcargs, must be a BenchmarkFixture instance. You should not use other plugins that define a `benchmark` fixture, or return and unexpected value if you do redefine it. 109s ============================== 0 benchmark tested ============================== 109s 109s ============================== 1 warning in 0.01s ============================== 109s _______________________ test_plugin_enabled_with_kwargs ________________________ 109s 109s pytester = 109s codspeed_env = .ctx_manager at 0xf6bf78745800> 109s 109s def test_plugin_enabled_with_kwargs(pytester: pytest.Pytester, codspeed_env) -> None: 109s pytester.makepyfile( 109s """ 109s def test_arg_kwarg_addition(benchmark): 109s def fn(arg, kwarg=None): 109s assert arg + kwarg == 40 109s benchmark(fn, 25, kwarg=15) 109s """ 109s ) 109s result = pytester.runpytest("--codspeed") 109s > result.stdout.fnmatch_lines(["*1 benchmark tested*"]) 109s E Failed: nomatch: '*1 benchmark tested*' 109s E and: '============================= test session starts ==============================' 109s E and: 'platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0' 109s E and: 'codspeed: 2.2.1 (callgraph: enabled)' 109s E and: "\x1b[1mNOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment.\x1b[0m" 109s E and: '\x1b[93mCodSpeed had to disable the following plugins: pytest-benchmark\x1b[0m' 109s E and: 'benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)' 109s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_with_kwargs0' 109s E and: 'plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1' 109s E and: 'collected 1 item' 109s E and: '' 109s E and: 'test_plugin_enabled_with_kwargs.py ' 109s E and: 'INTERNALERROR> Traceback (most recent call last):' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session' 109s E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main' 109s E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 109s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 109s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 109s E and: 'INTERNALERROR> return outcome.get_result()' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 109s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 109s E and: 'INTERNALERROR> result = func()' 109s E and: 'INTERNALERROR> ^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 109s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 109s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop' 109s E and: 'INTERNALERROR> return (yield) # Run all the tests.' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop' 109s E and: 'INTERNALERROR> result = yield' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 109s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop' 109s E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 109s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 109s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 109s E and: 'INTERNALERROR> return outcome.get_result()' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 109s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 109s E and: 'INTERNALERROR> result = func()' 109s E and: 'INTERNALERROR> ^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 109s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 109s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> return (yield)' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> return (yield)' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> res = yield' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 109s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> return (yield)' 109s E and: 'INTERNALERROR> ^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 109s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol' 109s E and: 'INTERNALERROR> runtestprotocol(item, nextitem=nextitem)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol' 109s E and: 'INTERNALERROR> rep = call_and_report(item, "setup", log)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report' 109s E and: 'INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 109s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 109s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 109s E and: 'INTERNALERROR> return outcome.get_result()' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 109s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 109s E and: 'INTERNALERROR> result = func()' 109s E and: 'INTERNALERROR> ^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 109s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 109s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall' 109s E and: 'INTERNALERROR> teardown[0].send(outcome)' 109s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport' 109s E and: 'INTERNALERROR> raise TypeError(' 109s E and: 'INTERNALERROR> TypeError: unexpected type for `benchmark` in funcargs, must be a BenchmarkFixture instance. You should not use other plugins that define a `benchmark` fixture, or return and unexpected value if you do redefine it.' 109s E and: '============================== 0 benchmark tested ==============================' 109s E and: '' 109s E and: '============================== 1 warning in 0.01s ==============================' 109s E remains unmatched: '*1 benchmark tested*' 109s 109s /tmp/autopkgtest.BtnIJN/autopkgtest_tmp/tests/test_pytest_plugin.py:60: Failed 109s ----------------------------- Captured stdout call ----------------------------- 109s ============================= test session starts ============================== 109s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 109s codspeed: 2.2.1 (callgraph: enabled) 109s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 109s CodSpeed had to disable the following plugins: pytest-benchmark 109s benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) 109s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_with_kwargs0 109s plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1 109s collected 1 item 109s 109s test_plugin_enabled_with_kwargs.py 109s INTERNALERROR> Traceback (most recent call last): 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 109s INTERNALERROR> session.exitstatus = doit(config, session) or 0 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 109s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 109s INTERNALERROR> return (yield) # Run all the tests. 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 109s INTERNALERROR> result = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 109s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 109s INTERNALERROR> res = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 109s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 109s INTERNALERROR> rep = call_and_report(item, "setup", log) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 109s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 109s INTERNALERROR> teardown[0].send(outcome) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 109s INTERNALERROR> raise TypeError( 109s INTERNALERROR> TypeError: unexpected type for `benchmark` in funcargs, must be a BenchmarkFixture instance. You should not use other plugins that define a `benchmark` fixture, or return and unexpected value if you do redefine it. 109s ============================== 0 benchmark tested ============================== 109s 109s ============================== 1 warning in 0.01s ============================== 109s _______________________ test_pytest_benchmark_extra_info _______________________ 109s 109s pytester = 109s 109s def test_pytest_benchmark_extra_info(pytester: pytest.Pytester) -> None: 109s """https://pytest-benchmark.readthedocs.io/en/latest/usage.html#extra-info""" 109s pytester.makepyfile( 109s """ 109s import time 109s 109s def test_my_stuff(benchmark): 109s benchmark.extra_info['foo'] = 'bar' 109s benchmark(time.sleep, 0.02) 109s """ 109s ) 109s result = pytester.runpytest("--codspeed") 109s > assert result.ret == 0, "the run should have succeeded" 109s E AssertionError: the run should have succeeded 109s E assert == 0 109s E + where = .ret 109s 109s /tmp/autopkgtest.BtnIJN/autopkgtest_tmp/tests/test_pytest_plugin.py:266: AssertionError 109s ----------------------------- Captured stdout call ----------------------------- 109s ============================= test session starts ============================== 109s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 109s codspeed: 2.2.1 (callgraph: enabled) 109s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 109s CodSpeed had to disable the following plugins: pytest-benchmark 109s benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) 109s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_pytest_benchmark_extra_info0 109s plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1 109s collected 1 item 109s 109s test_pytest_benchmark_extra_info.py 109s INTERNALERROR> Traceback (most recent call last): 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 109s INTERNALERROR> session.exitstatus = doit(config, session) or 0 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 109s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 109s INTERNALERROR> return (yield) # Run all the tests. 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 109s INTERNALERROR> result = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 109s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 109s INTERNALERROR> res = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 109s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 109s INTERNALERROR> rep = call_and_report(item, "setup", log) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 109s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 109s INTERNALERROR> teardown[0].send(outcome) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 109s INTERNALERROR> raise TypeError( 109s INTERNALERROR> TypeError: unexpected type for `benchmark` in funcargs, must be a BenchmarkFixture instance. You should not use other plugins that define a `benchmark` fixture, or return and unexpected value if you do redefine it. 109s ============================== 0 benchmark tested ============================== 109s 109s ============================== 1 warning in 0.01s ============================== 109s ______________________ test_pytest_benchmark_return_value ______________________ 109s 109s pytester = 109s 109s def test_pytest_benchmark_return_value(pytester: pytest.Pytester) -> None: 109s pytester.makepyfile( 109s """ 109s def calculate_something(): 109s return 1 + 1 109s 109s def test_my_stuff(benchmark): 109s value = benchmark(calculate_something) 109s assert value == 2 109s """ 109s ) 109s result = pytester.runpytest("--codspeed") 109s > assert result.ret == 0, "the run should have succeeded" 109s E AssertionError: the run should have succeeded 109s E assert == 0 109s E + where = .ret 109s 109s /tmp/autopkgtest.BtnIJN/autopkgtest_tmp/tests/test_pytest_plugin.py:281: AssertionError 109s ----------------------------- Captured stdout call ----------------------------- 109s ============================= test session starts ============================== 109s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 109s codspeed: 2.2.1 (callgraph: enabled) 109s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 109s CodSpeed had to disable the following plugins: pytest-benchmark 109s benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) 109s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_pytest_benchmark_return_value0 109s plugins: typeguard-4.4.1, benchmark-5.1.0, codspeed-2.2.1 109s collected 1 item 109s 109s test_pytest_benchmark_return_value.py 109s INTERNALERROR> Traceback (most recent call last): 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 109s INTERNALERROR> session.exitstatus = doit(config, session) or 0 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 109s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 109s INTERNALERROR> return (yield) # Run all the tests. 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 109s INTERNALERROR> result = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 109s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 109s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 109s INTERNALERROR> res = yield 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 109s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 109s INTERNALERROR> return (yield) 109s INTERNALERROR> ^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 109s INTERNALERROR> res = hook_impl.function(*args) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 109s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 109s INTERNALERROR> rep = call_and_report(item, "setup", log) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 109s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 109s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 109s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 109s INTERNALERROR> return outcome.get_result() 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 109s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 109s INTERNALERROR> result = func() 109s INTERNALERROR> ^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 109s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 109s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 109s INTERNALERROR> teardown[0].send(outcome) 109s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 109s INTERNALERROR> raise TypeError( 109s INTERNALERROR> TypeError: unexpected type for `benchmark` in funcargs, must be a BenchmarkFixture instance. You should not use other plugins that define a `benchmark` fixture, or return and unexpected value if you do redefine it. 109s ============================== 0 benchmark tested ============================== 109s 109s ============================== 1 warning in 0.01s ============================== 109s =============================== warnings summary =============================== 109s ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:831 109s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:831: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: pytest_benchmark 109s self.import_plugin(import_spec) 109s 109s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 109s 109s --------------------------------------------------------------------------------------------------------------- benchmark: 6 tests --------------------------------------------------------------------------------------------------------------- 109s Name (time in ns) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations 109s -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 109s test_some_addition_performance 73.1800 (1.0) 2,908.1300 (1.0) 77.7530 (1.0) 26.1423 (1.0) 75.5900 (1.0) 1.1900 (1.0) 1929;5647 12,861,237.7431 (1.0) 124394 100 109s test_iterative_fibo_10 393.8500 (5.38) 12,566.4000 (4.32) 410.2542 (5.28) 124.3402 (4.76) 399.9000 (5.29) 4.0000 (3.36) 2046;7360 2,437,513.0823 (0.19) 115781 20 109s test_recursive_cached_fibo_10 2,399.0000 (32.78) 19,625,446.0000 (>1000.0) 3,746.7624 (48.19) 102,167.3177 (>1000.0) 2,479.0000 (32.80) 41.0000 (34.45) 41;5760 266,897.0955 (0.02) 37604 1 109s test_recursive_fibo_10 11,677.0000 (159.57) 143,763.0000 (49.43) 12,061.1811 (155.12) 2,098.0187 (80.25) 11,797.0000 (156.07) 40.0000 (33.61) 1808;12658 82,910.6196 (0.01) 66508 1 109s test_recursive_cached_fibo_100 34,991.0000 (478.15) 959,767.0000 (330.03) 46,488.7777 (597.90) 44,876.3591 (>1000.0) 39,030.0000 (516.34) 2,559.0000 (>1000.0) 268;1312 21,510.5677 (0.00) 10682 1 109s test_recursive_fibo_20 1,444,170.0000 (>1000.0) 1,904,259.0000 (654.81) 1,471,612.3379 (>1000.0) 35,875.0750 (>1000.0) 1,465,015.5000 (>1000.0) 20,094.0000 (>1000.0) 30;30 679.5268 (0.00) 654 1 109s -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 109s 109s Legend: 109s Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile. 109s OPS: Operations Per Second, computed as 1 / Mean 109s =========================== short test summary info ============================ 109s FAILED tests/test_pytest_plugin.py::test_plugin_enabled_without_env - Failed:... 109s FAILED tests/test_pytest_plugin.py::test_plugin_enabled_with_kwargs - Failed:... 109s FAILED tests/test_pytest_plugin.py::test_pytest_benchmark_extra_info - Assert... 109s FAILED tests/test_pytest_plugin.py::test_pytest_benchmark_return_value - Asse... 109s ======== 4 failed, 11 passed, 9 skipped, 1 xfailed, 1 warning in 7.96s ========= 109s autopkgtest [10:27:07]: test upstream-tests: -----------------------] 110s autopkgtest [10:27:08]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 110s upstream-tests FAIL non-zero exit status 1 110s autopkgtest [10:27:08]: test autodep8-python3: preparing testbed 185s autopkgtest [10:28:23]: testbed dpkg architecture: arm64 185s autopkgtest [10:28:23]: testbed apt version: 2.9.8 185s autopkgtest [10:28:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 186s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 186s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [913 kB] 186s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 186s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [91.3 kB] 186s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 186s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [119 kB] 186s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 186s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [666 kB] 186s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 186s Fetched 1953 kB in 1s (2435 kB/s) 186s Reading package lists... 189s Reading package lists... 190s Building dependency tree... 190s Reading state information... 191s Calculating upgrade... 191s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 191s Reading package lists... 192s Building dependency tree... 192s Reading state information... 193s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 193s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 193s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 193s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 193s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 195s Reading package lists... 195s Reading package lists... 196s Building dependency tree... 196s Reading state information... 196s Calculating upgrade... 197s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 197s Reading package lists... 197s Building dependency tree... 197s Reading state information... 198s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 202s Reading package lists... 202s Building dependency tree... 202s Reading state information... 203s Starting pkgProblemResolver with broken count: 0 203s Starting 2 pkgProblemResolver with broken count: 0 203s Done 204s The following additional packages will be installed: 204s python3-all python3-cffi python3-filelock python3-iniconfig 204s python3-packaging python3-pluggy python3-ply python3-pycparser 204s python3-pytest python3-pytest-codspeed 204s Suggested packages: 204s python3-dev python-ply-doc cpp 204s The following NEW packages will be installed: 204s autopkgtest-satdep python3-all python3-cffi python3-filelock 204s python3-iniconfig python3-packaging python3-pluggy python3-ply 204s python3-pycparser python3-pytest python3-pytest-codspeed 204s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 204s Need to get 539 kB/540 kB of archives. 204s After this operation, 3016 kB of additional disk space will be used. 204s Get:1 /tmp/autopkgtest.BtnIJN/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [724 B] 204s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 205s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-ply all 3.11-7 [45.4 kB] 205s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pycparser all 2.22-2 [76.5 kB] 205s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi all 1.17.1-1 [74.8 kB] 205s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-filelock all 3.15.4-1 [12.8 kB] 205s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 205s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 205s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 205s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 205s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-codspeed all 2.2.1-3 [9062 B] 205s Fetched 539 kB in 1s (601 kB/s) 205s Selecting previously unselected package python3-all. 206s (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 ... 79935 files and directories currently installed.) 206s Preparing to unpack .../00-python3-all_3.12.6-0ubuntu1_arm64.deb ... 206s Unpacking python3-all (3.12.6-0ubuntu1) ... 206s Selecting previously unselected package python3-ply. 206s Preparing to unpack .../01-python3-ply_3.11-7_all.deb ... 206s Unpacking python3-ply (3.11-7) ... 206s Selecting previously unselected package python3-pycparser. 206s Preparing to unpack .../02-python3-pycparser_2.22-2_all.deb ... 206s Unpacking python3-pycparser (2.22-2) ... 206s Selecting previously unselected package python3-cffi. 206s Preparing to unpack .../03-python3-cffi_1.17.1-1_all.deb ... 206s Unpacking python3-cffi (1.17.1-1) ... 206s Selecting previously unselected package python3-filelock. 206s Preparing to unpack .../04-python3-filelock_3.15.4-1_all.deb ... 206s Unpacking python3-filelock (3.15.4-1) ... 206s Selecting previously unselected package python3-iniconfig. 206s Preparing to unpack .../05-python3-iniconfig_1.1.1-2_all.deb ... 206s Unpacking python3-iniconfig (1.1.1-2) ... 206s Selecting previously unselected package python3-packaging. 206s Preparing to unpack .../06-python3-packaging_24.1-1_all.deb ... 206s Unpacking python3-packaging (24.1-1) ... 206s Selecting previously unselected package python3-pluggy. 206s Preparing to unpack .../07-python3-pluggy_1.5.0-1_all.deb ... 206s Unpacking python3-pluggy (1.5.0-1) ... 206s Selecting previously unselected package python3-pytest. 206s Preparing to unpack .../08-python3-pytest_8.3.3-1_all.deb ... 206s Unpacking python3-pytest (8.3.3-1) ... 206s Selecting previously unselected package python3-pytest-codspeed. 206s Preparing to unpack .../09-python3-pytest-codspeed_2.2.1-3_all.deb ... 206s Unpacking python3-pytest-codspeed (2.2.1-3) ... 206s Selecting previously unselected package autopkgtest-satdep. 206s Preparing to unpack .../10-2-autopkgtest-satdep.deb ... 206s Unpacking autopkgtest-satdep (0) ... 206s Setting up python3-iniconfig (1.1.1-2) ... 206s Setting up python3-filelock (3.15.4-1) ... 206s Setting up python3-ply (3.11-7) ... 206s Setting up python3-all (3.12.6-0ubuntu1) ... 206s Setting up python3-pycparser (2.22-2) ... 207s Setting up python3-packaging (24.1-1) ... 207s Setting up python3-pluggy (1.5.0-1) ... 207s Setting up python3-pytest (8.3.3-1) ... 207s Setting up python3-cffi (1.17.1-1) ... 207s Setting up python3-pytest-codspeed (2.2.1-3) ... 208s Setting up autopkgtest-satdep (0) ... 208s Processing triggers for man-db (2.12.1-3) ... 211s (Reading database ... 80370 files and directories currently installed.) 211s Removing autopkgtest-satdep (0) ... 213s autopkgtest [10:28:51]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import pytest_codspeed; print(pytest_codspeed)" ; done 213s autopkgtest [10:28:51]: test autodep8-python3: [----------------------- 213s Testing with python3.12: 213s 214s autopkgtest [10:28:52]: test autodep8-python3: -----------------------] 214s autopkgtest [10:28:52]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 214s autodep8-python3 PASS (superficial) 214s autopkgtest [10:28:52]: @@@@@@@@@@@@@@@@@@@@ summary 214s upstream-tests FAIL non-zero exit status 1 214s autodep8-python3 PASS (superficial) 226s nova [W] Skipping flock in bos03-arm64 226s Creating nova instance adt-plucky-arm64-pytest-codspeed-20241111-102518-juju-7f2275-prod-proposed-migration-environment-20-4f536176-2935-4914-93b7-8050d08e78c3 from image adt/ubuntu-plucky-arm64-server-20241111.img (UUID a4bb607b-72ac-41a5-8b1b-b8e4bb46e2d7)... 226s nova [W] Skipping flock in bos03-arm64 226s Creating nova instance adt-plucky-arm64-pytest-codspeed-20241111-102518-juju-7f2275-prod-proposed-migration-environment-20-4f536176-2935-4914-93b7-8050d08e78c3 from image adt/ubuntu-plucky-arm64-server-20241111.img (UUID a4bb607b-72ac-41a5-8b1b-b8e4bb46e2d7)...