-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] windows://python/ray/tests:test_runtime_env_working_dir_3
is failing/flaky on master.
#28816
Comments
Likely due to #28623 and we just need to increase a timeout somewhere. |
5/5 failures are in |
___________ test_pin_runtime_env_uri[ray_client-tmp_working_dir-20] ___________
--
|
| start_cluster = (<ray.cluster_utils.Cluster object at 0x00000188AC732DC0>, 'ray://localhost:10004')
| source = 'C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\tmptp14d912'
| expiration_s = 20
| monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x00000188AC7899A0>
|
| @pytest.mark.parametrize("expiration_s", [0, 20])
| @pytest.mark.parametrize("source", [lazy_fixture("tmp_working_dir")])
| def test_pin_runtime_env_uri(start_cluster, source, expiration_s, monkeypatch):
| """Test that temporary GCS URI references are deleted after expiration_s."""
| monkeypatch.setenv(RAY_RUNTIME_ENV_URI_PIN_EXPIRATION_S_ENV_VAR, str(expiration_s))
|
| cluster, address = start_cluster
|
| start = time.time()
| ray.init(address, namespace="test", runtime_env={"working_dir": source})
|
| @ray.remote
| def f():
| pass
|
| # Wait for runtime env to be set up. This can be accomplished by getting
| # the result of a task that depends on it.
| ray.get(f.remote())
| ray.shutdown()
|
| # Need to re-connect to use internal_kv.
| ray.init(address=address)
|
| print("Starting Internal KV checks at time ", time.time() - start)
| if expiration_s > 0:
| > assert not check_internal_kv_gced()
| E assert not True
| E + where True = check_internal_kv_gced()
|
Newly flaky after #28589, should be an easy fix.
|
This test is still flaky, due to a new reason: |
… timing out (#29007) Several tests were recently enabled on Windows; unfortunately some of them are flaky. This PR disables the flaky tests to fix CI. Related issue number Addresses #28816, #29000 and #29001 but doesn't fix the root cause. We should find the root cause and reenable these tests in the future.
This is timing out on the release branch as well (on mac machine though) - should we cherry pick this? https://buildkite.com/ray-project/oss-ci-build-branch/builds/528#0183d72d-8a29-4fcb-a094-b4e7cddf24c2 |
@rickyyx Can it be fixed by a restart? We should eventually figure out the root cause though, I made an issue to track the mac flakiness here #29373 |
I see - I think it doesn't show up every single time. I could bear with the flakiness for now. |
… timing out (ray-project#29007) Several tests were recently enabled on Windows; unfortunately some of them are flaky. This PR disables the flaky tests to fix CI. Related issue number Addresses ray-project#28816, ray-project#29000 and ray-project#29001 but doesn't fix the root cause. We should find the root cause and reenable these tests in the future. Signed-off-by: Weichen Xu <[email protected]>
....
Generated from flaky test tracker. Please do not edit the signature in this section.
DataCaseName-windows://python/ray/tests:test_runtime_env_working_dir_3-END
....
The text was updated successfully, but these errors were encountered: