Adding Tier1 kuberay e2e tests (including autoscaler) Adding Smoke kuberay e2e tests (authentication validation) Running e2e tests matching: ^(TestRayJobWithClusterSelector|TestRayJob|TestRayJobSuspend|TestRayJobLightWeightMode|TestRayClusterAutoscaler|TestRayClusterAuthentication)$ Running packages: ./test/e2e ./test/e2eautoscaler Test timeout: 60m go: downloading github.com/stretchr/testify v1.11.0 go: downloading k8s.io/api v0.34.1 go: downloading k8s.io/apimachinery v0.34.1 go: downloading k8s.io/client-go v0.34.1 go: downloading github.com/onsi/gomega v1.37.0 go: downloading k8s.io/utils v0.0.0-20250820121507-0af2bda4dd1d go: downloading github.com/onsi/ginkgo/v2 v2.23.4 go: downloading github.com/openshift/api v0.0.0-20250602203052-b29811a290c7 go: downloading github.com/pkg/errors v0.9.1 go: downloading sigs.k8s.io/controller-runtime v0.22.1 go: downloading github.com/google/go-cmp v0.7.0 go: downloading github.com/Masterminds/semver/v3 v3.3.1 go: downloading sigs.k8s.io/yaml v1.6.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading sigs.k8s.io/randfill v1.0.0 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/go-logr/logr v1.4.3 go: downloading k8s.io/klog/v2 v2.130.1 go: downloading sigs.k8s.io/structured-merge-diff/v6 v6.3.0 go: downloading k8s.io/kube-openapi v0.0.0-20250814151709-d7b6acb124c3 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading golang.org/x/net v0.43.0 go: downloading github.com/spf13/pflag v1.0.7 go: downloading golang.org/x/term v0.34.0 go: downloading github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 go: downloading sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 go: downloading github.com/google/gnostic-models v0.7.0 go: downloading google.golang.org/protobuf v1.36.8 go: downloading k8s.io/apiserver v0.34.1 go: downloading k8s.io/component-base v0.34.1 go: downloading github.com/evanphx/json-patch/v5 v5.9.11 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading go.yaml.in/yaml/v2 v2.4.2 go: downloading golang.org/x/sys v0.35.0 go: downloading golang.org/x/time v0.12.0 go: downloading github.com/json-iterator/go v1.1.12 go: downloading golang.org/x/oauth2 v0.30.0 go: downloading github.com/fxamacker/cbor/v2 v2.9.0 go: downloading go.yaml.in/yaml/v3 v3.0.4 go: downloading github.com/moby/spdystream v0.5.0 go: downloading github.com/prometheus/client_golang v1.23.0 go: downloading gomodules.xyz/jsonpatch/v2 v2.4.0 go: downloading golang.org/x/text v0.28.0 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee go: downloading github.com/go-openapi/jsonreference v0.21.0 go: downloading github.com/go-openapi/swag v0.23.1 go: downloading github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/google/uuid v1.6.0 go: downloading k8s.io/apiextensions-apiserver v0.34.1 go: downloading github.com/prometheus/client_model v0.6.2 go: downloading github.com/prometheus/common v0.65.0 go: downloading gopkg.in/evanphx/json-patch.v4 v4.13.0 go: downloading github.com/go-openapi/jsonpointer v0.21.2 go: downloading github.com/mailru/easyjson v0.9.0 go: downloading github.com/emicklei/go-restful/v3 v3.13.0 go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading github.com/prometheus/procfs v0.17.0 go: downloading go.opentelemetry.io/otel/trace v1.35.0 go: downloading go.opentelemetry.io/otel v1.35.0 go: downloading github.com/google/btree v1.1.3 go: downloading golang.org/x/sync v0.16.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/josharian/intern v1.0.0 === RUN TestRayClusterAuthentication raycluster_auth_test.go:34: [2026-07-06T15:57:37Z] Created RayCluster test-ns-7457s/raycluster-auth with authentication enabled raycluster_auth_test.go:36: [2026-07-06T15:57:37Z] Waiting for RayCluster test-ns-7457s/raycluster-auth to become ready === RUN TestRayClusterAuthentication/Auth_proxy_sidecar_is_injected_into_head_pod --- PASS: TestRayClusterAuthentication/Auth_proxy_sidecar_is_injected_into_head_pod (0.00s) === RUN TestRayClusterAuthentication/Unauthenticated_request_to_auth_proxy_is_rejected core.go:87: [2026-07-06T16:02:58Z] Executing command: [python3 -c import urllib.request, ssl ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE try: urllib.request.urlopen(urllib.request.Request('https://localhost:8443/'), context=ctx, timeout=5) print('STATUS:200') except urllib.error.HTTPError as e: print('STATUS:' + str(e.code)) except Exception as e: print('ERROR:' + str(e)) ] core.go:100: [2026-07-06T16:02:58Z] Command stdout: STATUS:401 core.go:101: [2026-07-06T16:02:58Z] Command stderr: --- PASS: TestRayClusterAuthentication/Unauthenticated_request_to_auth_proxy_is_rejected (0.17s) test.go:114: [2026-07-06T16:02:58Z] Retrieving Pod Container test-ns-7457s/raycluster-auth-head-dfwp8/ray-head logs test.go:102: [2026-07-06T16:02:58Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:02:58Z] Output directory has been created at: /tmp/TestRayClusterAuthentication3034388419/001 test.go:114: [2026-07-06T16:02:58Z] Retrieving Pod Container test-ns-7457s/raycluster-auth-head-dfwp8/kube-rbac-proxy logs test.go:114: [2026-07-06T16:02:58Z] Retrieving Pod Container test-ns-7457s/raycluster-auth-small-group-worker-bt6hk/ray-worker logs --- PASS: TestRayClusterAuthentication (320.99s) === RUN TestRayJobWithClusterSelector rayjob_cluster_selector_test.go:27: [2026-07-06T16:02:58Z] Created ConfigMap test-ns-gd2z4/jobs successfully rayjob_cluster_selector_test.go:35: [2026-07-06T16:02:58Z] Created RayCluster test-ns-gd2z4/raycluster successfully rayjob_cluster_selector_test.go:37: [2026-07-06T16:02:58Z] Waiting for RayCluster test-ns-gd2z4/raycluster to become ready === RUN TestRayJobWithClusterSelector/Successful_RayJob === PAUSE TestRayJobWithClusterSelector/Successful_RayJob === RUN TestRayJobWithClusterSelector/Failing_RayJob === PAUSE TestRayJobWithClusterSelector/Failing_RayJob === RUN TestRayJobWithClusterSelector/RayJob_should_be_created_but_not_to_be_updated_when_managed_externally === PAUSE TestRayJobWithClusterSelector === RUN TestRayJobLightWeightMode rayjob_lightweight_test.go:27: [2026-07-06T16:03:30Z] Created ConfigMap test-ns-fswxv/jobs successfully === RUN TestRayJobLightWeightMode/Successful_RayJob rayjob_lightweight_test.go:56: [2026-07-06T16:03:30Z] Created RayJob test-ns-fswxv/counter successfully rayjob_lightweight_test.go:58: [2026-07-06T16:03:30Z] Waiting for RayJob test-ns-fswxv/counter to complete --- PASS: TestRayJobLightWeightMode/Successful_RayJob (87.48s) === RUN TestRayJobLightWeightMode/Failing_RayJob_without_cluster_shutdown_after_finished rayjob_lightweight_test.go:90: [2026-07-06T16:04:58Z] Created RayJob test-ns-fswxv/fail successfully rayjob_lightweight_test.go:92: [2026-07-06T16:04:58Z] Waiting for RayJob test-ns-fswxv/fail to complete --- PASS: TestRayJobLightWeightMode/Failing_RayJob_without_cluster_shutdown_after_finished (100.51s) === RUN TestRayJobLightWeightMode/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. rayjob_lightweight_test.go:121: [2026-07-06T16:06:38Z] Created RayJob test-ns-fswxv/stop successfully rayjob_lightweight_test.go:123: [2026-07-06T16:06:38Z] Waiting for RayJob test-ns-fswxv/stop to be 'Running' rayjob_lightweight_test.go:127: [2026-07-06T16:08:24Z] Waiting for RayJob test-ns-fswxv/stop to be 'Complete' rayjob_lightweight_test.go:137: [2026-07-06T16:08:49Z] Deleted RayJob test-ns-fswxv/stop successfully --- PASS: TestRayJobLightWeightMode/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. (130.66s) test.go:114: [2026-07-06T16:08:49Z] Retrieving Pod Container test-ns-fswxv/fail-g8fms-head-sqlgp/ray-head logs test.go:102: [2026-07-06T16:08:49Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:08:49Z] Output directory has been created at: /tmp/TestRayJobLightWeightMode3401393928/001 test.go:114: [2026-07-06T16:08:49Z] Retrieving Pod Container test-ns-fswxv/fail-g8fms-head-sqlgp/kube-rbac-proxy logs test.go:114: [2026-07-06T16:08:49Z] Retrieving Pod Container test-ns-fswxv/fail-g8fms-small-group-worker-wknkg/ray-worker logs test.go:114: [2026-07-06T16:08:49Z] Retrieving Pod Container test-ns-fswxv/stop-54kww-head-v9twt/ray-head logs test.go:114: [2026-07-06T16:08:49Z] Retrieving Pod Container test-ns-fswxv/stop-54kww-head-v9twt/kube-rbac-proxy logs test.go:114: [2026-07-06T16:08:49Z] Retrieving Pod Container test-ns-fswxv/stop-54kww-small-group-worker-v22nx/ray-worker logs --- PASS: TestRayJobLightWeightMode (318.76s) === RUN TestRayJobSuspend rayjob_suspend_test.go:27: [2026-07-06T16:08:49Z] Created ConfigMap test-ns-tb69b/jobs successfully === RUN TestRayJobSuspend/Suspend_the_RayJob_when_its_status_is_'Running',_and_then_resume_it. rayjob_suspend_test.go:41: [2026-07-06T16:08:49Z] Created RayJob test-ns-tb69b/long-running successfully rayjob_suspend_test.go:43: [2026-07-06T16:08:49Z] Waiting for RayJob test-ns-tb69b/long-running to be 'Running' rayjob_suspend_test.go:47: [2026-07-06T16:09:21Z] Suspend the RayJob test-ns-tb69b/long-running rayjob_suspend_test.go:52: [2026-07-06T16:09:21Z] Waiting for RayJob test-ns-tb69b/long-running to be 'Suspended' rayjob_suspend_test.go:68: [2026-07-06T16:09:22Z] Resume the RayJob by updating `suspend` to false. rayjob_suspend_test.go:78: [2026-07-06T16:09:53Z] Deleted RayJob test-ns-tb69b/long-running successfully --- PASS: TestRayJobSuspend/Suspend_the_RayJob_when_its_status_is_'Running',_and_then_resume_it. (64.38s) === RUN TestRayJobSuspend/Create_a_suspended_RayJob,_and_then_resume_it. rayjob_suspend_test.go:97: [2026-07-06T16:09:53Z] Created RayJob test-ns-tb69b/counter successfully rayjob_suspend_test.go:99: [2026-07-06T16:09:53Z] Waiting for RayJob test-ns-tb69b/counter to be 'Suspended' rayjob_suspend_test.go:103: [2026-07-06T16:09:54Z] Resume the RayJob by updating `suspend` to false. rayjob_suspend_test.go:108: [2026-07-06T16:09:54Z] Waiting for RayJob test-ns-tb69b/counter to complete rayjob_suspend_test.go:123: [2026-07-06T16:10:48Z] Deleted RayJob test-ns-tb69b/counter successfully --- PASS: TestRayJobSuspend/Create_a_suspended_RayJob,_and_then_resume_it. (55.33s) test.go:102: [2026-07-06T16:10:49Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:10:49Z] Output directory has been created at: /tmp/TestRayJobSuspend3083398275/001 --- PASS: TestRayJobSuspend (119.77s) === RUN TestRayJob rayjob_test.go:29: [2026-07-06T16:10:49Z] Created ConfigMap test-ns-bf77k/jobs successfully === RUN TestRayJob/Successful_RayJob rayjob_test.go:46: [2026-07-06T16:10:49Z] Created RayJob test-ns-bf77k/counter successfully rayjob_test.go:48: [2026-07-06T16:10:49Z] Waiting for RayJob test-ns-bf77k/counter to complete rayjob_test.go:64: [2026-07-06T16:11:41Z] Checking that the RayJob status info has been set correctly. rayjob_test.go:81: [2026-07-06T16:11:41Z] Update `suspend` to true. However, since the RayJob is completed, the status should not be updated to `Suspended`. rayjob_test.go:91: [2026-07-06T16:12:11Z] Deleted RayJob test-ns-bf77k/counter successfully --- PASS: TestRayJob/Successful_RayJob (82.32s) === RUN TestRayJob/Failing_RayJob_without_cluster_shutdown_after_finished rayjob_test.go:105: [2026-07-06T16:12:11Z] Created RayJob test-ns-bf77k/fail successfully rayjob_test.go:107: [2026-07-06T16:12:11Z] Waiting for RayJob test-ns-bf77k/fail to complete rayjob_test.go:130: [2026-07-06T16:14:08Z] Deleted RayJob test-ns-bf77k/fail successfully --- PASS: TestRayJob/Failing_RayJob_without_cluster_shutdown_after_finished (117.60s) === RUN TestRayJob/Failing_submitter_K8s_Job rayjob_test.go:158: [2026-07-06T16:14:09Z] Created RayJob test-ns-bf77k/fail-k8s-job successfully rayjob_test.go:160: [2026-07-06T16:14:09Z] Waiting for RayJob test-ns-bf77k/fail-k8s-job to complete rayjob_test.go:183: [2026-07-06T16:16:40Z] Deleted RayJob test-ns-bf77k/fail-k8s-job successfully --- PASS: TestRayJob/Failing_submitter_K8s_Job (151.76s) === RUN TestRayJob/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. rayjob_test.go:197: [2026-07-06T16:16:40Z] Created RayJob test-ns-bf77k/stop successfully rayjob_test.go:199: [2026-07-06T16:16:40Z] Waiting for RayJob test-ns-bf77k/stop to be 'Running' rayjob_test.go:203: [2026-07-06T16:18:37Z] Waiting for RayJob test-ns-bf77k/stop to be 'Complete' rayjob_test.go:213: [2026-07-06T16:19:15Z] Deleted RayJob test-ns-bf77k/stop successfully --- PASS: TestRayJob/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. (154.78s) === RUN TestRayJob/RuntimeEnvYAML_is_not_a_valid_YAML_string rayjob_test.go:225: [2026-07-06T16:19:15Z] Created RayJob test-ns-bf77k/invalid-yamlstr successfully --- PASS: TestRayJob/RuntimeEnvYAML_is_not_a_valid_YAML_string (5.01s) === RUN TestRayJob/RayJob_has_passed_ActiveDeadlineSeconds rayjob_test.go:244: [2026-07-06T16:19:20Z] Created RayJob test-ns-bf77k/long-running successfully rayjob_test.go:247: [2026-07-06T16:19:20Z] Waiting for RayJob test-ns-bf77k/long-running to be 'Complete' --- PASS: TestRayJob/RayJob_has_passed_ActiveDeadlineSeconds (7.05s) === RUN TestRayJob/RayJob_should_be_created,_but_not_updated_when_managed_externally rayjob_test.go:270: [2026-07-06T16:19:27Z] Created RayJob test-ns-bf77k/managed-externally successfully rayjob_test.go:296: [2026-07-06T16:19:27Z] Deleted RayJob test-ns-bf77k/managed-externally successfully --- PASS: TestRayJob/RayJob_should_be_created,_but_not_updated_when_managed_externally (0.04s) test.go:114: [2026-07-06T16:19:27Z] Retrieving Pod Container test-ns-bf77k/long-running-s2pft-head-mvndl/ray-head logs test.go:114: [2026-07-06T16:19:27Z] Error getting logs from container test-ns-bf77k/long-running-s2pft-head-mvndl/ray-head test.go:114: [2026-07-06T16:19:27Z] Retrieving Pod Container test-ns-bf77k/long-running-s2pft-head-mvndl/kube-rbac-proxy logs test.go:114: [2026-07-06T16:19:27Z] Error getting logs from container test-ns-bf77k/long-running-s2pft-head-mvndl/kube-rbac-proxy test.go:114: [2026-07-06T16:19:27Z] Retrieving Pod Container test-ns-bf77k/long-running-s2pft-small-group-worker-bld76/ray-worker logs test.go:114: [2026-07-06T16:19:27Z] Error getting logs from container test-ns-bf77k/long-running-s2pft-small-group-worker-bld76/ray-worker test.go:102: [2026-07-06T16:19:27Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:19:27Z] Output directory has been created at: /tmp/TestRayJob4264331066/001 --- PASS: TestRayJob (518.66s) === CONT TestRayJobWithClusterSelector rayjob_cluster_selector_test.go:109: [2026-07-06T16:19:27Z] Created RayJob test-ns-gd2z4/managed-externally successfully --- PASS: TestRayJobWithClusterSelector/RayJob_should_be_created_but_not_to_be_updated_when_managed_externally (960.19s) === RUN TestRayJobWithClusterSelector/RayJob_should_not_be_created_due_to_managedBy_invalid_value --- PASS: TestRayJobWithClusterSelector/RayJob_should_not_be_created_due_to_managedBy_invalid_value (0.01s) === CONT TestRayJobWithClusterSelector/Successful_RayJob rayjob_cluster_selector_test.go:57: [2026-07-06T16:19:30Z] Created RayJob test-ns-gd2z4/counter successfully rayjob_cluster_selector_test.go:59: [2026-07-06T16:19:30Z] Waiting for RayJob test-ns-gd2z4/counter to complete --- PASS: TestRayJobWithClusterSelector/Successful_RayJob (18.09s) === CONT TestRayJobWithClusterSelector/Failing_RayJob rayjob_cluster_selector_test.go:81: [2026-07-06T16:19:48Z] Created RayJob test-ns-gd2z4/fail successfully rayjob_cluster_selector_test.go:83: [2026-07-06T16:19:48Z] Waiting for RayJob test-ns-gd2z4/fail to complete --- PASS: TestRayJobWithClusterSelector/Failing_RayJob (18.09s) test.go:114: [2026-07-06T16:20:07Z] Retrieving Pod Container test-ns-gd2z4/counter-kwmwd/ray-job-submitter logs test.go:102: [2026-07-06T16:20:07Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:20:07Z] Output directory has been created at: /tmp/TestRayJobWithClusterSelector1106359288/001 test.go:114: [2026-07-06T16:20:07Z] Retrieving Pod Container test-ns-gd2z4/fail-t2nr6/ray-job-submitter logs test.go:114: [2026-07-06T16:20:07Z] Retrieving Pod Container test-ns-gd2z4/raycluster-head-vwplb/ray-head logs test.go:114: [2026-07-06T16:20:07Z] Retrieving Pod Container test-ns-gd2z4/raycluster-head-vwplb/kube-rbac-proxy logs test.go:114: [2026-07-06T16:20:07Z] Retrieving Pod Container test-ns-gd2z4/raycluster-small-group-worker-8s4c4/ray-worker logs --- PASS: TestRayJobWithClusterSelector (35.34s) PASS ok github.com/ray-project/kuberay/ray-operator/test/e2e 1349.716s === RUN TestRayClusterAutoscaler === RUN TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaling_enabled raycluster_autoscaler_test.go:30: [2026-07-06T16:20:09Z] Created ConfigMap test-ns-qz2lf/scripts successfully raycluster_autoscaler_test.go:50: [2026-07-06T16:20:09Z] Created RayCluster test-ns-qz2lf/ray-cluster successfully raycluster_autoscaler_test.go:59: [2026-07-06T16:22:11Z] Found head pod test-ns-qz2lf/ray-cluster-head-w54kw core.go:87: [2026-07-06T16:22:11Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor1] core.go:100: [2026-07-06T16:22:13Z] Command stdout: core.go:101: [2026-07-06T16:22:13Z] Command stderr: 2026-07-06 16:22:12,232 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:22:12,235 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.133.0.49:6379... 2026-07-06 16:22:12,257 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-qz2lf.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( core.go:87: [2026-07-06T16:22:17Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor2] core.go:100: [2026-07-06T16:22:19Z] Command stdout: core.go:101: [2026-07-06T16:22:19Z] Command stderr: 2026-07-06 16:22:18,255 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:22:18,258 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.133.0.49:6379... 2026-07-06 16:22:18,279 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-qz2lf.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( core.go:87: [2026-07-06T16:22:23Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor1] core.go:100: [2026-07-06T16:22:25Z] Command stdout: core.go:101: [2026-07-06T16:22:25Z] Command stderr: 2026-07-06 16:22:24,229 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:22:24,234 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.133.0.49:6379... 2026-07-06 16:22:24,254 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-qz2lf.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( core.go:87: [2026-07-06T16:25:20Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor2] core.go:100: [2026-07-06T16:25:21Z] Command stdout: core.go:101: [2026-07-06T16:25:21Z] Command stderr: 2026-07-06 16:25:20,794 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:25:20,799 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.133.0.49:6379... 2026-07-06 16:25:20,843 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-qz2lf.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( test.go:114: [2026-07-06T16:26:31Z] Retrieving Pod Container test-ns-qz2lf/ray-cluster-head-w54kw/ray-head logs test.go:102: [2026-07-06T16:26:31Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:26:31Z] Output directory has been created at: /tmp/TestRayClusterAutoscalerCreate_a_RayCluster_with_autoscaling_en109765177/001 test.go:114: [2026-07-06T16:26:31Z] Retrieving Pod Container test-ns-qz2lf/ray-cluster-head-w54kw/autoscaler logs test.go:114: [2026-07-06T16:26:31Z] Retrieving Pod Container test-ns-qz2lf/ray-cluster-head-w54kw/kube-rbac-proxy logs test.go:114: [2026-07-06T16:26:31Z] Retrieving Pod Container test-ns-qz2lf/ray-cluster-small-group-worker-447g6/ray-worker logs --- PASS: TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaling_enabled (382.39s) === RUN TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaler_v2_enabled raycluster_autoscaler_test.go:30: [2026-07-06T16:26:31Z] Created ConfigMap test-ns-8cl88/scripts successfully raycluster_autoscaler_test.go:50: [2026-07-06T16:26:31Z] Created RayCluster test-ns-8cl88/ray-cluster successfully raycluster_autoscaler_test.go:59: [2026-07-06T16:27:03Z] Found head pod test-ns-8cl88/ray-cluster-head-phrmp core.go:87: [2026-07-06T16:27:03Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor1] core.go:100: [2026-07-06T16:27:05Z] Command stdout: core.go:101: [2026-07-06T16:27:05Z] Command stderr: 2026-07-06 16:27:04,079 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:27:04,081 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.134.0.28:6379... 2026-07-06 16:27:04,100 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-8cl88.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( core.go:87: [2026-07-06T16:27:09Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor2] core.go:100: [2026-07-06T16:27:11Z] Command stdout: core.go:101: [2026-07-06T16:27:11Z] Command stderr: 2026-07-06 16:27:09,845 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:27:09,847 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.134.0.28:6379... 2026-07-06 16:27:09,866 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-8cl88.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( core.go:87: [2026-07-06T16:27:14Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor1] core.go:100: [2026-07-06T16:27:15Z] Command stdout: core.go:101: [2026-07-06T16:27:15Z] Command stderr: 2026-07-06 16:27:14,665 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:27:14,669 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.134.0.28:6379... 2026-07-06 16:27:14,688 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-8cl88.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( core.go:87: [2026-07-06T16:30:01Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor2] core.go:100: [2026-07-06T16:30:03Z] Command stdout: core.go:101: [2026-07-06T16:30:03Z] Command stderr: 2026-07-06 16:30:02,002 INFO worker.py:1669 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-07-06 16:30:02,007 INFO worker.py:1810 -- Connecting to existing Ray cluster at address: 10.134.0.28:6379... 2026-07-06 16:30:02,027 INFO worker.py:2004 -- Connected to Ray cluster. View the dashboard at ray-cluster-head-svc.test-ns-8cl88.svc.cluster.local:8265  /opt/app-root/lib64/python3.12/site-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( test.go:114: [2026-07-06T16:31:12Z] Retrieving Pod Container test-ns-8cl88/ray-cluster-head-phrmp/ray-head logs test.go:102: [2026-07-06T16:31:12Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-07-06T16:31:12Z] Output directory has been created at: /tmp/TestRayClusterAutoscalerCreate_a_RayCluster_with_autoscaler_v2_407189795/001 test.go:114: [2026-07-06T16:31:12Z] Retrieving Pod Container test-ns-8cl88/ray-cluster-head-phrmp/autoscaler logs test.go:114: [2026-07-06T16:31:12Z] Retrieving Pod Container test-ns-8cl88/ray-cluster-head-phrmp/kube-rbac-proxy logs test.go:114: [2026-07-06T16:31:12Z] Retrieving Pod Container test-ns-8cl88/ray-cluster-small-group-worker-sw96m/ray-worker logs --- PASS: TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaler_v2_enabled (281.09s) --- PASS: TestRayClusterAutoscaler (663.48s) PASS ok github.com/ray-project/kuberay/ray-operator/test/e2eautoscaler 663.505s DONE 26 tests in 2015.110s