Adding Tier1 kuberay e2e tests (including autoscaler, packages: ./test/e2erayjob ./test/e2eautoscaler) Adding Smoke kuberay e2e tests (packages: ./test/e2e) Selected tiers: Tier1 Smoke Test packages: ./test/e2erayjob ./test/e2eautoscaler ./test/e2e Running e2e tests matching: ^(TestRayJobWithClusterSelector|TestRayJob|TestRayJobSuspend|TestRayJobLightWeightMode|TestRayClusterAutoscaler|TestRayClusterAuthenticationRhoai|TestRayClusterAuthOptions|TestRayClusterRHOAIImages)$ Test timeout: 60m go: downloading github.com/onsi/gomega v1.38.3 go: downloading github.com/stretchr/testify v1.11.1 go: downloading k8s.io/api v0.35.0 go: downloading k8s.io/apimachinery v0.35.0 go: downloading k8s.io/client-go v0.35.0 go: downloading k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 go: downloading sigs.k8s.io/controller-runtime v0.22.4 go: downloading github.com/openshift/api v0.0.0-20251214014457-bfa868a22401 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading sigs.k8s.io/gateway-api v1.4.1 go: downloading github.com/onsi/ginkgo/v2 v2.27.3 go: downloading github.com/prometheus/client_golang v1.23.2 go: downloading github.com/go-logr/logr v1.4.3 go: downloading k8s.io/apiserver v0.34.3 go: downloading k8s.io/component-base v0.34.3 go: downloading github.com/Masterminds/semver/v3 v3.4.0 go: downloading sigs.k8s.io/yaml v1.6.0 go: downloading github.com/google/go-cmp v0.7.0 go: downloading k8s.io/klog/v2 v2.130.1 go: downloading sigs.k8s.io/randfill v1.0.0 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/cert-manager/cert-manager v1.18.2 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 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 k8s.io/kube-openapi v0.0.0-20251125145642-4e65d59e963e go: downloading sigs.k8s.io/structured-merge-diff/v6 v6.3.1 go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7 go: downloading github.com/smallnest/chanx v1.2.0 go: downloading sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 go: downloading github.com/evanphx/json-patch/v5 v5.9.11 go: downloading github.com/google/gnostic-models v0.7.1 go: downloading google.golang.org/protobuf v1.36.11 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/prometheus/client_model v0.6.2 go: downloading github.com/prometheus/common v0.67.4 go: downloading github.com/prometheus/procfs v0.19.2 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading golang.org/x/net v0.55.0 go: downloading github.com/spf13/pflag v1.0.10 go: downloading golang.org/x/term v0.43.0 go: downloading github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading go.yaml.in/yaml/v2 v2.4.3 go: downloading go.yaml.in/yaml/v3 v3.0.4 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/json-iterator/go v1.1.12 go: downloading gomodules.xyz/jsonpatch/v2 v2.5.0 go: downloading golang.org/x/time v0.14.0 go: downloading github.com/fxamacker/cbor/v2 v2.9.0 go: downloading golang.org/x/oauth2 v0.36.0 go: downloading golang.org/x/sys v0.45.0 go: downloading github.com/moby/spdystream v0.5.0 go: downloading sigs.k8s.io/scheduler-plugins v0.33.5 go: downloading volcano.sh/apis v1.13.0 go: downloading github.com/google/uuid v1.6.0 go: downloading k8s.io/apiextensions-apiserver v0.34.3 go: downloading github.com/google/btree v1.1.3 go: downloading golang.org/x/sync v0.20.0 go: downloading golang.org/x/text v0.37.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.4 go: downloading github.com/go-openapi/swag v0.25.4 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f go: downloading golang.org/x/tools v0.44.0 go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading go.opentelemetry.io/otel/trace v1.44.0 go: downloading github.com/emicklei/go-restful/v3 v3.13.0 go: downloading gopkg.in/evanphx/json-patch.v4 v4.13.0 go: downloading go.opentelemetry.io/otel v1.44.0 go: downloading github.com/go-openapi/jsonpointer v0.22.4 go: downloading github.com/go-openapi/swag/cmdutils v0.25.4 go: downloading github.com/go-openapi/swag/conv v0.25.4 go: downloading github.com/go-openapi/swag/fileutils v0.25.4 go: downloading github.com/go-openapi/swag/jsonname v0.25.4 go: downloading github.com/go-openapi/swag/jsonutils v0.25.4 go: downloading github.com/go-openapi/swag/loading v0.25.4 go: downloading github.com/go-openapi/swag/mangling v0.25.4 go: downloading github.com/go-openapi/swag/netutils v0.25.4 go: downloading github.com/go-openapi/swag/stringutils v0.25.4 go: downloading github.com/go-openapi/swag/typeutils v0.25.4 go: downloading github.com/go-openapi/swag/yamlutils v0.25.4 go: downloading golang.org/x/mod v0.35.0 === RUN TestRayJobWithClusterSelector rayjob_cluster_selector_test.go:27: [2026-09-17T16:22:48Z] Created ConfigMap test-ns-kjt9z/jobs successfully rayjob_cluster_selector_test.go:35: [2026-09-17T16:22:48Z] Created RayCluster test-ns-kjt9z/raycluster successfully rayjob_cluster_selector_test.go:37: [2026-09-17T16:22:48Z] Waiting for RayCluster test-ns-kjt9z/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 rayjob_cluster_selector_test.go:109: [2026-09-17T16:26:32Z] Created RayJob test-ns-kjt9z/managed-externally successfully --- PASS: TestRayJobWithClusterSelector/RayJob_should_be_created_but_not_to_be_updated_when_managed_externally (3.01s) === 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-09-17T16:26:35Z] Created RayJob test-ns-kjt9z/counter successfully rayjob_cluster_selector_test.go:59: [2026-09-17T16:26:35Z] Waiting for RayJob test-ns-kjt9z/counter to complete --- PASS: TestRayJobWithClusterSelector/Successful_RayJob (214.14s) === CONT TestRayJobWithClusterSelector/Failing_RayJob rayjob_cluster_selector_test.go:81: [2026-09-17T16:30:09Z] Created RayJob test-ns-kjt9z/fail successfully rayjob_cluster_selector_test.go:83: [2026-09-17T16:30:09Z] Waiting for RayJob test-ns-kjt9z/fail to complete --- PASS: TestRayJobWithClusterSelector/Failing_RayJob (11.07s) test.go:114: [2026-09-17T16:30:20Z] Retrieving Pod Container test-ns-kjt9z/counter-cv9rf/ray-job-submitter logs test.go:102: [2026-09-17T16:30:20Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T16:30:20Z] Output directory has been created at: /tmp/TestRayJobWithClusterSelector1360056962/001 test.go:114: [2026-09-17T16:30:20Z] Retrieving Pod Container test-ns-kjt9z/fail-8rk7h/ray-job-submitter logs test.go:114: [2026-09-17T16:30:20Z] Retrieving Pod Container test-ns-kjt9z/raycluster-head-dmftj/ray-head logs test.go:114: [2026-09-17T16:30:20Z] Retrieving Pod Container test-ns-kjt9z/raycluster-head-dmftj/kube-rbac-proxy logs test.go:114: [2026-09-17T16:30:20Z] Retrieving Pod Container test-ns-kjt9z/raycluster-small-group-worker-m6jm6/ray-worker logs --- PASS: TestRayJobWithClusterSelector (227.49s) === RUN TestRayJobLightWeightMode rayjob_lightweight_test.go:28: [2026-09-17T16:30:21Z] Created ConfigMap test-ns-wrbz7/jobs successfully === RUN TestRayJobLightWeightMode/Successful_RayJob rayjob_lightweight_test.go:57: [2026-09-17T16:30:21Z] Created RayJob test-ns-wrbz7/counter successfully rayjob_lightweight_test.go:59: [2026-09-17T16:30:21Z] Waiting for RayJob test-ns-wrbz7/counter to complete --- PASS: TestRayJobLightWeightMode/Successful_RayJob (33.33s) === RUN TestRayJobLightWeightMode/Failing_RayJob_without_cluster_shutdown_after_finished rayjob_lightweight_test.go:91: [2026-09-17T16:30:54Z] Created RayJob test-ns-wrbz7/fail successfully rayjob_lightweight_test.go:93: [2026-09-17T16:30:54Z] Waiting for RayJob test-ns-wrbz7/fail to complete --- PASS: TestRayJobLightWeightMode/Failing_RayJob_without_cluster_shutdown_after_finished (99.66s) === RUN TestRayJobLightWeightMode/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. rayjob_lightweight_test.go:122: [2026-09-17T16:32:34Z] Created RayJob test-ns-wrbz7/stop successfully rayjob_lightweight_test.go:124: [2026-09-17T16:32:34Z] Waiting for RayJob test-ns-wrbz7/stop to be 'Running' rayjob_lightweight_test.go:128: [2026-09-17T16:34:29Z] Waiting for RayJob test-ns-wrbz7/stop to be 'Complete' rayjob_lightweight_test.go:138: [2026-09-17T16:34:55Z] Deleted RayJob test-ns-wrbz7/stop successfully --- PASS: TestRayJobLightWeightMode/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. (141.92s) === RUN TestRayJobLightWeightMode/Successful_RayJob_in_HTTP_mode_with_auth_token rayjob_lightweight_test.go:157: [2026-09-17T16:34:55Z] Created RayJob test-ns-wrbz7/counter-auth successfully with auth token rayjob_lightweight_test.go:160: [2026-09-17T16:34:55Z] Waiting for RayCluster to be created rayjob_lightweight_test.go:170: [2026-09-17T16:34:57Z] Waiting for RayCluster test-ns-wrbz7/counter-auth-hhbb4 to become ready rayjob_lightweight_test.go:193: [2026-09-17T16:36:46Z] Waiting for RayJob test-ns-wrbz7/counter-auth to complete rayjob_lightweight_test.go:205: [2026-09-17T16:36:53Z] RayJob test-ns-wrbz7/counter-auth completed successfully with auth token --- PASS: TestRayJobLightWeightMode/Successful_RayJob_in_HTTP_mode_with_auth_token (117.86s) test.go:114: [2026-09-17T16:36:53Z] Retrieving Pod Container test-ns-wrbz7/counter-auth-hhbb4-head-jghrr/ray-head logs test.go:102: [2026-09-17T16:36:53Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T16:36:53Z] Output directory has been created at: /tmp/TestRayJobLightWeightMode3381683543/001 test.go:114: [2026-09-17T16:36:53Z] Retrieving Pod Container test-ns-wrbz7/counter-auth-hhbb4-head-jghrr/kube-rbac-proxy logs test.go:114: [2026-09-17T16:36:53Z] Retrieving Pod Container test-ns-wrbz7/counter-auth-hhbb4-small-group-worker-vqln4/ray-worker logs test.go:114: [2026-09-17T16:36:53Z] Retrieving Pod Container test-ns-wrbz7/fail-9gvtv-head-bbz7f/ray-head logs test.go:114: [2026-09-17T16:36:53Z] Retrieving Pod Container test-ns-wrbz7/fail-9gvtv-head-bbz7f/kube-rbac-proxy logs test.go:114: [2026-09-17T16:36:53Z] Retrieving Pod Container test-ns-wrbz7/fail-9gvtv-small-group-worker-9dgcq/ray-worker logs --- PASS: TestRayJobLightWeightMode (392.88s) === RUN TestRayJobSuspend rayjob_suspend_test.go:27: [2026-09-17T16:36:53Z] Created ConfigMap test-ns-2kdr7/jobs successfully === RUN TestRayJobSuspend/Suspend_the_RayJob_when_its_status_is_'Running',_and_then_resume_it. rayjob_suspend_test.go:41: [2026-09-17T16:36:53Z] Created RayJob test-ns-2kdr7/long-running successfully rayjob_suspend_test.go:43: [2026-09-17T16:36:53Z] Waiting for RayJob test-ns-2kdr7/long-running to be 'Running' rayjob_suspend_test.go:47: [2026-09-17T16:37:25Z] Suspend the RayJob test-ns-2kdr7/long-running rayjob_suspend_test.go:52: [2026-09-17T16:37:25Z] Waiting for RayJob test-ns-2kdr7/long-running to be 'Suspended' rayjob_suspend_test.go:68: [2026-09-17T16:37:26Z] Resume the RayJob by updating `suspend` to false. rayjob_suspend_test.go:78: [2026-09-17T16:39:28Z] Deleted RayJob test-ns-2kdr7/long-running successfully --- PASS: TestRayJobSuspend/Suspend_the_RayJob_when_its_status_is_'Running',_and_then_resume_it. (155.00s) === RUN TestRayJobSuspend/Create_a_suspended_RayJob,_and_then_resume_it. rayjob_suspend_test.go:97: [2026-09-17T16:39:28Z] Created RayJob test-ns-2kdr7/counter successfully rayjob_suspend_test.go:99: [2026-09-17T16:39:28Z] Waiting for RayJob test-ns-2kdr7/counter to be 'Suspended' rayjob_suspend_test.go:103: [2026-09-17T16:39:29Z] Resume the RayJob by updating `suspend` to false. rayjob_suspend_test.go:108: [2026-09-17T16:39:29Z] Waiting for RayJob test-ns-2kdr7/counter to complete rayjob_suspend_test.go:123: [2026-09-17T16:41:51Z] Deleted RayJob test-ns-2kdr7/counter successfully --- PASS: TestRayJobSuspend/Create_a_suspended_RayJob,_and_then_resume_it. (144.97s) test.go:102: [2026-09-17T16:41:53Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T16:41:53Z] Output directory has been created at: /tmp/TestRayJobSuspend3022204672/001 --- PASS: TestRayJobSuspend (300.02s) === RUN TestRayJob rayjob_test.go:34: [2026-09-17T16:41:53Z] Created ConfigMap test-ns-tbvnv/jobs successfully === RUN TestRayJob/Successful_RayJob rayjob_test.go:51: [2026-09-17T16:41:53Z] Created RayJob test-ns-tbvnv/counter successfully rayjob_test.go:61: [2026-09-17T16:43:52Z] Waiting for RayJob test-ns-tbvnv/counter to complete rayjob_test.go:77: [2026-09-17T16:44:11Z] Checking that the RayJob status info has been set correctly. rayjob_test.go:94: [2026-09-17T16:44:11Z] Update `suspend` to true. However, since the RayJob is completed, the status should not be updated to `Suspended`. rayjob_test.go:104: [2026-09-17T16:44:41Z] Deleted RayJob test-ns-tbvnv/counter successfully --- PASS: TestRayJob/Successful_RayJob (167.68s) === RUN TestRayJob/Failing_RayJob_without_cluster_shutdown_after_finished rayjob_test.go:118: [2026-09-17T16:44:41Z] Created RayJob test-ns-tbvnv/fail successfully rayjob_test.go:120: [2026-09-17T16:44:41Z] Waiting for RayJob test-ns-tbvnv/fail to complete rayjob_test.go:143: [2026-09-17T16:46:35Z] Deleted RayJob test-ns-tbvnv/fail successfully --- PASS: TestRayJob/Failing_RayJob_without_cluster_shutdown_after_finished (114.71s) === RUN TestRayJob/Failing_submitter_K8s_Job rayjob_test.go:171: [2026-09-17T16:46:36Z] Created RayJob test-ns-tbvnv/fail-k8s-job successfully rayjob_test.go:173: [2026-09-17T16:46:36Z] Waiting for RayJob test-ns-tbvnv/fail-k8s-job to complete rayjob_test.go:196: [2026-09-17T16:48:58Z] Deleted RayJob test-ns-tbvnv/fail-k8s-job successfully --- PASS: TestRayJob/Failing_submitter_K8s_Job (141.87s) === RUN TestRayJob/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. rayjob_test.go:210: [2026-09-17T16:48:58Z] Created RayJob test-ns-tbvnv/stop successfully rayjob_test.go:212: [2026-09-17T16:48:58Z] Waiting for RayJob test-ns-tbvnv/stop to be 'Running' rayjob_test.go:216: [2026-09-17T16:50:35Z] Waiting for RayJob test-ns-tbvnv/stop to be 'Complete' rayjob_test.go:226: [2026-09-17T16:51:12Z] Deleted RayJob test-ns-tbvnv/stop successfully --- PASS: TestRayJob/Should_transition_to_'Complete'_if_the_Ray_job_has_stopped. (134.82s) === RUN TestRayJob/RuntimeEnvYAML_is_not_a_valid_YAML_string rayjob_test.go:238: [2026-09-17T16:51:12Z] Created RayJob test-ns-tbvnv/invalid-yamlstr successfully --- PASS: TestRayJob/RuntimeEnvYAML_is_not_a_valid_YAML_string (1.02s) === RUN TestRayJob/RayJob_name_too_long_with_48_characters rayjob_test.go:253: [2026-09-17T16:51:13Z] Created RayJob test-ns-tbvnv/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa successfully --- PASS: TestRayJob/RayJob_name_too_long_with_48_characters (1.02s) === RUN TestRayJob/RayJob_has_passed_ActiveDeadlineSeconds rayjob_test.go:272: [2026-09-17T16:51:15Z] Created RayJob test-ns-tbvnv/long-running successfully rayjob_test.go:275: [2026-09-17T16:51:15Z] Waiting for RayJob test-ns-tbvnv/long-running to be 'Complete' --- PASS: TestRayJob/RayJob_has_passed_ActiveDeadlineSeconds (7.06s) === RUN TestRayJob/RayJob_controller_recreates_the_head_Pod_if_it_is_deleted_while_the_job_is_running rayjob_test.go:292: [2026-09-17T16:51:22Z] Created RayJob test-ns-tbvnv/delete-head-after-submit successfully rayjob_test.go:295: [2026-09-17T16:51:22Z] Waiting for RayJob test-ns-tbvnv/delete-head-after-submit to be 'Running' rayjob_test.go:308: [2026-09-17T16:52:58Z] Deleting head Pod test-ns-tbvnv/delete-head-after-submit-djd85-head-xlfk6 for RayCluster delete-head-after-submit-djd85 rayjob_test.go:337: [2026-09-17T16:56:25Z] Deleted RayJob test-ns-tbvnv/delete-head-after-submit successfully --- PASS: TestRayJob/RayJob_controller_recreates_the_head_Pod_if_it_is_deleted_while_the_job_is_running (303.82s) === RUN TestRayJob/RayJob_should_be_created,_but_not_updated_when_managed_externally rayjob_test.go:356: [2026-09-17T16:56:25Z] Created RayJob test-ns-tbvnv/managed-externally successfully rayjob_test.go:382: [2026-09-17T16:56:25Z] Deleted RayJob test-ns-tbvnv/managed-externally successfully --- PASS: TestRayJob/RayJob_should_be_created,_but_not_updated_when_managed_externally (0.05s) === RUN TestRayJob/RayJob_has_exceed_SubmitterFinishedTimeout rayjob_test.go:395: [2026-09-17T16:56:25Z] Created RayJob test-ns-tbvnv/submitter-timeout successfully rayjob_test.go:398: [2026-09-17T16:56:25Z] Waiting for RayJob test-ns-tbvnv/submitter-timeout deployment status to be 'Running' rayjob_test.go:401: [2026-09-17T16:58:07Z] Waiting for Ray job test-ns-tbvnv/submitter-timeout to be actually running in Ray cluster rayjob_test.go:406: [2026-09-17T16:58:19Z] Waiting for submitter job to be created rayjob_test.go:411: [2026-09-17T16:58:19Z] Updating submitter job status to complete rayjob_test.go:440: [2026-09-17T16:58:19Z] Successfully marked submitter job as completed at 2026-09-17 16:58:19.737306022 +0000 UTC m=+2131.471633339 rayjob_test.go:446: [2026-09-17T16:58:19Z] Waiting for RayJob test-ns-tbvnv/submitter-timeout to exceed SubmitterFinishedTimeout --- PASS: TestRayJob/RayJob_has_exceed_SubmitterFinishedTimeout (146.02s) === RUN TestRayJob/RayCluster_status_update_propagates_to_RayJob rayjob_test.go:476: [2026-09-17T16:58:51Z] Created RayJob test-ns-tbvnv/cluster-status-update successfully rayjob_test.go:504: [2026-09-17T17:00:57Z] Deleted RayJob test-ns-tbvnv/cluster-status-update successfully --- PASS: TestRayJob/RayCluster_status_update_propagates_to_RayJob (125.78s) === RUN TestRayJob/Successful_RayJob_in_K8s_Job_mode_with_auth_token rayjob_test.go:524: [2026-09-17T17:00:57Z] Created RayJob test-ns-tbvnv/counter-auth successfully with auth token rayjob_test.go:527: [2026-09-17T17:00:57Z] Waiting for RayCluster to be created rayjob_test.go:537: [2026-09-17T17:00:58Z] Waiting for RayCluster test-ns-tbvnv/counter-auth-p4wnv to become ready rayjob_test.go:561: [2026-09-17T17:02:44Z] Waiting for submitter Job to be created rayjob_test.go:567: [2026-09-17T17:02:44Z] Waiting for submitter Job pod to be created rayjob_test.go:577: [2026-09-17T17:02:44Z] Waiting for RayJob test-ns-tbvnv/counter-auth to complete rayjob_test.go:589: [2026-09-17T17:03:03Z] RayJob test-ns-tbvnv/counter-auth completed successfully with auth token --- PASS: TestRayJob/Successful_RayJob_in_K8s_Job_mode_with_auth_token (125.81s) === RUN TestRayJob/RayJob_PreRunningDeadlineSeconds_expires_during_Initializing_state rayjob_test.go:608: [2026-09-17T17:03:03Z] Created RayJob test-ns-tbvnv/ttl-initializing successfully rayjob_test.go:615: [2026-09-17T17:03:04Z] Waiting for RayJob test-ns-tbvnv/ttl-initializing to be 'Failed' --- PASS: TestRayJob/RayJob_PreRunningDeadlineSeconds_expires_during_Initializing_state (6.06s) === RUN TestRayJob/RayJob_PreRunningDeadlineSeconds_expires_during_Waiting_state rayjob_test.go:652: [2026-09-17T17:05:00Z] Waiting for RayJob test-ns-tbvnv/ttl-waiting to be 'Failed' --- PASS: TestRayJob/RayJob_PreRunningDeadlineSeconds_expires_during_Waiting_state (111.68s) test.go:114: [2026-09-17T17:05:01Z] Retrieving Pod Container test-ns-tbvnv/counter-auth-sbtg9/ray-job-submitter logs test.go:102: [2026-09-17T17:05:01Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T17:05:01Z] Output directory has been created at: /tmp/TestRayJob145171888/001 test.go:114: [2026-09-17T17:05:01Z] Retrieving Pod Container test-ns-tbvnv/submitter-timeout-xq56p/ray-job-submitter logs test.go:114: [2026-09-17T17:05:01Z] Retrieving Pod Container test-ns-tbvnv/ttl-waiting-w6tgq-head-9zkg4/ray-head logs test.go:114: [2026-09-17T17:05:01Z] Retrieving Pod Container test-ns-tbvnv/ttl-waiting-w6tgq-head-9zkg4/kube-rbac-proxy logs test.go:114: [2026-09-17T17:05:01Z] Retrieving Pod Container test-ns-tbvnv/ttl-waiting-w6tgq-small-group-worker-9w4xl/ray-worker logs --- PASS: TestRayJob (1387.51s) PASS ok github.com/ray-project/kuberay/ray-operator/test/e2erayjob 2533.127s === RUN TestRayClusterAutoscaler === RUN TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaling_enabled raycluster_autoscaler_test.go:30: [2026-09-17T17:05:03Z] Created ConfigMap test-ns-8nb7x/scripts successfully raycluster_autoscaler_test.go:50: [2026-09-17T17:05:03Z] Created RayCluster test-ns-8nb7x/ray-cluster successfully raycluster_autoscaler_test.go:59: [2026-09-17T17:05:29Z] Found head pod test-ns-8nb7x/ray-cluster-head-vp4ww core.go:88: [2026-09-17T17:05:29Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor1] core.go:101: [2026-09-17T17:05:31Z] Command stdout: core.go:102: [2026-09-17T17:05:31Z] Command stderr: 2026-09-17 17:05:29,828 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:05:29,830 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.134.0.34:6379... 2026-09-17 17:05:29,861 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.134.0.34:8265  core.go:88: [2026-09-17T17:05:35Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor2] core.go:101: [2026-09-17T17:05:37Z] Command stdout: core.go:102: [2026-09-17T17:05:37Z] Command stderr: 2026-09-17 17:05:35,718 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:05:35,720 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.134.0.34:6379... 2026-09-17 17:05:35,745 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.134.0.34:8265  core.go:88: [2026-09-17T17:05:41Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor1] core.go:101: [2026-09-17T17:05:42Z] Command stdout: core.go:102: [2026-09-17T17:05:42Z] Command stderr: 2026-09-17 17:05:41,593 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:05:41,597 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.134.0.34:6379... 2026-09-17 17:05:41,623 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.134.0.34:8265  core.go:88: [2026-09-17T17:08:38Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor2] core.go:101: [2026-09-17T17:08:39Z] Command stdout: core.go:102: [2026-09-17T17:08:39Z] Command stderr: 2026-09-17 17:08:38,912 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:08:38,917 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.134.0.34:6379... 2026-09-17 17:08:38,945 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.134.0.34:8265  test.go:114: [2026-09-17T17:09:49Z] Retrieving Pod Container test-ns-8nb7x/ray-cluster-head-vp4ww/ray-head logs test.go:102: [2026-09-17T17:09:49Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T17:09:49Z] Output directory has been created at: /tmp/TestRayClusterAutoscalerCreate_a_RayCluster_with_autoscaling_en930301798/001 test.go:114: [2026-09-17T17:09:49Z] Retrieving Pod Container test-ns-8nb7x/ray-cluster-head-vp4ww/autoscaler logs test.go:114: [2026-09-17T17:09:49Z] Retrieving Pod Container test-ns-8nb7x/ray-cluster-head-vp4ww/kube-rbac-proxy logs test.go:114: [2026-09-17T17:09:49Z] Retrieving Pod Container test-ns-8nb7x/ray-cluster-small-group-worker-twdkf/ray-worker logs --- PASS: TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaling_enabled (286.22s) === RUN TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaler_v2_enabled raycluster_autoscaler_test.go:30: [2026-09-17T17:09:49Z] Created ConfigMap test-ns-6ggpf/scripts successfully raycluster_autoscaler_test.go:50: [2026-09-17T17:09:49Z] Created RayCluster test-ns-6ggpf/ray-cluster successfully raycluster_autoscaler_test.go:59: [2026-09-17T17:10:16Z] Found head pod test-ns-6ggpf/ray-cluster-head-bpd6z core.go:88: [2026-09-17T17:10:16Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor1] core.go:101: [2026-09-17T17:10:18Z] Command stdout: core.go:102: [2026-09-17T17:10:18Z] Command stderr: 2026-09-17 17:10:17,028 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:10:17,031 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.133.0.37:6379... 2026-09-17 17:10:17,056 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.133.0.37:8265  core.go:88: [2026-09-17T17:10:22Z] Executing command: [python /home/ray/test_scripts/create_detached_actor.py actor2] core.go:101: [2026-09-17T17:10:24Z] Command stdout: core.go:102: [2026-09-17T17:10:24Z] Command stderr: 2026-09-17 17:10:22,922 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:10:22,924 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.133.0.37:6379... 2026-09-17 17:10:22,949 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.133.0.37:8265  core.go:88: [2026-09-17T17:10:27Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor1] core.go:101: [2026-09-17T17:10:28Z] Command stdout: core.go:102: [2026-09-17T17:10:28Z] Command stderr: 2026-09-17 17:10:27,863 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:10:27,868 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.133.0.37:6379... 2026-09-17 17:10:27,894 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.133.0.37:8265  core.go:88: [2026-09-17T17:13:20Z] Executing command: [python /home/ray/test_scripts/terminate_detached_actor.py actor2] core.go:101: [2026-09-17T17:13:22Z] Command stdout: core.go:102: [2026-09-17T17:13:22Z] Command stderr: 2026-09-17 17:13:21,204 INFO worker.py:1683 -- Using address 127.0.0.1:6379 set in the environment variable RAY_ADDRESS 2026-09-17 17:13:21,208 INFO worker.py:1833 -- Connecting to existing Ray cluster at address: 10.133.0.37:6379... 2026-09-17 17:13:21,233 INFO worker.py:2015 -- Connected to Ray cluster. View the dashboard at http://10.133.0.37:8265  test.go:114: [2026-09-17T17:14:31Z] Retrieving Pod Container test-ns-6ggpf/ray-cluster-head-bpd6z/ray-head logs test.go:102: [2026-09-17T17:14:31Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T17:14:31Z] Output directory has been created at: /tmp/TestRayClusterAutoscalerCreate_a_RayCluster_with_autoscaler_v2_1278025505/001 test.go:114: [2026-09-17T17:14:31Z] Retrieving Pod Container test-ns-6ggpf/ray-cluster-head-bpd6z/autoscaler logs test.go:114: [2026-09-17T17:14:31Z] Retrieving Pod Container test-ns-6ggpf/ray-cluster-head-bpd6z/kube-rbac-proxy logs test.go:114: [2026-09-17T17:14:31Z] Retrieving Pod Container test-ns-6ggpf/ray-cluster-small-group-worker-7vk9h/ray-worker logs --- PASS: TestRayClusterAutoscaler/Create_a_RayCluster_with_autoscaler_v2_enabled (282.24s) --- PASS: TestRayClusterAutoscaler (568.46s) PASS ok github.com/ray-project/kuberay/ray-operator/test/e2eautoscaler 568.480s === RUN TestRayClusterAuthOptions === RUN TestRayClusterAuthOptions/RayCluster_with_token_authentication_enabled === PAUSE TestRayClusterAuthOptions/RayCluster_with_token_authentication_enabled === CONT TestRayClusterAuthOptions/RayCluster_with_token_authentication_enabled raycluster_auth_test.go:38: [2026-09-17T17:14:33Z] Created RayCluster test-ns-94vzf/raycluster-auth-token successfully with AuthModeToken raycluster_auth_test.go:40: [2026-09-17T17:14:33Z] Waiting for RayCluster test-ns-94vzf/raycluster-auth-token to become ready === RUN TestRayClusterAuthOptions/Submit_job_with_auth_token_should_succeed raycluster_auth_test.go:65: [2026-09-17T17:16:24Z] Testing job submission WITH auth token core.go:88: [2026-09-17T17:16:24Z] Executing command: [bash -c RAY_AUTH_TOKEN=JDHqpCL/zpHuVI1CBIdUdCbLcp4HKJJeBKPz4seIv0s= ray job submit --address http://127.0.0.1:8265 --submission-id test-job-with-auth-1789665384 --no-wait -- python -c 'import ray; ray.init(); print("Job with auth succeeded")'] core.go:101: [2026-09-17T17:16:27Z] Command stdout: 2026-09-17 17:16:26,716 INFO cli.py:42 -- Job submission server address: http://10.134.0.36:8265 2026-09-17 17:16:27,587 SUCC cli.py:66 -- ---------------------------------------------------------- 2026-09-17 17:16:27,587 SUCC cli.py:67 -- Job 'test-job-with-auth-1789665384' submitted successfully 2026-09-17 17:16:27,587 SUCC cli.py:68 -- ---------------------------------------------------------- 2026-09-17 17:16:27,587 INFO cli.py:330 -- Next steps 2026-09-17 17:16:27,588 INFO cli.py:331 -- Query the logs of the job: 2026-09-17 17:16:27,588 INFO cli.py:333 -- ray job logs test-job-with-auth-1789665384 2026-09-17 17:16:27,588 INFO cli.py:335 -- Query the status of the job: 2026-09-17 17:16:27,588 INFO cli.py:337 -- ray job status test-job-with-auth-1789665384 2026-09-17 17:16:27,588 INFO cli.py:339 -- Request the job to be stopped: 2026-09-17 17:16:27,588 INFO cli.py:341 -- ray job stop test-job-with-auth-1789665384 core.go:102: [2026-09-17T17:16:27Z] Command stderr: core.go:88: [2026-09-17T17:16:27Z] Executing command: [bash -c RAY_AUTH_TOKEN=JDHqpCL/zpHuVI1CBIdUdCbLcp4HKJJeBKPz4seIv0s= ray job status --address http://127.0.0.1:8265 test-job-with-auth-1789665384] core.go:101: [2026-09-17T17:16:30Z] Command stdout: 2026-09-17 17:16:29,835 INFO cli.py:42 -- Job submission server address: http://10.134.0.36:8265 2026-09-17 17:16:29,839 INFO cli.py:92 -- Status for job 'test-job-with-auth-1789665384': RUNNING 2026-09-17 17:16:29,839 INFO cli.py:94 -- Status message: Job is currently running. core.go:102: [2026-09-17T17:16:30Z] Command stderr: core.go:88: [2026-09-17T17:16:31Z] Executing command: [bash -c RAY_AUTH_TOKEN=JDHqpCL/zpHuVI1CBIdUdCbLcp4HKJJeBKPz4seIv0s= ray job status --address http://127.0.0.1:8265 test-job-with-auth-1789665384] core.go:101: [2026-09-17T17:16:33Z] Command stdout: 2026-09-17 17:16:33,011 INFO cli.py:42 -- Job submission server address: http://10.134.0.36:8265 2026-09-17 17:16:33,015 SUCC cli.py:66 -- --------------------------------------------- 2026-09-17 17:16:33,015 SUCC cli.py:67 -- Job 'test-job-with-auth-1789665384' succeeded 2026-09-17 17:16:33,016 SUCC cli.py:68 -- --------------------------------------------- core.go:102: [2026-09-17T17:16:33Z] Command stderr: raycluster_auth_test.go:92: [2026-09-17T17:16:33Z] Successfully submitted and verified job with auth token --- PASS: TestRayClusterAuthOptions/Submit_job_with_auth_token_should_succeed (8.44s) === RUN TestRayClusterAuthOptions/Submit_job_with_incorrect_auth_token_should_fail raycluster_auth_test.go:96: [2026-09-17T17:16:33Z] Testing job submission WITH incorrect auth token (should fail) core.go:88: [2026-09-17T17:16:33Z] Executing command: [bash -c RAY_AUTH_TOKEN=incorrect-token-12345 ray job submit --address http://127.0.0.1:8265 --submission-id test-job-bad-auth-1789665393 --no-wait -- python -c 'print("Should not run")'] core.go:101: [2026-09-17T17:16:35Z] Command stdout: core.go:102: [2026-09-17T17:16:35Z] Command stderr: [2026-09-17 17:16:35,185 W 1099 1099] gcs_client.cc:210: Failed to get cluster ID from GCS server: Unauthenticated: RPC error: InvalidAuthToken: Authentication token is missing or incorrect Traceback (most recent call last): File "/opt/app-root/bin/ray", line 8, in sys.exit(main()) ^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/scripts/scripts.py", line 3010, in main return cli() ^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/click/core.py", line 1631, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/click/core.py", line 1552, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/click/core.py", line 2032, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/click/core.py", line 2032, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/click/core.py", line 1415, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/click/core.py", line 910, in invoke return callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/dashboard/modules/job/cli_utils.py", line 54, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/autoscaler/_private/cli_logger.py", line 812, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/dashboard/modules/job/cli.py", line 303, in submit client = _get_sdk_client( ^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/dashboard/modules/job/cli.py", line 35, in _get_sdk_client client = JobSubmissionClient( ^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/dashboard/modules/job/sdk.py", line 102, in __init__ api_server_url = get_address_for_submission_client(address) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/dashboard/utils.py", line 745, in get_address_for_submission_client address = ray_address_to_api_server_url(address) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/app-root/lib64/python3.12/site-packages/ray/dashboard/utils.py", line 688, in ray_address_to_api_server_url gcs_client = GcsClient(address=address) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "python/ray/_raylet.pyx", line 3200, in ray._raylet.GcsClient.__cinit__ File "python/ray/includes/gcs_client.pxi", line 73, in ray._raylet.InnerGcsClient.standalone File "python/ray/includes/common.pxi", line 144, in ray._raylet.check_status_timeout_as_rpc_error File "python/ray/includes/common.pxi", line 117, in ray._raylet.check_status ray.exceptions.AuthenticationError: RPC error: InvalidAuthToken: Authentication token is missing or incorrect. Ensure that the token for the cluster is available in a local file (e.g., ~/.ray/auth_token or via RAY_AUTH_TOKEN_PATH) or as the `RAY_AUTH_TOKEN` environment variable. To generate a token for local development, use `ray get-auth-token --generate` For remote clusters, ensure that the token is propagated to all nodes of the cluster when token authentication is enabled. For more information, see: https://docs.ray.io/en/latest/ray-security/token-auth.html raycluster_auth_test.go:113: [2026-09-17T17:16:35Z] Job submission correctly rejected with incorrect auth token --- PASS: TestRayClusterAuthOptions/Submit_job_with_incorrect_auth_token_should_fail (2.17s) --- PASS: TestRayClusterAuthOptions/RayCluster_with_token_authentication_enabled (122.24s) test.go:114: [2026-09-17T17:16:35Z] Retrieving Pod Container test-ns-94vzf/raycluster-auth-token-head-x4pbl/ray-head logs test.go:102: [2026-09-17T17:16:35Z] Creating ephemeral output directory as KUBERAY_TEST_OUTPUT_DIR env variable is unset test.go:105: [2026-09-17T17:16:35Z] Output directory has been created at: /tmp/TestRayClusterAuthOptions43652167/001 test.go:114: [2026-09-17T17:16:35Z] Retrieving Pod Container test-ns-94vzf/raycluster-auth-token-head-x4pbl/kube-rbac-proxy logs test.go:114: [2026-09-17T17:16:35Z] Retrieving Pod Container test-ns-94vzf/raycluster-auth-token-small-group-worker-nmsbb/ray-worker logs --- PASS: TestRayClusterAuthOptions (0.11s) === RUN TestRayClusterRHOAIImages raycluster_rhoai_images_test.go:36: no rhods-operator CSV found; skipping RHOAI image validation (standalone / PR ITS) --- SKIP: TestRayClusterRHOAIImages (0.00s) PASS ok github.com/ray-project/kuberay/ray-operator/test/e2e 122.376s === Skipped === SKIP: test/e2e TestRayClusterRHOAIImages (0.00s) raycluster_rhoai_images_test.go:36: no rhods-operator CSV found; skipping RHOAI image validation (standalone / PR ITS) DONE 36 tests, 1 skipped in 3227.349s