#8058 User is unable to submit builds
Closed: Fixed 4 years ago by mizdebsk. Opened 4 years ago by smooge.

@harrymichal was made a packager yesterday but can not submit any module builds. I have checked and he is listed in the packager group on all systems I could find. However when he runs the commands he gets

[foliate ]$ fedpkg -d -v  module-build
Creating repo object from /home/omichal/Documents/Work/flatpaks/foliate
Submitting the module build...
Could not execute module_build: The build failed with:
harrymichal is not in any of set(['packager']), only set([])
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.37', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.7/site-packages/fedpkg/__main__.py", line 86, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.7/site-packages/pyrpkg/cli.py", line 2170, in module_build
    self.args.scratch, modmd_path, srpm_links)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 3760, in module_submit_build
    raise rpkgError('The build failed with:\n{0}'.format(error_msg))
pyrpkg.errors.rpkgError: The build failed with:
harrymichal is not in any of set(['packager']), only set([])
[foliate ]$

Opening a ticket because i have no clue what left to debug


For the record, harrymichal is a member of the packager group and was sponsored at 2019-07-30 09:48:45 UTC according to FAS. So if it's an issue of something having cached an old membership list, it's been holding onto it for nearly 34 hours.

MBS OIDC token for @harrymichal was generated on Thu, 25 Jul 2019, prior to adding to packager group. I would recommend removing existing client-side OIDC cache (IIRC it's stored at ~/.fedora/openidbaseclient-sessions.cache) and re-logging-in with MBS/Ipsilon.

I thought that too, but:

Jul 31 12:28:51 <nirik> harrymichal: do you have a ~/.fedora dir with some session and cache files? try moving that dir to say ~/.fedora.old and resubmitting...
Jul 31 12:29:51 <harrymichal>   I have no such folder; only .fedora.upn file with my fas name in it that I created manually

@harrymichal Is this problem persisting?

Metadata Update from @kevin:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

4 years ago

Yes, the problem is still present. And as @kevin pointed out, I don't have such folder in my home directory. I just found a .openidc folder that contains 2 files: oidc_fedpkg.json and oids_mbs_build.json.

Also, my OS is Fedora Silverblue. Not classic Workstation. But that shouldn't be a problem because my colleague also uses Silverblue and he didn't encounter such error.

Looks like my issue was solved by moving the mentioned .openidc folder to .openidc.old and issuing a new token from openid when invoking fedpkg module-build again.

Thank you a lot for all the effort to resolve this issue. I appreciate it greatly!

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

4 years ago

Login to comment on this ticket.

Metadata