#2130 The "Resubmit" builds consume a different content to build an RPM
Closed: Fixed 2 years ago by praiskup. Opened 2 years ago by pstodulk.

Using the resubmit button for the rebuild leads into the build of different RPMs than expected.

See https://copr.fedorainfracloud.org/coprs/g/oamg/leapp/build/3800816
and orig: https://copr.fedorainfracloud.org/coprs/g/oamg/leapp/build/3744276/

Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c189' (ED25519) to the list of known hosts.
Running: /usr/bin/copr-rpmbuild --verbose --drop-resultdir --build-id 3800816 --chroot epel-8-x86_64 --detached
Version: 0.56
PID: 8211
Logging PID: 8212
Task:
{'appstream': True,
 'background': False,
 'bootstrap': 'off',
 'build_id': 3800816,
 'buildroot_pkgs': [],
 'chroot': 'epel-8-x86_64',
 'enable_net': True,
 'fedora_review': False,
 'git_hash': None,
 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/@oamg/leapp/leapp.git',
 'isolation': 'default',
 'memory_reqs': 2048,
 'package_name': 'leapp',
 'package_version': '0.14.0-100.202203180942Z.d3c38f5.master.el7',
 'project_dirname': 'leapp',
 'project_name': 'leapp',
 'project_owner': '@oamg',
 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/',
            'id': 'copr_base',
            'name': 'Copr repository'}],
 'sandbox': '@oamg/leapp--pstodulk',
 'source_json': {},
 'source_type': None,
 'submitter': 'pstodulk',
 'tags': [],
 'task_id': '3800816-epel-8-x86_64',
 'timeout': 18000,
 'uses_devel_repo': False,
 'with_opts': [],
 'without_opts': []}

Running: git clone https://copr-dist-git.fedorainfracloud.org/git/@oamg/leapp/leapp.git /var/lib/copr-rpmbuild/workspace/workdir-u1189owr/leapp --depth 500 --no-single-branch

cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/@oamg/leapp/leapp.git', '/var/lib/copr-rpmbuild/workspace/workdir-u1189owr/leapp', '--depth', '500', '--no-single-branch']
cwd: .
rc: 0
stdout: 
stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-u1189owr/leapp'...

Running: copr-distgit-client sources

cmd: ['copr-distgit-client', 'sources']
cwd: /var/lib/copr-rpmbuild/workspace/workdir-u1189owr/leapp
rc: 0
stdout: 
/usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated
stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD
INFO: Reading sources specification file: sources
INFO: Downloading leapp-v0.13.0.tar.gz
INFO: Calling: curl -H Pragma: -o leapp-v0.13.0.tar.gz --location --remote-time --show-error --fail https://copr-dist-git.fedorainfracloud.org/repo/pkgs/@oamg/leapp/leapp/leapp-v0.13.0.tar.gz/md5/125a75a2c331324e16a21551dfe98052/leapp-v0.13.0.tar.gz

Thank you for the report!

Metadata Update from @praiskup:
- Issue tagged with: bug

2 years ago

Seems like the dist-git "committish" is not inherited from the old build?

Metadata Update from @praiskup:
- Issue assigned to schlupov

2 years ago

Metadata Update from @praiskup:
- Issue priority set to: High

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2178 Merged 2 years ago