#882 Missing fedmsg topic pungi.compose.status.change notification for Fedora 27 Atomic and cloud composes
Closed: Invalid 6 years ago Opened 6 years ago by sinnykumari.

Fedmsg topic pungi.compose.status.change notification seems missing for F27 Cloud and Atomic compose run since 20180324. I checked this from https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pungi.compose.status.change .

Due to this openqa, fedimg and autocloud are not running on F27 Atomic and Cloud compose completion. This issue is a blocker for our F27 Atomic two week release


Here's a traceback:

Traceback (most recent call last):
  File "/usr/bin/pungi-fedmsg-notification", line 26, in <module>
    send(opts.cmd, data)
  File "/usr/bin/pungi-fedmsg-notification", line 13, in send
    fedmsg.publish(topic=topic, modname='pungi', msg=data)
  File "/usr/lib/python3.6/site-packages/fedmsg/__init__.py", line 81, in _wrapper
    return func(*args, **kw)
  File "/usr/lib/python3.6/site-packages/fedmsg/__init__.py", line 93, in publish
    return __local.__context.publish(topic, msg, **kw)
  File "/usr/lib/python3.6/site-packages/fedmsg/core.py", line 328, in publish
    [topic, fedmsg.encoding.dumps(msg).encode('utf-8')],
  File "/usr/lib64/python3.6/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib64/python3.6/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python3.6/site-packages/fedmsg/encoding/__init__.py", line 73, in default
    return super(FedMsgEncoder, self).default(obj)
  File "/usr/lib64/python3.6/json/encoder.py", line 180, in default
    o.__class__.__name__)
TypeError: Object of type 'bytes' is not JSON serializable

This looks like a bug in fedmsg. The same Pungi build works on rawhide-composer with newer fedmsg.

This was fixed by updating fedmsg on the compose machine.

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

6 years ago

Login to comment on this ticket.

Metadata