Skip to content

Instantly share code, notes, and snippets.

@FrostyX
Created November 25, 2021 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrostyX/f26e4c830fbdceb38d3ee6e6089cff81 to your computer and use it in GitHub Desktop.
Save FrostyX/f26e4c830fbdceb38d3ee6e6089cff81 to your computer and use it in GitHub Desktop.
rpkg 1.63 regression
Downloading https://download.copr-dev.fedorainfracloud.org/results/frostyx/custom-1-TEST1637859165084719615/srpm-builds/02903649/quick-package-0-0.fc34.src.rpm
https://download.copr-dev.fedorainfracloud.org/results/frostyx/custom-1-TEST1637859165084719615/srpm-builds/02903649/quick-package-0-0.fc34.src.rpm
Acquired lock "/var/lib/dist-git/cache/lookaside/pkgs/frostyx/custom-1-TEST1637859165084719615/quick-package/import.lock"
Acquired external semaphore "/var/lib/dist-git/cache/lookaside/pkgs/frostyx/custom-1-TEST1637859165084719615/quick-package/import.lock"
make sure repos exist: frostyx/custom-1-TEST1637859165084719615/quick-package
cmd: ['/usr/share/dist-git/mkbranch', 'master', 'frostyx/custom-1-TEST1637859165084719615/quick-package'], rc: 128, msg: IGNORING: Package module frostyx/custom-1-TEST1637859165084719615/quick-package already has a branch master
Branch already exists...continuing
repo_dir: /tmp/tmpde1ycluf
clone the pkg repository into repo_dir directory
Cloning /var/lib/dist-git/git/frostyx/custom-1-TEST1637859165084719615/quick-package
Cloning into: /tmp/tmpde1ycluf
Running: git clone /var/lib/dist-git/git/frostyx/custom-1-TEST1637859165084719615/quick-package --origin origin /tmp/tmpde1ycluf
Popen(['git', 'config', 'credential.helper', '/usr/bin/importer_runner.py gitcred'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'config', 'credential.useHttpPath', 'true'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Git-excludes patterns were added into /tmp/tmpde1ycluf/.git/info/exclude
Switching to repo_dir: /tmp/tmpde1ycluf
Setting up Git user name and email.
Munch({'cmd': ['git', 'config', 'user.name', 'CoprDistGit'], 'stdout': '', 'stderr': '', 'returncode': 0})
Munch({'cmd': ['git', 'config', 'user.email', 'copr-devel@lists.fedorahosted.org'], 'stdout': '', 'stderr': '', 'returncode': 0})
checkout 'master' branch
Creating repo object from /tmp/tmpde1ycluf
Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'config', '--get', 'branch.master.merge'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'config', '--get', 'branch.master.remote'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'remote', 'get-url', '--push', 'origin'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Fetching remotes
Popen(['git', 'fetch', 'origin'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Listing refs
Found local branch master
Skipping remote branch alias HEAD
Found remote branch origin/master
Popen(['git', 'checkout', 'master'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Switched to branch 'master'
Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Extracting srpm '/tmp/tmp5_28vbcj/quick-package-0-0.fc34.src.rpm', destination '/tmp/rpkgmu0_ytm4extract-srpm'
Popen(['git', 'ls-files'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Extracting srpm '/tmp/tmp5_28vbcj/quick-package-0-0.fc34.src.rpm'
commit
Running: git commit -m automatic import of quick-package -a
push
Popen(['git', 'config', '--get', 'branch.master.merge'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'cat-file', '--batch-check'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=<valid stream>)
Popen(['git', 'cat-file', '--batch'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=<valid stream>)
Running: git push
Popen(['git', 'rev-list', '03e4a7e561040f23da695d93924d62c84c201c25', '--'], cwd=/tmp/tmpde1ycluf, universal_newlines=False, shell=None, istream=None)
Releasing lock "/var/lib/dist-git/cache/lookaside/pkgs/frostyx/custom-1-TEST1637859165084719615/quick-package/import.lock"
sending a response for task {'build_id': 2903649, 'branch_commits': {'master': '03e4a7e561040f23da695d93924d62c84c201c25'}, 'reponame': 'frostyx/custom-1-TEST1637859165084719615/quick-package'}
Sending back:
{"build_id": 2903649, "branch_commits": {"master": "03e4a7e561040f23da695d93924d62c84c201c25"}, "reponame": "frostyx/custom-1-TEST1637859165084719615/quick-package"}
Downloading https://download.copr-dev.fedorainfracloud.org/results/frostyx/custom-1-TEST1637842140651626208/srpm-builds/02903598/quick-package-0-0.fc34.src.rpm
https://download.copr-dev.fedorainfracloud.org/results/frostyx/custom-1-TEST1637842140651626208/srpm-builds/02903598/quick-package-0-0.fc34.src.rpm
Acquired lock "/var/lib/dist-git/cache/lookaside/pkgs/frostyx/custom-1-TEST1637842140651626208/quick-package/import.lock"
Acquired external semaphore "/var/lib/dist-git/cache/lookaside/pkgs/frostyx/custom-1-TEST1637842140651626208/quick-package/import.lock"
make sure repos exist: frostyx/custom-1-TEST1637842140651626208/quick-package
cmd: ['/usr/share/dist-git/mkbranch', 'master', 'frostyx/custom-1-TEST1637842140651626208/quick-package'], rc: 128, msg: IGNORING: Package module frostyx/custom-1-TEST1637842140651626208/quick-package already has a branch master
Branch already exists...continuing
repo_dir: /tmp/tmp673vzp3e
clone the pkg repository into repo_dir directory
Cloning /var/lib/dist-git/git/frostyx/custom-1-TEST1637842140651626208/quick-package
Cloning into: /tmp/tmp673vzp3e
Running: git clone /var/lib/dist-git/git/frostyx/custom-1-TEST1637842140651626208/quick-package --origin origin /tmp/tmp673vzp3e
Popen(['git', 'config', 'credential.helper', '/usr/bin/importer_runner.py gitcred'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'config', 'credential.useHttpPath', 'true'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Git-excludes patterns were added into /tmp/tmp673vzp3e/.git/info/exclude
Switching to repo_dir: /tmp/tmp673vzp3e
Setting up Git user name and email.
Munch({'cmd': ['git', 'config', 'user.name', 'CoprDistGit'], 'stdout': '', 'stderr': '', 'returncode': 0})
Munch({'cmd': ['git', 'config', 'user.email', 'copr-devel@lists.fedorahosted.org'], 'stdout': '', 'stderr': '', 'returncode': 0})
checkout 'master' branch
Creating repo object from /tmp/tmp673vzp3e
Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'config', '--get', 'branch.master.merge'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'config', '--get', 'branch.master.remote'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'remote', 'get-url', '--push', 'origin'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Fetching remotes
Popen(['git', 'fetch', 'origin'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Listing refs
Found local branch master
Skipping remote branch alias HEAD
Found remote branch origin/master
Popen(['git', 'checkout', 'master'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Switched to branch 'master'
Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Extracting srpm '/tmp/tmpq6e5d0st/quick-package-0-0.fc34.src.rpm', destination '/tmp/rpkgmokp8n_cextract-srpm'
Popen(['git', 'ls-files'], cwd=/tmp/tmp673vzp3e, universal_newlines=False, shell=None, istream=None)
Extracting srpm '/tmp/tmpq6e5d0st/quick-package-0-0.fc34.src.rpm'
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 229, in import_package
commands.upload(upload_files, replace=True)
File "/usr/lib/python3.10/site-packages/pyrpkg/__init__.py", line 2909, in upload
raise AlreadyUploadedError('File already uploaded')
pyrpkg.errors.AlreadyUploadedError: File already uploaded
Releasing lock "/var/lib/dist-git/cache/lookaside/pkgs/frostyx/custom-1-TEST1637842140651626208/quick-package/import.lock"
sending a response for task {'build_id': 2903598, 'branch_commits': {}, 'reponame': 'frostyx/custom-1-TEST1637842140651626208/quick-package'}
Sending back:
{"build_id": 2903598, "branch_commits": {}, "reponame": "frostyx/custom-1-TEST1637842140651626208/quick-package"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment