Skip to content

influxdb-publisher agent OverflowError #443

@BrianJKoopman

Description

@BrianJKoopman

During testing of a new ACU on site we saw this error raised in the InfluxDB publisher v1 agent:

2026-01-29T13:16:00+0000 startup-op: launching record
2026-01-29T13:16:00+0000 start called for record
2026-01-29T13:16:00+0000 record:0 Status is now "starting".
2026-01-29T13:16:00+0000 record:0 Status is now "running".
2026-01-29T13:16:00+0000 gzip encoding enabled: False
2026-01-29T13:16:00+0000 data protocol: line
2026-01-29T13:16:01+0000 record:0 CRASH: [Failure instance: Traceback: <class 'OverflowError'>: cannot convert float infinity to integer
/opt/venv/lib/python3.10/site-packages/twisted/python/threadpool.py:269:inContext
/opt/venv/lib/python3.10/site-packages/twisted/python/threadpool.py:285:<lambda>
/opt/venv/lib/python3.10/site-packages/twisted/python/context.py:117:callWithContext
/opt/venv/lib/python3.10/site-packages/twisted/python/context.py:82:callWithContext
/opt/venv/lib/python3.10/site-packages/ocs/ocs_agent.py:988:_running_wrapper
/opt/venv/lib/python3.10/site-packages/ocs/agents/influxdb_publisher/agent.py:105:record
/opt/venv/lib/python3.10/site-packages/ocs/agents/influxdb_publisher/drivers.py:227:run
/opt/venv/lib/python3.10/site-packages/ocs/agents/influxdb_publisher/drivers.py:119:process_incoming_data
/opt/venv/lib/python3.10/site-packages/ocs/agents/influxdb_publisher/drivers.py:203:format_data
/opt/venv/lib/python3.10/site-packages/ocs/agents/influxdb_publisher/drivers.py:30:timestamp2influxtime
]
2026-01-29T13:16:01+0000 record:0 Status is now "done".

I'm not sure what was being published, but we should catch and handle this error with an informative message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent: influxdbbugSomething isn't workingneeds triageCause of bug still unknown, needs investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions