[0KRunning with gitlab-runner 14.10.0 (c6bb62f6)[0;m [0K on labrunner 7syfngcj[0;m section_start:1650877821:resolve_secrets [0K[0K[36;1mResolving secrets[0;m[0;m section_end:1650877821:resolve_secrets [0Ksection_start:1650877821:prepare_executor [0K[0K[36;1mPreparing the "docker" executor[0;m[0;m [0KUsing Docker executor with image python:latest ...[0;m [0KPulling docker image python:latest ...[0;m [0KUsing docker image sha256:2b7ca628da40dc0cdfc6bf518b0f8cc0c5c3b83e89960e265e540cc7502ceee5 for python:latest with digest python@sha256:edc8e6a550e4be7c340df18b252364554ea46a5ac14be4dcad711c285d25d1db ...[0;m section_end:1650877826:prepare_executor [0Ksection_start:1650877826:prepare_script [0K[0K[36;1mPreparing environment[0;m[0;m Running on runner-7syfngcj-project-1002-concurrent-0 via labrunner... section_end:1650877828:prepare_script [0Ksection_start:1650877828:get_sources [0K[0K[36;1mGetting source from Git repository[0;m[0;m [32;1mFetching changes with git depth set to 50...[0;m Reinitialized existing Git repository in /builds/amaal/amal_test/.git/ [32;1mChecking out a5e1a939 as master...[0;m [32;1mSkipping Git submodules setup[0;m section_end:1650877831:get_sources [0Ksection_start:1650877831:step_script [0K[0K[36;1mExecuting "step_script" stage of the job script[0;m[0;m [0KUsing docker image sha256:2b7ca628da40dc0cdfc6bf518b0f8cc0c5c3b83e89960e265e540cc7502ceee5 for python:latest with digest python@sha256:edc8e6a550e4be7c340df18b252364554ea46a5ac14be4dcad711c285d25d1db ...[0;m [32;1m$ cat /proc/version[0;m Linux version 3.10.0-1160.62.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Apr 5 16:57:59 UTC 2022 [32;1m$ python -V[0;m Python 3.10.4 [32;1m$ pip install pytest flake8[0;m Collecting pytest Downloading pytest-7.1.2-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 297.0/297.0 KB 5.1 MB/s eta 0:00:00 Collecting flake8 Downloading flake8-4.0.1-py2.py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.1/64.1 KB 1.6 MB/s eta 0:00:00 Collecting py>=1.8.2 Downloading py-1.11.0-py2.py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 KB 105.9 kB/s eta 0:00:00 Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 995.9 kB/s eta 0:00:00 Collecting attrs>=19.2.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 KB 1.5 MB/s eta 0:00:00 Collecting tomli>=1.0.0 Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Collecting iniconfig Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB) Collecting pluggy<2.0,>=0.12 Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB) Collecting pycodestyle<2.9.0,>=2.8.0 Downloading pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.1/42.1 KB 887.2 kB/s eta 0:00:00 Collecting pyflakes<2.5.0,>=2.4.0 Downloading pyflakes-2.4.0-py2.py3-none-any.whl (69 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.7/69.7 KB 1.7 MB/s eta 0:00:00 Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.8-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.5/98.5 KB 2.5 MB/s eta 0:00:00 Installing collected packages: mccabe, iniconfig, tomli, pyparsing, pyflakes, pycodestyle, py, pluggy, attrs, packaging, flake8, pytest Successfully installed attrs-21.4.0 flake8-4.0.1 iniconfig-1.1.1 mccabe-0.6.1 packaging-21.3 pluggy-1.0.0 py-1.11.0 pycodestyle-2.8.0 pyflakes-2.4.0 pyparsing-3.0.8 pytest-7.1.2 tomli-2.0.1 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 [32;1m$ if [ -f requirements.txt ]; then pip install -r requirements.txt;fi[0;m [32;1m$ pytest example.py[0;m ============================= test session starts ============================== platform linux -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0 rootdir: /builds/amaal/amal_test collected 2 items example.py .F [100%] =================================== FAILURES =================================== ________________________________ test_subtract _________________________________ def test_subtract(): > assert subtract(2, 3) == -1 E assert 5 == -1 E + where 5 = subtract(2, 3) example.py:16: AssertionError =========================== short test summary info ============================ FAILED example.py::test_subtract - assert 5 == -1 ========================= 1 failed, 1 passed in 0.03s ========================== section_end:1650877845:step_script [0Ksection_start:1650877845:cleanup_file_variables [0K[0K[36;1mCleaning up project directory and file based variables[0;m[0;m section_end:1650877847:cleanup_file_variables [0K[31;1mERROR: Job failed: exit code 1 [0;m