Package: src:magnum-capi-helm
Version: 1.2.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:magnum-capi-helm, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
rm -rf build .stestr
for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
find . -iname '*.pyc' -delete
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary

[... snipped ...]

magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeadm_control_plane_found
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeadm_control_plane_found
 ... FAIL
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeconfig_path_config
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeconfig_path_config
 ... ok
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeconfig_path_default
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeconfig_path_default
 ... ok
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeconfig_path_env
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeconfig_path_env
 ... ok
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_machine_deployment_found
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_machine_deployment_found
 ... FAIL
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_manifests_by_label
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_manifests_by_label
 ... ok
NodeGroup(cluster_id='5d12f6fd-a196-4bf0-ae4c-1f639a523a52',created_at=2026-08-01T20:58:39Z,docker_volume_size=None,flavor_id='flavor_medium',id=1,image_id='test_image',is_default=True,labels={},max_node_count=None,min_node_count=1,name='test-worker',node_addresses=['172.17.2.4'],node_count=3,project_id='fake_project',role='worker',stack_id='047c6319-7abd-fake-a033-8c6af0173cd0',status='CREATE_COMPLETE',status_reason='Completed
 
successfully',updated_at=2026-08-01T20:58:39Z,uuid=0f9b537d-a354-4aa4-8129-40b26613e365,version='1')
NodeGroup(cluster_id='5d12f6fd-a196-4bf0-ae4c-1f639a523a52',created_at=2026-08-01T20:58:39Z,docker_volume_size=None,flavor_id=None,id=2,image_id='test_image',is_default=True,labels={},max_node_count=None,min_node_count=1,name='test-master',node_addresses=['172.17.2.18'],node_count=3,project_id='fake_project',role='master',stack_id='047c6319-7abd-fake-a033-8c6af0173cd0',status='CREATE_COMPLETE',status_reason='Completed
 
successfully',updated_at=None,uuid=81450672-b103-4d9e-80f6-6e1c91d0d1bb,version='1')
NodeGroup(cluster_id='5d12f6fd-a196-4bf0-ae4c-1f639a523a52',created_at=2026-08-01T20:58:39Z,docker_volume_size=None,flavor_id=None,id=123,image_id=None,is_default=True,labels={},max_node_count=None,min_node_count=1,name='non-autoscale-group',node_addresses=['172.17.2.4'],node_count=1,project_id='fake_project',role='worker',stack_id='047c6319-7abd-fake-a033-8c6af0173cd0',status='CREATE_COMPLETE',status_reason='Completed
 
successfully',updated_at=None,uuid=288eb525-26e3-48e8-ae3f-88d4e8d31882,version='1')
NodeGroup(cluster_id='5d12f6fd-a196-4bf0-ae4c-1f639a523a52',created_at=2026-08-01T20:58:39Z,docker_volume_size=None,flavor_id=None,id=456,image_id=None,is_default=True,labels={},max_node_count=3,min_node_count=1,name='autoscale-group',node_addresses=['172.17.2.4'],node_count=1,project_id='fake_project',role='worker',stack_id='047c6319-7abd-fake-a033-8c6af0173cd0',status='CREATE_COMPLETE',status_reason='Completed
 
successfully',updated_at=None,uuid=a729553a-085f-4fe5-8a8f-73c742c6e452,version='1')

======================================================================
FAIL: 
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_capi_cluster_found
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_capi_cluster_found
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/mock.py", line 1432, in patched
    return func(*newargs, **newkeywargs)
  File "/<<PKGBUILDDIR>>/magnum_capi_helm/tests/test_kubernetes.py", line 224, 
in test_get_capi_cluster_found
    mock_request.assert_called_once_with(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        "GET",
        ^^^^^^
    ...<4 lines>...
        allow_redirects=True,
        ^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/unittest/mock.py", line 991, in 
assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/unittest/mock.py", line 979, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: expected call not found.
Expected: request('GET', 
'https://test:6443/apis/cluster.x-k8s.io/v1beta1/namespaces/ns1/clusters/name', 
allow_redirects=True)
  Actual: request('GET', 
'https://test:6443/apis/cluster.x-k8s.io/v1beta1/namespaces/ns1/clusters/name', 
params=None, allow_redirects=True)


======================================================================
FAIL: 
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeadm_control_plane_found
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_kubeadm_control_plane_found
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/mock.py", line 1432, in patched
    return func(*newargs, **newkeywargs)
  File "/<<PKGBUILDDIR>>/magnum_capi_helm/tests/test_kubernetes.py", line 267, 
in test_get_kubeadm_control_plane_found
    mock_request.assert_called_once_with(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        "GET",
        ^^^^^^
    ...<4 lines>...
        allow_redirects=True,
        ^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/unittest/mock.py", line 991, in 
assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/unittest/mock.py", line 979, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: expected call not found.
Expected: request('GET', 
'https://test:6443/apis/controlplane.cluster.x-k8s.io/v1beta1/namespaces/ns1/kubeadmcontrolplanes/name',
 allow_redirects=True)
  Actual: request('GET', 
'https://test:6443/apis/controlplane.cluster.x-k8s.io/v1beta1/namespaces/ns1/kubeadmcontrolplanes/name',
 params=None, allow_redirects=True)


======================================================================
FAIL: 
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_machine_deployment_found
magnum_capi_helm.tests.test_kubernetes.TestKubernetesClient.test_get_machine_deployment_found
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/mock.py", line 1432, in patched
    return func(*newargs, **newkeywargs)
  File "/<<PKGBUILDDIR>>/magnum_capi_helm/tests/test_kubernetes.py", line 287, 
in test_get_machine_deployment_found
    mock_request.assert_called_once_with(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        "GET",
        ^^^^^^
    ...<4 lines>...
        allow_redirects=True,
        ^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/unittest/mock.py", line 991, in 
assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/unittest/mock.py", line 979, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: expected call not found.
Expected: request('GET', 
'https://test:6443/apis/cluster.x-k8s.io/v1beta1/namespaces/ns1/machinedeployments/name',
 allow_redirects=True)
  Actual: request('GET', 
'https://test:6443/apis/cluster.x-k8s.io/v1beta1/namespaces/ns1/machinedeployments/name',
 params=None, allow_redirects=True)


----------------------------------------------------------------------
Ran 154 tests in 3.303s

FAILED (failures=3)
+ echo ======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze 
output...
======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze 
output...
+ [ -x /usr/bin/pip3 ]
+ pip3 freeze
WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory 
is not owned or is not writable by the current user. The cache has been 
disabled. Check the permissions and owner of that directory. If executing pip 
with sudo, you should use sudo's -H flag.
alembic==1.18.4
amqp==5.3.1
attrs==26.1.0
autocommand==2.2.2
automaton==3.3.0
autopage==0.6.0
babel==2.17.0
bcrypt==5.0.0
blinker==1.9.0
cachetools==7.0.1
certifi==2026.7.22
chardet==5.2.0
charset-normalizer==3.4.7
cliff==4.13.3
cmd2==4.0.0+ds
confluent-kafka==2.12.2
cotyledon==2.2.0
cryptography==49.0.0
debtcollector==3.0.0
decorator==5.2.1
deprecation==2.1.0
dnspython==2.8.0
docutils==0.22.4
dogpile.cache==1.5.0
eventlet==0.40.4
fasteners==0.20
fixtures==4.3.0
futurist==3.2.1
gevent==25.9.1
greenlet==3.3.2
idna==3.18
inflect==7.5.0
iso8601==2.1.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
Jinja2==3.1.6
jmespath==1.0.1
jsonpatch==1.33
jsonpointer==2.4
jsonschema==4.26.0
jsonschema-specifications==2023.12.1
kazoo==2.10.0.dev0
keystoneauth1==5.13.1
keystonemiddleware==12.0.0
kombu==5.6.2
legacy-cgi==2.6.4
linkify-it-py==2.1.0
logutils==0.3.5
lxml==6.1.0
magnum==22.0.0
magnum-capi-helm==1.2.0
Mako==1.3.10.dev0
markdown-it-py==4.2.0
MarkupSafe==3.0.3
mdurl==0.1.2
monotonic==1.6
more-itertools==11.1.0
msgpack==1.1.2
netaddr==1.3.0
networkx==3.4.2
oauthlib==3.3.1
openstacksdk==4.10.0
os-client-config==2.3.0
os-service-types==1.8.2
osc-lib==4.4.0
oslo.cache==4.1.1
oslo.concurrency==7.4.1
oslo.config==10.3.0
oslo.context==6.3.0
oslo.db==18.0.0
oslo.i18n==6.7.2
oslo.log==8.1.0
oslo.messaging==17.3.0
oslo.metrics==0.15.1
oslo.middleware==8.0.0
oslo.policy==5.0.0
oslo.reports==3.7.0
oslo.serialization==5.9.1
oslo.service==4.5.1
oslo.upgradecheck==2.7.1
oslo.utils==10.0.1
oslo.versionedobjects==3.9.0
oslotest==6.0.0
packaging==26.2
Paste==3.10.1
PasteDeploy==3.1.0
pbr==7.0.3
pecan==1.5.1
platformdirs==4.10.0
prettytable==3.17.0
prometheus_client==0.21.1
prompt_toolkit==3.0.53
psutil==7.1.0
psycopg2==2.9.12
pure-sasl==0.5.1
pyasyncore==1.0.2
pycadf==4.0.1
pydot==4.0.1
Pygments==2.20.0
PyJWT==2.13.0
pykerberos==1.1.14
PyMySQL==1.1.2
pyOpenSSL==26.3.0
pyparsing==3.3.2
pyperclip==1.11.0
python-barbicanclient==7.3.0
python-binary-memcached==0.31.4
python-cinderclient==9.9.0
python-dateutil==2.9.0
python-glanceclient==4.11.0
python-heatclient==5.1.0
python-keystoneclient==5.8.0
python-memcached==1.60
python-neutronclient==11.8.0
python-novaclient==18.12.0
python-octaviaclient==3.13.0
python-openstackclient==9.0.0
python-subunit==1.4.6
python-swiftclient==4.10.0
PyYAML==6.0.3
pyzmq==27.1.0
referencing==0.37.0
repoze.lru==0.7
requests==2.34.2
requestsexceptions==1.4.0
rfc3986==2.0.0
rich==15.0.0
rich-argparse==1.8.0
roman-numerals==4.1.0
Routes==2.5.1
rpds-py==0.30.0
setproctitle==1.3.7
setuptools==78.1.1
simplegeneric==0.8.1
simplejson==4.1.1
six==1.17.0
SQLAlchemy==2.0.48
statsd==4.0.1
stestr==4.2.1
stevedore==5.7.0
taskflow==6.2.0
Tempita==0.6.0
tenacity==9.1.4
testresources==2.0.2
testscenarios==0.6.1
testtools==2.8.5
tomlkit==0.13.3
typeguard==4.4.4
typing_extensions==4.16.0
uc-micro-py==2.0.0
uhashring==2.4
urllib3==2.7.0
vine==5.1.0
voluptuous==0.16.0
warlock==2.1.0
wcwidth==0.2.14
WebOb==1.8.10
Werkzeug==3.1.8
wheel==0.47.0
wrapt==2.1.1
WSME==0.12.1
yappi==1.7.3
zipp==3.23.0
zope.event==6.2
zope.interface==8.5
+ exit 1
make[1]: *** [debian/rules:24: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to