tests.system.common.ai.example_sandbox_toolset_openshell

End-to-end system test for SandboxToolset with NVIDIA OpenShell.

Attributes

ENV_ID

DAG_ID

MARKER

STATE_PATH

COUNT_SLEEPERS

CONNECT

dag

test_run

Functions

example_sandbox_toolset_openshell()

Module Contents

tests.system.common.ai.example_sandbox_toolset_openshell.ENV_ID[source]
tests.system.common.ai.example_sandbox_toolset_openshell.DAG_ID[source]
tests.system.common.ai.example_sandbox_toolset_openshell.MARKER = 'boundary-ok'[source]
tests.system.common.ai.example_sandbox_toolset_openshell.STATE_PATH = '/tmp/airflow_sandbox_e2e'[source]
tests.system.common.ai.example_sandbox_toolset_openshell.COUNT_SLEEPERS = 'n=0; for f in /proc/[0-9]*/cmdline; do [ "$(tr \'\\0\' \' \' < "$f" 2>/dev/null)" = \'sleep 300...[source]
tests.system.common.ai.example_sandbox_toolset_openshell.CONNECT = Multiline-String[source]
Show Value
"""python3 -c "import socket
try:
    socket.create_connection(('1.1.1.1', 443), 5)
    print('egress=open')
except OSError as e:
    print('egress=denied', e.errno)""""
tests.system.common.ai.example_sandbox_toolset_openshell.example_sandbox_toolset_openshell()[source]
tests.system.common.ai.example_sandbox_toolset_openshell.dag = None[source]
tests.system.common.ai.example_sandbox_toolset_openshell.test_run[source]

Was this entry helpful?