Page MenuHomePhabricator

zinbot not patrolling
Closed, ResolvedPublic

Description

Reported on-wiki, zinbot (task) does not appear to be running.

Last error was:

==> zinbot.err <==
    return self.request('GET', url, **kwargs)
  File "/data/project/zinbot/venv/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/data/project/zinbot/venv/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/data/project/zinbot/venv/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
CRITICAL: Exiting due to uncaught exception <class 'requests.exceptions.ConnectionError'>
Sleeping for 120.0 seconds, 2024-04-20 09:22:49

and a restart/reload of the job didn't resolve it. Tried recreating the venv too.

Logging for the record, will continue to investigate when possible.

Event Timeline

I made a fork with very verbose logging — seems the normal .out wasn't logging stdout? Its running, but there's nothing to review? Does that sound right..?

==> /data/project/zinbot/zinbot-oneoff.out <==
Start

==> /data/project/zinbot/logs/debug.txt <==
[2024-04-26 10:16:08] RUNNING (version 1.4.2-debug)
[2024-04-26 10:16:08] Checking queue
[2024-04-26 10:16:08] Queue built
[2024-04-26 10:16:09] No match on page_title='Deadman Crossing, Ohio'
[2024-04-26 10:16:09] No match on page_title='Ashley Zelinskie'
[2024-04-26 10:16:09] No match on page_title='Korenya Shingetsuan'
[2024-04-26 10:16:09] No match on page_title='Daniel Butler (Irish politician)'
[2024-04-26 10:16:09] No match on page_title='Princess Alexandra of Hohenlohe-Langenburg'
[2024-04-26 10:16:09] No match on page_title='Badall Pe Paon Hai'
[2024-04-26 10:16:10] No match on page_title='Alexandru Sorin Biris'
[2024-04-26 10:16:10] No match on page_title='List of the most popular unisex names of Kazakhs of Kazakhstan'
[2024-04-26 10:16:10] No match on page_title='2023 Portishead Town Council Election'
[2024-04-26 10:16:10] No match on page_title='History of Okcheon Country'
[2024-04-26 10:16:10] No match on page_title='George Spiller'
[2024-04-26 10:16:10] No match on page_title='List of Poles killed during the Russian invasion of Ukraine'
[2024-04-26 10:16:10] No match on page_title='CaseOh'
[2024-04-26 10:16:10] No match on page_title='A Wreck in a Gale'
[2024-04-26 10:16:10] No match on page_title='S-Air (Denmark)'
[2024-04-26 10:16:11] No match on page_title='Ladysmith - Naval Brigade Dragging 4.7 Guns into Ladysmith'
[2024-04-26 10:16:11] No match on page_title='Umarjaum'
[2024-04-26 10:16:11] No match on page_title="Scenes on Mr. Smit's Ostrich Farm"
[2024-04-26 10:16:11] No match on page_title='A Quick Shave and Brush-up'
[2024-04-26 10:16:11] No match on page_title='Pet/Petch'
[2024-04-26 10:16:11] No match on page_title='Ind vs Aus Rivalry'
[2024-04-26 10:16:11] Queue built
[2024-04-26 10:16:11] Queue complete. Checking if log cleanup is necessary.
[2024-04-26 10:16:12] Run done. Sleeping.

I'll leave the debug/verbose version running for a bit

Tamzin claimed this task.

There were a number of issues here, primarily someone having updated the RfD template without the requested notification, and then some ancillary issues as tend to arise when poking through old code that's migrated servers since it was written. After a rewrite to v2.0.0, all should be fixed.