New issue
Advanced search Search tips

Issue 686053 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Flake in SOM go tests

Project Member Reported by tandrii@chromium.org, Jan 27 2017

Issue description

from https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.infra%2Finfra-continuous-win-64%2F5403%2F%2B%2Frecipes%2Fsteps%2Finfra_go_tests%2F0%2Fstdout
which closed infra tree. Please fix.

x.............................................................................................................................
Failures:

  * E:/b/rr/tmpmn75in/w/infra/go/src/infra/appengine/sheriff-o-matic/som/main_test.go 
  Line 255:
  Expected: '(*som.swarmingAlerts){Dead:[]*swarming.SwarmingRpcsBotInfo(nil), Quarantined:[]*swarming.SwarmingRpcsBotInfo(nil), Error:[]string{"googleapi: Error 403: , forbidden", "googleapi: Error 403: , forbidden"}}'
  Actual:   '(*som.swarmingAlerts){Dead:[]*swarming.SwarmingRpcsBotInfo(nil), Quarantined:[]*swarming.SwarmingRpcsBotInfo(nil), Error:[]string{"googleapi: Error 403: , forbidden", "Get https://chromium-swarm.appspot.com/_ah/api/swarming/v1/bots/list?alt=json&is_dead=TRUE: dial tcp 173.194.219.141:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."}}'
  (Should resemble)!


322 total assertions

--- FAIL: TestMain (21.11s)
FAIL
coverage: 80.2% of statements
FAIL	infra/appengine/sheriff-o-matic/som	21.164s
 
Labels: -Restrict-View-Google
Status: Available (was: Untriaged)
This test should not be making live http connections. 
Owner: zhangtiff@chromium.org
Status: Assigned (was: Available)
Tiffany, this is your code, right?
I think Sean technically wrote this specific test (fetching dead swarming bots), but I think I also wrote similar tests which might be doing network requests to Monorail. At any rate, I'm on it. 
Labels: Milestone-Reliability
Labels: -Pri-1 Pri-2
Owner: ----
Status: Available (was: Assigned)
I fixed the flake in the test for now, but we will still want to change the test to actually be more useful. So I am leaving this bug open but lowering the priority. 
Mergedinto: 721501
Status: Duplicate (was: Available)

Sign in to add a comment