From 666811aa6d5222c236807602f7cc637d33a59b27 Mon Sep 17 00:00:00 2001 From: Himani Deshpande Date: Thu, 5 Dec 2024 14:58:40 -0500 Subject: [PATCH] [Test] Create Directory /etc/enroot for pyxis test --- .../pyxis/test_pyxis/test_pyxis/compute_node_start.sh | 3 +++ .../pyxis/test_pyxis/test_pyxis/head_node_configure.sh | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh index f03a12d65f..f5636fc5e8 100644 --- a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh +++ b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh @@ -6,11 +6,14 @@ echo "Executing $0" # Configure Enroot ENROOT_PERSISTENT_DIR="/var/enroot" ENROOT_VOLATILE_DIR="/run/enroot" +ENROOT_CONF_DIR="/etc/enroot" sudo mkdir -p $ENROOT_PERSISTENT_DIR sudo chmod 1777 $ENROOT_PERSISTENT_DIR sudo mkdir -p $ENROOT_VOLATILE_DIR sudo chmod 1777 $ENROOT_VOLATILE_DIR +sudo mkdir -p $ENROOT_CONF_DIR +sudo chmod 1777 $ENROOT_CONF_DIR sudo mv /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf sudo chmod 0644 /etc/enroot/enroot.conf diff --git a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh index f8560f480a..656a555d2a 100644 --- a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh +++ b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh @@ -6,13 +6,16 @@ echo "Executing $0" # Configure Enroot ENROOT_PERSISTENT_DIR="/var/enroot" ENROOT_VOLATILE_DIR="/run/enroot" +ENROOT_CONF_DIR="/etc/enroot" sudo mkdir -p $ENROOT_PERSISTENT_DIR sudo chmod 1777 $ENROOT_PERSISTENT_DIR sudo mkdir -p $ENROOT_VOLATILE_DIR sudo chmod 1777 $ENROOT_VOLATILE_DIR -sudo mv /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf -sudo chmod 0644 /etc/enroot/enroot.conf +sudo mkdir -p $ENROOT_CONF_DIR +sudo chmod 1777 $ENROOT_CONF_DIR +sudo mv /opt/parallelcluster/examples/enroot/enroot.conf $ENROOT_CONF_DIR/enroot.conf +sudo chmod 0644 $ENROOT_CONF_DIR/enroot.conf # Configure Pyxis PYXIS_RUNTIME_DIR="/run/pyxis"