Python tests are flaky on Windows
See original GitHub issuehttp://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=latest,PLATFORM_NAME=windows-x86_64/843/console
Bazel sometimes exist with exitcode = 2 unexpectedly
Traceback (most recent call last):
File "c:\bazel_ci\temp\Bazel.runfiles_l9ffu5\runfiles\io_bazel\src\test\py\bazel\bazel_clean_test.py", line 30, in testBazelClean
self.assertEqual(exit_code, 0)
AssertionError: 2 != 0
//cc @laszlocsomor Any idea?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Flaky tests — pytest documentation
Flaky tests sometimes appear when a test suite is run in parallel (such as use of pytest-xdist). This can indicate a test is...
Read more >How to Fix Flaky Tests - Semaphore CI
Randomly failing tests are the hardest to debug. Here's a framework you can use to fix them and keep your test suite healthy....
Read more >flaky - PyPI
Flaky is a plugin for nose or pytest that automatically reruns flaky tests. Ideally, tests reliably pass or fail, but sometimes test fixtures...
Read more >[Windows] flaky tests · Issue #21393 · ray-project/ray · GitHub
After enabling tests of test_runtime_env_plugin and test_runtime_env_env_vars (PR #21252) and python/ray/serve:* tests (PR #21107), the analysis at ...
Read more >Improving developer productivity via flaky test management
Flaky tests are a well-known problem across the industry and Microsoft is no exception. To address the issues with flaky tests and to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
According to the error messages, Bazel sometimes cannot find VC through registry when running in python tests. This could be a problem caused by https://github.com/bazelbuild/bazel/issues/2675
I added more logging to those tests, will be pushed to GitHub soon.