You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed Job:test-go-pg (windows-2022) Test Location:cli/task_logs_test.go (Test_TaskLogs_Golden/SnapshotWithLogs_Table)
Error Analysis
The CLI task logs snapshot test failed because the API returned a 409 (task status error) instead of logs:
GET http://127.0.0.1:55141/api/v2/tasks/me/<task-id>/logs: unexpected status code 409: Cannot fetch logs for task in current state.
Error: Task status is "error".
This is unexpected for SnapshotWithLogs_Table, which creates a task in paused status via setupCLITaskTestWithSnapshot(...) and expects logs to be fetchable from the snapshot.
Root Cause Assessment
Likely flaky test / timing issue: the task created via dbfake in setupCLITaskTestWithSnapshot sometimes ends up in error status on Windows, causing the 409 from the logs endpoint.
No data race warnings, panics, or OOM indicators were present in the logs.
Activity
test(cli): remove IncludeProvisionerDaemon from task snapshot tests (#…