Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-276

Python test for agent exit request is flaky

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1
    • master
    • Tests
    • None

    Description

      The test failed for unrelated commit

      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): ======================================================================
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): FAIL: test_agent_exit_request_2_True (__main__.TestAgent)
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): ----------------------------------------------------------------------
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): Traceback (most recent call last):
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): File "/home/qt/.local/share/virtualenvs/tqtc-coin-ci-Qyp9o22n/lib/python3.6/site-packages/ddt.py", line 139, in wrapper
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): return func(self, *args, **kwargs)
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,867.867 INFO:run_tests.py:115(17866): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/testlib.py", line 204, in <lambda>
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): return lambda *args, **kwargs: _asyncio_test_loop.run_until_complete(f(*args, **kwargs))
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_complete
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): return future.result()
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/test_agent.py", line 599, in test_agent_exit_request
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): self.assertEqual(self.mockScheduler.lastResult.state, messages.AgentState.Interrupted)
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): AssertionError: 1 != 2
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): 
      agent:2019/06/07 12:26:55 build.go:197: 2019-06-07 15:26:55,868.868 INFO:run_tests.py:115(17866): ----------------------------------------------------------------------

      http://coin:8080/coin/logview/qtqa/tqtc-coin-ci/9b962a7b5c1c702957bf246b03565baac09ae188/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-9166c9/825e7562d49596d49ae22649c3c4316264a99b4f/build_1559910214

      http://coin:8080/coin/integration/qtqa/tqtc-coin-ci/tasks/1559910208

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            moamen Moamen Ibrahim (Inactive)
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes