0s autopkgtest [10:25:18]: starting date and time: 2024-11-11 10:25:18+0000 0s autopkgtest [10:25:18]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [10:25:18]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.nn0ynh77/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-13.secgroup --name adt-plucky-ppc64el-pytest-codspeed-20241111-102518-juju-7f2275-prod-proposed-migration-environment-2-eba14151-d506-4ef1-bbfc-a3cc86988860 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -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/ 101s autopkgtest [10:26:59]: testbed dpkg architecture: ppc64el 101s autopkgtest [10:26:59]: testbed apt version: 2.9.8 101s autopkgtest [10:26:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 102s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 103s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [91.3 kB] 103s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 103s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 103s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [913 kB] 103s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [102 kB] 103s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [664 kB] 103s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [19.6 kB] 103s Fetched 1885 kB in 1s (2017 kB/s) 103s Reading package lists... 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Calculating upgrade... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 108s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 108s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 108s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 109s Reading package lists... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s Calculating upgrade... 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [10:27:11]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 113s autopkgtest [10:27:11]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-codspeed 115s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pytest-codspeed 2.2.1-3 (dsc) [2394 B] 115s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pytest-codspeed 2.2.1-3 (tar) [12.8 kB] 115s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pytest-codspeed 2.2.1-3 (diff) [4300 B] 115s gpgv: Signature made Sun Aug 25 20:52:55 2024 UTC 115s gpgv: using RSA key B70DFC6F134FECFC011E62AA83016014251D1DB0 115s gpgv: Can't check signature: No public key 115s dpkg-source: warning: cannot verify inline signature for ./pytest-codspeed_2.2.1-3.dsc: no acceptable signature found 115s autopkgtest [10:27:13]: testing package pytest-codspeed version 2.2.1-3 116s autopkgtest [10:27:14]: build not needed 118s autopkgtest [10:27:16]: test upstream-tests: preparing testbed 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 120s The following additional packages will be installed: 120s python3-all python3-cffi python3-cpuinfo python3-filelock python3-iniconfig 120s python3-packaging python3-pluggy python3-ply python3-pycparser 120s python3-pytest python3-pytest-benchmark python3-pytest-codspeed 120s Suggested packages: 120s python3-dev python-ply-doc cpp 120s Recommended packages: 120s python3-elasticsearch python3-freezegun python3-pygal 120s The following NEW packages will be installed: 120s autopkgtest-satdep python3-all python3-cffi python3-cpuinfo python3-filelock 120s python3-iniconfig python3-packaging python3-pluggy python3-ply 120s python3-pycparser python3-pytest python3-pytest-benchmark 120s python3-pytest-codspeed 120s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 120s Need to get 600 kB/600 kB of archives. 120s After this operation, 3298 kB of additional disk space will be used. 120s Get:1 /tmp/autopkgtest.ItpNtW/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [744 B] 121s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 121s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ply all 3.11-7 [45.4 kB] 121s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pycparser all 2.22-2 [76.5 kB] 121s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-cffi all 1.17.1-1 [74.8 kB] 121s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-cpuinfo all 9.0.0+git20221119-2 [21.6 kB] 121s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-filelock all 3.15.4-1 [12.8 kB] 121s Get:8 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 121s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 121s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 121s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 121s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el python3-pytest-benchmark all 5.1.0-1 [38.8 kB] 121s Get:13 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-codspeed all 2.2.1-3 [9062 B] 121s Fetched 600 kB in 1s (1091 kB/s) 121s Selecting previously unselected package python3-all. 121s (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 ... 73778 files and directories currently installed.) 121s Preparing to unpack .../00-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 121s Unpacking python3-all (3.12.6-0ubuntu1) ... 121s Selecting previously unselected package python3-ply. 121s Preparing to unpack .../01-python3-ply_3.11-7_all.deb ... 121s Unpacking python3-ply (3.11-7) ... 121s Selecting previously unselected package python3-pycparser. 121s Preparing to unpack .../02-python3-pycparser_2.22-2_all.deb ... 121s Unpacking python3-pycparser (2.22-2) ... 121s Selecting previously unselected package python3-cffi. 121s Preparing to unpack .../03-python3-cffi_1.17.1-1_all.deb ... 121s Unpacking python3-cffi (1.17.1-1) ... 121s Selecting previously unselected package python3-cpuinfo. 121s Preparing to unpack .../04-python3-cpuinfo_9.0.0+git20221119-2_all.deb ... 121s Unpacking python3-cpuinfo (9.0.0+git20221119-2) ... 121s Selecting previously unselected package python3-filelock. 121s Preparing to unpack .../05-python3-filelock_3.15.4-1_all.deb ... 121s Unpacking python3-filelock (3.15.4-1) ... 121s Selecting previously unselected package python3-iniconfig. 121s Preparing to unpack .../06-python3-iniconfig_1.1.1-2_all.deb ... 121s Unpacking python3-iniconfig (1.1.1-2) ... 122s Selecting previously unselected package python3-packaging. 122s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 122s Unpacking python3-packaging (24.1-1) ... 122s Selecting previously unselected package python3-pluggy. 122s Preparing to unpack .../08-python3-pluggy_1.5.0-1_all.deb ... 122s Unpacking python3-pluggy (1.5.0-1) ... 122s Selecting previously unselected package python3-pytest. 122s Preparing to unpack .../09-python3-pytest_8.3.3-1_all.deb ... 122s Unpacking python3-pytest (8.3.3-1) ... 122s Selecting previously unselected package python3-pytest-benchmark. 122s Preparing to unpack .../10-python3-pytest-benchmark_5.1.0-1_all.deb ... 122s Unpacking python3-pytest-benchmark (5.1.0-1) ... 122s Selecting previously unselected package python3-pytest-codspeed. 122s Preparing to unpack .../11-python3-pytest-codspeed_2.2.1-3_all.deb ... 122s Unpacking python3-pytest-codspeed (2.2.1-3) ... 122s Selecting previously unselected package autopkgtest-satdep. 122s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 122s Unpacking autopkgtest-satdep (0) ... 122s Setting up python3-iniconfig (1.1.1-2) ... 122s Setting up python3-filelock (3.15.4-1) ... 122s Setting up python3-ply (3.11-7) ... 122s Setting up python3-all (3.12.6-0ubuntu1) ... 122s Setting up python3-pycparser (2.22-2) ... 122s Setting up python3-packaging (24.1-1) ... 122s Setting up python3-cpuinfo (9.0.0+git20221119-2) ... 122s Setting up python3-pluggy (1.5.0-1) ... 123s Setting up python3-pytest (8.3.3-1) ... 123s Setting up python3-cffi (1.17.1-1) ... 123s Setting up python3-pytest-codspeed (2.2.1-3) ... 123s Setting up python3-pytest-benchmark (5.1.0-1) ... 123s Setting up autopkgtest-satdep (0) ... 123s Processing triggers for man-db (2.12.1-3) ... 126s (Reading database ... 74256 files and directories currently installed.) 126s Removing autopkgtest-satdep (0) ... 126s autopkgtest [10:27:24]: test upstream-tests: [----------------------- 127s 127s *************************** 127s *** Testing with python3.12 127s *************************** 127s 127s Content of current working folder: 127s 127s total 12 127s drwxr-xr-x 3 ubuntu ubuntu 4096 Nov 11 10:27 . 127s drwxrwxrwt 5 root root 4096 Nov 11 10:27 .. 127s drwxrwxr-x 4 ubuntu ubuntu 4096 Nov 11 10:27 tests 127s Running tests... 127s 127s ============================= test session starts ============================== 127s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 127s codspeed: 2.2.1 (callgraph: enabled) 127s cachedir: .pytest_cache 127s 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) 127s rootdir: /tmp/autopkgtest.ItpNtW/autopkgtest_tmp 127s plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1 127s collecting ... collected 25 items 127s 129s tests/benchmarks/test_bench_fibo.py::test_iterative_fibo_10 PASSED [ 4%] 130s tests/benchmarks/test_bench_fibo.py::test_recursive_fibo_10 PASSED [ 8%] 131s tests/benchmarks/test_bench_fibo.py::test_recursive_fibo_20 PASSED [ 12%] 131s tests/benchmarks/test_bench_fibo.py::test_recursive_cached_fibo_10 PASSED [ 16%] 132s tests/benchmarks/test_bench_fibo.py::test_recursive_cached_fibo_100 PASSED [ 20%] 133s tests/examples/test_addition_fixture.py::test_some_addition_performance PASSED [ 24%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_without_env FAILED [ 28%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_with_kwargs FAILED [ 32%] 133s tests/test_pytest_plugin.py::test_bench_enabled_header_with_perf SKIPPED [ 36%] 133s tests/test_pytest_plugin.py::test_bench_enabled_header_without_perf SKIPPED [ 40%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_by_env SKIPPED (val...) [ 44%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_and_env SKIPPED (va...) [ 48%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_and_env_bench_run_once SKIPPED [ 52%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_and_env_bench_hierachy_called SKIPPED [ 56%] 133s tests/test_pytest_plugin.py::test_plugin_disabled XFAIL (Expected to...) [ 60%] 133s tests/test_pytest_plugin.py::test_plugin_enabled_nothing_to_benchmark SKIPPED [ 64%] 133s tests/test_pytest_plugin.py::test_plugin_only_benchmark_collection PASSED [ 68%] 135s tests/test_pytest_plugin.py::test_pytest_benchmark_compatibility PASSED [ 72%] 135s tests/test_pytest_plugin.py::test_pytest_benchmark_extra_info FAILED [ 76%] 135s tests/test_pytest_plugin.py::test_pytest_benchmark_return_value FAILED [ 80%] 135s tests/test_pytest_plugin.py::test_perf_maps_generation SKIPPED (valg...) [ 84%] 135s tests/test_pytest_plugin.py::test_pytest_xdist_concurrency_compatibility SKIPPED [ 88%] 135s tests/test_utils.py::test_get_git_relative_path_found PASSED [ 92%] 135s tests/test_utils.py::test_get_git_relative_path_not_found PASSED [ 96%] 135s tests/test_utils.py::test_get_git_relative_uri PASSED [100%] 135s 135s =================================== FAILURES =================================== 135s _______________________ test_plugin_enabled_without_env ________________________ 135s 135s pytester = 135s 135s def test_plugin_enabled_without_env(pytester: pytest.Pytester) -> None: 135s pytester.makepyfile( 135s """ 135s def test_some_addition_performance(benchmark): 135s @benchmark 135s def _(): 135s return 1 + 1 135s """ 135s ) 135s result = pytester.runpytest("--codspeed") 135s > result.stdout.fnmatch_lines( 135s [ 135s ( 135s "*NOTICE: codspeed is enabled, but no " 135s "performance measurement will be made*" 135s ), 135s "*1 benchmark tested*", 135s "*1 passed*", 135s ] 135s ) 135s E Failed: nomatch: '*NOTICE: codspeed is enabled, but no performance measurement will be made*' 135s E and: '============================= test session starts ==============================' 135s E and: 'platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0' 135s E and: 'codspeed: 2.2.1 (callgraph: enabled)' 135s E fnmatch: '*NOTICE: codspeed is enabled, but no performance measurement will be made*' 135s E with: "\x1b[1mNOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment.\x1b[0m" 135s E nomatch: '*1 benchmark tested*' 135s E and: '\x1b[93mCodSpeed had to disable the following plugins: pytest-benchmark\x1b[0m' 135s 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)' 135s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_without_env0' 135s E and: 'plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1' 135s E and: 'collected 1 item' 135s E and: '' 135s E and: 'test_plugin_enabled_without_env.py ' 135s E and: 'INTERNALERROR> Traceback (most recent call last):' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session' 135s E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main' 135s E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 135s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 135s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 135s E and: 'INTERNALERROR> return outcome.get_result()' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 135s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 135s E and: 'INTERNALERROR> result = func()' 135s E and: 'INTERNALERROR> ^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 135s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 135s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop' 135s E and: 'INTERNALERROR> return (yield) # Run all the tests.' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop' 135s E and: 'INTERNALERROR> result = yield' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 135s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop' 135s E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 135s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 135s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 135s E and: 'INTERNALERROR> return outcome.get_result()' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 135s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 135s E and: 'INTERNALERROR> result = func()' 135s E and: 'INTERNALERROR> ^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 135s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 135s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> return (yield)' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> return (yield)' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> res = yield' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> return (yield)' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 135s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> runtestprotocol(item, nextitem=nextitem)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol' 135s E and: 'INTERNALERROR> rep = call_and_report(item, "setup", log)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report' 135s E and: 'INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 135s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 135s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 135s E and: 'INTERNALERROR> return outcome.get_result()' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 135s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 135s E and: 'INTERNALERROR> result = func()' 135s E and: 'INTERNALERROR> ^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 135s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall' 135s E and: 'INTERNALERROR> teardown[0].send(outcome)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport' 135s E and: 'INTERNALERROR> raise TypeError(' 135s 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.' 135s E and: '============================== 0 benchmark tested ==============================' 135s E and: '' 135s E and: '============================== 1 warning in 0.01s ==============================' 135s E remains unmatched: '*1 benchmark tested*' 135s 135s /tmp/autopkgtest.ItpNtW/autopkgtest_tmp/tests/test_pytest_plugin.py:38: Failed 135s ----------------------------- Captured stdout call ----------------------------- 135s ============================= test session starts ============================== 135s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 135s codspeed: 2.2.1 (callgraph: enabled) 135s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 135s CodSpeed had to disable the following plugins: pytest-benchmark 135s 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) 135s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_without_env0 135s plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1 135s collected 1 item 135s 135s test_plugin_enabled_without_env.py 135s INTERNALERROR> Traceback (most recent call last): 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 135s INTERNALERROR> session.exitstatus = doit(config, session) or 0 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 135s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 135s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 135s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 135s INTERNALERROR> return outcome.get_result() 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 135s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 135s INTERNALERROR> result = func() 135s INTERNALERROR> ^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 135s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 135s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 135s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 135s INTERNALERROR> return (yield) # Run all the tests. 135s INTERNALERROR> ^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 135s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 135s INTERNALERROR> result = yield 135s INTERNALERROR> ^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 135s INTERNALERROR> res = hook_impl.function(*args) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 135s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 135s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 135s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 135s INTERNALERROR> return outcome.get_result() 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 135s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 135s INTERNALERROR> result = func() 135s INTERNALERROR> ^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 135s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 135s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 135s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 135s INTERNALERROR> return (yield) 135s INTERNALERROR> ^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 135s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 135s INTERNALERROR> return (yield) 135s INTERNALERROR> ^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 135s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 135s INTERNALERROR> res = yield 135s INTERNALERROR> ^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 135s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 135s INTERNALERROR> return (yield) 135s INTERNALERROR> ^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 135s INTERNALERROR> res = hook_impl.function(*args) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 135s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 135s INTERNALERROR> rep = call_and_report(item, "setup", log) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 135s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 135s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 135s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 135s INTERNALERROR> return outcome.get_result() 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 135s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 135s INTERNALERROR> result = func() 135s INTERNALERROR> ^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 135s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 135s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 135s INTERNALERROR> teardown[0].send(outcome) 135s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 135s INTERNALERROR> raise TypeError( 135s 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. 135s ============================== 0 benchmark tested ============================== 135s 135s ============================== 1 warning in 0.01s ============================== 135s _______________________ test_plugin_enabled_with_kwargs ________________________ 135s 135s pytester = 135s codspeed_env = .ctx_manager at 0x677e5849e660> 135s 135s def test_plugin_enabled_with_kwargs(pytester: pytest.Pytester, codspeed_env) -> None: 135s pytester.makepyfile( 135s """ 135s def test_arg_kwarg_addition(benchmark): 135s def fn(arg, kwarg=None): 135s assert arg + kwarg == 40 135s benchmark(fn, 25, kwarg=15) 135s """ 135s ) 135s result = pytester.runpytest("--codspeed") 135s > result.stdout.fnmatch_lines(["*1 benchmark tested*"]) 135s E Failed: nomatch: '*1 benchmark tested*' 135s E and: '============================= test session starts ==============================' 135s E and: 'platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0' 135s E and: 'codspeed: 2.2.1 (callgraph: enabled)' 135s E and: "\x1b[1mNOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment.\x1b[0m" 135s E and: '\x1b[93mCodSpeed had to disable the following plugins: pytest-benchmark\x1b[0m' 135s 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)' 135s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_with_kwargs0' 135s E and: 'plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1' 135s E and: 'collected 1 item' 135s E and: '' 135s E and: 'test_plugin_enabled_with_kwargs.py ' 135s E and: 'INTERNALERROR> Traceback (most recent call last):' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session' 135s E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main' 135s E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 135s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 135s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 135s E and: 'INTERNALERROR> return outcome.get_result()' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 135s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 135s E and: 'INTERNALERROR> result = func()' 135s E and: 'INTERNALERROR> ^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 135s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 135s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop' 135s E and: 'INTERNALERROR> return (yield) # Run all the tests.' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop' 135s E and: 'INTERNALERROR> result = yield' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 135s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop' 135s E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 135s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 135s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 135s E and: 'INTERNALERROR> return outcome.get_result()' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 135s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 135s E and: 'INTERNALERROR> result = func()' 135s E and: 'INTERNALERROR> ^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 135s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall' 135s E and: 'INTERNALERROR> raise exception.with_traceback(exception.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> return (yield)' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> return (yield)' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> res = yield' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall' 135s E and: 'INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr]' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> return (yield)' 135s E and: 'INTERNALERROR> ^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall' 135s E and: 'INTERNALERROR> res = hook_impl.function(*args)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol' 135s E and: 'INTERNALERROR> runtestprotocol(item, nextitem=nextitem)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol' 135s E and: 'INTERNALERROR> rep = call_and_report(item, "setup", log)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report' 135s E and: 'INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__' 135s E and: 'INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec' 135s E and: 'INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec' 135s E and: 'INTERNALERROR> return outcome.get_result()' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result' 135s E and: 'INTERNALERROR> raise exc.with_traceback(exc.__traceback__)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call' 135s E and: 'INTERNALERROR> result = func()' 135s E and: 'INTERNALERROR> ^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in ' 135s E and: 'INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)' 135s E and: 'INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall' 135s E and: 'INTERNALERROR> teardown[0].send(outcome)' 135s E and: 'INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport' 135s E and: 'INTERNALERROR> raise TypeError(' 135s 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.' 135s E and: '============================== 0 benchmark tested ==============================' 135s E and: '' 135s E and: '============================== 1 warning in 0.01s ==============================' 135s E remains unmatched: '*1 benchmark tested*' 135s 135s /tmp/autopkgtest.ItpNtW/autopkgtest_tmp/tests/test_pytest_plugin.py:60: Failed 135s ----------------------------- Captured stdout call ----------------------------- 136s ============================= test session starts ============================== 136s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 136s codspeed: 2.2.1 (callgraph: enabled) 136s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 136s CodSpeed had to disable the following plugins: pytest-benchmark 136s 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) 136s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_plugin_enabled_with_kwargs0 136s plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1 136s collected 1 item 136s 136s test_plugin_enabled_with_kwargs.py 136s INTERNALERROR> Traceback (most recent call last): 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 136s INTERNALERROR> session.exitstatus = doit(config, session) or 0 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 136s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 136s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 136s INTERNALERROR> return (yield) # Run all the tests. 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 136s INTERNALERROR> result = yield 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 136s INTERNALERROR> res = hook_impl.function(*args) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 136s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 136s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 136s INTERNALERROR> res = yield 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 136s INTERNALERROR> res = hook_impl.function(*args) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 136s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 136s INTERNALERROR> rep = call_and_report(item, "setup", log) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 136s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 136s INTERNALERROR> teardown[0].send(outcome) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 136s INTERNALERROR> raise TypeError( 136s 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. 136s ============================== 0 benchmark tested ============================== 136s 136s ============================== 1 warning in 0.01s ============================== 136s _______________________ test_pytest_benchmark_extra_info _______________________ 136s 136s pytester = 136s 136s def test_pytest_benchmark_extra_info(pytester: pytest.Pytester) -> None: 136s """https://pytest-benchmark.readthedocs.io/en/latest/usage.html#extra-info""" 136s pytester.makepyfile( 136s """ 136s import time 136s 136s def test_my_stuff(benchmark): 136s benchmark.extra_info['foo'] = 'bar' 136s benchmark(time.sleep, 0.02) 136s """ 136s ) 136s result = pytester.runpytest("--codspeed") 136s > assert result.ret == 0, "the run should have succeeded" 136s E AssertionError: the run should have succeeded 136s E assert == 0 136s E + where = .ret 136s 136s /tmp/autopkgtest.ItpNtW/autopkgtest_tmp/tests/test_pytest_plugin.py:266: AssertionError 136s ----------------------------- Captured stdout call ----------------------------- 136s ============================= test session starts ============================== 136s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 136s codspeed: 2.2.1 (callgraph: enabled) 136s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 136s CodSpeed had to disable the following plugins: pytest-benchmark 136s 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) 136s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_pytest_benchmark_extra_info0 136s plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1 136s collected 1 item 136s 136s test_pytest_benchmark_extra_info.py 136s INTERNALERROR> Traceback (most recent call last): 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 136s INTERNALERROR> session.exitstatus = doit(config, session) or 0 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 136s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 136s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 136s INTERNALERROR> return (yield) # Run all the tests. 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 136s INTERNALERROR> result = yield 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 136s INTERNALERROR> res = hook_impl.function(*args) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 136s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 136s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 136s INTERNALERROR> res = yield 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 136s INTERNALERROR> res = hook_impl.function(*args) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 136s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 136s INTERNALERROR> rep = call_and_report(item, "setup", log) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 136s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 136s INTERNALERROR> teardown[0].send(outcome) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 136s INTERNALERROR> raise TypeError( 136s 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. 136s ============================== 0 benchmark tested ============================== 136s 136s ============================== 1 warning in 0.01s ============================== 136s ______________________ test_pytest_benchmark_return_value ______________________ 136s 136s pytester = 136s 136s def test_pytest_benchmark_return_value(pytester: pytest.Pytester) -> None: 136s pytester.makepyfile( 136s """ 136s def calculate_something(): 136s return 1 + 1 136s 136s def test_my_stuff(benchmark): 136s value = benchmark(calculate_something) 136s assert value == 2 136s """ 136s ) 136s result = pytester.runpytest("--codspeed") 136s > assert result.ret == 0, "the run should have succeeded" 136s E AssertionError: the run should have succeeded 136s E assert == 0 136s E + where = .ret 136s 136s /tmp/autopkgtest.ItpNtW/autopkgtest_tmp/tests/test_pytest_plugin.py:281: AssertionError 136s ----------------------------- Captured stdout call ----------------------------- 136s ============================= test session starts ============================== 136s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 136s codspeed: 2.2.1 (callgraph: enabled) 136s NOTICE: codspeed is enabled, but no performance measurement will be made since it's running in an unknown environment. 136s CodSpeed had to disable the following plugins: pytest-benchmark 136s 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) 136s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_pytest_benchmark_return_value0 136s plugins: codspeed-2.2.1, benchmark-5.1.0, typeguard-4.4.1 136s collected 1 item 136s 136s test_pytest_benchmark_return_value.py 136s INTERNALERROR> Traceback (most recent call last): 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session 136s INTERNALERROR> session.exitstatus = doit(config, session) or 0 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main 136s INTERNALERROR> config.hook.pytest_runtestloop(session=session) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 136s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop 136s INTERNALERROR> return (yield) # Run all the tests. 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop 136s INTERNALERROR> result = yield 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 136s INTERNALERROR> res = hook_impl.function(*args) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop 136s INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 136s INTERNALERROR> raise exception.with_traceback(exception.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol 136s INTERNALERROR> res = yield 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall 136s INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol 136s INTERNALERROR> return (yield) 136s INTERNALERROR> ^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 136s INTERNALERROR> res = hook_impl.function(*args) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol 136s INTERNALERROR> runtestprotocol(item, nextitem=nextitem) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol 136s INTERNALERROR> rep = call_and_report(item, "setup", log) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report 136s INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ 136s INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec 136s INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 136s INTERNALERROR> return outcome.get_result() 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 136s INTERNALERROR> raise exc.with_traceback(exc.__traceback__) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 136s INTERNALERROR> result = func() 136s INTERNALERROR> ^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 136s INTERNALERROR> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 136s INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 156, in _multicall 136s INTERNALERROR> teardown[0].send(outcome) 136s INTERNALERROR> File "/usr/lib/python3/dist-packages/pytest_benchmark/plugin.py", line 519, in pytest_runtest_makereport 136s INTERNALERROR> raise TypeError( 136s 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. 136s ============================== 0 benchmark tested ============================== 136s 136s ============================== 1 warning in 0.01s ============================== 136s =============================== warnings summary =============================== 136s ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:831 136s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:831: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: pytest_benchmark 136s self.import_plugin(import_spec) 136s 136s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 136s 136s -------------------------------------------------------------------------------------------------------------- benchmark: 6 tests -------------------------------------------------------------------------------------------------------------- 136s Name (time in ns) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations 136s ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 136s test_some_addition_performance 80.8900 (1.0) 2,872.2600 (1.0) 85.1618 (1.0) 15.4348 (1.0) 84.4800 (1.0) 0.8800 (1.0) 961;4039 11,742,357.8581 (1.0) 115929 100 136s test_iterative_fibo_10 449.1500 (5.55) 6,615.4500 (2.30) 474.1594 (5.57) 53.1470 (3.44) 470.7500 (5.57) 5.4000 (6.14) 648;7227 2,108,995.5511 (0.18) 97752 20 136s test_recursive_cached_fibo_10 3,694.0000 (45.67) 7,544,576.0000 (>1000.0) 4,826.8106 (56.68) 42,548.7918 (>1000.0) 3,932.0000 (46.54) 82.0000 (93.18) 175;1775 207,176.1431 (0.02) 33677 1 136s test_recursive_fibo_10 14,488.0000 (179.11) 387,442.0000 (134.89) 15,258.4096 (179.17) 1,978.4817 (128.18) 15,181.0000 (179.70) 193.0000 (219.32) 919;6211 65,537.6298 (0.01) 57130 1 136s test_recursive_cached_fibo_100 44,344.0000 (548.20) 890,696.0000 (310.10) 49,008.6900 (575.48) 28,654.1086 (>1000.0) 46,052.0000 (545.12) 408.0000 (463.64) 106;1982 20,404.5446 (0.00) 12250 1 136s test_recursive_fibo_20 1,769,742.0000 (>1000.0) 2,228,117.0000 (775.74) 1,839,120.7817 (>1000.0) 35,382.5460 (>1000.0) 1,835,591.0000 (>1000.0) 23,297.5000 (>1000.0) 115;80 543.7381 (0.00) 545 1 136s ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 136s 136s Legend: 136s Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile. 136s OPS: Operations Per Second, computed as 1 / Mean 136s =========================== short test summary info ============================ 136s FAILED tests/test_pytest_plugin.py::test_plugin_enabled_without_env - Failed:... 136s FAILED tests/test_pytest_plugin.py::test_plugin_enabled_with_kwargs - Failed:... 136s FAILED tests/test_pytest_plugin.py::test_pytest_benchmark_extra_info - Assert... 136s FAILED tests/test_pytest_plugin.py::test_pytest_benchmark_return_value - Asse... 136s ======== 4 failed, 11 passed, 9 skipped, 1 xfailed, 1 warning in 8.41s ========= 136s autopkgtest [10:27:34]: test upstream-tests: -----------------------] 136s upstream-tests FAIL non-zero exit status 1 136s autopkgtest [10:27:34]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 137s autopkgtest [10:27:35]: test autodep8-python3: preparing testbed 223s autopkgtest [10:29:01]: testbed dpkg architecture: ppc64el 223s autopkgtest [10:29:01]: testbed apt version: 2.9.8 223s autopkgtest [10:29:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 224s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 224s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 224s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [91.3 kB] 224s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 224s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [913 kB] 224s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [102 kB] 224s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [664 kB] 224s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [19.6 kB] 225s Fetched 1885 kB in 1s (1900 kB/s) 225s Reading package lists... 227s Reading package lists... 227s Building dependency tree... 227s Reading state information... 227s Calculating upgrade... 227s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 227s Reading package lists... 227s Building dependency tree... 227s Reading state information... 228s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 228s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 228s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 228s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 228s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 229s Reading package lists... 229s Reading package lists... 229s Building dependency tree... 229s Reading state information... 230s Calculating upgrade... 230s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 230s Reading package lists... 230s Building dependency tree... 230s Reading state information... 230s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 234s Reading package lists... 234s Building dependency tree... 234s Reading state information... 234s Starting pkgProblemResolver with broken count: 0 234s Starting 2 pkgProblemResolver with broken count: 0 234s Done 234s The following additional packages will be installed: 234s python3-all python3-cffi python3-filelock python3-iniconfig 234s python3-packaging python3-pluggy python3-ply python3-pycparser 234s python3-pytest python3-pytest-codspeed 234s Suggested packages: 234s python3-dev python-ply-doc cpp 234s The following NEW packages will be installed: 234s autopkgtest-satdep python3-all python3-cffi python3-filelock 234s python3-iniconfig python3-packaging python3-pluggy python3-ply 234s python3-pycparser python3-pytest python3-pytest-codspeed 234s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 234s Need to get 539 kB/540 kB of archives. 234s After this operation, 3016 kB of additional disk space will be used. 234s Get:1 /tmp/autopkgtest.ItpNtW/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 235s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 235s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ply all 3.11-7 [45.4 kB] 235s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pycparser all 2.22-2 [76.5 kB] 235s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-cffi all 1.17.1-1 [74.8 kB] 235s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-filelock all 3.15.4-1 [12.8 kB] 235s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 235s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 235s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 235s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 235s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-codspeed all 2.2.1-3 [9062 B] 235s Fetched 539 kB in 1s (984 kB/s) 235s Selecting previously unselected package python3-all. 235s (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 ... 73778 files and directories currently installed.) 235s Preparing to unpack .../00-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 235s Unpacking python3-all (3.12.6-0ubuntu1) ... 235s Selecting previously unselected package python3-ply. 235s Preparing to unpack .../01-python3-ply_3.11-7_all.deb ... 235s Unpacking python3-ply (3.11-7) ... 235s Selecting previously unselected package python3-pycparser. 235s Preparing to unpack .../02-python3-pycparser_2.22-2_all.deb ... 235s Unpacking python3-pycparser (2.22-2) ... 235s Selecting previously unselected package python3-cffi. 235s Preparing to unpack .../03-python3-cffi_1.17.1-1_all.deb ... 235s Unpacking python3-cffi (1.17.1-1) ... 235s Selecting previously unselected package python3-filelock. 235s Preparing to unpack .../04-python3-filelock_3.15.4-1_all.deb ... 235s Unpacking python3-filelock (3.15.4-1) ... 235s Selecting previously unselected package python3-iniconfig. 235s Preparing to unpack .../05-python3-iniconfig_1.1.1-2_all.deb ... 235s Unpacking python3-iniconfig (1.1.1-2) ... 236s Selecting previously unselected package python3-packaging. 236s Preparing to unpack .../06-python3-packaging_24.1-1_all.deb ... 236s Unpacking python3-packaging (24.1-1) ... 236s Selecting previously unselected package python3-pluggy. 236s Preparing to unpack .../07-python3-pluggy_1.5.0-1_all.deb ... 236s Unpacking python3-pluggy (1.5.0-1) ... 236s Selecting previously unselected package python3-pytest. 236s Preparing to unpack .../08-python3-pytest_8.3.3-1_all.deb ... 236s Unpacking python3-pytest (8.3.3-1) ... 236s Selecting previously unselected package python3-pytest-codspeed. 236s Preparing to unpack .../09-python3-pytest-codspeed_2.2.1-3_all.deb ... 236s Unpacking python3-pytest-codspeed (2.2.1-3) ... 236s Selecting previously unselected package autopkgtest-satdep. 236s Preparing to unpack .../10-2-autopkgtest-satdep.deb ... 236s Unpacking autopkgtest-satdep (0) ... 236s Setting up python3-iniconfig (1.1.1-2) ... 236s Setting up python3-filelock (3.15.4-1) ... 236s Setting up python3-ply (3.11-7) ... 236s Setting up python3-all (3.12.6-0ubuntu1) ... 236s Setting up python3-pycparser (2.22-2) ... 236s Setting up python3-packaging (24.1-1) ... 236s Setting up python3-pluggy (1.5.0-1) ... 236s Setting up python3-pytest (8.3.3-1) ... 237s Setting up python3-cffi (1.17.1-1) ... 237s Setting up python3-pytest-codspeed (2.2.1-3) ... 237s Setting up autopkgtest-satdep (0) ... 237s Processing triggers for man-db (2.12.1-3) ... 240s (Reading database ... 74213 files and directories currently installed.) 240s Removing autopkgtest-satdep (0) ... 241s autopkgtest [10:29:19]: 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 241s autopkgtest [10:29:19]: test autodep8-python3: [----------------------- 241s Testing with python3.12: 241s 242s autopkgtest [10:29:20]: test autodep8-python3: -----------------------] 242s autodep8-python3 PASS (superficial) 242s autopkgtest [10:29:20]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 243s autopkgtest [10:29:21]: @@@@@@@@@@@@@@@@@@@@ summary 243s upstream-tests FAIL non-zero exit status 1 243s autodep8-python3 PASS (superficial) 248s virt: nova [W] Using flock in prodstack6-ppc64el 248s virt: Creating nova instance adt-plucky-ppc64el-pytest-codspeed-20241111-102518-juju-7f2275-prod-proposed-migration-environment-2-eba14151-d506-4ef1-bbfc-a3cc86988860 from image adt/ubuntu-plucky-ppc64el-server-20241111.img (UUID bcbc7e51-23de-4a7a-8d84-72e6d3644f6e)... 248s virt: nova [W] Using flock in prodstack6-ppc64el 248s virt: Creating nova instance adt-plucky-ppc64el-pytest-codspeed-20241111-102518-juju-7f2275-prod-proposed-migration-environment-2-eba14151-d506-4ef1-bbfc-a3cc86988860 from image adt/ubuntu-plucky-ppc64el-server-20241111.img (UUID bcbc7e51-23de-4a7a-8d84-72e6d3644f6e)...