From 4c1ea3f4b7c7ae8e0c0d426cc2a2624ef992b33f Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Wed, 21 May 2025 17:48:33 -0400 Subject: [PATCH] [Test] In Pyxis test, copy examples files rather than moving to facilitate the troubleshooting (no doubt that examples files were shipped). --- .../tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh | 2 +- .../pyxis/test_pyxis/test_pyxis/head_node_configure.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 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 bb2efb0fbf..656b6be776 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 @@ -14,7 +14,7 @@ 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 cp /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf sudo chmod 0644 /etc/enroot/enroot.conf # Configure Pyxis 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..1a2efa0244 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 @@ -11,7 +11,7 @@ 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 cp /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf sudo chmod 0644 /etc/enroot/enroot.conf # Configure Pyxis @@ -21,6 +21,6 @@ sudo mkdir -p $PYXIS_RUNTIME_DIR sudo chmod 1777 $PYXIS_RUNTIME_DIR sudo mkdir -p /opt/slurm/etc/plugstack.conf.d/ -sudo mv /opt/parallelcluster/examples/spank/plugstack.conf /opt/slurm/etc/ -sudo mv /opt/parallelcluster/examples/pyxis/pyxis.conf /opt/slurm/etc/plugstack.conf.d/ +sudo cp /opt/parallelcluster/examples/spank/plugstack.conf /opt/slurm/etc/ +sudo cp /opt/parallelcluster/examples/pyxis/pyxis.conf /opt/slurm/etc/plugstack.conf.d/ sudo -i scontrol reconfigure