Package: src:python-pyvmomi
Version: 9.0.0.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/202602/

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:python-pyvmomi, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated

[... snipped ...]

adding 'pyVmomi/vim/vsan/host/VsanManagedPMemInfo.pyi'
adding 'pyVmomi/vim/vsan/host/VsanObjectProfileInfo.pyi'
adding 'pyVmomi/vim/vsan/host/VsanObjectSyncState.pyi'
adding 'pyVmomi/vim/vsan/host/VsanRuntimeInfo.pyi'
adding 'pyVmomi/vim/vsan/host/VsanScsiDisk.pyi'
adding 'pyVmomi/vim/vsan/host/VsanSyncingObjectQueryResult.pyi'
adding 'pyVmomi/vim/vsan/host/VsanSyncingObjectRecoveryDetails.pyi'
adding 'pyVmomi/vim/vsan/host/VsanWhatIfEvacDetail.pyi'
adding 'pyVmomi/vim/vsan/host/VsanWhatIfEvacResult.pyi'
adding 'pyVmomi/vim/vsan/host/WipeDiskEligible.pyi'
adding 'pyVmomi/vim/vsan/host/WipeDiskState.pyi'
adding 'pyVmomi/vim/vsan/host/WipeDiskStatus.pyi'
adding 'pyVmomi/vim/vsan/host/__init__.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/BrokenDiskChainIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/DisallowDataMovementIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/DisallowEvacuateDataIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/DiskUnhealthIssue.pyi'
adding 
'pyVmomi/vim/vsan/upgradesystem/HigherObjectsPresentDuringDowngradeIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/HostPropertyRetrieveIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/HostWithHybridDiskgroupIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/HostsCompressionOnlyNotSupported.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/MixedEsxVersionInClientIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/MixedEsxVersionIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/ObjectInaccessibleIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/ObjectPolicyIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/RemoteClusterNotCompatible.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/UnknownScanIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/UnsupportedHighDiskVersionIssue.pyi'
adding 'pyVmomi/vim/vsan/upgradesystem/__init__.pyi'
adding 'pyVmomi/vim/vslm/BaseConfigInfo.pyi'
adding 'pyVmomi/vim/vslm/CloneSpec.pyi'
adding 'pyVmomi/vim/vslm/CreateSpec.pyi'
adding 'pyVmomi/vim/vslm/DiskCryptoSpec.pyi'
adding 'pyVmomi/vim/vslm/DiskInfoFlag.pyi'
adding 'pyVmomi/vim/vslm/ID.pyi'
adding 'pyVmomi/vim/vslm/InfrastructureObjectPolicy.pyi'
adding 'pyVmomi/vim/vslm/InfrastructureObjectPolicySpec.pyi'
adding 'pyVmomi/vim/vslm/MigrateSpec.pyi'
adding 'pyVmomi/vim/vslm/ReconcileResult.pyi'
adding 'pyVmomi/vim/vslm/ReconcileSpec.pyi'
adding 'pyVmomi/vim/vslm/RelocateSpec.pyi'
adding 'pyVmomi/vim/vslm/StateInfo.pyi'
adding 'pyVmomi/vim/vslm/TagEntry.pyi'
adding 'pyVmomi/vim/vslm/VClockInfo.pyi'
adding 'pyVmomi/vim/vslm/VStorageObject.pyi'
adding 'pyVmomi/vim/vslm/VStorageObjectControlFlag.pyi'
adding 'pyVmomi/vim/vslm/VStorageObjectManagerBase.pyi'
adding 'pyVmomi/vim/vslm/VStorageObjectSnapshot.pyi'
adding 'pyVmomi/vim/vslm/VStorageObjectSnapshotDetails.pyi'
adding 'pyVmomi/vim/vslm/VStorageObjectSnapshotInfo.pyi'
adding 'pyVmomi/vim/vslm/__init__.pyi'
adding 'pyVmomi/vim/vslm/host/VStorageObjectManager.pyi'
adding 'pyVmomi/vim/vslm/host/__init__.pyi'
adding 'pyVmomi/vim/vslm/vcenter/RetrieveVStorageObjSpec.pyi'
adding 'pyVmomi/vim/vslm/vcenter/VStorageObjectAssociations.pyi'
adding 'pyVmomi/vim/vslm/vcenter/VStorageObjectManager.pyi'
adding 'pyVmomi/vim/vslm/vcenter/__init__.pyi'
adding 'pyVmomi/vmodl/DataObject.pyi'
adding 'pyVmomi/vmodl/DynamicArray.pyi'
adding 'pyVmomi/vmodl/DynamicData.pyi'
adding 'pyVmomi/vmodl/DynamicProperty.pyi'
adding 'pyVmomi/vmodl/KeyAnyValue.pyi'
adding 'pyVmomi/vmodl/LocalizableMessage.pyi'
adding 'pyVmomi/vmodl/LocalizedMethodFault.pyi'
adding 'pyVmomi/vmodl/ManagedObject.pyi'
adding 'pyVmomi/vmodl/MethodFault.pyi'
adding 'pyVmomi/vmodl/RuntimeFault.pyi'
adding 'pyVmomi/vmodl/__init__.pyi'
adding 'pyVmomi/vmodl/fault/HostCommunication.pyi'
adding 'pyVmomi/vmodl/fault/HostNotConnected.pyi'
adding 'pyVmomi/vmodl/fault/HostNotReachable.pyi'
adding 'pyVmomi/vmodl/fault/InvalidArgument.pyi'
adding 'pyVmomi/vmodl/fault/InvalidRequest.pyi'
adding 'pyVmomi/vmodl/fault/InvalidType.pyi'
adding 'pyVmomi/vmodl/fault/ManagedObjectNotFound.pyi'
adding 'pyVmomi/vmodl/fault/MethodNotFound.pyi'
adding 'pyVmomi/vmodl/fault/NotEnoughLicenses.pyi'
adding 'pyVmomi/vmodl/fault/NotImplemented.pyi'
adding 'pyVmomi/vmodl/fault/NotSupported.pyi'
adding 'pyVmomi/vmodl/fault/RequestCanceled.pyi'
adding 'pyVmomi/vmodl/fault/SecurityError.pyi'
adding 'pyVmomi/vmodl/fault/SystemError.pyi'
adding 'pyVmomi/vmodl/fault/UnexpectedFault.pyi'
adding 'pyVmomi/vmodl/fault/__init__.pyi'
adding 'pyVmomi/vmodl/query/InvalidCollectorVersion.pyi'
adding 'pyVmomi/vmodl/query/InvalidProperty.pyi'
adding 'pyVmomi/vmodl/query/PropertyCollector.pyi'
adding 'pyVmomi/vmodl/query/__init__.pyi'
adding 'pyVmomi/vslm/AboutInfo.pyi'
adding 'pyVmomi/vslm/QueryDatastoreInfoResult.pyi'
adding 'pyVmomi/vslm/ServiceInstance.pyi'
adding 'pyVmomi/vslm/ServiceInstanceContent.pyi'
adding 'pyVmomi/vslm/StorageLifecycleManager.pyi'
adding 'pyVmomi/vslm/Task.pyi'
adding 'pyVmomi/vslm/TaskInfo.pyi'
adding 'pyVmomi/vslm/TaskReason.pyi'
adding 'pyVmomi/vslm/TaskReasonAlarm.pyi'
adding 'pyVmomi/vslm/TaskReasonSchedule.pyi'
adding 'pyVmomi/vslm/TaskReasonSystem.pyi'
adding 'pyVmomi/vslm/TaskReasonUser.pyi'
adding 'pyVmomi/vslm/__init__.pyi'
adding 'pyVmomi/vslm/auth/SessionManager.pyi'
adding 'pyVmomi/vslm/auth/__init__.pyi'
adding 'pyVmomi/vslm/fault/SyncFault.pyi'
adding 'pyVmomi/vslm/fault/VslmFault.pyi'
adding 'pyVmomi/vslm/fault/__init__.pyi'
adding 'pyVmomi/vslm/vso/DatastoreSyncStatus.pyi'
adding 'pyVmomi/vslm/vso/VStorageObjectAssociations.pyi'
adding 'pyVmomi/vslm/vso/VStorageObjectManager.pyi'
adding 'pyVmomi/vslm/vso/VStorageObjectQueryResult.pyi'
adding 'pyVmomi/vslm/vso/VStorageObjectQuerySpec.pyi'
adding 'pyVmomi/vslm/vso/VStorageObjectResult.pyi'
adding 'pyVmomi/vslm/vso/VStorageObjectSnapshotResult.pyi'
adding 'pyVmomi/vslm/vso/__init__.pyi'
adding 'pyvmomi-9.0.0.0.dist-info/licenses/LICENSE.txt'
adding 'pyvmomi-9.0.0.0.dist-info/licenses/NOTICE.txt'
adding 'pyvmomi-9.0.0.0.dist-info/METADATA'
adding 'pyvmomi-9.0.0.0.dist-info/WHEEL'
adding 'pyvmomi-9.0.0.0.dist-info/top_level.txt'
adding 'pyvmomi-9.0.0.0.dist-info/zip-safe'
adding 'pyvmomi-9.0.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pyvmomi-9.0.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.3, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 38 items

tests/test_connect.py .....F.........                                    [ 39%]
tests/test_container_view.py .                                           [ 42%]
tests/test_deserializer.py .                                             [ 44%]
tests/test_iso8601.py ..                                                 [ 50%]
tests/test_json.py ........                                              [ 71%]
tests/test_managed_object.py .                                           [ 73%]
tests/test_pbm_check_compatibility.py .                                  [ 76%]
tests/test_serializer.py .......                                         [ 94%]
tests/test_vim_session_oriented_stub.py .                                [ 97%]
tests/test_virtual_machine_object.py .                                   [100%]

=================================== FAILURES ===================================
_______________________ ConnectionTests.test_http_proxy ________________________

self = <tests.test_connect.ConnectionTests testMethod=test_http_proxy>

    @tests.VCRTestBase.my_vcr.use_cassette('http_proxy.yaml',
                      cassette_library_dir=tests.fixtures_path,
                      record_mode='once')
    def test_http_proxy(self):
        conn = connect.SoapStubAdapter(
            'vcenter.test',
            httpProxyHost='my-http-proxy',
            httpProxyPort=8080
        ).GetConnection()
        self.assertEqual(conn._tunnel_host, 'vcenter.test')
        self.assertEqual(conn._tunnel_port, 443)
        conn.request('GET', '/')
>       conn.getresponse()

tests/test_connect.py:145: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
<vcr.patch.VCRHTTPSConnection/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/fixtures/http_proxy.yaml
 object at 0x7f5913c4fb60>
_ = False, kwargs = {}

    def getresponse(self, _=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self._vcr_request):
            log.info(f"Playing response for {self._vcr_request} from cassette")
            response = self.cassette.play_response(self._vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and 
self.cassette.filter_request(self._vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self._vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't 
overwrite existing cassette 
('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/fixtures/http_proxy.yaml')
 in your current record mode ('once').
E               No match for the request (<Request (GET) 
https://vcenter.test/>) was found.
E               Found 1 similar requests with 2 different matcher(s) :
E               
E               1 - (<Request (GET) https://my-http-proxy:8080/>).
E               Matchers succeeded : ['method', 'scheme', 'path', 'query']
E               Matchers failed :
E               host - assertion failure :
E               vcenter.test != my-http-proxy
E               port - assertion failure :
E               443 != 8080

/usr/lib/python3/dist-packages/vcr/stubs/__init__.py:277: 
CannotOverwriteExistingCassetteException
=========================== short test summary info ============================
FAILED tests/test_connect.py::ConnectionTests::test_http_proxy - vcr.errors.C...
========================= 1 failed, 37 passed in 1.03s =========================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 38 items

tests/test_connect.py .....F.........                                    [ 39%]
tests/test_container_view.py .                                           [ 42%]
tests/test_deserializer.py .                                             [ 44%]
tests/test_iso8601.py ..                                                 [ 50%]
tests/test_json.py ........                                              [ 71%]
tests/test_managed_object.py .                                           [ 73%]
tests/test_pbm_check_compatibility.py .                                  [ 76%]
tests/test_serializer.py .......                                         [ 94%]
tests/test_vim_session_oriented_stub.py .                                [ 97%]
tests/test_virtual_machine_object.py .                                   [100%]

=================================== FAILURES ===================================
_______________________ ConnectionTests.test_http_proxy ________________________

self = <tests.test_connect.ConnectionTests testMethod=test_http_proxy>

    @tests.VCRTestBase.my_vcr.use_cassette('http_proxy.yaml',
                      cassette_library_dir=tests.fixtures_path,
                      record_mode='once')
    def test_http_proxy(self):
        conn = connect.SoapStubAdapter(
            'vcenter.test',
            httpProxyHost='my-http-proxy',
            httpProxyPort=8080
        ).GetConnection()
        self.assertEqual(conn._tunnel_host, 'vcenter.test')
        self.assertEqual(conn._tunnel_port, 443)
        conn.request('GET', '/')
>       conn.getresponse()

tests/test_connect.py:145: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
<vcr.patch.VCRHTTPSConnection/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/fixtures/http_proxy.yaml
 object at 0x7f6b3d3d1a90>
_ = False, kwargs = {}

    def getresponse(self, _=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self._vcr_request):
            log.info(f"Playing response for {self._vcr_request} from cassette")
            response = self.cassette.play_response(self._vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and 
self.cassette.filter_request(self._vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self._vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't 
overwrite existing cassette 
('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/fixtures/http_proxy.yaml')
 in your current record mode ('once').
E               No match for the request (<Request (GET) 
https://vcenter.test/>) was found.
E               Found 1 similar requests with 2 different matcher(s) :
E               
E               1 - (<Request (GET) https://my-http-proxy:8080/>).
E               Matchers succeeded : ['method', 'scheme', 'path', 'query']
E               Matchers failed :
E               host - assertion failure :
E               vcenter.test != my-http-proxy
E               port - assertion failure :
E               443 != 8080

/usr/lib/python3/dist-packages/vcr/stubs/__init__.py:277: 
CannotOverwriteExistingCassetteException
=========================== short test summary info ============================
FAILED tests/test_connect.py::ConnectionTests::test_http_proxy - vcr.errors.C...
========================= 1 failed, 37 passed in 0.99s =========================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to