#12267 Rawhide side tags don't allow bootstrapping
Closed: Fixed a month ago by qulogic. Opened a month ago by qulogic.

  • Describe the issue
    I just created a side tag (f42-build-side-94400), and tried to enable bootstrap:
$ fedpkg request-side-tag
Side tag 'f42-build-side-94400' (id 94400) created.
Use 'fedpkg build --target=f42-build-side-94400' to use it.
Use 'koji wait-repo f42-build-side-94400' to wait for the build repo to be generated.

$ koji wait-repo f42-build-side-94400
Successfully waited 2:32 for a new f42-build-side-94400 repo

$ koji edit-sidetag --rpm-macro=_with_bootstrap=1 f42-build-side-94400
2024-08-18 18:59:56,324 [ERROR] koji: GenericError: RPM macros change is not allowed in parent tag.

Checking the tag info, I see this tag doesn't have the sidetag_rpm_macros_allowed setting that other branches do:

$ koji taginfo f42-build-side-94400
Tag: f42-build-side-94400 [94400]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f42]
  mock.package_manager : 'dnf5' [f42]
  sidetag : True
  sidetag_user : 'qulogic'
  sidetag_user_id : 3972
Targets that build into this tag:
  f42-build-side-94400 (f42-build-side-94400, repo#6342975: 2024-08-18 22:54:12.049501+00:00)
This tag is a buildroot for one or more targets
Current repo: repo#6342975: 2024-08-18 22:54:12.049501+00:00
Targets that build from this tag:
  f42-build-side-94400
Inheritance:
  0    .... f42-build [94099]

vs an f40 side tag:

$ koji taginfo f40-build-side-93641
Tag: f40-build-side-93641 [93641]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f40]
  mock.package_manager : 'dnf5' [f40]
  noarch_arches : 'aarch64 x86_64 ppc64le s390x' [f40-build]
  sidetag : True
  sidetag_rpm_macros_allowed : '_with_bootstrap' [f40-build]
  sidetag_user : 'qulogic'
  sidetag_user_id : 3972
Targets that build into this tag:
  f40-build-side-93641 (f40-build-side-93641, repo#6342160: 2024-08-18 14:20:55.492892+00:00)
This tag is a buildroot for one or more targets
Current repo: repo#6342160: 2024-08-18 14:20:55.492892+00:00
Targets that build from this tag:
  f40-build-side-93641
Inheritance:
  0    .... f40-build [71278]
  • When do you need this? (YYYY/MM/DD)

  • When is this no longer needed or useful? (YYYY/MM/DD) For as long as f42 exists, probably.

  • If we cannot complete your request, what is the impact?
    No bootstrap builds are possible in Rawhide side tags.


Metadata Update from @phsmoura:
- Issue tagged with: low-trouble, medium-gain, ops

a month ago

Yeah, this needs to be added to the branching script and we need to fix rawhide.

CC: @jnsamyak

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

a month ago

Relatedly, f42-build doesn't have the noarch_arches setting either.

$ koji taginfo f42-build
Tag: f42-build [94099]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f42]
  mock.package_manager : 'dnf5' [f42]
This tag is a buildroot for one or more targets
Current repo: repo#6346689: 2024-08-20 05:13:21.710281+00:00
Targets that build from this tag:
  rawhide
  f42-coreos-continuous
  f42
  f42-candidate
Inheritance:
  0    .... f42-override [94098]

vs

$ koji taginfo f41-build
Tag: f41-build [83506]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Required permission: 'admin'
Tag options:
  mock.new_chroot : 1          [f41]
  mock.package_manager : 'dnf5' [f41]
  noarch_arches : 'aarch64 x86_64 ppc64le s390x'
  sidetag_rpm_macros_allowed : '_with_bootstrap'
This tag is a buildroot for one or more targets
Current repo: repo#6346663: 2024-08-20 05:02:15.519502+00:00
Targets that build from this tag:
  f41-coreos-continuous
  f41
  f41-candidate
Inheritance:
  0    .... f41-override [83505]

Hey I updated it, can you check (added both the noarches and bootstrapping)

Tag: f42-build [94099]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f42]
  mock.package_manager : 'dnf5' [f42]
  noarch_arches : 'aarch64 x86_64 ppc64le s390x'
  sidetag_rpm_macros_allowed : '_with_bootstrap'
This tag is a buildroot for one or more targets
Current repo: repo#6348860: 2024-08-20 14:51:03.631687+00:00
Targets that build from this tag:
  rawhide
  f42-coreos-continuous
  f42
  f42-candidate
Inheritance:
  0    .... f42-override [94098]

This looks good now:

$ koji taginfo f42-build-side-94400
Tag: f42-build-side-94400 [94400]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f42]
  mock.package_manager : 'dnf5' [f42]
  noarch_arches : 'aarch64 x86_64 ppc64le s390x' [f42-build]
  sidetag : True
  sidetag_rpm_macros_allowed : '_with_bootstrap' [f42-build]
  sidetag_user : 'qulogic'
  sidetag_user_id : 3972
Targets that build into this tag:
  f42-build-side-94400 (f42-build-side-94400, repo#6350995: 2024-08-21 06:14:47.352557+00:00)
This tag is a buildroot for one or more targets
Current repo: repo#6350995: 2024-08-21 06:14:47.352557+00:00
Targets that build from this tag:
  f42-build-side-94400
Inheritance:
  0    .... f42-build [94099]

and I seem to be able to add the macro now.

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

a month ago

Log in to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog