#7994 pagure.io doesn't seem to send messages to fedmsg
Closed: Fixed a month ago by pingou. Opened a month ago by praiskup.

Copr doesn't read messages from pagure.io, and also per https://apps.fedoraproject.org/datagrepper/raw?category=pagure&delta=172800 it looks like there's some outage..


Please check if /etc/hosts on the systems has an ip address hard codeed to pagure.io and stg.pagure.io in them. The systems were moved to a new address last week and should no longer need /etc/hosts 'fixes'.

No..

$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

# for ansible, some dark magic why do we need this ?
10.5.126.23     puppet.fedoraproject.org        puppet puppet01 puppet01.phx2.fedoraproject.org

Just to make it clear; the problem is with copr-fe not being able to receive messages from pagure.io on fedmsg bus, you can check tail -f /var/log/copr-frontend/pagure-events.log there (source code in /usr/share/copr/coprs_frontend/run/pagure-events.py).

OK I have looked at the file and on copr-fe.fedorainfracloud.org it is and has been getting events:

[2019-07-15 13:44:46,552][ DEBUG]: Polling...
[2019-07-15 13:44:48,517][ DEBUG]: Receiving...
[2019-07-15 13:44:48,518][ DEBUG]: Parsing...
[2019-07-15 13:44:48,519][  INFO]: Got topic: org.fedoraproject.prod.pagure.pull-request.new
[2019-07-15 13:44:48,521][  INFO]: event_info = {'base_clone_url': 'https://src.fedoraproject.org/rpms/python3',
 'base_clone_url_path': 'rpms/python3',
 'base_project_url_path': 'rpms/python3',
 'branch_from': 'source_epoch',
 'branch_to': 'master',
 'clone_url': 'https://src.fedoraproject.org/forks/churchyard/rpms/python3',
 'clone_url_path': 'forks/churchyard/rpms/python3',
 'end_commit': '5785ecd45c14f09a244f3969270ece3935650656',
 'object_id': 126,
 'object_type': 'pull-request',
 'project_url_path': 'fork/churchyard/rpms/python3',
 'start_commit': '5785ecd45c14f09a244f3969270ece3935650656'}
[2019-07-15 13:44:48,622][  INFO]: getting url https://src.fedoraproject.org/fork/churchyard/rpms/python3/raw/5785ecd45c14f09a244f3969270ece3935650656
[2019-07-15 13:44:48,626][ DEBUG]: Starting new HTTPS connection (1): src.fedoraproject.org:443
[2019-07-15 13:44:48,976][ DEBUG]: https://src.fedoraproject.org:443 "GET /fork/churchyard/rpms/python3/raw/5785ecd45c14f09a244f3969270ece3935650656 HTTP/1.1" 200 3161
[2019-07-15 13:44:48,980][  INFO]: changed files: 00328-pyc-timestamp-invalidation-mode.patch, python3.spec

This was 2 hours before I restarted anything on pagure.io. But I don't know if that means it is not getting all events, some events, etc.

Through the magic of supplecating the cargo cult gods, it seems to be working again.

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

a month ago

Metadata Update from @smooge:
- Issue assigned to smooge

a month ago

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

a month ago

Seems like we need the help of gods again :-)

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

a month ago

Sorry, I read the opposite of what you wrote, however, since we have IRC notifications showing up, it seems to be working fine

Login to comment on this ticket.

Metadata