Skip to content

Repeated duplicate status entries in history #114

@marcmengel

Description

@marcmengel

The routines that update submissions with info from the brokers are supposed to not repeat the same status; but
we are getting repeated entries for "Running" status, etc.
For example:
https://pomsgpvm02.fnal.gov/poms/submission_details/mu2e/superuser?submission_id=3071584
repeats the "Running" status approx 57 times(!).

Looking at the code, It looks like we're trying to avoid this here:
https://github.com/fermitools/poms/blob/develop/webservice/SubmissionsPOMS.py#L1410
so it makes me think we have a bug in get_last_histories() over here:
https://github.com/fermitools/poms/blob/develop/webservice/SubmissionsPOMS.py#L673
and are not getting the correct latest history value for each submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions