#2225 Copr isn't able to import SRPMs >= 4GB?
Closed: Fixed 2 years ago by praiskup. Opened 2 years ago by praiskup.

https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet-preview/build/4556611/
=> no error in build-live or backend log, problem is import log:
https://copr-dist-git.fedorainfracloud.org/per-task-logs/4556611.log

Extracting srpm '/tmp/tmpqc86zg8t/dotnet6.0-7.0.0-0.1.fc36.src.rpm', destination '/tmp/rpkgk6q31g21extract-srpm'
Error during source uploading, merge, or commit.
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/copr_dist_git/package_import.py", line 220, in import_package
    upload_files = commands.import_srpm(srpm_path)
  File "/usr/lib/python3.10/site-packages/pyrpkg/__init__.py", line 1909, in import_srpm
    name, files, uploadfiles = self._srpmdetails(srpm)
  File "/usr/lib/python3.10/site-packages/pyrpkg/__init__.py", line 1434, in _srpmdetails
    if is_lookaside_eligible_file(file, target_dir):
  File "/usr/lib/python3.10/site-packages/pyrpkg/utils.py", line 278, in is_lookaside_eligible_file
    raise IOError("Input file doesn't exist: {0}".format(file_path))
OSError: Input file doesn't exist: /tmp/rpkgk6q31g21extract-srpm/check-debug-symbols.py

Source RPM has >= 5GB, so rpmdev-extract doesn't work. rpm2archive needs
to be used first, and it worked for me. Then I checked the file check-debug-symbols.py
exists in the source RPM. So it seems like we aren't able to extract the large
source RPM correctly.

I would expect a failure in "Extracting srpm '/tmp/tmpqc86zg8t/dotnet6.0-7.0.0-0.1.fc36.src.rpm', destination", but there either isn't one,
or we ignore it.


Metadata Update from @praiskup:
- Issue assigned to praiskup

2 years ago

Commit d3ebcae relates to this ticket

Commit e4fd6dae relates to this ticket

A great example of Copr catching problems early and leading to fixes in our other tooling!

Thank you for your nice comment, Ken.

We are waiting for the new release of rpkg here.

Code from the PR (https://pagure.io/rpkg/pull-request/622)
is so far released in internal RCMTOOLS builds and in Fedora Rawhide.
The build version is rpkg-1.64-9.

I now tried to update, and our test suite failed because of #2317.

Package was updated, the #2317 is worked-around for now. We should be able to import packages >= 4GB.

Metadata Update from @praiskup:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #2226 Merged 2 years ago
  • #622 Merged 2 years ago