Closed Bug 1815235 Opened 3 years ago Closed 3 years ago

[traceback] TypeError: "sequence item 0: expected str instance, float found" in SignatureShutdownTimeout

Categories

(Socorro :: Processor, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

Sentry: https://sentry.io/organizations/mozilla/issues/3916292491/

Traceback:

TypeError: sequence item 0: expected str instance, float found
  File "socorro/signature/generator.py", line 140, in generate
    rule.action(signature_data, result)
  File "socorro/signature/rules.py", line 951, in action
    parts.append(",".join(conditions))

In SignatureShutdownTimeout, the async_shutdown_timeout can sometimes have an unexpected shape where the conditions aren't strings, but rather floats.

Example: dd655cf6-2898-438a-9205-653290230204

The name is:

"name":2.032988e-315

I think we should stringify the value and then we're "ok".

This is a straight-forward fix. Grabbing it now.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

I deployed this just now in bug #1819758. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: