Project

General

Profile

Actions

Bug #21927

open

lib/controller/handler_test.go TestDiscoveryDocCache fails intermittently

Added by Brett Smith about 1 month ago. Updated about 15 hours ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
Tests
Story points:
-

Description

time="2024-06-20T21:26:27Z" level=warning msg="error refreshing cache" error="HTTP status 400" path=/discovery/v1/apis/arvados/v1/rest

----------------------------------------------------------------------
FAIL: handler_test.go:120: HandlerSuite.TestDiscoveryDocCache

handler_test.go:278:
    // Only one attempt to re-fetch (holdReqs ensured the first
    // update took long enough for the last incoming request to
    // arrive)
    c.Check(countRailsReqs(), check.Equals, reqsBefore+1)
... obtained int = 10
... expected int = 11

Note that we previously had #21276 to do some work on this. As far as I'm aware this is the first time we've seen a problem since that branch was merged six months ago.


Files


Subtasks 1 (1 open0 closed)

Task #22013: ReviewNewPeter AmstutzActions

Related issues

Related to Arvados - Bug #21276: lib/controller/handler_test.go TestDiscoveryDocCache is raceyResolvedTom CleggActions
Has duplicate Arvados - Bug #21991: Unreliable test HandlerSuite.TestDiscoveryDocCache in lib/controllerDuplicateTom CleggActions
Actions #1

Updated by Brett Smith about 1 month ago

  • Related to Bug #21276: lib/controller/handler_test.go TestDiscoveryDocCache is racey added
Actions #2

Updated by Brett Smith 16 days ago

  • Has duplicate Bug #21991: Unreliable test HandlerSuite.TestDiscoveryDocCache in lib/controller added
Actions #3

Updated by Brett Smith 16 days ago

  • Target version set to Development 2024-07-24 sprint
  • Assigned To set to Tom Clegg
Actions #4

Updated by Peter Amstutz about 17 hours ago

  • Target version changed from Development 2024-07-24 sprint to Development 2024-08-07 sprint
Actions

Also available in: Atom PDF