CentOS 7 CI job fails #3296

Closed
opened 2020-04-13 13:48:48 +00:00 by exarkun · 2 comments
Traceback (most recent call last):
> File "/tmp/tahoe-lafs.tox/py27-coverage/bin/tahoe", line 6, in <module>
    from allmydata.scripts.runner import run
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/allmydata/scripts/runner.py", line 9, in <module>
    from allmydata.version_checks import get_package_versions_string
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/allmydata/version_checks.py", line 399, in <module>
    _vers_and_locs_list, _cross_check_errors = _get_package_versions_and_locations()
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/allmydata/version_checks.py", line 356, in _get_package_versions_and_locations
    *import*(modulename)
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/*init*.py", line 2, in <module>
    from .wormhole import create, *version*
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/wormhole.py", line 11, in <module>
    from ._boss import Boss
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_boss.py", line 15, in <module>
    from ._dilation.manager import Dilator
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/manager.py", line 26, in <module>
    from .connector import Connector
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/connector.py", line 20, in <module>
    from .connection import [DilatedConnectionProtocol](wiki/DilatedConnectionProtocol), KCM
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/connection.py", line 13, in <module>
    from .encode import to_be4, from_be4
> File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/encode.py", line 4, in <module>
    assert len(struct.pack("<L", 0)) == 4
[TypeError](wiki/TypeError): Struct() argument 1 must be string, not unicode

It looks like some kind of incompatibility between Python 2.7 and the latest release of magic-wormhole, I suppose.

This turns CI red.

``` Traceback (most recent call last): > File "/tmp/tahoe-lafs.tox/py27-coverage/bin/tahoe", line 6, in <module> from allmydata.scripts.runner import run > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/allmydata/scripts/runner.py", line 9, in <module> from allmydata.version_checks import get_package_versions_string > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/allmydata/version_checks.py", line 399, in <module> _vers_and_locs_list, _cross_check_errors = _get_package_versions_and_locations() > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/allmydata/version_checks.py", line 356, in _get_package_versions_and_locations *import*(modulename) > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/*init*.py", line 2, in <module> from .wormhole import create, *version* > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/wormhole.py", line 11, in <module> from ._boss import Boss > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_boss.py", line 15, in <module> from ._dilation.manager import Dilator > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/manager.py", line 26, in <module> from .connector import Connector > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/connector.py", line 20, in <module> from .connection import [DilatedConnectionProtocol](wiki/DilatedConnectionProtocol), KCM > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/connection.py", line 13, in <module> from .encode import to_be4, from_be4 > File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/wormhole/_dilation/encode.py", line 4, in <module> assert len(struct.pack("<L", 0)) == 4 [TypeError](wiki/TypeError): Struct() argument 1 must be string, not unicode ``` It looks like some kind of incompatibility between Python 2.7 and the latest release of magic-wormhole, I suppose. This turns CI red.
exarkun added the
unknown
supercritical
defect
n/a
labels 2020-04-13 13:48:48 +00:00
exarkun added this to the undecided milestone 2020-04-13 13:48:48 +00:00
Author
(https://github.com/tahoe-lafs/tahoe-lafs/pull/701)
GitHub <noreply@github.com> commented 2020-04-13 15:44:23 +00:00
Owner

In 8089f21/trunk:

Merge pull request #701 from tahoe-lafs/3296.centos-ci

Fix CentOS CI job

Fixes: ticket:3296
In [8089f21/trunk](/tahoe-lafs/trac-2024-07-25/commit/8089f21b4e26c5d8f512cbc68c10d229aca844a8): ``` Merge pull request #701 from tahoe-lafs/3296.centos-ci Fix CentOS CI job Fixes: ticket:3296 ```
tahoe-lafs added the
fixed
label 2020-04-13 15:44:23 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#3296
No description provided.