Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1978794 Details for
Bug 2226134
pyp2rpm: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-25 19:05:44 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 19:05:44 UTC
Size:
32.00 KB
patch
obsolete
>ASSED [ 51%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[0-has_extension-False] PASSED [ 51%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[0-has_test_suite-True] PASSED [ 52%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[0-doc_files-expected11] PASSED [ 52%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[0-doc_license-expected12] PASSED [ 52%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[0-sphinx_dir-None] PASSED [ 53%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[0-python_versions-expected14] PASSED [ 53%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-runtime_deps-expected15] PASSED [ 53%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-build_deps-expected16] PASSED [ 54%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-py_modules-expected17] PASSED [ 54%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-packages-expected18] PASSED [ 54%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-scripts-expected19] PASSED [ 54%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-home_page-TODO:] PASSED [ 55%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-summary-Build standalone executables for Windows (python 3 version)] PASSED [ 55%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-license-MIT/X11] PASSED [ 55%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-has_pth-False] PASSED [ 56%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-has_extension-False] PASSED [ 56%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-has_test_suite-False] PASSED [ 56%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-doc_files-expected26] PASSED [ 57%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-doc_license-expected27] PASSED [ 57%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-sphinx_dir-None] PASSED [ 57%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_extract[1-python_versions-expected29] PASSED [ 58%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_license_from_trove[input0-] PASSED [ 58%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_license_from_trove[input1-Python] PASSED [ 58%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_license_from_trove[input2-Python] PASSED [ 59%] >tests/test_metadata_extractors.py::TestWheelMetadataExtractor::test_license_from_trove[input3-GPLv2+ and MIT] PASSED [ 59%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[python-spam-python-spam-python-spam] PASSED [ 59%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[python-PySpam-python-PySpam-python-pyspam] PASSED [ 60%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[python-spampy-python-spampy-python-spampy] PASSED [ 60%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[spam-python-python-spam-python-spam] PASSED [ 60%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[python26-foo-python-foo-python-foo] PASSED [ 61%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[foo-python26-python-foo-python-foo] PASSED [ 61%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[python3-foo-python-foo-python-foo] PASSED [ 61%] >tests/test_name_convertor.py::TestUtils::test_rpm_name[foo-python3-python-foo-python-foo] PASSED [ 62%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python-spam-None-python-spam] PASSED [ 62%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[pyspam-None-pyspam] PASSED [ 62%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python-spam-3-python-spam] PASSED [ 63%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[pyspam-26-python26-pyspam] PASSED [ 63%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[pyspam-3-pyspam] PASSED [ 63%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python-foo-26-python26-foo] PASSED [ 63%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python-foo-3-python-foo] PASSED [ 64%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python2-foo-None-python-foo] PASSED [ 64%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python2-foo-3-python-foo] PASSED [ 64%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python26-foo-3-python-foo] PASSED [ 65%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python26-foo-None-python-foo] PASSED [ 65%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python-foo-25-python25-foo] PASSED [ 65%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python2-devel-3-python3-devel] PASSED [ 66%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python2-devel-None-python2-devel] PASSED [ 66%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python2dist(spam)-3-python3dist(spam)] PASSED [ 66%] >tests/test_name_convertor.py::TestUtils::test_rpm_versioned_name[python2dist(spam)-2-python2dist(spam)] PASSED [ 67%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Babel-2-babel] SKIPPED (Optional dependency DNF required) [ 67%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Babel-3-python3-babel] SKIPPED (Optional dependency DNF required) [ 67%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[MarkupSafe-2-python2-MarkupSafe] SKIPPED (Optional dependency DNF required) [ 68%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[MarkupSafe-3-python3-markupsafe] SKIPPED (Optional dependency DNF required) [ 68%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Jinja2-2-python2-Jinja2] SKIPPED (Optional dependency DNF required) [ 68%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Jinja2-3-python3-jinja2] SKIPPED (Optional dependency DNF required) [ 69%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Sphinx-3-python3-sphinx] SKIPPED (Optional dependency DNF required) [ 69%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Cython-2-python2-Cython] SKIPPED (Optional dependency DNF required) [ 69%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[Cython-3-python3-Cython] SKIPPED (Optional dependency DNF required) [ 70%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[pytest-2-python2-pytest] SKIPPED (Optional dependency DNF required) [ 70%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[pytest-3-python3-pytest] SKIPPED (Optional dependency DNF required) [ 70%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[vertica-2-python2-vertica] SKIPPED (Optional dependency DNF required) [ 71%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[oslosphinx-3-python3-oslo-sphinx] SKIPPED (Optional dependency DNF required) [ 71%] >tests/test_name_convertor.py::TestDandifiedNameConvertor::test_rpm_name[mock-3-python3-mock] SKIPPED (Optional dependency DNF required) [ 71%] >tests/test_name_convertor.py::TestNameVariants::test_best_matching[3-input_list0-python3-Foo] PASSED [ 72%] >tests/test_name_convertor.py::TestNameVariants::test_best_matching[-input_list1-python-foo] PASSED [ 72%] >tests/test_name_convertor.py::TestNameVariants::test_best_matching[2-input_list2-foo] PASSED [ 72%] >tests/test_name_convertor.py::TestNameVariants::test_merge[first_list0-second_list0-expected0] PASSED [ 72%] >tests/test_name_convertor.py::TestAutoProvidesNameConvertor::test_rpm_name[spam-None-python3dist(spam)] PASSED [ 73%] >tests/test_name_convertor.py::TestAutoProvidesNameConvertor::test_rpm_name[spam-2-python2dist(spam)] PASSED [ 73%] >tests/test_name_convertor.py::TestAutoProvidesNameConvertor::test_rpm_name[SPAM-2-python2dist(spam)] PASSED [ 73%] >tests/test_name_convertor.py::TestAutoProvidesNameConvertor::test_rpm_name[Spam$SPam-2-python2dist(spam-spam)] PASSED [ 74%] >tests/test_name_convertor.py::TestAutoProvidesNameConvertor::test_rpm_name[spam-3-python3dist(spam)] PASSED [ 74%] >tests/test_name_convertor.py::TestAutoProvidesNameConvertor::test_rpm_name[spam.spam-3-python3dist(spam.spam)] PASSED [ 74%] >tests/test_package_data.py::TestPackageData::test_summary_with_dot[Spam.-Spam] PASSED [ 75%] >tests/test_package_data.py::TestPackageData::test_summary_with_dot[Spam-Spam] PASSED [ 75%] >tests/test_package_data.py::TestPackageData::test_set_none_value[summary] PASSED [ 75%] >tests/test_package_data.py::TestPackageData::test_set_none_value[description] PASSED [ 76%] >tests/test_package_data.py::TestPackageData::test_get_nonexistent_attribute PASSED [ 76%] >tests/test_package_data.py::TestPackageData::test_underscored_name[py-spam-py_spam] PASSED [ 76%] >tests/test_package_data.py::TestPackageData::test_underscored_name[py_spam-py_spam] PASSED [ 77%] >tests/test_package_data.py::TestPackageData::test_underscored_name[spam-spam] PASSED [ 77%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-Spam-update_data0-Spam] PASSED [ 77%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-init1-update_data1-expected1] PASSED [ 78%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-init2-update_data2-expected2] PASSED [ 78%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-init3-update_data3-expected3] PASSED [ 78%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-False-update_data4-False] PASSED [ 79%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-Spam-update_data5-Spam] PASSED [ 79%] >tests/test_package_data.py::TestPackageData::test_update_attr[name-Spam-update_data6-Spam] PASSED [ 79%] >tests/test_package_data.py::TestPackageData::test_update_attr[doc_files-Spam-update_data7-expected7] PASSED [ 80%] >tests/test_package_getters.py::TestPypiDownloader::test_init_good_data[django-3.0.11] PASSED [ 80%] >tests/test_package_getters.py::TestPypiDownloader::test_init_good_data_pre[django-3.1rc1] PASSED [ 80%] >tests/test_package_getters.py::TestPypiFileGetter::test_init_bad_data[eggs-2] PASSED [ 81%] >tests/test_package_getters.py::TestPypiFileGetter::test_init_bad_data[spam-3] PASSED [ 81%] >tests/test_package_getters.py::TestPypiFileGetter::test_init_good_data[spam-1-1] PASSED [ 81%] >tests/test_package_getters.py::TestPypiFileGetter::test_init_good_data[spam-None-2] PASSED [ 81%] >tests/test_package_getters.py::TestPypiFileGetter::test_init_good_data_pre[spam-1-1] PASSED [ 82%] >tests/test_package_getters.py::TestPypiFileGetter::test_init_good_data_pre[spam-None-3.rc1] PASSED [ 82%] >tests/test_package_getters.py::TestLocalFileGetter::test_stripped_name_version[0-plumbum-0.9.0] PASSED [ 82%] >tests/test_package_getters.py::TestLocalFileGetter::test_stripped_name_version[1-Sphinx-1.1.3-py2.6] PASSED [ 83%] >tests/test_package_getters.py::TestLocalFileGetter::test_stripped_name_version[2-unextractable-1] PASSED [ 83%] >tests/test_package_getters.py::TestLocalFileGetter::test_stripped_name_version[3-setuptools-19.6-py2.py3-none-any] PASSED [ 83%] >tests/test_package_getters.py::TestLocalFileGetter::test_stripped_name_version[4-py2exe-0.9.2.2-py33.py34-none-any] PASSED [ 84%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_name_version[0-expected0] PASSED [ 84%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_name_version[1-expected1] PASSED [ 84%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_name_version[3-expected2] PASSED [ 85%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_name_version[4-expected3] PASSED [ 85%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_name_version[5-expected4] PASSED [ 85%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_name_version[6-expected5] PASSED [ 86%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_non_existent_file PASSED [ 86%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_existent_file PASSED [ 86%] >tests/test_package_getters.py::TestLocalFileGetter::test_get_to_same_location PASSED [ 87%] >tests/test_utils.py::TestUtils::test_memoize_by_args PASSED [ 87%] >tests/test_utils.py::TestUtils::test_remove_major_minor_suffix[input0-expected0] PASSED [ 87%] >tests/test_utils.py::TestUtils::test_remove_major_minor_suffix[input1-expected1] PASSED [ 88%] >tests/test_utils.py::TestUtils::test_remove_major_minor_suffix[input2-expected2] PASSED [ 88%] >tests/test_utils.py::TestUtils::test_remove_major_minor_suffix[input3-expected3] PASSED [ 88%] >tests/test_utils.py::TestUtils::test_remove_major_minor_suffix[input4-expected4] PASSED [ 89%] >tests/test_utils.py::TestUtils::test_runtime_to_build[input0-expected0] PASSED [ 89%] >tests/test_utils.py::TestUtils::test_runtime_to_build[input1-expected1] PASSED [ 89%] >tests/test_utils.py::TestUtils::test_runtime_to_build[input2-expected2] PASSED [ 90%] >tests/test_utils.py::TestUtils::test_runtime_to_build[input3-expected3] PASSED [ 90%] >tests/test_utils.py::TestUtils::test_unique_deps[input0-expected0] PASSED [ 90%] >tests/test_utils.py::TestUtils::test_unique_deps[input1-expected1] PASSED [ 90%] >tests/test_utils.py::TestUtils::test_unique_deps[input2-expected2] PASSED [ 91%] >tests/test_utils.py::TestUtils::test_unique_deps[input3-expected3] PASSED [ 91%] >tests/test_utils.py::TestUtils::test_unique_deps[input4-expected4] PASSED [ 91%] >tests/test_utils.py::TestUtils::test_unique_deps[input5-expected5] PASSED [ 92%] >tests/test_utils.py::TestUtils::test_rpm_eval PASSED [ 92%] >tests/test_utils.py::TestUtils::test_get_default_save_path_eval_success PASSED [ 92%] >tests/test_utils.py::TestUtils::test_get_default_save_path_eval_fail PASSED [ 93%] >tests/test_virtualenv.py::TestUtils::test_site_packages_filter[input0-expected0] PASSED [ 93%] >tests/test_virtualenv.py::TestUtils::test_site_packages_filter[input1-expected1] PASSED [ 93%] >tests/test_virtualenv.py::TestUtils::test_site_packages_filter[input2-expected2] PASSED [ 94%] >tests/test_virtualenv.py::TestUtils::test_site_packages_filter[input3-expected3] PASSED [ 94%] >tests/test_virtualenv.py::TestUtils::test_site_packages_filter[input4-expected4] PASSED [ 94%] >tests/test_virtualenv.py::TestUtils::test_scripts_filter[input0-expected0] PASSED [ 95%] >tests/test_virtualenv.py::TestUtils::test_scripts_filter[input1-expected1] PASSED [ 95%] >tests/test_virtualenv.py::TestUtils::test_scripts_filter[input2-expected2] PASSED [ 95%] >tests/test_virtualenv.py::TestUtils::test_scripts_filter[input3-expected3] PASSED [ 96%] >tests/test_virtualenv.py::TestUtils::test_scripts_filter[input4-expected4] PASSED [ 96%] >tests/test_virtualenv.py::TestDirsContent::test_sub_bin[before0-after0-expected0] PASSED [ 96%] >tests/test_virtualenv.py::TestDirsContent::test_sub_bin[before1-after1-expected1] PASSED [ 97%] >tests/test_virtualenv.py::TestDirsContent::test_sub_sitepackages[before0-after0-expected0] PASSED [ 97%] >tests/test_virtualenv.py::TestDirsContent::test_sub_sitepackages[before1-after1-expected1] PASSED [ 97%] >tests/test_virtualenv.py::TestDirsContent::test_sub_sitepackages[before2-after2-expected2] PASSED [ 98%] >tests/test_virtualenv.py::TestVirtualEnvGetData::test_get_data[/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz-expected0] FAILED [ 98%] >tests/test_virtualenv.py::TestVirtualEnv::test_get_dirs_differance[bin_diff0-package_diff0-expected0] PASSED [ 98%] >tests/test_virtualenv.py::TestVirtualEnv::test_get_dirs_differance[bin_diff1-package_diff1-expected1] PASSED [ 99%] >tests/test_virtualenv.py::TestVirtualEnv::test_get_dirs_differance[bin_diff2-package_diff2-expected2] PASSED [ 99%] >tests/test_virtualenv.py::TestVirtualEnv::test_get_dirs_differance[bin_diff3-package_diff3-expected3] PASSED [ 99%] >tests/test_virtualenv.py::TestVirtualEnv::test_get_dirs_differance[bin_diff4-package_diff4-expected4] PASSED [100%] >=================================== FAILURES =================================== >_ TestVirtualEnvGetData.test_get_data[/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz-expected0] _ >self = <virtualenvapi.manage.VirtualEnvironment object at 0x7fff952fb080> >package = '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz' >force = True, upgrade = False, options = ['--no-deps', '--ignore-installed'] > def install(self, package, force=False, upgrade=False, options=None): > """Installs the given package into this virtual environment, as > specified in pip's package syntax or a tuple of ('name', 'ver'), > only if it is not already installed. Some valid examples: > > 'Django' > 'Django==1.5' > ('Django', '1.5') > '-e .' > '-r requirements.txt' > > If `force` is True, force an installation. If `upgrade` is True, > attempt to upgrade the package in question. If both `force` and > `upgrade` are True, reinstall the package and its dependencies. > The `options` is a list of strings that can be used to pass to > pip.""" > if self.readonly: > raise VirtualenvReadonlyException() > if options is None: > options = [] > if isinstance(package, tuple): > package = '=='.join(package) > if package.startswith(('-e', '-r')): > package_args = package.split() > else: > package_args = [package] > if not (force or upgrade) and (package_args[0] != '-r' and self.is_installed(package_args[-1])): > self._write_to_log('%s is already installed, skipping (use force=True to override)' % package_args[-1]) > return > if not isinstance(options, list): > raise ValueError("Options must be a list of strings.") > if upgrade: > options += ['--upgrade'] > if force: > options += ['--force-reinstall'] > elif force: > options += ['--ignore-installed'] > try: >> self._execute_pip(['install'] + package_args + options) >/usr/lib/python3.12/site-packages/virtualenvapi/manage.py:228: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <virtualenvapi.manage.VirtualEnvironment object at 0x7fff952fb080> >args = ['install', '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz', '--no-deps', '--ignore-installed'] >log = True > def _execute_pip(self, args, log=True): > """ > Executes pip commands. > > :param args: Arguments to pass to pip (list[str]) > :param log: Log the output to a file [default: True] (boolean) > :return: See _execute > """ > > # Copy the pip calling arguments so they can be extended > exec_args = list(self._pip) > > # Older versions of pip don't support the version check argument. > # Fixes https://github.com/sjkingo/virtualenv-api/issues/35 > if self.pip_version[0] >= 6: > exec_args.append('--disable-pip-version-check') > > exec_args.extend(args) >> return self._execute(exec_args, log=log) >/usr/lib/python3.12/site-packages/virtualenvapi/manage.py:132: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <virtualenvapi.manage.VirtualEnvironment object at 0x7fff952fb080> >args = ['bin/python', '-m', 'pip', '--disable-pip-version-check', 'install', '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz', ...] >log = True > def _execute(self, args, log=True): > """Executes the given command inside the environment and returns the output.""" > if not self._ready: > self.open_or_create() > output = '' > error = '' > try: > proc = subprocess.Popen(args, cwd=self.path, env=self.env, stdout=subprocess.PIPE, stderr=subprocess.PIPE) > output, error = proc.communicate() > returncode = proc.returncode > if returncode: > raise subprocess.CalledProcessError(returncode, proc, (output, error)) > return to_text(output) > except OSError as e: > # raise a more meaningful error with the program name > prog = args[0] > if prog[0] != os.sep: > prog = os.path.join(self.path, prog) > raise OSError('%s: %s' % (prog, six.u(str(e)))) > except subprocess.CalledProcessError as e: > output, error = e.output > e.output = output >> raise e >/usr/lib/python3.12/site-packages/virtualenvapi/manage.py:156: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <virtualenvapi.manage.VirtualEnvironment object at 0x7fff952fb080> >args = ['bin/python', '-m', 'pip', '--disable-pip-version-check', 'install', '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz', ...] >log = True > def _execute(self, args, log=True): > """Executes the given command inside the environment and returns the output.""" > if not self._ready: > self.open_or_create() > output = '' > error = '' > try: > proc = subprocess.Popen(args, cwd=self.path, env=self.env, stdout=subprocess.PIPE, stderr=subprocess.PIPE) > output, error = proc.communicate() > returncode = proc.returncode > if returncode: >> raise subprocess.CalledProcessError(returncode, proc, (output, error)) >E subprocess.CalledProcessError: Command '<Popen: returncode: 1 args: ['bin/python', '-m', 'pip', '--disable-pip-versi...>' returned non-zero exit status 1. >/usr/lib/python3.12/site-packages/virtualenvapi/manage.py:145: CalledProcessError >During handling of the above exception, another exception occurred: >self = <pyp2rpm.virtualenv.VirtualEnv object at 0x7fff952faff0> > def install_package_to_venv(self): > ''' > Installs package given as first argument to virtualenv without > dependencies > ''' > try: >> self.env.install((self.name,), force=True, > options=["--no-deps"]) >pyp2rpm/virtualenv.py:88: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <virtualenvapi.manage.VirtualEnvironment object at 0x7fff952fb080> >package = '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz' >force = True, upgrade = False, options = ['--no-deps', '--ignore-installed'] > def install(self, package, force=False, upgrade=False, options=None): > """Installs the given package into this virtual environment, as > specified in pip's package syntax or a tuple of ('name', 'ver'), > only if it is not already installed. Some valid examples: > > 'Django' > 'Django==1.5' > ('Django', '1.5') > '-e .' > '-r requirements.txt' > > If `force` is True, force an installation. If `upgrade` is True, > attempt to upgrade the package in question. If both `force` and > `upgrade` are True, reinstall the package and its dependencies. > The `options` is a list of strings that can be used to pass to > pip.""" > if self.readonly: > raise VirtualenvReadonlyException() > if options is None: > options = [] > if isinstance(package, tuple): > package = '=='.join(package) > if package.startswith(('-e', '-r')): > package_args = package.split() > else: > package_args = [package] > if not (force or upgrade) and (package_args[0] != '-r' and self.is_installed(package_args[-1])): > self._write_to_log('%s is already installed, skipping (use force=True to override)' % package_args[-1]) > return > if not isinstance(options, list): > raise ValueError("Options must be a list of strings.") > if upgrade: > options += ['--upgrade'] > if force: > options += ['--force-reinstall'] > elif force: > options += ['--ignore-installed'] > try: > self._execute_pip(['install'] + package_args + options) > except subprocess.CalledProcessError as e: >> raise PackageInstallationException((e.returncode, e.output, package)) >E virtualenvapi.exceptions.PackageInstallationException: (1, b"Processing /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz\n Installing build dependencies: started\n Installing build dependencies: finished with status 'error'\n", '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz') >/usr/lib/python3.12/site-packages/virtualenvapi/manage.py:230: PackageInstallationException >During handling of the above exception, another exception occurred: >self = <test_virtualenv.TestVirtualEnvGetData object at 0x7fff95f2b6e0> >file = '/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz' >expected = {'has_pth': False, 'packages': ['utest'], 'py_modules': [], 'scripts': []} > @pytest.mark.parametrize(('file', 'expected'), [ > ('{}/test_data/utest-0.1.0.tar.gz'.format(tests_dir), > {'py_modules': [], 'scripts': [], 'packages': ['utest'], 'has_pth': False}), > ]) > @pytest.mark.skipif(sys.version_info[0] is 2 and > DEFAULT_PYTHON_VERSION is '3', reason="Can't extract virtualenv data") > def test_get_data(self, file, expected): > self.venv = VirtualEnv(name=file, > temp_dir=self.temp_dir, > name_convertor=NameConvertor(DEFAULT_DISTRO), > base_python_version=DEFAULT_PYTHON_VERSION) >> assert(self.venv.get_venv_data == expected) >tests/test_virtualenv.py:90: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pyp2rpm/virtualenv.py:121: in get_venv_data > self.install_package_to_venv() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <pyp2rpm.virtualenv.VirtualEnv object at 0x7fff952faff0> > def install_package_to_venv(self): > ''' > Installs package given as first argument to virtualenv without > dependencies > ''' > try: > self.env.install((self.name,), force=True, > options=["--no-deps"]) > except (ve.PackageInstallationException, > ve.VirtualenvReadonlyException): >> raise VirtualenvFailException( > 'Failed to install package to virtualenv') >E pyp2rpm.exceptions.VirtualenvFailException: Failed to install package to virtualenv >pyp2rpm/virtualenv.py:92: VirtualenvFailException >=============================== warnings summary =============================== >pyp2rpm/archive.py:6 > /builddir/build/BUILD/pyp2rpm-3.3.9/pyp2rpm/archive.py:6: DeprecationWarning: module 'sre_constants' is deprecated > import sre_constants >../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:121 > /usr/lib/python3.12/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API > warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) >tests/test_integration.py:47 > /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_integration.py:47: PytestUnknownMarkWarning: Unknown pytest.mark.webtest - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.webtest >tests/test_integration.py:75 > /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_integration.py:75: PytestUnknownMarkWarning: Unknown pytest.mark.webtest - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.webtest >../../../../usr/lib/python3.12/site-packages/scripttest.py:108 > /usr/lib/python3.12/site-packages/scripttest.py:108: PytestCollectionWarning: cannot collect test class 'TestFileEnvironment' because it has a __init__ constructor (from: tests/test_integration.py) > class TestFileEnvironment(object): >tests/test_package_getters.py:34 > /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_package_getters.py:34: PytestUnknownMarkWarning: Unknown pytest.mark.webtest - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.webtest >tests/test_package_getters.py:47 > /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_package_getters.py:47: PytestUnknownMarkWarning: Unknown pytest.mark.webtest - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.webtest >tests/test_virtualenv.py:83 > /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_virtualenv.py:83: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? > @pytest.mark.skipif(sys.version_info[0] is 2 and >tests/test_virtualenv.py:84 > /builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_virtualenv.py:84: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? > DEFAULT_PYTHON_VERSION is '3', reason="Can't extract virtualenv data") >tests/test_convertor.py: 1 warning >tests/test_metadata_extractors.py: 129 warnings > /usr/lib64/python3.12/tarfile.py:2213: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. > warnings.warn( >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >FAILED tests/test_virtualenv.py::TestVirtualEnvGetData::test_get_data[/builddir/build/BUILD/pyp2rpm-3.3.9/tests/test_data/utest-0.1.0.tar.gz-expected0] >= 1 failed, 288 passed, 22 skipped, 48 deselected, 139 warnings in 590.01s (0:09:50) = >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.KM0Z02 (%check) > Bad exit status from /var/tmp/rpm-tmp.KM0Z02 (%check) >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8d80a8221a5f4cd7b1ea485413461dd4 -D /var/lib/mock/f39-build-44331310-5276202/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j2lrzqqa:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pyp2rpm.spec\n', 1)] >Traceback (most recent call last): > File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M 8d80a8221a5f4cd7b1ea485413461dd4 -D /var/lib/mock/f39-build-44331310-5276202/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j2lrzqqa:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pyp2rpm.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2226134
: 1978794 |
1978795
|
1978796