Details
Description
There is a race condition in agent python tests
agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,552.552 INFO:run_tests.py:118(14572): ====================================================================== agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,553.553 INFO:run_tests.py:118(14572): FAIL: test_artifact_production (__main__.TestAgent) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,553.553 INFO:run_tests.py:118(14572): ---------------------------------------------------------------------- agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,553.553 INFO:run_tests.py:118(14572): Traceback (most recent call last): agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,554.554 INFO:run_tests.py:118(14572): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/testlib.py", line 204, in <lambda> agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,554.554 INFO:run_tests.py:118(14572): return lambda *args, **kwargs: _asyncio_test_loop.run_until_complete(f(*args, **kwargs)) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,555.555 INFO:run_tests.py:118(14572): File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_complete agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,555.555 INFO:run_tests.py:118(14572): return future.result() agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,555.555 INFO:run_tests.py:118(14572): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/test_agent.py", line 230, in test_artifact_production agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,556.556 INFO:run_tests.py:118(14572): self.assertTrue(self.testStorage.hasArtifacts(request.workItemPath, ["artifacts.tar.gz"])) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,556.556 INFO:run_tests.py:118(14572): AssertionError: False is not true agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,556.556 INFO:run_tests.py:118(14572): agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,557.557 INFO:run_tests.py:118(14572): ====================================================================== agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,557.557 INFO:run_tests.py:118(14572): FAIL: test_conan_buildinfo_copying (__main__.TestAgent) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,558.558 INFO:run_tests.py:118(14572): ---------------------------------------------------------------------- agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,558.558 INFO:run_tests.py:118(14572): Traceback (most recent call last): agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,558.558 INFO:run_tests.py:118(14572): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/testlib.py", line 204, in <lambda> agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,559.559 INFO:run_tests.py:118(14572): return lambda *args, **kwargs: _asyncio_test_loop.run_until_complete(f(*args, **kwargs)) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,559.559 INFO:run_tests.py:118(14572): File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_complete agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,560.560 INFO:run_tests.py:118(14572): return future.result() agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,560.560 INFO:run_tests.py:118(14572): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/test_agent.py", line 681, in test_conan_buildinfo_copying agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,560.560 INFO:run_tests.py:118(14572): self.assertTrue(self.testStorage.hasArtifacts(request.workItemPath, ["artifacts.tar.gz"])) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,561.561 INFO:run_tests.py:118(14572): AssertionError: False is not true agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,561.561 INFO:run_tests.py:118(14572): agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,562.562 INFO:run_tests.py:118(14572): ====================================================================== agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,562.562 INFO:run_tests.py:118(14572): FAIL: test_core_file_upload (__main__.TestAgent) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,562.562 INFO:run_tests.py:118(14572): ---------------------------------------------------------------------- agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,563.563 INFO:run_tests.py:118(14572): Traceback (most recent call last): agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,563.563 INFO:run_tests.py:118(14572): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/testlib.py", line 204, in <lambda> agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,563.563 INFO:run_tests.py:118(14572): return lambda *args, **kwargs: _asyncio_test_loop.run_until_complete(f(*args, **kwargs)) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,564.564 INFO:run_tests.py:118(14572): File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_complete agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,564.564 INFO:run_tests.py:118(14572): return future.result() agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,564.564 INFO:run_tests.py:118(14572): File "/home/qt/work/qtqa/tqtc-coin-ci/src/tests/test_agent.py", line 341, in test_core_file_upload agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,565.565 INFO:run_tests.py:118(14572): self.assertEqual(1, numCoreFilesUploaded()) agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,565.565 INFO:run_tests.py:118(14572): AssertionError: 1 != 0 agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,565.565 INFO:run_tests.py:118(14572): agent:2019/06/18 09:17:23 build.go:197: 2019-06-18 12:17:23,566.566 INFO:run_tests.py:118(14572): --------------------------------------------------------------