]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
windows: fix running "ceph status" 2107/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 7 Feb 2023 14:58:58 +0000 (16:58 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 7 Feb 2023 15:01:31 +0000 (17:01 +0200)
One of the Windows scripts tries to do "ceph status" before
and after executing the ceph tests.

The issue is that it's using a wrong path. The ceph dir is actually
located in the home dir.

We'll update the script accordingly.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
scripts/ceph-windows/run_tests

index c6def137cdf2bcdfdfafb087d67ef147535015b4..56f16a9df7af5caf759b87df2dfee0d81786d9e8 100644 (file)
@@ -50,7 +50,7 @@ function collect_artifacts() {
     rm -rf $WORKSPACE/artifacts
     mkdir -p $WORKSPACE/artifacts
 
-    SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec $WORKSPACE/ceph/build/bin/ceph status
+    SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec ./ceph/build/bin/ceph status
 
     scp_download /workspace/test_results $WORKSPACE/artifacts/test_results
     if [[ "$INCLUDE_USERSPACE_CRASH_DUMPS" = true ]]; then
@@ -72,7 +72,7 @@ function collect_artifacts() {
 trap collect_artifacts EXIT
 
 # View cluster status before test run
-SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec $WORKSPACE/ceph/build/bin/ceph status
+SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec ./ceph/build/bin/ceph status
 #
 # Run the Windows tests
 #