Tox checks fails because the last python version is used instead of 3.7 and 3.8
It seems that py37: InterpreterNotFound: python3.7 and that the last version of python is used for the test (3.10). How to overcome these issues ?
Running with gitlab-runner 14.4.0-rc1 (bc99a056)
on docker-auto-scale fa6cab46
Resolving secrets
00:00
Preparing the "docker+machine" executor
00:31
Using Docker executor with image python:latest ...
Pulling docker image python:latest ...
Using docker image sha256:4246fb19839fd033a0dd925c1f89cd1ad482c6b703d56f34bf0d2808b076e132 for python:latest with digest python@sha256:a487658b37559c499868dd4bdcdc6b18ed25cbfb5a02d054c9eaefaf713d5aca ...
Preparing environment
00:03
Running on runner-fa6cab46-project-30826435-concurrent-0 via runner-fa6cab46-srm-1635366753-66c9712a...
Getting source from Git repository
00:02
$ eval "$CI_PRE_CLONE_SCRIPT"
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/antoinecollet5/example_gitlab_python_project/.git/
Created fresh repository.
Checking out 0502afcc as main...
Skipping Git submodules setup
Restoring cache
00:08
Checking cache for default...
Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/30826435/default
WARNING: venv/bin/python: chmod venv/bin/python: no such file or directory (suppressing repeats)
Successfully extracted cache
Executing "step_script" stage of the job script
01:34
Using docker image sha256:4246fb19839fd033a0dd925c1f89cd1ad482c6b703d56f34bf0d2808b076e132 for python:latest with digest python@sha256:a487658b37559c499868dd4bdcdc6b18ed25cbfb5a02d054c9eaefaf713d5aca ...
$ python -V
Python 3.10.0
$ pip install virtualenv
Collecting virtualenv
Using cached virtualenv-20.9.0-py2.py3-none-any.whl (5.6 MB)
Collecting distlib<1,>=0.3.1
Using cached distlib-0.3.3-py2.py3-none-any.whl (496 kB)
Collecting filelock<4,>=3.2
Using cached filelock-3.3.1-py3-none-any.whl (9.7 kB)
Collecting six<2,>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting backports.entry-points-selectable>=1.0.4
Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Collecting platformdirs<3,>=2
Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Installing collected packages: six, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.3 filelock-3.3.1 platformdirs-2.4.0 six-1.16.0 virtualenv-20.9.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
$ virtualenv venv
created virtual environment CPython3.10.0.final.0-64 in 1087ms
creator CPython3Posix(dest=/builds/antoinecollet5/example_gitlab_python_project/venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
added seed packages: Babel==2.9.1, Jinja2==3.0.2, MarkupSafe==2.0.1, Pillow==8.4.0, PyYAML==6.0, Pygments==2.6.1, Send2Trash==1.8.0, Sphinx==4.2.0, alabaster==0.7.12, argon2_cffi==21.1.0, arrow==1.2.1, attrs==21.2.0, backcall==0.2.0, binaryornot==0.4.4, bleach==4.1.0, blockdiag==2.0.1, bump2version==1.0.1, certifi==2021.10.8, cffi==1.15.0, chardet==4.0.0, charset_normalizer==2.0.7, click==8.0.3, cookiecutter==1.7.3, coverage==6.0.2, debugpy==1.5.1, decorator==5.1.0, defusedxml==0.7.1, docutils==0.17.1, entrypoints==0.3, flake8==4.0.1, flake8_html==0.4.1, funcparserlib==0.3.5, idna==3.3, imagesize==1.2.0, importlib_metadata==4.8.1, iniconfig==1.1.1, ipykernel==6.4.2, ipython==7.28.0, ipython_genutils==0.2.0, ipywidgets==7.6.5, jedi==0.18.0, jinja2_time==0.2.0, jsonpointer==2.1, jsonschema==4.1.2, jupyter_client==7.0.6, jupyter_core==4.9.0, jupyter_sphinx==0.3.2, jupyterlab_pygments==0.1.2, jupyterlab_widgets==1.0.2, matplotlib_inline==0.1.3, mccabe==0.6.1, mistune==0.8.4, nbclient==0.5.4, nbconvert==6.2.0, nbformat==5.1.3, nbsphinx==0.8.7, nest_asyncio==1.5.1, notebook==6.4.5, packaging==21.0, pandocfilters==1.5.0, parso==0.8.2, pexpect==4.8.0, pickleshare==0.7.5, pip==21.3.1, pkginfo==1.7.1, pluggy==1.0.0, poyo==0.5.0, prometheus_client==0.11.0, prompt_toolkit==3.0.21, ptyprocess==0.7.0, py==1.10.0, pycodestyle==2.8.0, pycparser==2.20, pyflakes==2.4.0, pyparsing==3.0.3, pyrsistent==0.18.0, pytest==6.2.5, pytest_cookies==0.6.1, pytest_cov==3.0.0, pytest_runner==5.3.1, python_dateutil==2.8.2, python_slugify==5.0.2, pytz==2021.3, pyzmq==22.3.0, readme_renderer==30.0, requests==2.26.0, requests_toolbelt==0.9.1, setuptools==58.3.0, six==1.16.0, snowballstemmer==2.1.0, sphinx_jsonschema==1.16.11, sphinx_rtd_theme==0.5.0rc2, sphinxcontrib_applehelp==1.0.2, sphinxcontrib_blockdiag==2.0.0, sphinxcontrib_devhelp==1.0.2, sphinxcontrib_htmlhelp==2.0.0, sphinxcontrib_jsmath==1.0.1, sphinxcontrib_qthelp==1.0.3, sphinxcontrib_serializinghtml==1.1.5, terminado==0.12.1, testpath==0.5.0, text_unidecode==1.3, toml==0.10.2, tomli==1.2.2, tornado==6.1, tqdm==4.62.3, traitlets==5.1.1, twine==1.14.0, urllib3==1.26.7, wcwidth==0.2.5, webcolors==1.11.1, webencodings==0.5.1, wheel==0.37.0, widgetsnbextension==3.5.1, zipp==3.6.0
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
$ source venv/bin/activate
$ apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [76.2 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8180 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2592 B]
Fetched 8458 kB in 7s (1245 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
$ apt install -y xvfb
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 libfontenc1 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0
libglx-mesa0 libglx0 libllvm11 libpciaccess0 libsensors-config libsensors5
libunwind8 libvulkan1 libwayland-client0 libx11-xcb1 libxaw7 libxcb-dri2-0
libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1
libxcb-xfixes0 libxdamage1 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxmuu1
libxpm4 libxshmfence1 libxxf86vm1 libz3-4 mesa-vulkan-drivers x11-xkb-utils
xauth xfonts-base xfonts-encodings xfonts-utils xkb-data xserver-common
Suggested packages:
pciutils lm-sensors
The following NEW packages will be installed:
libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 libfontenc1 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0
libglx-mesa0 libglx0 libllvm11 libpciaccess0 libsensors-config libsensors5
libunwind8 libvulkan1 libwayland-client0 libx11-xcb1 libxaw7 libxcb-dri2-0
libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1
libxcb-xfixes0 libxdamage1 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxmuu1
libxpm4 libxshmfence1 libxxf86vm1 libz3-4 mesa-vulkan-drivers x11-xkb-utils
xauth xfonts-base xfonts-encodings xfonts-utils xkb-data xserver-common xvfb
0 upgraded, 48 newly installed, 0 to remove and 1 not upgraded.
Need to get 53.9 MB of archives.
After this operation, 191 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libdrm-common all 2.4.104-1 [14.9 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libdrm2 amd64 2.4.104-1 [41.5 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libdrm-amdgpu1 amd64 2.4.104-1 [28.5 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libpciaccess0 amd64 0.16-1 [53.6 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 libdrm-intel1 amd64 2.4.104-1 [71.8 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 libdrm-nouveau2 amd64 2.4.104-1 [26.8 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 libdrm-radeon1 amd64 2.4.104-1 [30.2 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 libfontenc1 amd64 1:1.1.4-1 [24.3 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 libglapi-mesa amd64 20.3.5-1 [71.7 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 libz3-4 amd64 4.8.10-1 [6949 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libllvm11 amd64 1:11.0.1-2 [17.9 MB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libsensors-config all 1:3.6.0-7 [32.3 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 libsensors5 amd64 1:3.6.0-7 [52.3 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 libvulkan1 amd64 1.2.162.0-1 [103 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 libgl1-mesa-dri amd64 20.3.5-1 [9633 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libglvnd0 amd64 1.3.2-1 [53.6 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 libx11-xcb1 amd64 2:1.7.2-1 [203 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libxcb-dri2-0 amd64 1.14-3 [103 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libxcb-dri3-0 amd64 1.14-3 [102 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libxcb-glx0 amd64 1.14-3 [118 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libxcb-present0 amd64 1.14-3 [101 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libxcb-sync1 amd64 1.14-3 [105 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 libxcb-xfixes0 amd64 1.14-3 [105 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 libxdamage1 amd64 1:1.1.5-2 [15.7 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 libxfixes3 amd64 1:5.0.3-2 [22.1 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 libxshmfence1 amd64 1.3-1 [8820 B]
Get:27 http://deb.debian.org/debian bullseye/main amd64 libxxf86vm1 amd64 1:1.1.4-1+b2 [20.8 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 libglx-mesa0 amd64 20.3.5-1 [186 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libunwind8 amd64 1.3.2-2 [54.5 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libwayland-client0 amd64 1.18.0-2~exp1.1 [26.9 kB]
Get:31 http://deb.debian.org/debian bullseye/main amd64 libxmu6 amd64 2:1.1.2-2+b3 [60.8 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 libxaw7 amd64 2:1.0.13-1.1 [202 kB]
Get:34 http://deb.debian.org/debian bullseye/main amd64 libxcb-randr0 amd64 1.14-3 [113 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 libxfont2 amd64 1:2.0.4-1 [136 kB]
Get:36 http://deb.debian.org/debian bullseye/main amd64 libxkbfile1 amd64 1:1.1.0-1 [75.2 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 libxmuu1 amd64 2:1.1.2-2+b3 [23.9 kB]
Get:38 http://deb.debian.org/debian bullseye/main amd64 mesa-vulkan-drivers amd64 20.3.5-1 [4086 kB]
Get:39 http://deb.debian.org/debian bullseye/main amd64 x11-xkb-utils amd64 7.7+5 [163 kB]
Get:40 http://deb.debian.org/debian bullseye/main amd64 xauth amd64 1:1.1-1 [40.5 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 xfonts-encodings all 1:1.0.4-2.1 [573 kB]
Get:42 http://deb.debian.org/debian bullseye/main amd64 xfonts-utils amd64 1:7.7+6 [93.0 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 xfonts-base all 1:1.0.5 [5897 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 xkb-data all 2.29-2 [655 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 xserver-common all 2:1.20.11-1 [2283 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 libglx0 amd64 1.3.2-1 [35.7 kB]
Get:47 http://deb.debian.org/debian bullseye/main amd64 libgl1 amd64 1.3.2-1 [89.5 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 xvfb amd64 2:1.20.11-1 [3043 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 53.9 MB in 1s (79.6 MB/s)
Selecting previously unselected package libdrm-common.
(Reading database ... 23378 files and directories currently installed.)
Preparing to unpack .../00-libdrm-common_2.4.104-1_all.deb ...
Unpacking libdrm-common (2.4.104-1) ...
Selecting previously unselected package libdrm2:amd64.
Preparing to unpack .../01-libdrm2_2.4.104-1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.104-1) ...
Selecting previously unselected package libdrm-amdgpu1:amd64.
Preparing to unpack .../02-libdrm-amdgpu1_2.4.104-1_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.104-1) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../03-libpciaccess0_0.16-1_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.16-1) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../04-libdrm-intel1_2.4.104-1_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.104-1) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../05-libdrm-nouveau2_2.4.104-1_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.104-1) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../06-libdrm-radeon1_2.4.104-1_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.104-1) ...
Selecting previously unselected package libfontenc1:amd64.
Preparing to unpack .../07-libfontenc1_1%3a1.1.4-1_amd64.deb ...
Unpacking libfontenc1:amd64 (1:1.1.4-1) ...
Selecting previously unselected package libglapi-mesa:amd64.
Preparing to unpack .../08-libglapi-mesa_20.3.5-1_amd64.deb ...
Unpacking libglapi-mesa:amd64 (20.3.5-1) ...
Selecting previously unselected package libz3-4:amd64.
Preparing to unpack .../09-libz3-4_4.8.10-1_amd64.deb ...
Unpacking libz3-4:amd64 (4.8.10-1) ...
Selecting previously unselected package libllvm11:amd64.
Preparing to unpack .../10-libllvm11_1%3a11.0.1-2_amd64.deb ...
Unpacking libllvm11:amd64 (1:11.0.1-2) ...
Selecting previously unselected package libsensors-config.
Preparing to unpack .../11-libsensors-config_1%3a3.6.0-7_all.deb ...
Unpacking libsensors-config (1:3.6.0-7) ...
Selecting previously unselected package libsensors5:amd64.
Preparing to unpack .../12-libsensors5_1%3a3.6.0-7_amd64.deb ...
Unpacking libsensors5:amd64 (1:3.6.0-7) ...
Selecting previously unselected package libvulkan1:amd64.
Preparing to unpack .../13-libvulkan1_1.2.162.0-1_amd64.deb ...
Unpacking libvulkan1:amd64 (1.2.162.0-1) ...
Selecting previously unselected package libgl1-mesa-dri:amd64.
Preparing to unpack .../14-libgl1-mesa-dri_20.3.5-1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (20.3.5-1) ...
Selecting previously unselected package libglvnd0:amd64.
Preparing to unpack .../15-libglvnd0_1.3.2-1_amd64.deb ...
Unpacking libglvnd0:amd64 (1.3.2-1) ...
Selecting previously unselected package libx11-xcb1:amd64.
Preparing to unpack .../16-libx11-xcb1_2%3a1.7.2-1_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.7.2-1) ...
Selecting previously unselected package libxcb-dri2-0:amd64.
Preparing to unpack .../17-libxcb-dri2-0_1.14-3_amd64.deb ...
Unpacking libxcb-dri2-0:amd64 (1.14-3) ...
Selecting previously unselected package libxcb-dri3-0:amd64.
Preparing to unpack .../18-libxcb-dri3-0_1.14-3_amd64.deb ...
Unpacking libxcb-dri3-0:amd64 (1.14-3) ...
Selecting previously unselected package libxcb-glx0:amd64.
Preparing to unpack .../19-libxcb-glx0_1.14-3_amd64.deb ...
Unpacking libxcb-glx0:amd64 (1.14-3) ...
Selecting previously unselected package libxcb-present0:amd64.
Preparing to unpack .../20-libxcb-present0_1.14-3_amd64.deb ...
Unpacking libxcb-present0:amd64 (1.14-3) ...
Selecting previously unselected package libxcb-sync1:amd64.
Preparing to unpack .../21-libxcb-sync1_1.14-3_amd64.deb ...
Unpacking libxcb-sync1:amd64 (1.14-3) ...
Selecting previously unselected package libxcb-xfixes0:amd64.
Preparing to unpack .../22-libxcb-xfixes0_1.14-3_amd64.deb ...
Unpacking libxcb-xfixes0:amd64 (1.14-3) ...
Selecting previously unselected package libxdamage1:amd64.
Preparing to unpack .../23-libxdamage1_1%3a1.1.5-2_amd64.deb ...
Unpacking libxdamage1:amd64 (1:1.1.5-2) ...
Selecting previously unselected package libxfixes3:amd64.
Preparing to unpack .../24-libxfixes3_1%3a5.0.3-2_amd64.deb ...
Unpacking libxfixes3:amd64 (1:5.0.3-2) ...
Selecting previously unselected package libxshmfence1:amd64.
Preparing to unpack .../25-libxshmfence1_1.3-1_amd64.deb ...
Unpacking libxshmfence1:amd64 (1.3-1) ...
Selecting previously unselected package libxxf86vm1:amd64.
Preparing to unpack .../26-libxxf86vm1_1%3a1.1.4-1+b2_amd64.deb ...
Unpacking libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
Selecting previously unselected package libglx-mesa0:amd64.
Preparing to unpack .../27-libglx-mesa0_20.3.5-1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (20.3.5-1) ...
Selecting previously unselected package libunwind8:amd64.
Preparing to unpack .../28-libunwind8_1.3.2-2_amd64.deb ...
Unpacking libunwind8:amd64 (1.3.2-2) ...
Selecting previously unselected package libwayland-client0:amd64.
Preparing to unpack .../29-libwayland-client0_1.18.0-2~exp1.1_amd64.deb ...
Unpacking libwayland-client0:amd64 (1.18.0-2~exp1.1) ...
Selecting previously unselected package libxmu6:amd64.
Preparing to unpack .../30-libxmu6_2%3a1.1.2-2+b3_amd64.deb ...
Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../31-libxpm4_1%3a3.5.12-1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1) ...
Selecting previously unselected package libxaw7:amd64.
Preparing to unpack .../32-libxaw7_2%3a1.0.13-1.1_amd64.deb ...
Unpacking libxaw7:amd64 (2:1.0.13-1.1) ...
Selecting previously unselected package libxcb-randr0:amd64.
Preparing to unpack .../33-libxcb-randr0_1.14-3_amd64.deb ...
Unpacking libxcb-randr0:amd64 (1.14-3) ...
Selecting previously unselected package libxfont2:amd64.
Preparing to unpack .../34-libxfont2_1%3a2.0.4-1_amd64.deb ...
Unpacking libxfont2:amd64 (1:2.0.4-1) ...
Selecting previously unselected package libxkbfile1:amd64.
Preparing to unpack .../35-libxkbfile1_1%3a1.1.0-1_amd64.deb ...
Unpacking libxkbfile1:amd64 (1:1.1.0-1) ...
Selecting previously unselected package libxmuu1:amd64.
Preparing to unpack .../36-libxmuu1_2%3a1.1.2-2+b3_amd64.deb ...
Unpacking libxmuu1:amd64 (2:1.1.2-2+b3) ...
Selecting previously unselected package mesa-vulkan-drivers:amd64.
Preparing to unpack .../37-mesa-vulkan-drivers_20.3.5-1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (20.3.5-1) ...
Selecting previously unselected package x11-xkb-utils.
Preparing to unpack .../38-x11-xkb-utils_7.7+5_amd64.deb ...
Unpacking x11-xkb-utils (7.7+5) ...
Selecting previously unselected package xauth.
Preparing to unpack .../39-xauth_1%3a1.1-1_amd64.deb ...
Unpacking xauth (1:1.1-1) ...
Selecting previously unselected package xfonts-encodings.
Preparing to unpack .../40-xfonts-encodings_1%3a1.0.4-2.1_all.deb ...
Unpacking xfonts-encodings (1:1.0.4-2.1) ...
Selecting previously unselected package xfonts-utils.
Preparing to unpack .../41-xfonts-utils_1%3a7.7+6_amd64.deb ...
Unpacking xfonts-utils (1:7.7+6) ...
Selecting previously unselected package xfonts-base.
Preparing to unpack .../42-xfonts-base_1%3a1.0.5_all.deb ...
Unpacking xfonts-base (1:1.0.5) ...
Selecting previously unselected package xkb-data.
Preparing to unpack .../43-xkb-data_2.29-2_all.deb ...
Unpacking xkb-data (2.29-2) ...
Selecting previously unselected package xserver-common.
Preparing to unpack .../44-xserver-common_2%3a1.20.11-1_all.deb ...
Unpacking xserver-common (2:1.20.11-1) ...
Selecting previously unselected package libglx0:amd64.
Preparing to unpack .../45-libglx0_1.3.2-1_amd64.deb ...
Unpacking libglx0:amd64 (1.3.2-1) ...
Selecting previously unselected package libgl1:amd64.
Preparing to unpack .../46-libgl1_1.3.2-1_amd64.deb ...
Unpacking libgl1:amd64 (1.3.2-1) ...
Selecting previously unselected package xvfb.
Preparing to unpack .../47-xvfb_2%3a1.20.11-1_amd64.deb ...
Unpacking xvfb (2:1.20.11-1) ...
Setting up libxcb-dri3-0:amd64 (1.14-3) ...
Setting up libx11-xcb1:amd64 (2:1.7.2-1) ...
Setting up libpciaccess0:amd64 (0.16-1) ...
Setting up libxmu6:amd64 (2:1.1.2-2+b3) ...
Setting up libxdamage1:amd64 (1:1.1.5-2) ...
Setting up libxcb-xfixes0:amd64 (1.14-3) ...
Setting up libxpm4:amd64 (1:3.5.12-1) ...
Setting up libglvnd0:amd64 (1.3.2-1) ...
Setting up libxcb-glx0:amd64 (1.14-3) ...
Setting up libsensors-config (1:3.6.0-7) ...
Setting up xkb-data (2.29-2) ...
Setting up libxaw7:amd64 (2:1.0.13-1.1) ...
Setting up libunwind8:amd64 (1.3.2-2) ...
Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
Setting up libxcb-present0:amd64 (1.14-3) ...
Setting up libfontenc1:amd64 (1:1.1.4-1) ...
Setting up libz3-4:amd64 (4.8.10-1) ...
Setting up libllvm11:amd64 (1:11.0.1-2) ...
Setting up libxfixes3:amd64 (1:5.0.3-2) ...
Setting up libxcb-sync1:amd64 (1.14-3) ...
Setting up xfonts-encodings (1:1.0.4-2.1) ...
Setting up libsensors5:amd64 (1:3.6.0-7) ...
Setting up libglapi-mesa:amd64 (20.3.5-1) ...
Setting up libvulkan1:amd64 (1.2.162.0-1) ...
Setting up libxcb-dri2-0:amd64 (1.14-3) ...
Setting up libxshmfence1:amd64 (1.3-1) ...
Setting up libxcb-randr0:amd64 (1.14-3) ...
Setting up libxkbfile1:amd64 (1:1.1.0-1) ...
Setting up libdrm-common (2.4.104-1) ...
Setting up libxfont2:amd64 (1:2.0.4-1) ...
Setting up libxmuu1:amd64 (2:1.1.2-2+b3) ...
Setting up libwayland-client0:amd64 (1.18.0-2~exp1.1) ...
Setting up x11-xkb-utils (7.7+5) ...
Setting up xfonts-utils (1:7.7+6) ...
Setting up xfonts-base (1:1.0.5) ...
Setting up libdrm2:amd64 (2.4.104-1) ...
Setting up xauth (1:1.1-1) ...
Setting up xserver-common (2:1.20.11-1) ...
Setting up libdrm-amdgpu1:amd64 (2.4.104-1) ...
Setting up mesa-vulkan-drivers:amd64 (20.3.5-1) ...
Setting up libdrm-nouveau2:amd64 (2.4.104-1) ...
Setting up libdrm-radeon1:amd64 (2.4.104-1) ...
Setting up libdrm-intel1:amd64 (2.4.104-1) ...
Setting up libgl1-mesa-dri:amd64 (20.3.5-1) ...
Setting up libglx-mesa0:amd64 (20.3.5-1) ...
Setting up libglx0:amd64 (1.3.2-1) ...
Setting up libgl1:amd64 (1.3.2-1) ...
Setting up xvfb (2:1.20.11-1) ...
Processing triggers for fontconfig (2.13.1-4.2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
$ sleep 3
$ pip install tox
Collecting tox
Downloading tox-3.24.4-py2.py3-none-any.whl (85 kB)
Collecting filelock>=3.0.0
Using cached filelock-3.3.1-py3-none-any.whl (9.7 kB)
Requirement already satisfied: six>=1.14.0 in ./venv/lib/python3.10/site-packages (from tox) (1.16.0)
Requirement already satisfied: py>=1.4.17 in ./venv/lib/python3.10/site-packages (from tox) (1.10.0)
Requirement already satisfied: pluggy>=0.12.0 in ./venv/lib/python3.10/site-packages (from tox) (1.0.0)
Requirement already satisfied: toml>=0.9.4 in ./venv/lib/python3.10/site-packages (from tox) (0.10.2)
Requirement already satisfied: packaging>=14 in ./venv/lib/python3.10/site-packages (from tox) (21.0)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
Using cached virtualenv-20.9.0-py2.py3-none-any.whl (5.6 MB)
Requirement already satisfied: pyparsing>=2.0.2 in ./venv/lib/python3.10/site-packages (from packaging>=14->tox) (3.0.3)
Collecting backports.entry-points-selectable>=1.0.4
Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Collecting distlib<1,>=0.3.1
Using cached distlib-0.3.3-py2.py3-none-any.whl (496 kB)
Collecting platformdirs<3,>=2
Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Installing collected packages: platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, tox
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.3 filelock-3.3.1 platformdirs-2.4.0 tox-3.24.4 virtualenv-20.9.0
$ xvfb-run tox
clean create: /builds/antoinecollet5/example_gitlab_python_project/.tox/clean
clean installdeps: coverage
clean installed: coverage==6.0.2
clean run-test-pre: PYTHONHASHSEED='3562838740'
clean run-test: commands[0] | coverage erase
py37 create: /builds/antoinecollet5/example_gitlab_python_project/.tox/py37
ERROR: InterpreterNotFound: python3.7
py38pypy create: /builds/antoinecollet5/example_gitlab_python_project/.tox/py38pypy
py38pypy installdeps: -r/builds/antoinecollet5/example_gitlab_python_project/requirements_dev.txt
py38pypy installed: alabaster==0.7.12,argon2-cffi==21.1.0,arrow==1.2.1,attrs==21.2.0,Babel==2.9.1,backcall==0.2.0,binaryornot==0.4.4,bleach==4.1.0,blockdiag==2.0.1,bump2version==1.0.1,certifi==2021.10.8,cffi==1.15.0,chardet==4.0.0,charset-normalizer==2.0.7,click==8.0.3,cookiecutter==1.7.3,coverage==6.0.2,debugpy==1.5.1,decorator==5.1.0,defusedxml==0.7.1,docutils==0.17.1,entrypoints==0.3,flake8==4.0.1,flake8-html==0.4.1,funcparserlib==0.3.5,idna==3.3,imagesize==1.2.0,importlib-metadata==4.8.1,iniconfig==1.1.1,ipykernel==6.4.2,ipython==7.28.0,ipython-genutils==0.2.0,ipywidgets==7.6.5,jedi==0.18.0,Jinja2==3.0.2,jinja2-time==0.2.0,jsonpointer==2.1,jsonschema==4.1.2,jupyter-client==7.0.6,jupyter-core==4.9.0,jupyter-sphinx==0.3.2,jupyterlab-pygments==0.1.2,jupyterlab-widgets==1.0.2,MarkupSafe==2.0.1,matplotlib-inline==0.1.3,mccabe==0.6.1,mistune==0.8.4,nbclient==0.5.4,nbconvert==6.2.0,nbformat==5.1.3,nbsphinx==0.8.7,nest-asyncio==1.5.1,notebook==6.4.5,packaging==21.0,pandocfilters==1.5.0,parso==0.8.2,pexpect==4.8.0,pickleshare==0.7.5,Pillow==8.4.0,pkginfo==1.7.1,pluggy==1.0.0,poyo==0.5.0,prometheus-client==0.11.0,prompt-toolkit==3.0.21,ptyprocess==0.7.0,py==1.10.0,pycodestyle==2.8.0,pycparser==2.20,pyflakes==2.4.0,Pygments==2.6.1,pyparsing==3.0.3,pyrsistent==0.18.0,pytest==6.2.5,pytest-cookies==0.6.1,pytest-cov==3.0.0,pytest-runner==5.3.1,python-dateutil==2.8.2,python-slugify==5.0.2,pytz==2021.3,PyYAML==6.0,pyzmq==22.3.0,readme-renderer==30.0,requests==2.26.0,requests-toolbelt==0.9.1,Send2Trash==1.8.0,six==1.16.0,snowballstemmer==2.1.0,Sphinx==4.2.0,sphinx-jsonschema==1.16.11,sphinx-rtd-theme==0.5.0rc2,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-blockdiag==2.0.0,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,terminado==0.12.1,testpath==0.5.0,text-unidecode==1.3,toml==0.10.2,tomli==1.2.2,tornado==6.1,tqdm==4.62.3,traitlets==5.1.1,twine==1.14.0,urllib3==1.26.7,wcwidth==0.2.5,webcolors==1.11.1,webencodings==0.5.1,widgetsnbextension==3.5.1,zipp==3.6.0
py38pypy run-test-pre: PYTHONHASHSEED='3562838740'
py38pypy run-test: commands[0] | python -m pip install --upgrade pip
Requirement already satisfied: pip in ./.tox/py38pypy/lib/python3.10/site-packages (21.3.1)
py38pypy run-test: commands[1] | pytest --cov=example_gitlab_python_project --cov-append --cov-report=term-missing --cov-config=.coveragerc --color=yes
============================= test session starts ==============================
platform linux -- Python 3.10.0, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
cachedir: .tox/py38pypy/.pytest_cache
rootdir: /builds/antoinecollet5/example_gitlab_python_project, configfile: setup.cfg
plugins: cov-3.0.0, cookies-0.6.1
collected 2 items
tests/test_example_gitlab_python_project.py .. [100%]
=============================== warnings summary ===============================
.tox/py38pypy/lib/python3.10/site-packages/_pytest/config/__init__.py:1233
/builds/antoinecollet5/example_gitlab_python_project/.tox/py38pypy/lib/python3.10/site-packages/_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: collect_ignore
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
-- Docs: https://docs.pytest.org/en/stable/warnings.html
---------- coverage: platform linux, python 3.10.0-final-0 -----------
Name Stmts Miss Cover Missing
----------------------------------------------------------------------------------------------
example_gitlab_python_project/__init__.py 3 0 100%
example_gitlab_python_project/example_gitlab_python_project.py 2 0 100%
----------------------------------------------------------------------------------------------
TOTAL 5 0 100%
========================= 2 passed, 1 warning in 0.05s =========================
docs create: /builds/antoinecollet5/example_gitlab_python_project/.tox/docs
docs installdeps: -rrequirements_dev.txt
docs installed: alabaster==0.7.12,argon2-cffi==21.1.0,arrow==1.2.1,attrs==21.2.0,Babel==2.9.1,backcall==0.2.0,binaryornot==0.4.4,bleach==4.1.0,blockdiag==2.0.1,bump2version==1.0.1,certifi==2021.10.8,cffi==1.15.0,chardet==4.0.0,charset-normalizer==2.0.7,click==8.0.3,cookiecutter==1.7.3,coverage==6.0.2,debugpy==1.5.1,decorator==5.1.0,defusedxml==0.7.1,docutils==0.17.1,entrypoints==0.3,flake8==4.0.1,flake8-html==0.4.1,funcparserlib==0.3.5,idna==3.3,imagesize==1.2.0,importlib-metadata==4.8.1,iniconfig==1.1.1,ipykernel==6.4.2,ipython==7.28.0,ipython-genutils==0.2.0,ipywidgets==7.6.5,jedi==0.18.0,Jinja2==3.0.2,jinja2-time==0.2.0,jsonpointer==2.1,jsonschema==4.1.2,jupyter-client==7.0.6,jupyter-core==4.9.0,jupyter-sphinx==0.3.2,jupyterlab-pygments==0.1.2,jupyterlab-widgets==1.0.2,MarkupSafe==2.0.1,matplotlib-inline==0.1.3,mccabe==0.6.1,mistune==0.8.4,nbclient==0.5.4,nbconvert==6.2.0,nbformat==5.1.3,nbsphinx==0.8.7,nest-asyncio==1.5.1,notebook==6.4.5,packaging==21.0,pandocfilters==1.5.0,parso==0.8.2,pexpect==4.8.0,pickleshare==0.7.5,Pillow==8.4.0,pkginfo==1.7.1,pluggy==1.0.0,poyo==0.5.0,prometheus-client==0.11.0,prompt-toolkit==3.0.21,ptyprocess==0.7.0,py==1.10.0,pycodestyle==2.8.0,pycparser==2.20,pyflakes==2.4.0,Pygments==2.6.1,pyparsing==3.0.3,pyrsistent==0.18.0,pytest==6.2.5,pytest-cookies==0.6.1,pytest-cov==3.0.0,pytest-runner==5.3.1,python-dateutil==2.8.2,python-slugify==5.0.2,pytz==2021.3,PyYAML==6.0,pyzmq==22.3.0,readme-renderer==30.0,requests==2.26.0,requests-toolbelt==0.9.1,Send2Trash==1.8.0,six==1.16.0,snowballstemmer==2.1.0,Sphinx==4.2.0,sphinx-jsonschema==1.16.11,sphinx-rtd-theme==0.5.0rc2,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-blockdiag==2.0.0,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,terminado==0.12.1,testpath==0.5.0,text-unidecode==1.3,toml==0.10.2,tomli==1.2.2,tornado==6.1,tqdm==4.62.3,traitlets==5.1.1,twine==1.14.0,urllib3==1.26.7,wcwidth==0.2.5,webcolors==1.11.1,webencodings==0.5.1,widgetsnbextension==3.5.1,zipp==3.6.0
docs run-test-pre: PYTHONHASHSEED='3562838740'
docs run-test: commands[0] | sphinx-build -b html -d /builds/antoinecollet5/example_gitlab_python_project/.tox/docs/tmp/doctrees . /builds/antoinecollet5/example_gitlab_python_project/.tox/docs/tmp/html
Running Sphinx v4.2.0
Exception occurred:
File "/builds/antoinecollet5/example_gitlab_python_project/.tox/docs/lib/python3.10/site-packages/blockdiag/parser.py", line 42, in <module>
from funcparserlib.lexer import LexerError, Token, make_tokenizer
File "/builds/antoinecollet5/example_gitlab_python_project/.tox/docs/lib/python3.10/site-packages/funcparserlib/lexer.py", line 80
def match_specs(specs, str, i, (line, pos)):
^
SyntaxError: invalid syntax
The full traceback has been saved in /tmp/sphinx-err-y_8rkbrk.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
ERROR: InvocationError for command /builds/antoinecollet5/example_gitlab_python_project/.tox/docs/bin/sphinx-build -b html -d /builds/antoinecollet5/example_gitlab_python_project/.tox/docs/tmp/doctrees . /builds/antoinecollet5/example_gitlab_python_project/.tox/docs/tmp/html (exited with code 2)
flake8 create: /builds/antoinecollet5/example_gitlab_python_project/.tox/flake8
flake8 installdeps: flake8
flake8 installed: flake8==4.0.1,mccabe==0.6.1,pycodestyle==2.8.0,pyflakes==2.4.0
flake8 run-test-pre: PYTHONHASHSEED='3562838740'
flake8 run-test: commands[0] | flake8 example_gitlab_python_project tests
report create: /builds/antoinecollet5/example_gitlab_python_project/.tox/report
report installdeps: coverage
report installed: coverage==6.0.2
report run-test-pre: PYTHONHASHSEED='3562838740'
report run-test: commands[0] | coverage report -i
Name Stmts Miss Cover
------------------------------------------------------------------------------------
example_gitlab_python_project/__init__.py 3 0 100%
example_gitlab_python_project/example_gitlab_python_project.py 2 0 100%
------------------------------------------------------------------------------------
TOTAL 5 0 100%
report run-test: commands[1] | coverage html -i
Wrote HTML report to htmlcov/index.html
report run-test: commands[2] | coverage xml -i
___________________________________ summary ____________________________________
clean: commands succeeded
ERROR: py37: InterpreterNotFound: python3.7
py38pypy: commands succeeded
ERROR: docs: commands failed
flake8: commands succeeded
report: commands succeeded
Uploading artifacts for failed job
00:01
Uploading artifacts...
coverage.xml: found 1 matching files and directories
Uploading artifacts as "cobertura" to coordinator... ok id=1722579289 responseStatus=201 Created token=bN3q2nop
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
Edited by Antoine COLLET