Console Output

Started by GitHub push by Langenfeld
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /storage/jenkins/jenkins_home/jobs/Hanfor/workspace
The recommended git tool is: NONE
using credential 3a0fbb3b-f36a-4511-9813-e10cb76da774
 > git rev-parse --resolve-git-dir /storage/jenkins/jenkins_home/jobs/Hanfor/workspace/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.Github_Hanfor.url git@github.com:ultimate-pa/hanfor.git # timeout=10
Fetching upstream changes from git@github.com:ultimate-pa/hanfor.git
 > git --version # timeout=10
 > git --version # 'git version 2.32.0'
using GIT_SSH to set credentials jenkins deploy key
 > git fetch --tags --force --progress -- git@github.com:ultimate-pa/hanfor.git +refs/heads/*:refs/remotes/Github_Hanfor/* # timeout=10
 > git rev-parse refs/remotes/Github_Hanfor/master^{commit} # timeout=10
Checking out Revision 48c04004c080a063b8a0062ba104f929c7b25c84 (refs/remotes/Github_Hanfor/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 48c04004c080a063b8a0062ba104f929c7b25c84 # timeout=10
Commit message: "remove csv-name from sheet name as it may include forbidden characters"
 > git rev-list --no-walk 63780f2fa9a5eb64ac00b4107288e6e71e8c2cc7 # timeout=10
[Checks API] No suitable checks publisher found.
No emails were triggered.
[workspace] $ /bin/sh -xe /var/tmp/tomcat-8-ci/jenkins17362445452667788347.sh
+ cd hanfor
+ ./jenkins.sh
created virtual environment CPython3.9.9.final.0-64 in 226ms
  creator CPython3Posix(dest=/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/storage/jenkins/.local/share/virtualenv)
    added seed packages: pip==21.3.1, setuptools==60.9.3, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Collecting Flask==1.1.2
  Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting Flask-DebugToolbar==0.11.0
  Using cached Flask_DebugToolbar-0.11.0-py2.py3-none-any.whl (325 kB)
Collecting lark-parser==0.11.1
  Using cached lark_parser-0.11.1-py2.py3-none-any.whl (93 kB)
Collecting Flask-Assets==2.0
  Using cached Flask_Assets-2.0-py3-none-any.whl (8.5 kB)
Collecting colorama==0.4.4
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting terminaltables==3.1.0
  Using cached terminaltables-3.1.0-py3-none-any.whl
Collecting sentry-sdk==1.3.1
  Using cached sentry_sdk-1.3.1-py2.py3-none-any.whl (133 kB)
Collecting openpyxl
  Using cached openpyxl-3.0.9-py2.py3-none-any.whl (242 kB)
Collecting Jinja2>=2.10.1
  Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting click>=5.1
  Using cached click-8.0.4-py3-none-any.whl (97 kB)
Collecting Werkzeug>=0.15
  Using cached Werkzeug-2.0.3-py3-none-any.whl (289 kB)
Collecting itsdangerous>=0.24
  Using cached itsdangerous-2.1.1-py3-none-any.whl (15 kB)
Collecting Blinker
  Using cached blinker-1.4-py3-none-any.whl
Collecting webassets>=2.0
  Using cached webassets-2.0-py3-none-any.whl (142 kB)
Collecting urllib3>=1.10.0
  Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Collecting certifi
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting et-xmlfile
  Using cached et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Installing collected packages: MarkupSafe, Werkzeug, Jinja2, itsdangerous, click, webassets, urllib3, Flask, et-xmlfile, certifi, Blinker, terminaltables, sentry-sdk, openpyxl, lark-parser, Flask-DebugToolbar, Flask-Assets, colorama
Successfully installed Blinker-1.4 Flask-1.1.2 Flask-Assets-2.0 Flask-DebugToolbar-0.11.0 Jinja2-3.0.3 MarkupSafe-2.1.1 Werkzeug-2.0.3 certifi-2021.10.8 click-8.0.4 colorama-0.4.4 et-xmlfile-1.1.0 itsdangerous-2.1.1 lark-parser-0.11.1 openpyxl-3.0.9 sentry-sdk-1.3.1 terminaltables-3.1.0 urllib3-1.26.9 webassets-2.0
WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/bin/python -m pip install --upgrade pip' command.
Collecting pytest==6.1.2
  Using cached pytest-6.1.2-py3-none-any.whl (272 kB)
Collecting iniconfig
  Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting attrs>=17.4.0
  Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting pluggy<1.0,>=0.12
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting packaging
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting py>=1.8.2
  Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
  Using cached pyparsing-3.0.7-py3-none-any.whl (98 kB)
Installing collected packages: pyparsing, toml, py, pluggy, packaging, iniconfig, attrs, pytest
Successfully installed attrs-21.4.0 iniconfig-1.1.1 packaging-21.3 pluggy-0.13.1 py-1.11.0 pyparsing-3.0.7 pytest-6.1.2 toml-0.10.2
WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/bin/python -m pip install --upgrade pip' command.
============================= test session starts ==============================
platform linux -- Python 3.9.9, pytest-6.1.2, py-1.11.0, pluggy-0.13.1
rootdir: /storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor, configfile: pytest.ini
collected 38 items / 12 errors / 26 selected

==================================== ERRORS ====================================
_____ ERROR collecting tests/test_clean_identifier_for_ultimate_parser.py ______
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_clean_identifier_for_ultimate_parser.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_clean_identifier_for_ultimate_parser.py:13: in <module>
    from utils import clean_identifier_for_ultimate_parser
utils.py:22: in <module>
    from flask import json, Response
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
_____________________ ERROR collecting tests/test_enums.py _____________________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_enums.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_enums.py:4: in <module>
    from tests.mock_hanfor import MockHanfor
tests/mock_hanfor.py:5: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
_____________ ERROR collecting tests/test_formalization_process.py _____________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_formalization_process.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_formalization_process.py:3: in <module>
    from tests.mock_hanfor import MockHanfor
tests/mock_hanfor.py:5: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
______________ ERROR collecting tests/test_hanfor_api_skeleton.py ______________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_hanfor_api_skeleton.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_hanfor_api_skeleton.py:5: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
___________ ERROR collecting tests/test_hanfor_version_migrations.py ___________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_hanfor_version_migrations.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_hanfor_version_migrations.py:7: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
_____________________ ERROR collecting tests/test_init.py ______________________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_init.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_init.py:8: in <module>
    from app import app, api, set_session_config_vars, create_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
__________________ ERROR collecting tests/test_migrations.py ___________________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_migrations.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_migrations.py:14: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
___________________ ERROR collecting tests/test_query_api.py ___________________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_query_api.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_query_api.py:3: in <module>
    from tests.mock_hanfor import MockHanfor
tests/mock_hanfor.py:5: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
______________ ERROR collecting tests/test_script_evals_object.py ______________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_script_evals_object.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_script_evals_object.py:6: in <module>
    from reqtransformer import ScriptEvals
reqtransformer.py:21: in <module>
    from flask import current_app
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
_______________ ERROR collecting tests/test_variable_deletion.py _______________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_variable_deletion.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_variable_deletion.py:7: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
_______ ERROR collecting tests/test_variable_manipulation_edge_cases.py ________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_variable_manipulation_edge_cases.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_variable_manipulation_edge_cases.py:7: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
__________ ERROR collecting tests/test_variable_scripy_evaluation.py ___________
ImportError while importing test module '/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/tests/test_variable_scripy_evaluation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_variable_scripy_evaluation.py:11: in <module>
    from app import app, api, set_session_config_vars, create_revision, user_request_new_revision, startup_hanfor
app.py:13: in <module>
    import flask
venv/lib/python3.9/site-packages/flask/__init__.py:19: in <module>
    from . import json
venv/lib/python3.9/site-packages/flask/json/__init__.py:15: in <module>
    from itsdangerous import json as _json
E   ImportError: cannot import name 'json' from 'itsdangerous' (/storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/venv/lib/python3.9/site-packages/itsdangerous/__init__.py)
- generated xml file: /storage/jenkins/jenkins_home/jobs/Hanfor/workspace/hanfor/test_results.xml -
=========================== short test summary info ============================
ERROR tests/test_clean_identifier_for_ultimate_parser.py
ERROR tests/test_enums.py
ERROR tests/test_formalization_process.py
ERROR tests/test_hanfor_api_skeleton.py
ERROR tests/test_hanfor_version_migrations.py
ERROR tests/test_init.py
ERROR tests/test_migrations.py
ERROR tests/test_query_api.py
ERROR tests/test_script_evals_object.py
ERROR tests/test_variable_deletion.py
ERROR tests/test_variable_manipulation_edge_cases.py
ERROR tests/test_variable_scripy_evaluation.py
!!!!!!!!!!!!!!!!!!! Interrupted: 12 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 12 errors in 1.56s ==============================
Recording test results
[Checks API] No suitable checks publisher found.
Build step 'Publish JUnit test result report' changed build result to UNSTABLE
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[Checks API] No suitable checks publisher found.
No emails were triggered.
Finished: UNSTABLE