Closed Bug 1448392 Opened 7 years ago Closed 5 years ago

logging errors on balrog agent

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: bhearsum, Unassigned)

References

Details

While investigating something else, we noticed this in the balrog agent logs (the "'bool' object is not subscriptable part is highly suspicious): --- Logging error --- Traceback (most recent call last): File "/usr/local/lib/python3.5/logging/__init__.py", line 986, in emit msg = self.format(record) File "/usr/local/lib/python3.5/logging/__init__.py", line 836, in format return fmt.format(record) File "/app/balrogagent/log.py", line 83, in format fields["error"] = repr(record.exc_info[1]) TypeError: 'bool' object is not subscriptable Call stack: File "/usr/local/lib/python3.5/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/app/balrogagent/cmd.py", line 113, in <module> main() File "/app/balrogagent/cmd.py", line 107, in main os.environ["TELEMETRY_API_ROOT"] File "/usr/local/lib/python3.5/asyncio/base_events.py", line 454, in run_until_complete self.run_forever() File "/usr/local/lib/python3.5/asyncio/base_events.py", line 421, in run_forever self._run_once() File "/usr/local/lib/python3.5/asyncio/base_events.py", line 1425, in _run_once handle._run() File "/usr/local/lib/python3.5/asyncio/events.py", line 127, in _run self._callback(*self._args) File "/usr/local/lib/python3.5/asyncio/tasks.py", line 321, in _wakeup self._step() File "/usr/local/lib/python3.5/asyncio/tasks.py", line 240, in _step result = coro.send(None) File "/app/balrogagent/cmd.py", line 29, in run_agent auth=auth, loop=loop) File "/app/balrogagent/client.py", line 32, in request resp = await aiohttp.request(method, url, data=json.dumps(data), headers=headers, auth=auth, loop=loop)
I'm unlikely to get to this soon.
Assignee: bhearsum → nobody
See Also: → 1472590
Priority: P1 → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → MOVED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.