[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997878: python-click breaks python-softlayer autopkgtest: 'NoneType' object is not iterable



Source: python-click, python-softlayer
Control: found -1 python-click/8.0.2-1
Control: found -1 python-softlayer/5.8.5-2
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-click the autopkgtest of python-softlayer
fails in testing when that autopkgtest is run with the binary packages
of python-click from unstable. It passes when run with only packages
from testing. In tabular form:

                       pass            fail
python-click           from testing    8.0.2-1
python-softlayer       from testing    5.8.5-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python-click to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-click

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-softlayer/16215050/log.gz

=================================== FAILURES
===================================
_______________________ VirtCreateTests.test_create_like
_______________________
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: Traceback (most recent call
last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/tests/CLI/modules/vs/vs_create_tests.py",
line 370, in test_create_like
    self.assert_called_with('SoftLayer_Virtual_Guest',
'generateOrderTemplate', args=args)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/SoftLayer/testing/__init__.py",
line 144, in assert_called_with
    raise AssertionError('%s::%s was not called with given properties: %s'
AssertionError: SoftLayer_Virtual_Guest::generateOrderTemplate was not
called with given properties: {'args': ({'datacenter': {'name':
'dal05'}, 'domain': 'test.sftlyr.ws', 'hourlyBillingFlag': True,
'hostname': 'vs-test-like', 'startCpus': 2, 'maxMemory': 1024,
'localDiskFlag': False, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'networkComponents': [{'maxSpeed': 100}],
'supplementalCreateObjectOptions': {'bootMode': None}},)}

----------------------------- Captured stderr call
-----------------------------
CRITICAL:root:SoftLayer_Virtual_Guest::generateOrderTemplate property
mismatch, args: expected=({'datacenter': {'name': 'dal05'}, 'domain':
'test.sftlyr.ws', 'hourlyBillingFlag': True, 'hostname': 'vs-test-like',
'startCpus': 2, 'maxMemory': 1024, 'localDiskFlag': False,
'operatingSystemReferenceCode': 'UBUNTU_LATEST', 'networkComponents':
[{'maxSpeed': 100}], 'supplementalCreateObjectOptions': {'bootMode':
None}},); actual=({'startCpus': 2, 'maxMemory': 1024, 'hostname':
'vs-test-like', 'domain': 'test.sftlyr.ws', 'localDiskFlag': False,
'hourlyBillingFlag': True, 'supplementalCreateObjectOptions':
{'bootMode': None}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'datacenter': {'name': 'dal05'}, 'networkComponents': [{'maxSpeed':
'100'}]},)
------------------------------ Captured log call
-------------------------------
CRITICAL root:__init__.py:180
SoftLayer_Virtual_Guest::generateOrderTemplate property mismatch, args:
expected=({'datacenter': {'name': 'dal05'}, 'domain': 'test.sftlyr.ws',
'hourlyBillingFlag': True, 'hostname': 'vs-test-like', 'startCpus': 2,
'maxMemory': 1024, 'localDiskFlag': False,
'operatingSystemReferenceCode': 'UBUNTU_LATEST', 'networkComponents':
[{'maxSpeed': 100}], 'supplementalCreateObjectOptions': {'bootMode':
None}},); actual=({'startCpus': 2, 'maxMemory': 1024, 'hostname':
'vs-test-like', 'domain': 'test.sftlyr.ws', 'localDiskFlag': False,
'hourlyBillingFlag': True, 'supplementalCreateObjectOptions':
{'bootMode': None}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'datacenter': {'name': 'dal05'}, 'networkComponents': [{'maxSpeed':
'100'}]},)
___________________ VirtCreateTests.test_create_like_flavor
____________________
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: Traceback (most recent call
last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/tests/CLI/modules/vs/vs_create_tests.py",
line 486, in test_create_like_flavor
    self.assert_called_with('SoftLayer_Virtual_Guest',
'generateOrderTemplate', args=args)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/SoftLayer/testing/__init__.py",
line 144, in assert_called_with
    raise AssertionError('%s::%s was not called with given properties: %s'
AssertionError: SoftLayer_Virtual_Guest::generateOrderTemplate was not
called with given properties: {'args': ({'datacenter': {'name':
'dal05'}, 'domain': 'test.sftlyr.ws', 'hourlyBillingFlag': True,
'hostname': 'vs-test-like', 'startCpus': None, 'maxMemory': None,
'localDiskFlag': None, 'supplementalCreateObjectOptions': {'bootMode':
None, 'flavorKeyName': 'B1_1X2X25'}, 'operatingSystemReferenceCode':
'UBUNTU_LATEST', 'networkComponents': [{'maxSpeed': 100}]},)}

----------------------------- Captured stderr call
-----------------------------
CRITICAL:root:SoftLayer_Virtual_Guest::generateOrderTemplate property
mismatch, args: expected=({'datacenter': {'name': 'dal05'}, 'domain':
'test.sftlyr.ws', 'hourlyBillingFlag': True, 'hostname': 'vs-test-like',
'startCpus': None, 'maxMemory': None, 'localDiskFlag': None,
'supplementalCreateObjectOptions': {'bootMode': None, 'flavorKeyName':
'B1_1X2X25'}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'networkComponents': [{'maxSpeed': 100}]},); actual=({'startCpus': None,
'maxMemory': None, 'hostname': 'vs-test-like', 'domain':
'test.sftlyr.ws', 'localDiskFlag': None, 'hourlyBillingFlag': True,
'supplementalCreateObjectOptions': {'bootMode': None, 'flavorKeyName':
'B1_1X2X25'}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'datacenter': {'name': 'dal05'}, 'networkComponents': [{'maxSpeed':
'100'}]},)
------------------------------ Captured log call
-------------------------------
CRITICAL root:__init__.py:180
SoftLayer_Virtual_Guest::generateOrderTemplate property mismatch, args:
expected=({'datacenter': {'name': 'dal05'}, 'domain': 'test.sftlyr.ws',
'hourlyBillingFlag': True, 'hostname': 'vs-test-like', 'startCpus':
None, 'maxMemory': None, 'localDiskFlag': None,
'supplementalCreateObjectOptions': {'bootMode': None, 'flavorKeyName':
'B1_1X2X25'}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'networkComponents': [{'maxSpeed': 100}]},); actual=({'startCpus': None,
'maxMemory': None, 'hostname': 'vs-test-like', 'domain':
'test.sftlyr.ws', 'localDiskFlag': None, 'hourlyBillingFlag': True,
'supplementalCreateObjectOptions': {'bootMode': None, 'flavorKeyName':
'B1_1X2X25'}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'datacenter': {'name': 'dal05'}, 'networkComponents': [{'maxSpeed':
'100'}]},)
____________________ VirtCreateTests.test_create_like_image
____________________
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: Traceback (most recent call
last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/tests/CLI/modules/vs/vs_create_tests.py",
line 444, in test_create_like_image
    self.assert_called_with('SoftLayer_Virtual_Guest',
'generateOrderTemplate', args=args)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/SoftLayer/testing/__init__.py",
line 144, in assert_called_with
    raise AssertionError('%s::%s was not called with given properties: %s'
AssertionError: SoftLayer_Virtual_Guest::generateOrderTemplate was not
called with given properties: {'args': ({'datacenter': {'name':
'dal05'}, 'domain': 'test.sftlyr.ws', 'hourlyBillingFlag': True,
'hostname': 'vs-test-like', 'startCpus': 2, 'maxMemory': 1024,
'localDiskFlag': False, 'blockDeviceTemplateGroup': {'globalIdentifier':
'aaa1xxx1122233'}, 'networkComponents': [{'maxSpeed': 100}],
'supplementalCreateObjectOptions': {'bootMode': None}},)}

----------------------------- Captured stderr call
-----------------------------
CRITICAL:root:SoftLayer_Virtual_Guest::generateOrderTemplate property
mismatch, args: expected=({'datacenter': {'name': 'dal05'}, 'domain':
'test.sftlyr.ws', 'hourlyBillingFlag': True, 'hostname': 'vs-test-like',
'startCpus': 2, 'maxMemory': 1024, 'localDiskFlag': False,
'blockDeviceTemplateGroup': {'globalIdentifier': 'aaa1xxx1122233'},
'networkComponents': [{'maxSpeed': 100}],
'supplementalCreateObjectOptions': {'bootMode': None}},);
actual=({'startCpus': 2, 'maxMemory': 1024, 'hostname': 'vs-test-like',
'domain': 'test.sftlyr.ws', 'localDiskFlag': False, 'hourlyBillingFlag':
True, 'supplementalCreateObjectOptions': {'bootMode': None},
'blockDeviceTemplateGroup': {'globalIdentifier': 'aaa1xxx1122233'},
'datacenter': {'name': 'dal05'}, 'networkComponents': [{'maxSpeed':
'100'}]},)
------------------------------ Captured log call
-------------------------------
CRITICAL root:__init__.py:180
SoftLayer_Virtual_Guest::generateOrderTemplate property mismatch, args:
expected=({'datacenter': {'name': 'dal05'}, 'domain': 'test.sftlyr.ws',
'hourlyBillingFlag': True, 'hostname': 'vs-test-like', 'startCpus': 2,
'maxMemory': 1024, 'localDiskFlag': False, 'blockDeviceTemplateGroup':
{'globalIdentifier': 'aaa1xxx1122233'}, 'networkComponents':
[{'maxSpeed': 100}], 'supplementalCreateObjectOptions': {'bootMode':
None}},); actual=({'startCpus': 2, 'maxMemory': 1024, 'hostname':
'vs-test-like', 'domain': 'test.sftlyr.ws', 'localDiskFlag': False,
'hourlyBillingFlag': True, 'supplementalCreateObjectOptions':
{'bootMode': None}, 'blockDeviceTemplateGroup': {'globalIdentifier':
'aaa1xxx1122233'}, 'datacenter': {'name': 'dal05'}, 'networkComponents':
[{'maxSpeed': '100'}]},)
__________________ VirtCreateTests.test_create_like_transient
__________________
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: Traceback (most recent call
last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/tests/CLI/modules/vs/vs_create_tests.py",
line 528, in test_create_like_transient
    self.assert_called_with('SoftLayer_Virtual_Guest',
'generateOrderTemplate', args=args)
  File
"/tmp/autopkgtest-lxc.st1ir0ft/downtmp/build.Zrk/src/SoftLayer/testing/__init__.py",
line 144, in assert_called_with
    raise AssertionError('%s::%s was not called with given properties: %s'
AssertionError: SoftLayer_Virtual_Guest::generateOrderTemplate was not
called with given properties: {'args': ({'datacenter': {'name':
'dal05'}, 'domain': 'test.sftlyr.ws', 'hourlyBillingFlag': True,
'hostname': 'vs-test-like', 'startCpus': None, 'maxMemory': None,
'localDiskFlag': None, 'transientGuestFlag': True,
'supplementalCreateObjectOptions': {'bootMode': None, 'flavorKeyName':
'B1_1X2X25'}, 'operatingSystemReferenceCode': 'UBUNTU_LATEST',
'networkComponents': [{'maxSpeed': 100}]},)}

----------------------------- Captured stderr call
-----------------------------
CRITICAL:root:SoftLayer_Virtual_Guest::generateOrderTemplate property
mismatch, args: expected=({'datacenter': {'name': 'dal05'}, 'domain':
'test.sftlyr.ws', 'hourlyBillingFlag': True, 'hostname': 'vs-test-like',
'startCpus': None, 'maxMemory': None, 'localDiskFlag': None,
'transientGuestFlag': True, 'supplementalCreateObjectOptions':
{'bootMode': None, 'flavorKeyName': 'B1_1X2X25'},
'operatingSystemReferenceCode': 'UBUNTU_LATEST', 'networkComponents':
[{'maxSpeed': 100}]},); actual=({'startCpus': None, 'maxMemory': None,
'hostname': 'vs-test-like', 'domain': 'test.sftlyr.ws', 'localDiskFlag':
None, 'hourlyBillingFlag': True, 'supplementalCreateObjectOptions':
{'bootMode': None, 'flavorKeyName': 'B1_1X2X25'}, 'transientGuestFlag':
True, 'operatingSystemReferenceCode': 'UBUNTU_LATEST', 'datacenter':
{'name': 'dal05'}, 'networkComponents': [{'maxSpeed': '100'}]},)
------------------------------ Captured log call
-------------------------------
CRITICAL root:__init__.py:180
SoftLayer_Virtual_Guest::generateOrderTemplate property mismatch, args:
expected=({'datacenter': {'name': 'dal05'}, 'domain': 'test.sftlyr.ws',
'hourlyBillingFlag': True, 'hostname': 'vs-test-like', 'startCpus':
None, 'maxMemory': None, 'localDiskFlag': None, 'transientGuestFlag':
True, 'supplementalCreateObjectOptions': {'bootMode': None,
'flavorKeyName': 'B1_1X2X25'}, 'operatingSystemReferenceCode':
'UBUNTU_LATEST', 'networkComponents': [{'maxSpeed': 100}]},);
actual=({'startCpus': None, 'maxMemory': None, 'hostname':
'vs-test-like', 'domain': 'test.sftlyr.ws', 'localDiskFlag': None,
'hourlyBillingFlag': True, 'supplementalCreateObjectOptions':
{'bootMode': None, 'flavorKeyName': 'B1_1X2X25'}, 'transientGuestFlag':
True, 'operatingSystemReferenceCode': 'UBUNTU_LATEST', 'datacenter':
{'name': 'dal05'}, 'networkComponents': [{'maxSpeed': '100'}]},)
=========================== short test summary info
============================
FAILED
tests/CLI/modules/vs/vs_create_tests.py::VirtCreateTests::test_create_like
FAILED
tests/CLI/modules/vs/vs_create_tests.py::VirtCreateTests::test_create_like_flavor
FAILED
tests/CLI/modules/vs/vs_create_tests.py::VirtCreateTests::test_create_like_image
FAILED
tests/CLI/modules/vs/vs_create_tests.py::VirtCreateTests::test_create_like_transient
================== 4 failed, 1477 passed, 4 skipped in 14.95s
==================
autopkgtest [01:10:17]: test py3


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: