Hide Forgot
Description of problem: I've seen a couple of dist-git imports fail today. Example builds are: https://copr.fedorainfracloud.org/coprs/jerboaa/rh-thermostat16/build/455388/ https://copr.fedorainfracloud.org/coprs/jerboaa/thermostat-latest/build/455452/ Actual results: 2. Task: 455388-master, importing the package: https://copr.fedorainfracloud.org/tmp/tmpghpxDy/thermostat-1.6.6-1.fedora.src.rpm downloading package https://copr.fedorainfracloud.org/tmp/tmpghpxDy/thermostat-1.6.6-1.fedora.src.rpm Verifying packagage, getting name and version. make sure repos exist: jerboaa/rh-thermostat16/thermostat importing srpm into the dist-git repo_dir: /tmp/tmpYA1lhG/thermostat clone the pkg repository into tmp directory Checking out a specific branch ssh://copr-dist-git@localhost/jerboaa/rh-thermostat16/thermostat Running git clone -b master ssh://copr-dist-git@localhost/jerboaa/rh-thermostat16/thermostat --origin origin and logging output import the source rpm into git and save filenames of sources Creating repo object from /tmp/tmpYA1lhG/thermostat Running: rpm -qp --nosignature --qf %{NAME} /tmp/tmp5rThmZ/package.src.rpm Running: rpm -qpl /tmp/tmp5rThmZ/package.src.rpm save the source files into lookaside cache Exception raised during srpm import: Traceback (most recent call last): File "/usr/share/copr/dist_git/dist_git_importer.py", line 529, in do_import task.git_hash = self.git_import_srpm(task, fetched_srpm_path) File "/usr/share/copr/dist_git/dist_git_importer.py", line 454, in git_import_srpm return do_git_srpm_import(self.opts, filepath, task, tmp) File "/usr/share/copr/dist_git/srpm_import.py", line 118, in do_git_srpm_import raise PackageImportException("Failed to import the source rpm: {}".format(src_filepath)) PackageImportException: Failed to import the source rpm: /tmp/tmp5rThmZ/package.src.rpm Sending back: {"task_id": "455388-master", "error": "srpm_import_failed"} Expected results: Import works.
Another failed build: https://copr.fedorainfracloud.org/coprs/jerboaa/thermostat-latest/build/455452/ A resubmit worked: https://copr.fedorainfracloud.org/coprs/jerboaa/thermostat-latest/build/455454/
Fixed by https://github.com/fedora-copr/copr/commit/b8c767cf. Thanks for the report!
New COPR version has been deployed (to be released).