Bug #12020

[Tests] Flaky test in Python SDK tests.test_events.WebsocketTest.test_subscribe_poll

Added by Tom Clegg 2 months ago. Updated 10 days ago.

Status:ClosedStart date:07/24/2017
Priority:NormalDue date:
Assignee:Lucas Di Pentima% Done:

100%

Category:Tests
Target version:2017-09-13 Sprint
Story points-Remaining (hours)0.00 hour
Velocity based estimate-

Description

======================================================================
ERROR: test_subscribe_poll (tests.test_events.WebsocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.gK2qha3T2M/VENVDIR/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/data/1/jenkins/workspace/run-tests-remainder/sdk/python/tests/test_events.py", line 93, in test_subscribe_poll
    poll_fallback=0.25, expect_type=arvados.events.PollClient, expected=1)
  File "/data/1/jenkins/workspace/run-tests-remainder/sdk/python/tests/test_events.py", line 75, in _test_subscribe
    log_object_uuids.append(events.get(True, 5)['object_uuid'])
  File "/usr/lib/python2.7/Queue.py", line 176, in get
    raise Empty
Empty

-- https://ci.curoverse.com/job/run-tests-remainder/1159/consoleText


Subtasks

Task #12069: ReviewClosedTom Clegg

History

#1 Updated by Tom Clegg 2 months ago

  • Assignee set to Lucas Di Pentima

#2 Updated by Lucas Di Pentima about 1 month ago

  • Target version changed from 2017-08-02 sprint to 2017-08-16 sprint

#3 Updated by Lucas Di Pentima about 1 month ago

  • Target version changed from 2017-08-16 sprint to 2017-08-30 Sprint

#4 Updated by Lucas Di Pentima 26 days ago

  • Status changed from New to In Progress

#5 Updated by Lucas Di Pentima 26 days ago

I ran this test locally 400 times without a failure, nevertheless on Jenkins it fails from time to time. Could it be that the failure is Jenkins related?
Nico suggested that I could try to simulate PostgreSQL delay to see if I can reproduce the failure.

#6 Updated by Lucas Di Pentima 25 days ago

  • Target version changed from 2017-08-30 Sprint to 2017-09-13 Sprint

#7 Updated by Lucas Di Pentima 20 days ago

  • Status changed from In Progress to Closed

Doesn't seem to be flaky lately. Closing this until it re-appears.

Also available in: Atom PDF