crossbario / crossbar

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

Make standalone the default personality #1900

Closed om26er closed 2 years ago

om26er commented 2 years ago

Fixes https://github.com/crossbario/crossbar/issues/1890

om26er commented 2 years ago

hmm, seems crossbar fails to start during CI because the port is already taken.

oberstet commented 2 years ago

this?

twisted.internet.error.CannotListenError: Couldn't listen on any:1883: [Errno 98] Address already in use.

no idea. I could restart the whole machine to check on a defined state ... should I?

om26er commented 2 years ago

no idea. I could restart the whole machine to check on a defined state ... should I?

yeah, I guess that'd help

oberstet commented 2 years ago

ok, all OS updates done and rebooted. it now fails with the following .. mmh

Error: 
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/cbbuilder/actions-runner-crossbar/_work/crossbar/crossbar/crossbar/edge/node/tests/test_docker.py", line 109, in test_fs_get_fail
    self.client.fs_open(0, '/home/myfile')
  File "/home/cbbuilder/actions-runner-crossbar/_work/crossbar/crossbar/crossbar/edge/node/docker.py", line 691, in fs_open
    with os.scandir(root) as iterator:
builtins.PermissionError: [Errno 13] Permission denied: '/var/lib/docker/home/myfile/'

crossbar.edge.node.tests.test_docker.TestDocker.test_fs_get_fail
-------------------------------------------------------------------------------
Ran 314 tests in 1.087s

FAILED (skips=45, expectedFailures=3, errors=1, successes=265)
Error: Process completed with exit code 1.
om26er commented 2 years ago

ok, all OS updates done and rebooted. it now fails with the following .. mmh

So that failure only happens on matterhorn and seems its not an issue when running on my system locally. I have disabled that test for now to get CI to pass in this PR (https://github.com/crossbario/crossbar/pull/1906)

om26er commented 2 years ago

Once the other PR lands, I guess we can trigger the CI on this one again