Skip to content

[Bug] If a bad time is found, logs are spammed every 200ms #7896

Description

@fifieldt

In 2.7.7 / 2.7.8 we introduced some new checks for time accuracy.

In combination, these result in a spamming of the logs when a bad time is found:

DEBUG | ??:??:?? 22 [GPS] NMEA GPS time 2080-01-05 23:59:44 age 0

WARN | ??:??:?? 22 [GPS] Ignore time (-823242512) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 22 [GPS] NMEA GPS time 2080-01-05 23:59:44 age 203

WARN | ??:??:?? 22 [GPS] Ignore time (-823242512) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 22 [GPS] NMEA GPS time 2080-01-05 23:59:44 age 407

WARN | ??:??:?? 22 [GPS] Ignore time (-823242512) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 23 [GPS] NMEA GPS time 2080-01-05 23:59:44 age 611

WARN | ??:??:?? 23 [GPS] Ignore time (-823242512) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 23 [GPS] NMEA GPS time 2080-01-05 23:59:44 age 815

WARN | ??:??:?? 23 [GPS] Ignore time (-823242512) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 23 [GPS] NMEA GPS time 2080-01-05 23:59:45 age 0

WARN | ??:??:?? 23 [GPS] Ignore time (-823242511) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 23 [GPS] NMEA GPS time 2080-01-05 23:59:45 age 204

WARN | ??:??:?? 23 [GPS] Ignore time (-823242511) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 23 [GPS] NMEA GPS time 2080-01-05 23:59:45 age 408

WARN | ??:??:?? 23 [GPS] Ignore time (-823242511) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 24 [GPS] NMEA GPS time 2080-01-05 23:59:45 age 612

WARN | ??:??:?? 24 [GPS] Ignore time (-823242511) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 24 [GPS] NMEA GPS time 2080-01-05 23:59:45 age 816

WARN | ??:??:?? 24 [GPS] Ignore time (-823242511) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 24 [GPS] NMEA GPS time 2080-01-05 23:59:46 age 0

WARN | ??:??:?? 24 [GPS] Ignore time (-823242510) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 24 [GPS] NMEA GPS time 2080-01-05 23:59:46 age 204

WARN | ??:??:?? 24 [GPS] Ignore time (-823242510) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 24 [GPS] NMEA GPS time 2080-01-05 23:59:46 age 408

WARN | ??:??:?? 24 [GPS] Ignore time (-823242510) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 25 [GPS] NMEA GPS time 2080-01-05 23:59:46 age 612

WARN | ??:??:?? 25 [GPS] Ignore time (-823242510) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 25 [GPS] NMEA GPS time 2080-01-05 23:59:46 age 816

WARN | ??:??:?? 25 [GPS] Ignore time (-823242510) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 25 [GPS] NMEA GPS time 2080-01-05 23:59:47 age 0

WARN | ??:??:?? 25 [GPS] Ignore time (-823242509) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 25 [GPS] NMEA GPS time 2080-01-05 23:59:47 age 204

WARN | ??:??:?? 25 [GPS] Ignore time (-823242509) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 25 [GPS] NMEA GPS time 2080-01-05 23:59:47 age 408

WARN | ??:??:?? 25 [GPS] Ignore time (-823242509) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 26 [GPS] NMEA GPS time 2080-01-05 23:59:47 age 612

WARN | ??:??:?? 26 [GPS] Ignore time (-823242509) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 26 [GPS] NMEA GPS time 2080-01-05 23:59:47 age 816

WARN | ??:??:?? 26 [GPS] Ignore time (-823242509) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 26 [GPS] NMEA GPS time 2080-01-05 23:59:48 age 0

WARN | ??:??:?? 26 [GPS] Ignore time (-823242508) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 26 [GPS] NMEA GPS time 2080-01-05 23:59:48 age 204

WARN | ??:??:?? 26 [GPS] Ignore time (-823242508) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 26 [GPS] NMEA GPS time 2080-01-05 23:59:48 age 408

WARN | ??:??:?? 26 [GPS] Ignore time (-823242508) too far in the future (build epoch: 1757286660, max allowed: -1276240636)!

DEBUG | ??:??:?? 27 [GPS] NMEA GPS time 2080-01-05 23:59:48 age 611

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions