Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1763484
Summary: | python-pyvmomi: FTBFS in Fedora rawhide | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> | ||||
Component: | python-pyvmomi | Assignee: | Raphael Groner <projects.rg> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | me, mhroncok, michael, projects.rg | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | https://koschei.fedoraproject.org/package/python-pyvmomi | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-pyvmomi-6.7.3-3.fc32 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-11-15 03:39:13 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1759878, 1770851 | ||||||
Attachments: |
|
Description
Raphael Groner
2019-10-20 09:01:22 UTC
Relevant snippet from build.log: + /usr/bin/python3 setup.py test running test Searching for vcrpy<2 Reading https://pypi.org/simple/vcrpy/ Download error on https://pypi.org/simple/vcrpy/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't retrieve index page for 'vcrpy' Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or working download links found for vcrpy<2 error: Could not find suitable distribution for Requirement.parse('vcrpy<2') This needs to get discussed with upstream. https://github.com/vmware/pyvmomi/issues/735 Created attachment 1636081 [details]
python-pyvmomi-spec proposal
please review and explain why explicit Requires has no effect
because it is: vcrpy<2 and we have 2.1.0 (In reply to Miro Hrončok from comment #3) > because it is: vcrpy<2 and we have 2.1.0 That's clear to me. But I'm explicitly truncating requirements.txt incl. vcrpy version. It doesn't reproduce for me: + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing pyvmomi.egg-info/PKG-INFO writing dependency_links to pyvmomi.egg-info/dependency_links.txt writing requirements to pyvmomi.egg-info/requires.txt writing top-level names to pyvmomi.egg-info/top_level.txt reading manifest file 'pyvmomi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyvmomi.egg-info/SOURCES.txt' running build_ext /builddir/build/BUILD/pyvmomi-6.7.3/pyVmomi/Version.py:26: SyntaxWarning: "is" with a literal. Did you mean "=="? if isLegacy or ns is "": test_iso8601_set_datetime (tests.test_iso8601.Iso8601Tests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVim/connect.py:641: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tree = __GetElementTree(protocol, server, port, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_vm_config_iso8601 (tests.test_iso8601.Iso8601Tests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVim/connect.py:641: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tree = __GetElementTree(protocol, server, port, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_request_context_serializer_global (tests.test_serializer.SerializerTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/tests/test_serializer.py:109: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> self._base_serialize_test(soap_creator, request_matcher) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_request_context_serializer_instance (tests.test_serializer.SerializerTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/tests/test_serializer.py:100: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> self._base_serialize_test(soap_creator, request_matcher) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_serialize_float (tests.test_serializer.SerializerTests) ... ok test_serialize_integer (tests.test_serializer.SerializerTests) ... ok test_serialize_object (tests.test_serializer.SerializerTests) ... ok test_serialize_unicode (tests.test_serializer.SerializerTests) ... ok test_simple_request_serializer (tests.test_serializer.SerializerTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/tests/test_serializer.py:93: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> self._base_serialize_test(soap_creator, self._body_request_matcher) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_vm_nic_data (tests.test_virtual_machine_object.VirtualMachineTests) ... /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_basic_connection (tests.test_connect.ConnectionTests) ... /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_basic_connection_bad_password (tests.test_connect.ConnectionTests) ... /usr/lib64/python3.8/traceback.py:220: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tb.tb_frame.clear() ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_disconnect_on_no_connection (tests.test_connect.ConnectionTests) ... ok test_http_proxy (tests.test_connect.ConnectionTests) ... /usr/lib/python3.8/site-packages/vcr/cassette.py:117: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> return function(*args, **kwargs) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_http_proxy_with_cert_file (tests.test_connect.ConnectionTests) ... /usr/lib64/python3.8/unittest/mock.py:2042: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> setattr(_type, entry, MagicProxy(entry, self)) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_smart_connection (tests.test_connect.ConnectionTests) ... ok test_ssl_tunnel (tests.test_connect.ConnectionTests) ... ok test_ssl_tunnel_http_failure (tests.test_connect.ConnectionTests) ... ok test_sspi_connection (tests.test_connect.ConnectionTests) ... /usr/lib64/python3.8/site-packages/yaml/nodes.py:38: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> self.tag = tag ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_json_datacenter_explode (tests.test_json.JSONTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVim/connect.py:641: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tree = __GetElementTree(protocol, server, port, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/pyvmomi-6.7.3/pyVmomi/VmomiSupport.py:625: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> for info in self._GetPropertyList(): ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_json_datastore_explode (tests.test_json.JSONTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVim/connect.py:641: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tree = __GetElementTree(protocol, server, port, ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_json_host_explode (tests.test_json.JSONTests) ... /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/pyvmomi-6.7.3/pyVmomi/VmomiSupport.py:656: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> result = [info for info in cls._propList ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/pyvmomi-6.7.3/pyVmomi/VmomiSupport.py:656: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> result = [info for info in cls._propList ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/pyvmomi-6.7.3/pyVmomi/VmomiSupport.py:656: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> result = [info for info in cls._propList ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_json_network_explode (tests.test_json.JSONTests) ... ok test_json_vm_explode_default (tests.test_json.JSONTests) ... ok test_json_vm_explode_objs_match (tests.test_json.JSONTests) ... ok test_json_vm_explode_strip_dynamic (tests.test_json.JSONTests) ... /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_json_vm_explode_type_match (tests.test_json.JSONTests) ... /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_basic_container_view (tests.test_container_view.ContainerViewTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVim/connect.py:641: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tree = __GetElementTree(protocol, server, port, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_root_folder_parent (tests.test_managed_object.ManagedObjectTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVim/connect.py:641: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> tree = __GetElementTree(protocol, server, port, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.8/site-packages/vcr/stubs/__init__.py:367: ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> super(VCRConnection, self).__setattr__(name, value) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_invoke_method_login_session_exception (tests.test_vim_session_oriented_stub.SoapAdapterTests) ... ok test_pbm_check_compatibility (tests.test_pbm_check_compatibility.PBMTests) ... /builddir/build/BUILD/pyvmomi-6.7.3/pyVmomi/VmomiSupport.py:512: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)> return self._stub.InvokeMethod(self, info, args) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok ---------------------------------------------------------------------- Ran 31 tests in 3.884s OK + RPM_EC=0 ++ jobs -p + exit 0 (In reply to Miro Hrončok from comment #5) > It doesn't reproduce for me: … Then it seems to be an issue related to my local mock environment. No idea. No. Did you verify correct dependencies? I fail to find both request and six. I am afraid i don't understand the question. I have downloaded the specfile, the sources, and crated a SRPM with rpmbuilds -bs. I've built the SRPM in rawhide mock. It built. (In reply to Miro Hrončok from comment #9) > https://koji.fedoraproject.org/koji/taskinfo?taskID=38997098 Nothing about six neither requests: Provides: python-pyvmomi = 6.7.3-3.fc32 python3-pyvim python3-pyvmomi = 6.7.3-3.fc32 python3.8dist(pyvmomi) = 6.7.3 python3dist(pyvmomi) = 6.7.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.8 Obsoletes: python-pyvmomi < 6.7.3-3.fc32 $ rpm -qp --requires python3-pyvmomi-6.7.3-3.fc32.noarch.rpm python(abi) = 3.8 python3-requests python3-six rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 (In reply to Miro Hrončok from comment #12) > $ rpm -qp --requires python3-pyvmomi-6.7.3-3.fc32.noarch.rpm > python(abi) = 3.8 > python3-requests > python3-six > rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(FileDigests) <= 4.6.0-1 > rpmlib(PartialHardlinkSets) <= 4.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > rpmlib(PayloadIsZstd) <= 5.4.18-1 Thanks. Then it seems to be a bug within build.log. |