Many tests fail around midnight :ghost:
- Dominant language
- Go
- Stars
- 1
- Forks
- 3
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 6
Description
When running the tests for this repo late at night, ie. after 11:30, many of them fail. I believe this is because many of them use time.Now() and add 30 minutes to it, which is triggering edge cases. There's too many to list here but an example is TestHandleTimeEvent, which you can see the output of here when running it locally at roughly 11:34pm ACST. These don't just fail locally though, checks on GitHub fail too. Yet now, having run them in the morning, they all pass.
We need to investigate if this is actually a bug in the handling of edge cases, or just a flaw in the testing strategy. We could hard code the times and not use time.Now() but we should understand what is actually going on first.
```
--- FAIL: TestHandleTimeEvent (7.44s)
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 01:34:42.148235438 +1030 ACDT m=+7200.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentLive to main.vidforwardPermanentTransitionLiveToSlate
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 01:34:42.148235438 +1030 ACDT m=+7200.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryLive to main.vidforwardSecondaryIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 01:34:42.148235438 +1030 ACDT m=+7200.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directLive to main.directIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 01:34:42.148235438 +1030 ACDT m=+7200.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentLiveUnhealthy to main.vidforwardPermanentTransitionLiveToSlate
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 01:34:42.148235438 +1030 ACDT m=+7200.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryLiveUnhealthy to main.vidforwardSecondaryIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 01:34:42.148235438 +1030 ACDT m=+7200.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directLiveUnhealthy to main.directIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) (broadcast sm) state main.vidforwardPermanentSlateUnhealthy is fixable, trying to fix
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:04:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:44:42.148235438 +1030 ACDT m=+4200.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentLive to main.vidforwardPermanentTransitionLiveToSlate
--- FAIL: TestHandleTimeEvent/vidforwardPermanentLive_within_broadcast_period (0.20s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:583: expected event statusCheckDueEvent, got finishEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:583: expected event chatMessageDueEvent, got hardwareStopRequestEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:595: unexpected state after handling time event: got main.vidforwardPermanentTransitionLiveToSlate, want main.vidforwardPermanentLive
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryLive to main.vidforwardSecondaryIdle
--- FAIL: TestHandleTimeEvent/vidforwardSecondaryLive_within_broadcast_period (0.20s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:583: expected event statusCheckDueEvent, got finishEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:583: expected event chatMessageDueEvent, got hardwareStopRequestEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:595: unexpected state after handling time event: got main.vidforwardSecondaryIdle, want main.vidforwardSecondaryLive
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directLive to main.directIdle
--- FAIL: TestHandleTimeEvent/directLive_within_broadcast_period (0.20s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:583: expected event statusCheckDueEvent, got finishEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:583: expected event chatMessageDueEvent, got hardwareStopRequestEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:595: unexpected state after handling time event: got main.directIdle, want main.directLive
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentLiveUnhealthy to main.vidforwardPermanentTransitionLiveToSlate
--- FAIL: TestHandleTimeEvent/vidforwardPermanentLiveUnhealthy_within_broadcast_period (0.00s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:570: expected 4 events, got 3, expected: [timeEvent statusCheckDueEvent chatMessageDueEvent hardwareResetRequestEvent], got: [timeEvent finishEvent hardwareStopRequestEvent]
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryLiveUnhealthy to main.vidforwardSecondaryIdle
--- FAIL: TestHandleTimeEvent/vidforwardSecondaryLiveUnhealthy_within_broadcast_period (0.20s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:583: expected event statusCheckDueEvent, got finishEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:583: expected event chatMessageDueEvent, got hardwareStopRequestEvent, expected events: [timeEvent statusCheckDueEvent chatMessageDueEvent], got events: [timeEvent finishEvent hardwareStopRequestEvent]
broadcast_machine_test.go:595: unexpected state after handling time event: got main.vidforwardSecondaryIdle, want main.vidforwardSecondaryLiveUnhealthy
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directLiveUnhealthy to main.directIdle
--- FAIL: TestHandleTimeEvent/directLiveUnhealthy_within_broadcast_period (0.00s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:570: expected 4 events, got 3, expected: [timeEvent statusCheckDueEvent chatMessageDueEvent hardwareResetRequestEvent], got: [timeEvent finishEvent hardwareStopRequestEvent]
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
--- FAIL: TestHandleTimeEvent/vidforwardSecondaryIdle_within_broadcast_period (0.00s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:570: expected 3 events, got 1, expected: [timeEvent startEvent hardwareStartRequestEvent], got: [timeEvent]
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
--- FAIL: TestHandleTimeEvent/vidforwardPermanentIdle_within_broadcast_period (0.00s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:570: expected 3 events, got 1, expected: [timeEvent startEvent hardwareStartRequestEvent], got: [timeEvent]
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
--- FAIL: TestHandleTimeEvent/vidforwardPermanentSlate_within_broadcast_period (0.00s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:570: expected 3 events, got 1, expected: [timeEvent startEvent hardwareStartRequestEvent], got: [timeEvent]
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-10 00:04:42.148235438 +1030 ACDT m=+1800.005552700
--- FAIL: TestHandleTimeEvent/directIdle_in_broadcastPeriod (0.00s)
broadcast_test.go:93: creating dummy manager
broadcast_machine_test.go:570: expected 3 events, got 1, expected: [timeEvent startEvent hardwareStartRequestEvent], got: [timeEvent]
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:48:42.148235438 +1030 ACDT m=+840.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:48:42.148235438 +1030 ACDT m=+840.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:48:42.148235438 +1030 ACDT m=+840.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentLive to main.vidforwardPermanentTransitionLiveToSlate
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryLive to main.vidforwardSecondaryIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directLive to main.directIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentLiveUnhealthy to main.vidforwardPermanentTransitionLiveToSlate
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryLiveUnhealthy to main.vidforwardSecondaryIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) handling finish event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directLiveUnhealthy to main.directIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-09 13:14:42.148235438 +0000 UTC, end: 2024-12-08 14:04:42.148235438 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:39:42.148235438 +1030 ACDT m=+300.005552700
utils.go:46: (name: , id: ) (broadcast sm) state main.vidforwardPermanentSlateUnhealthy is fixable, trying to fix
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-08 22:44:20 +0000 UTC, end: 2024-12-08 22:44:20 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:40:42.148235438 +1030 ACDT m=+360.005552700
utils.go:46: (name: , id: ) timed out, last entered: 2024-12-09 23:34:42.148235438 +1030 ACDT m=+0.005552700, time now: 2024-12-09 23:40:42.148235438 +1030 ACDT m=+360.005552700
utils.go:46: (name: , id: ) failed to start broadcast: permanent starting timed out
utils.go:46: (name: , id: ) (broadcast sm) handling start failed event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardPermanentStarting to main.vidforwardPermanentIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-08 22:44:20 +0000 UTC, end: 2024-12-08 22:44:20 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:38:42.148235438 +1030 ACDT m=+240.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-08 22:44:20 +0000 UTC, end: 2024-12-08 22:44:20 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:40:42.148235438 +1030 ACDT m=+360.005552700
utils.go:46: (name: , id: ) timed out, last entered: 2024-12-09 23:34:42.148235438 +1030 ACDT m=+0.005552700, time now: 2024-12-09 23:40:42.148235438 +1030 ACDT m=+360.005552700
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.vidforwardSecondaryStarting to main.vidforwardSecondaryIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-08 22:44:20 +0000 UTC, end: 2024-12-08 22:44:20 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:38:42.148235438 +1030 ACDT m=+240.005552700
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-08 22:44:20 +0000 UTC, end: 2024-12-08 22:44:20 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:45:42.148235438 +1030 ACDT m=+660.005552700
utils.go:46: (name: , id: ) timed out, last entered: 2024-12-09 23:34:42.148235438 +1030 ACDT m=+0.005552700, time now: 2024-12-09 23:45:42.148235438 +1030 ACDT m=+660.005552700
utils.go:46: (name: , id: ) failed to start broadcast: direct starting timed out
utils.go:46: (name: , id: ) (broadcast sm) handling start failed event
utils.go:46: (name: , id: ) (broadcast sm) transitioning from main.directStarting to main.directIdle
utils.go:46: (name: , id: ) unexpected error when unmarshaling state data; this could mean we have an unexpected state: unexpected end of JSON input
utils.go:46: (name: , id: ) (broadcast sm) got broadcast state machine; initial state: main.directIdle, start: 2024-12-08 22:44:20 +0000 UTC, end: 2024-12-08 22:44:20 +0000 UTC, cfg: (config logging disabled) Events: [], HardwareState:
utils.go:46: (name: , id: ) (broadcast sm) handling time event: 2024-12-09 23:38:42.148235438 +1030 ACDT m=+240.005552700
FAIL
exit status 1
FAIL github.com/ausocean/cloud/cmd/oceantv 7.449s```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.