crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

reactivate some tests .. #1974

Closed oberstet closed 2 years ago

oberstet commented 2 years ago

it works locally

====================================================== 8 passed in 321.89 seconds =======================================================
2022-03-28T05:34:02+0200 Main loop terminated.
2022-03-28T05:34:02+0200 Unhandled error in Deferred:
2022-03-28T05:34:02+0200 
________________________________________________________________ summary ________________________________________________________________
  sphinx: commands succeeded
  flake8: commands succeeded
  mypy: commands succeeded
  yapf: commands succeeded
  bandit: commands succeeded
SKIPPED:  py37-pinned-trial: InterpreterNotFound: python3.7
SKIPPED:  py37-unpinned-trial: InterpreterNotFound: python3.7
SKIPPED:  py37-abtrunk-trial: InterpreterNotFound: python3.7
  py39-pinned-trial: commands succeeded
  py39-unpinned-trial: commands succeeded
  py39-abtrunk-trial: commands succeeded
SKIPPED:  py310-pinned-trial: InterpreterNotFound: python3.10
SKIPPED:  py310-unpinned-trial: InterpreterNotFound: python3.10
SKIPPED:  py310-abtrunk-trial: InterpreterNotFound: python3.10
SKIPPED:  pypy38-pinned-trial: InterpreterNotFound: pypy3.8
SKIPPED:  pypy38-unpinned-trial: InterpreterNotFound: pypy3.8
SKIPPED:  pypy38-abtrunk-trial: InterpreterNotFound: pypy3.8
SKIPPED:  py37-cli: InterpreterNotFound: python3.7
  py39-cli: commands succeeded
SKIPPED:  py310-cli: InterpreterNotFound: python3.10
SKIPPED:  pypy38-cli: InterpreterNotFound: pypy3.8
SKIPPED:  py37-examples: InterpreterNotFound: python3.7
  py39-examples: commands succeeded
SKIPPED:  py310-examples: InterpreterNotFound: python3.10
SKIPPED:  pypy38-examples: InterpreterNotFound: pypy3.8
  functests-cb: commands succeeded
  functests-cfc: commands succeeded
  congratulations :)
(cpy39_1) (base) oberstet@intel-nuci7:~/scm/crossbario/crossbar$ 
oberstet commented 2 years ago
===================================== 291 passed, 46 skipped, 3 xfailed, 1 warnings in 4.27 seconds =====================================
________________________________________________________________ summary ________________________________________________________________
  pytest: commands succeeded
  congratulations :)
oberstet commented 2 years ago

local test is now working for:


(cpy39_1) (base) oberstet@intel-nuci7:~/scm/crossbario/crossbar$ clear && time make test
...
  sphinx: commands succeeded
  flake8: commands succeeded
  mypy: commands succeeded
  yapf: commands succeeded
  bandit: commands succeeded
  py39-pinned-trial: commands succeeded
  py39-unpinned-trial: commands succeeded
  py39-abtrunk-trial: commands succeeded
  py39-examples: commands succeeded
  pytest: commands succeeded
  functests-cb: commands succeeded
  functests-cfc: commands succeeded
  py39-api-1: commands succeeded
  py39-cli-0: commands succeeded
  py39-cli-1: commands succeeded
  py39-cli-2: commands succeeded
  py39-cli-3: commands succeeded
  congratulations :)

real    39m5,394s
user    28m49,892s
sys 4m4,766s
oberstet commented 2 years ago

it works locally via tox, but fails on GH actions:

==================================== ERRORS ====================================
_______ ERROR collecting test/functests/cfctests/test_cfc_rlink_mesh.py ________
test/functests/cfctests/test_cfc_rlink_mesh.py:40: in <module>
    node1_pubkey = _read_node_key(node1_cbdir, private=False)['hex']
/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/crossbar/common/key.py:86: in _read_node_key
    raise Exception('no node key file found at {}'.format(node_key_path))
E   Exception: no node key file found at ./test/cf1/.crossbar/key.pub
_________ ERROR collecting test/functests/cfctests/test_cfc_rlinks.py __________
test/functests/cfctests/test_cfc_rlinks.py:32: in <module>
    node1_pubkey = _read_node_key(node1_cbdir, private=False)['hex']
/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/crossbar/common/key.py:86: in _read_node_key
    raise Exception('no node key file found at {}'.format(node_key_path))
E   Exception: no node key file found at ./test/cf1/.crossbar/key.pub
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 2 error in 0.38 seconds ============================