#9016 fedora-messaging hook traceback on push to pkgs.fp.o
Closed: Fixed 4 years ago by pingou. Opened 4 years ago by ngompa.

I'm seeing this when I'm pushing commits:

[ngompa@localhost python-whitenoise]$ git push --set-upstream origin epel8
Total 0 (delta 0), reused 0 (delta 0)
remote: Emitting a message to the fedora-messaging message bus.
remote: Traceback (most recent call last):
remote:   File "/usr/share/git-core/post-receive-fedora-messaging", line 150, in <module>
remote:     commits = [_build_commit(rev) for rev in revs]
remote:   File "/usr/share/git-core/post-receive-fedora-messaging", line 150, in <listcomp>
remote:     commits = [_build_commit(rev) for rev in revs]
remote:   File "/usr/share/git-core/post-receive-fedora-messaging", line 123, in _build_commit
remote:     commit = repo.revparse_single(rev)
remote: TypeError: unexpected _pygit2.Oid
remote:   - to fedora-message
remote: Sending to redis to log activity and send commit notification emails
To ssh://pkgs.fedoraproject.org/rpms/python-whitenoise
 * [new branch]      epel8 -> epel8
Branch 'epel8' set up to track remote branch 'epel8' from 'origin'.

Should be fixed, could you push a commit to test the fix?

Metadata Update from @pingou:
- Issue status updated to: Open (was: Closed)

4 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

4 years ago

Seeing that https://pagure.io/fedora-infrastructure/issue/9024 was closed as Fixed and datagrepper has recent messages of commits on dist-git, for example: https://apps.fedoraproject.org/datagrepper/id?id=2020-cd5f59f6-205b-4e83-b16b-960d7b030781&is_raw=true&size=extra-large as well as from the pagure hook: https://apps.fedoraproject.org/datagrepper/id?id=2020-c2c7c4e2-b63e-40ab-ad52-37286d2a7607&is_raw=true&size=extra-large

I'm going to close this ticket as Fixed.

Feel free to re-open if you disagree :)

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

4 years ago

Log in to comment on this ticket.

Metadata