#3296 closed defect (fixed)

CentOS 7 CI job fails

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: supercritical Milestone: undecided
Component: unknown Version: n/a
Keywords: review-needed Cc:
Launchpad Bug:

Description

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, 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: 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.

Change History (2)

comment:2 Changed at 2020-04-13T15:44:23Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 8089f21/trunk:

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

Fix CentOS CI job

Fixes: ticket:3296

Note: See TracTickets for help on using tickets.