Closed
Description
https://github.com/coder/coder/actions/runs/13623011640/job/38075570842
=== Failed
=== FAIL: coderd/database TestGetWorkspaceAgentUsageStatsAndLabels/Aggregates (0.02s)
querier_test.go:797:
Error Trace: C:/a/coder/coder/coderd/database/querier_test.go:797
Error: []database.GetWorkspaceAgentUsageStatsAndLabelsRow{database.GetWorkspaceAgentUsageStatsAndLabelsRow{Username:"focused_shamir57", AgentName:"infallible_lederberg69", WorkspaceName:"focused_goldberg82", RxBytes:3, TxBytes:3, SessionCountVSCode:1, SessionCountSSH:0, SessionCountJetBrains:1, SessionCountReconnectingPTY:1, ConnectionCount:0, ConnectionMedianLatencyMS:1}, database.GetWorkspaceAgentUsageStatsAndLabelsRow{Username:"boring_volhard84", AgentName:"vigilant_chatelet87", WorkspaceName:"lucid_pare93", RxBytes:8, TxBytes:4, SessionCountVSCode:1, SessionCountSSH:1, SessionCountJetBrains:0, SessionCountReconnectingPTY:0, ConnectionCount:0, ConnectionMedianLatencyMS:1}} does not contain database.GetWorkspaceAgentUsageStatsAndLabelsRow{Username:"focused_shamir57", AgentName:"infallible_lederberg69", WorkspaceName:"focused_goldberg82", RxBytes:3, TxBytes:3, SessionCountVSCode:0, SessionCountSSH:0, SessionCountJetBrains:1, SessionCountReconnectingPTY:1, ConnectionCount:0, ConnectionMedianLatencyMS:1}
Test: TestGetWorkspaceAgentUsageStatsAndLabels/Aggregates
Totally at a loss as to how this could be flaking. The test is a bunch of calls to synchronous dbgen
functions, and then a direct call to a dbmem
query. Maybe some Windows weirdness? Though doesn't explain why the test only started flaking a few months later.
Metadata
Metadata
Assignees
Labels
No labels