#7025 container builds using master are not working: "Unknown build target: master-container-candidate"
Closed: Fixed 6 years ago Opened 6 years ago by ttomecek.

$ fedpkg --debug -v container-build
Creating repo object from /home/tt/p/f/d/tools
Missing kojiprofile option in [fedpkg.container-build] section. Using kojiprofile from [fedpkg]
Missing build_client option in [fedpkg.container-build] section. Using build_client from [fedpkg]
Initiating a koji session to https://koji.fedoraproject.org/kojihub
Logging into https://koji.fedoraproject.org/kojihub with Kerberos authentication.
Unknown build target: master-container-candidate
Initiating a koji session to https://koji.fedoraproject.org/kojihub
Logging into https://koji.fedoraproject.org/kojihub with Kerberos authentication.
Could not execute container_build: Unknown build target: master-container-candidate
Traceback (most recent call last):
  File "/bin/fedpkg", line 16, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 77, in main
    sys.exit(client.args.command())
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1174, in container_build
    self.container_build_koji()
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1224, in container_build_koji
    nowait=self.args.nowait)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 2624, in container_build_koji
    raise UnknownTargetError(msg)
pyrpkg.errors.UnknownTargetError: Unknown build target: master-container-candidate

$ git remote -v
origin  ssh://ttomecek@pkgs.fedoraproject.org/container/tools (fetch)
origin  ssh://ttomecek@pkgs.fedoraproject.org/container/tools (push)

$ ~/p/f/d/tools gs                                                                                                                                             master
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working tree clean

@ttomecek AFAIK its an issue with fedpkg which got fixed yesterday - https://pagure.io/fedpkg/pull-request/136. But we dont have a update of fedpkg yet. So, until then temporary fix is adding --target rawhide-container-candidate to fedpkg build command.

@lsedlar ^ correct me if I am wrong.

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

6 years ago

I have build patched fedpkg in Koji as version 1.29-5. I'll file updates in Bodhi once the existing fedpkg updates complete push to stable.

Login to comment on this ticket.

Metadata