Project

General

Profile

Actions

action #102584

closed

openqa_review: Cannot run tox successfully locally

Added by tinita over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-11-17
Due date:
% Done:

0%

Estimated time:

Description

When running tox in http://os-autoinst.github.io/openqa_review I get various errors.
Only tox -e cov runs successfully (well, it fails currently on master, but that is expected, and it is executed correctly).

% tox
GLOB sdist-make: /home/tina/openqa-devel/repos/openqa_review/setup.py                                                   
flake8 inst-nodeps: /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip                                                                                                                                  
WARNING:Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.                                                                                                                             
ERROR: invocation failed (exit code 1), logfile: /home/tina/openqa-devel/repos/openqa_review/.tox/flake8/log/flake8-24.log                                                                                                                      
ERROR: actionid: flake8                                                                                                                                                                                                                         
msg: installpkg                                                                                                                                                                                                                                 cmdargs: ['/home/tina/openqa-devel/repos/openqa_review/.tox/flake8/bin/pip', 'install', '-U', '--no-deps', '/home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip']
                                                                                                                                                                                                                                                Processing ./.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip                                                                                                                                                                                     
  Installing build dependencies: started                                                                                                                                                                                                          Installing build dependencies: finished with status 'done'                                                          
  Getting requirements to build wheel: started                                                                                                                                                                                                    Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started                                                                                                                                                                                                  
  Preparing metadata (pyproject.toml): finished with status 'done'                                                                                                                                                                              Building wheels for collected packages: openqa-review                                                                                                                                                                                           
  Building wheel for openqa-review (pyproject.toml): started                                                                                                                                                                                      Building wheel for openqa-review (pyproject.toml): finished with status 'done'                            
  Created wheel for openqa-review: filename=openqa_review-1.25.0_72_g7fc883a-py3-none-any.whl size=43648 sha256=205abb71e2fcb53a4c4b3c0792c3b1d65c29fa634463cd06c1da28c6c5126a52
  Stored in directory: /home/tina/.cache/pip/wheels/76/3b/15/ac3b33683af4670706df887c8021b0a41c48a3a62ada04c25a                                                                                                                                 
  WARNING: Built wheel for openqa-review is invalid: Metadata 1.2 mandates PEP 440 version, but '1.25.0-72-g7fc883a' is not
Failed to build openqa-review
ERROR: Could not build wheels for openqa-review, which is required to install pyproject.toml-based projects

flake8 installed: appdirs==1.4.4,beautifulsoup4==4.9.3,black==21.5b1,certifi==2020.12.5,chardet==4.0.0,click==8.0.1,dataclasses==0.8,flake8==3.9.2,flake8-black==0.2.1,flake8-docstrings==1.6.0,flake8-polyfill==1.0.2,flake8-quotes==3.2.0,futu
re==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,mccabe==0.6.1,mypy-extensions==0.4.3,openqa-review===1.20.4-12-gfa18f7b,pathspec==0.8.1,pep8-naming==0.11.1,pika==1.2.0,pycodestyle==2.7.0,pydocstyle==6.1.1,pyflakes==2.3.1,
PyYAML==5.4.1,regex==2021.4.4,requests==2.25.1,snowballstemmer==2.1.0,sortedcontainers==2.4.0,soupsieve==2.2.1,toml==0.10.2,typed-ast==1.4.3,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
black inst-nodeps: /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
ERROR: invocation failed (exit code 1), logfile: /home/tina/openqa-devel/repos/openqa_review/.tox/black/log/black-18.log 
ERROR: actionid: black
msg: installpkg
cmdargs: ['/home/tina/openqa-devel/repos/openqa_review/.tox/black/bin/pip', 'install', '-U', '--no-deps', '/home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip']

Processing ./.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done' 
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: openqa-review
  Building wheel for openqa-review (pyproject.toml): started 
  Building wheel for openqa-review (pyproject.toml): finished with status 'done'
  Created wheel for openqa-review: filename=openqa_review-1.25.0_72_g7fc883a-py3-none-any.whl size=43648 sha256=116f56ad5d74eb5b98585d9f4d16144af498391480e554dc823eba002b8233e6
  Stored in directory: /home/tina/.cache/pip/wheels/76/3b/15/ac3b33683af4670706df887c8021b0a41c48a3a62ada04c25a
  WARNING: Built wheel for openqa-review is invalid: Metadata 1.2 mandates PEP 440 version, but '1.25.0-72-g7fc883a' is not
Failed to build openqa-review
ERROR: Could not build wheels for openqa-review, which is required to install pyproject.toml-based projects

black installed: appdirs==1.4.4,beautifulsoup4==4.9.3,black==21.5b1,certifi==2020.12.5,chardet==4.0.0,click==8.0.1,dataclasses==0.8,future==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,mypy-extensions==0.4.3,openqa-review=
==1.20.4-12-gfa18f7b,pathspec==0.8.1,pika==1.2.0,PyYAML==5.4.1,regex==2021.4.4,requests==2.25.1,sortedcontainers==2.4.0,soupsieve==2.2.1,toml==0.10.2,typed-ast==1.4.3,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
doctests inst-nodeps: /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
ERROR: invocation failed (exit code 1), logfile: /home/tina/openqa-devel/repos/openqa_review/.tox/doctests/log/doctests-20.log
ERROR: actionid: doctests
msg: installpkg
cmdargs: ['/home/tina/openqa-devel/repos/openqa_review/.tox/doctests/bin/pip', 'install', '-U', '--no-deps', '/home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip']

Processing ./.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done' 
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: openqa-review
  Building wheel for openqa-review (pyproject.toml): started 
  Building wheel for openqa-review (pyproject.toml): finished with status 'done'
  Created wheel for openqa-review: filename=openqa_review-1.25.0_72_g7fc883a-py3-none-any.whl size=43648 sha256=800a61f1c6246e875cfa01e84a7e36eecd906ec73431825c16a1d8e7e0477c62
  Stored in directory: /home/tina/.cache/pip/wheels/76/3b/15/ac3b33683af4670706df887c8021b0a41c48a3a62ada04c25a
  WARNING: Built wheel for openqa-review is invalid: Metadata 1.2 mandates PEP 440 version, but '1.25.0-72-g7fc883a' is not
Failed to build openqa-review
ERROR: Could not build wheels for openqa-review, which is required to install pyproject.toml-based projects

doctests installed: attrs==21.2.0,beautifulsoup4==4.9.3,certifi==2020.12.5,chardet==4.0.0,future==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,iniconfig==1.1.1,openqa-review===1.20.4-12-gfa18f7b,packaging==20.9,pika==1.2.0
,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.4,pytest-doc==0.0.1,PyYAML==5.4.1,requests==2.25.1,sortedcontainers==2.4.0,soupsieve==2.2.1,toml==0.10.2,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
py36 inst-nodeps: /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
ERROR: invocation failed (exit code 1), logfile: /home/tina/openqa-devel/repos/openqa_review/.tox/py36/log/py36-24.log
ERROR: actionid: py36
msg: installpkg
cmdargs: ['/home/tina/openqa-devel/repos/openqa_review/.tox/py36/bin/pip', 'install', '-U', '--no-deps', '/home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip']

Processing ./.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done' 
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: openqa-review
  Building wheel for openqa-review (pyproject.toml): started 
  Building wheel for openqa-review (pyproject.toml): finished with status 'done'
  Created wheel for openqa-review: filename=openqa_review-1.25.0_72_g7fc883a-py3-none-any.whl size=43648 sha256=a04636bba9bebc3d64e126fdecf250db74255a89eecfd82a993f3132a94c1228
  Stored in directory: /home/tina/.cache/pip/wheels/76/3b/15/ac3b33683af4670706df887c8021b0a41c48a3a62ada04c25a
  WARNING: Built wheel for openqa-review is invalid: Metadata 1.2 mandates PEP 440 version, but '1.25.0-72-g7fc883a' is not
Failed to build openqa-review
ERROR: Could not build wheels for openqa-review, which is required to install pyproject.toml-based projects

py36 installed: attrs==21.2.0,beautifulsoup4==4.9.3,certifi==2020.12.5,chardet==4.0.0,future==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,iniconfig==1.1.1,openqa-review===1.20.4-12-gfa18f7b,packaging==20.9,pika==1.2.0,plu
ggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.4,pytest-mock==3.6.1,PyYAML==5.4.1,requests==2.25.1,sortedcontainers==2.4.0,soupsieve==2.2.1,toml==0.10.2,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
py37 create: /home/tina/openqa-devel/repos/openqa_review/.tox/py37
ERROR: InterpreterNotFound: python3.7
py38 inst-nodeps: /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
ERROR: invocation failed (exit code 1), logfile: /home/tina/openqa-devel/repos/openqa_review/.tox/py38/log/py38-26.log
ERROR: actionid: py38
msg: installpkg
cmdargs: ['/home/tina/openqa-devel/repos/openqa_review/.tox/py38/bin/pip', 'install', '-U', '--no-deps', '/home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip']

Processing ./.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done' 
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: openqa-review
  Building wheel for openqa-review (pyproject.toml): started 
  Building wheel for openqa-review (pyproject.toml): finished with status 'done'
  Created wheel for openqa-review: filename=openqa_review-1.25.0_72_g7fc883a-py3-none-any.whl size=43648 sha256=eccffecaf0ecc923020b0592da352107c4e7433d9ea092b40003409c931b11e5
  Stored in directory: /home/tina/.cache/pip/wheels/76/3b/15/ac3b33683af4670706df887c8021b0a41c48a3a62ada04c25a
  WARNING: Built wheel for openqa-review is invalid: Metadata 1.2 mandates PEP 440 version, but '1.25.0-72-g7fc883a' is not
Failed to build openqa-review
ERROR: Could not build wheels for openqa-review, which is required to install pyproject.toml-based projects

py38 installed: attrs==21.2.0,beautifulsoup4==4.9.3,certifi==2020.12.5,chardet==4.0.0,future==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,iniconfig==1.1.1,openqa-review===1.20.4-12-gfa18f7b,packaging==20.9,pika==1.2.0,plu
ggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.4,pytest-mock==3.6.1,PyYAML==5.4.1,requests==2.25.1,sortedcontainers==2.4.0,soupsieve==2.2.1,toml==0.10.2,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
py39 inst-nodeps: /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
ERROR: invocation failed (exit code 1), logfile: /home/tina/openqa-devel/repos/openqa_review/.tox/py39/log/py39-20.log
ERROR: actionid: py39
msg: installpkg
cmdargs: ['/home/tina/openqa-devel/repos/openqa_review/.tox/py39/bin/pip', 'install', '-U', '--no-deps', '/home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip']

Processing ./.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done' 
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: openqa-review
  Building wheel for openqa-review (pyproject.toml): started 
  Building wheel for openqa-review (pyproject.toml): finished with status 'done'
  Created wheel for openqa-review: filename=openqa_review-1.25.0_72_g7fc883a-py3-none-any.whl size=43648 sha256=160f7b129ca15b339d3a77cbb60e2468e7960ced37c5e5d960ef7090d1543336
  Stored in directory: /home/tina/.cache/pip/wheels/76/3b/15/ac3b33683af4670706df887c8021b0a41c48a3a62ada04c25a
  WARNING: Built wheel for openqa-review is invalid: Metadata 1.2 mandates PEP 440 version, but '1.25.0-72-g7fc883a' is not
Failed to build openqa-review
ERROR: Could not build wheels for openqa-review, which is required to install pyproject.toml-based projects

py39 installed: attrs==21.2.0,beautifulsoup4==4.9.3,certifi==2020.12.5,chardet==4.0.0,future==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,iniconfig==1.1.1,openqa-review===1.20.4-12-gfa18f7b,packaging==20.9,pika==1.2.0,plu
ggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.4,pytest-mock==3.6.1,PyYAML==5.4.1,requests==2.25.1,sortedcontainers==2.4.0,soupsieve==2.2.1,toml==0.10.2,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
cov develop-inst-nodeps: /home/tina/openqa-devel/repos/openqa_review
cov installed: attrs==21.2.0,beautifulsoup4==4.9.3,certifi==2020.12.5,chardet==4.0.0,coverage==5.5,future==0.18.2,humanfriendly==9.1,idna==2.10,importlib-metadata==4.2.0,iniconfig==1.1.1,-e git+git@github.com:os-autoinst/openqa_review@7fc88
3af7b78bdf866551cb57c8df121fc45cab3#egg=openqa_review,packaging==20.9,pika==1.2.0,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.4,pytest-cov==2.12.0,pytest-mock==3.6.1,PyYAML==5.4.1,requests==2.25.1,sortedcontainers==2.4.0,soupsiev
e==2.2.1,toml==0.10.2,typing-extensions==3.10.0.0,urllib3==1.26.5,zipp==3.4.1
cov runtests: PYTHONHASHSEED='4098065818'
cov runtests: commands[0] | py.test --cov=openqa_review
============================================================================================================= test session starts ==============================================================================================================
platform linux -- Python 3.6.12, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /home/tina/openqa-devel/repos/openqa_review
plugins: mock-3.6.1, cov-2.12.0
collected 54 items                                                                                                                                                                                                                             

tests/test_openqa_review.py ...........................................                                                                                                                                                                  [ 79%]
tests/test_tumblesle_release.py ...........                                                                                                                                                                                              [100%]

---------- coverage: platform linux, python 3.6.12-final-0 -----------
Name                                 Stmts   Miss Branch BrPart  Cover   Missing
--------------------------------------------------------------------------------
openqa_review/__init__.py                0      0      0      0   100%
openqa_review/browser.py               104      0      8      0   100%
openqa_review/openqa_review.py         717      1    300      1    99%   758
openqa_review/tumblesle_release.py     227      0     70      0   100%
--------------------------------------------------------------------------------
TOTAL                                 1048      1    378      1    99%

FAIL Required test coverage of 100.0% not reached. Total coverage: 99.86%

============================================================================================================= 54 passed in 10.81s ==============================================================================================================
ERROR: InvocationError: '/home/tina/openqa-devel/repos/openqa_review/.tox/cov/bin/py.test --cov=openqa_review'
___________________________________________________________________________________________________________________ summary ____________________________________________________________________________________________________________________
ERROR:   flake8: InvocationError: /home/tina/openqa-devel/repos/openqa_review/.tox/flake8/bin/pip install -U --no-deps /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip (see /home/tina/openqa-devel/r
epos/openqa_review/.tox/flake8/log/flake8-24.log)
ERROR:   black: InvocationError: /home/tina/openqa-devel/repos/openqa_review/.tox/black/bin/pip install -U --no-deps /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip (see /home/tina/openqa-devel/rep
os/openqa_review/.tox/black/log/black-18.log)
ERROR:   doctests: InvocationError: /home/tina/openqa-devel/repos/openqa_review/.tox/doctests/bin/pip install -U --no-deps /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip (see /home/tina/openqa-dev
el/repos/openqa_review/.tox/doctests/log/doctests-20.log)
ERROR:   py36: InvocationError: /home/tina/openqa-devel/repos/openqa_review/.tox/py36/bin/pip install -U --no-deps /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip (see /home/tina/openqa-devel/repos
/openqa_review/.tox/py36/log/py36-24.log)
SKIPPED:  py37: InterpreterNotFound: python3.7
ERROR:   py38: InvocationError: /home/tina/openqa-devel/repos/openqa_review/.tox/py38/bin/pip install -U --no-deps /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip (see /home/tina/openqa-devel/repos
/openqa_review/.tox/py38/log/py38-26.log)
ERROR:   py39: InvocationError: /home/tina/openqa-devel/repos/openqa_review/.tox/py39/bin/pip install -U --no-deps /home/tina/openqa-devel/repos/openqa_review/.tox/dist/openqa_review-1.25.0-72-g7fc883a.zip (see /home/tina/openqa-devel/repos
/openqa_review/.tox/py39/log/py39-20.log)
ERROR:   cov: commands failed

Related issues 1 (0 open1 closed)

Copied to openQA Project - action #102641: openqa_review: Cannot build doctests successfully size:MResolvedtinita2021-11-17

Actions
Actions

Also available in: Atom PDF