File tree Expand file tree Collapse file tree
tmachine/ansible/playbooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,9 +326,6 @@ async fn profile_websocket_endpoint_rewrites_text_frames(cx: &mut Context) -> te
326326/// or its variable name.
327327#[ testkit:: test]
328328async fn profile_endpoints_bind_static_credentials ( cx : & mut Context ) -> testkit:: Result {
329- if crate :: skip_reading_sandbox_logs ( "profile_endpoints_bind_static_credentials" ) {
330- return Ok ( ( ) ) ;
331- }
332329 const SECRET_A : & str = "e2e-bound-secret" ;
333330 const SECRET_B : & str = "e2e-provider-b-secret" ;
334331 let authorized = |request : & Request | {
Original file line number Diff line number Diff line change @@ -31,25 +31,3 @@ mod smoke;
3131mod ssh;
3232mod templates;
3333mod workspaces;
34-
35- /// Names the number of gateway replicas when an environment runs more than
36- /// one.
37- const GATEWAY_REPLICAS_ENV : & str = "OPENSHELL_TEST_GATEWAY_REPLICAS" ;
38-
39- /// Whether a test that reads sandbox logs should skip itself, and says so
40- /// when it should: a gateway replica holds only the logs of the sandboxes
41- /// connected to it, and a read can reach another one (#5462). Remove this
42- /// once #5462 is fixed or an environment can skip tests itself (#5752).
43- fn skip_reading_sandbox_logs ( test : & str ) -> bool {
44- let replicas = std:: env:: var ( GATEWAY_REPLICAS_ENV )
45- . ok ( )
46- . and_then ( |value| value. parse :: < u32 > ( ) . ok ( ) )
47- . unwrap_or ( 1 ) ;
48- if replicas > 1 {
49- eprintln ! (
50- "[{test}] skipping: the gateway has {replicas} replicas and sandbox logs \
51- are read from only one (#5462, #5752)"
52- ) ;
53- }
54- replicas > 1
55- }
Original file line number Diff line number Diff line change @@ -218,9 +218,6 @@ async fn middleware_redacts_request_bodies(cx: &mut Context) -> testkit::Result
218218/// byte reaches upstream, and the sandbox logs why.
219219#[ testkit:: test]
220220async fn fail_closed_middleware_blocks_uninspectable_traffic ( cx : & mut Context ) -> testkit:: Result {
221- if crate :: skip_reading_sandbox_logs ( "fail_closed_middleware_blocks_uninspectable_traffic" ) {
222- return Ok ( ( ) ) ;
223- }
224221 let server = TcpServer :: echo ( ) . await ?;
225222 let policy = middleware_policy ( server. port , "fail_closed" , "" ) ?;
226223 let sandbox = cx
Original file line number Diff line number Diff line change 1717# the bug. A test can appear more than once with different issues, but not twice
1818# for one environment. Branch Checks runs the program with each environment's
1919# entries to validate this file; see tests/suites/conformance/README.md.
20- []
20+ # A gateway replica holds only the logs of the sandboxes connected to it, so a
21+ # log read on k3s-ha can miss them (#5462).
22+ - test : conformance::credential_gating::profile_endpoints_bind_static_credentials
23+ issue : https://github.com/NVIDIA/OpenShell/issues/5752
24+ environments :
25+ - ubuntu-k3s/k3s-ha
26+ - test : conformance::network_egress::fail_closed_middleware_blocks_uninspectable_traffic
27+ issue : https://github.com/NVIDIA/OpenShell/issues/5752
28+ environments :
29+ - ubuntu-k3s/k3s-ha
Original file line number Diff line number Diff line change 104104 become : false
105105 vars :
106106 openshell_client_gateway_endpoint : " https://openshell.openshell.svc.cluster.local:{{ k3s_gateway_address.stdout.split(':')[1] }}"
107-
108- # Sandbox logs are read from one replica only (#5462); tests that read
109- # them skip themselves here until #5752.
110- - name : Publish gateway test variables
111- ansible.builtin.include_tasks : test-env.yaml
112- vars :
113- test_env_name : gateway
114- test_env_vars :
115- OPENSHELL_TEST_GATEWAY_REPLICAS : " 3"
You can’t perform that action at this time.
0 commit comments