file /var/tmp/portage/dev-python/nbclassic-0.3.5/work/nbclassic-0.3.5/nbclassic/tests/shim/test_nbclassic.py, line 17 @pytest.fixture def nbclassic(jp_serverapp): file /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line 300 @pytest.fixture(scope="function") def jp_serverapp(jp_ensure_app_fixture, jp_server_config, jp_argv, jp_configurable_serverapp): file /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line 200 @pytest.fixture(scope="function") def jp_configurable_serverapp( file /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line 158 @pytest.fixture def jp_http_port(http_server_port): E fixture 'http_server_port' not found > available fixtures: _unused_port, anyio_backend, anyio_backend_name, anyio_backend_options, base_url, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, class_mocker, data_regression, datadir, dataframe_regression, doctest_namespace, event_loop, file_regression, git_repo, http_client, http_port, http_server, https_client, https_port, https_server, image_regression, io_loop, jp_argv, jp_auth_header, jp_base_url, jp_cleanup_subprocesses, jp_config_dir, jp_configurable_serverapp, jp_contents_manager, jp_create_notebook, jp_data_dir, jp_ensure_app_fixture, jp_env_config_path, jp_env_jupyter_path, jp_environ, jp_extension_environ, jp_fetch, jp_home_dir, jp_http_port, jp_kernelspecs, jp_large_contents_manager, jp_logging_stream, jp_nbconvert_templates, jp_root_dir, jp_runtime_dir, jp_server_cleanup, jp_server_config, jp_serverapp, jp_system_config_path, jp_system_jupyter_path, jp_template_dir, jp_web_app, jp_ws_fetch, make_git_repo, make_repo, mocker, module_mocker, monkeypatch, nbapp_log, nbclassic, ndarrays_regression, notebookapp_logcapture, num_regression, original_datadir, package_mocker, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, repo, script_cwd, script_launch_mode, script_runner, session_mocker, shared_datadir, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, virtualenv, worker_id, workspace > use 'pytest --fixtures [testpath]' for help on them. /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py:158 ___________________________________________________________________ ERROR at setup of test_nbclassic_traits_pass_shim[jp_argv2-mathjax_url-TEST] ____________________________________________________________________ file /var/tmp/portage/dev-python/nbclassic-0.3.5/work/nbclassic-0.3.5/nbclassic/tests/shim/test_nbclassic.py, line 83 @pytest.mark.parametrize( 'jp_argv,trait_name,trait_value', list_test_params([ #('ignore_minified_js', True), ('enable_mathjax', False), ('mathjax_config', 'TEST'), ('mathjax_url', 'TEST') ]) ) def test_nbclassic_traits_pass_shim( file /var/tmp/portage/dev-python/nbclassic-0.3.5/work/nbclassic-0.3.5/nbclassic/tests/shim/test_nbclassic.py, line 17 @pytest.fixture def nbclassic(jp_serverapp): file /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line 300 @pytest.fixture(scope="function") def jp_serverapp(jp_ensure_app_fixture, jp_server_config, jp_argv, jp_configurable_serverapp): file /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line 200 @pytest.fixture(scope="function") def jp_configurable_serverapp( file /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line 158 @pytest.fixture def jp_http_port(http_server_port): E fixture 'http_server_port' not found > available fixtures: _unused_port, anyio_backend, anyio_backend_name, anyio_backend_options, base_url, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, class_mocker, data_regression, datadir, dataframe_regression, doctest_namespace, event_loop, file_regression, git_repo, http_client, http_port, http_server, https_client, https_port, https_server, image_regression, io_loop, jp_argv, jp_auth_header, jp_base_url, jp_cleanup_subprocesses, jp_config_dir, jp_configurable_serverapp, jp_contents_manager, jp_create_notebook, jp_data_dir, jp_ensure_app_fixture, jp_env_config_path, jp_env_jupyter_path, jp_environ, jp_extension_environ, jp_fetch, jp_home_dir, jp_http_port, jp_kernelspecs, jp_large_contents_manager, jp_logging_stream, jp_nbconvert_templates, jp_root_dir, jp_runtime_dir, jp_server_cleanup, jp_server_config, jp_serverapp, jp_system_config_path, jp_system_jupyter_path, jp_template_dir, jp_web_app, jp_ws_fetch, make_git_repo, make_repo, mocker, module_mocker, monkeypatch, nbapp_log, nbclassic, ndarrays_regression, notebookapp_logcapture, num_regression, original_datadir, package_mocker, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, repo, script_cwd, script_launch_mode, script_runner, session_mocker, shared_datadir, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, virtualenv, worker_id, workspace > use 'pytest --fixtures [testpath]' for help on them. /usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py:158 ================================================================================================= warnings summary ================================================================================================== ../../../../../../../usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191 /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file. config.issue_config_time_warning(LEGACY_MODE, stacklevel=2) nbclassic/tests/test_nbserver.py::test_classic_notebook_templates /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:317: DeprecationWarning: '@pytest.fixture' is applied to <fixture monkeypatch, file=/usr/lib/python3.9/site-packages/_pytest/monkeypatch.py, line=29> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven). warnings.warn( nbclassic/tests/test_nbserver.py::test_classic_notebook_templates /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:317: DeprecationWarning: '@pytest.fixture' is applied to <fixture jp_server_cleanup, file=/usr/lib/python3.9/site-packages/jupyter_server/pytest_plugin.py, line=466> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven). warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html ============================================================================================== short test summary info ============================================================================================== ERROR nbclassic/tests/test_nbserver.py::test_classic_notebook_templates ERROR nbclassic/tests/test_nbserver.py::test_classic_notebook_asset_URLS ERROR nbclassic/tests/test_notebookapp.py::test_tree_handler ERROR nbclassic/tests/test_notebookapp.py::test_notebook_handler ERROR nbclassic/tests/test_notebookapp.py::test_terminal_handler ERROR nbclassic/tests/shim/test_extension.py::test_EXTAPP_AND_NBAPP_SHIM_MSG[jp_argv0-enable_mathjax-False] ERROR nbclassic/tests/shim/test_extension.py::test_EXTAPP_AND_SVAPP_SHIM_MSG[jp_argv0-allow_origin-] ERROR nbclassic/tests/shim/test_extension.py::test_EXTAPP_AND_SVAPP_SHIM_MSG[jp_argv1-allow_origin_pat-] ERROR nbclassic/tests/shim/test_extension.py::test_NOT_EXTAPP_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv0-jinja_environment_options-trait_value0] ERROR nbclassic/tests/shim/test_extension.py::test_NOT_EXTAPP_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv1-jinja_template_vars-trait_value1] ERROR nbclassic/tests/shim/test_extension.py::test_NOT_EXTAPP_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv2-extra_template_paths-trait_value2] ERROR nbclassic/tests/shim/test_extension.py::test_NOT_EXTAPP_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv3-quit_button-True] ERROR nbclassic/tests/shim/test_extension.py::test_EXTAPP_TO_SVAPP_SHIM_MSG[jp_argv0-allow_credentials-False] ERROR nbclassic/tests/shim/test_extension.py::test_EXTAPP_TO_NBAPP_SHIM_MSG[jp_argv0-mathjax_config-TEST] ERROR nbclassic/tests/shim/test_extension.py::test_EXTAPP_TO_NBAPP_SHIM_MSG[jp_argv1-mathjax_url-TEST] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv0-jinja_environment_options-trait_value0] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv1-jinja_template_vars-trait_value1] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv2-extra_template_paths-trait_value2] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv3-quit_button-True] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_TO_SVAPP_SHIM_MSG[jp_argv0-allow_origin-] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_TO_SVAPP_SHIM_MSG[jp_argv1-allow_origin_pat-] ERROR nbclassic/tests/shim/test_nbclassic.py::test_NBAPP_TO_SVAPP_SHIM_MSG[jp_argv2-allow_credentials-False] ERROR nbclassic/tests/shim/test_nbclassic.py::test_nbclassic_traits_pass_shim[jp_argv0-enable_mathjax-False] ERROR nbclassic/tests/shim/test_nbclassic.py::test_nbclassic_traits_pass_shim[jp_argv1-mathjax_config-TEST] ERROR nbclassic/tests/shim/test_nbclassic.py::test_nbclassic_traits_pass_shim[jp_argv2-mathjax_url-TEST] ========================================================================================== 3 warnings, 25 errors in 1.28s =========================================================================================== * ERROR: dev-python/nbclassic-0.3.5::gentoo failed (test phase): * pytest failed with python3.9 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 3089: Called distutils-r1_src_test * environment, line 1415: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 534: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2756: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2305: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2303: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 867: Called distutils-r1_run_phase 'python_test' * environment, line 1342: Called python_test * environment, line 3056: Called distutils-r1_python_test * environment, line 1294: Called epytest * environment, line 1816: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-python/nbclassic-0.3.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/nbclassic-0.3.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/nbclassic-0.3.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/nbclassic-0.3.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/nbclassic-0.3.5/work/nbclassic-0.3.5' * S: '/var/tmp/portage/dev-python/nbclassic-0.3.5/work/nbclassic-0.3.5'
Created attachment 766724 [details] build log
Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r13, 5.10.68-gentoo-dist x86_64) ================================================================= System uname: Linux-5.10.68-gentoo-dist-x86_64-Common_KVM_processor-with-glibc2.33 KiB Mem: 65850752 total, 33484028 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 10 Mar 2022 08:00:01 +0000 Head commit of repository gentoo: b1d3cbfd194ab33e82e5a0fb0162a4ca11cf7273 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 2.7.18_p14::gentoo, 3.6.15-r1::gentoo, 3.7.12_p2::gentoo, 3.8.12_p2::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo dev-lang/rust-bin: 1.58.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.25::gentoo sys-apps/systemd: 250.2::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 13.0.0::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 13.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r13::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* @FREE @BINARY-REDISTRIBUTABLE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 10" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
> E fixture 'http_server_port' not found This fixture should be provided by pytest-tornasync. The "plugins: .." line from your log indicates that it is not installed, though it is listed in the dependencies. Could you please verify that pytest-tornasync is installed correctly?
I notice --complete-graph isn't in emerge default opts, that might be why