Test failure: device_id invalid

Bug #1849549 reported by Dan Watkins on 2019-10-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Undecided
Dan Watkins

Bug Description

Seen in https://jenkins.ubuntu.com/server/job/curtin-ci/3757/nodes=metal-s390x/console:

14:18:38 ======================================================================
14:18:38 ERROR: returns a dasd kname if device_id is valid and online
14:18:38 ----------------------------------------------------------------------
14:18:38 Traceback (most recent call last):
14:18:38 File "/var/lib/jenkins/servers/server/workspace/curtin-ci/nodes/metal-s390x/curtin-3757/tests/unittests/test_block_dasd.py", line 96, in setUp
14:18:38 self.dasd = dasd.DasdDevice(random_device_id())
14:18:38 File "/var/lib/jenkins/servers/server/workspace/curtin-ci/nodes/metal-s390x/curtin-3757/curtin/block/dasd.py", line 309, in __init__
14:18:38 super(DasdDevice, self).__init__(device_id)
14:18:38 File "/var/lib/jenkins/servers/server/workspace/curtin-ci/nodes/metal-s390x/curtin-3757/curtin/block/dasd.py", line 283, in __init__
14:18:38 _valid_device_id(self.device_id)
14:18:38 File "/var/lib/jenkins/servers/server/workspace/curtin-ci/nodes/metal-s390x/curtin-3757/curtin/block/dasd.py", line 274, in _valid_device_id
14:18:38 "device_id invalid: devno not in 0-0x10000: '%s'" % dev)
14:18:38 ValueError: device_id invalid: devno not in 0-0x10000: 'ffff'

Related branches

Changed in curtin:
assignee: nobody → Dan Watkins (daniel-thewatkins)

This bug is fixed with commit eba47151 to curtin on branch master.
To view that commit see the following URL:
https://git.launchpad.net/curtin/commit/?id=eba47151

Changed in curtin:
status: New → Fix Committed

This bug is believed to be fixed in curtin in version 19.3. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in curtin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers