Project

General

Profile

Bug #40565

Updated by Laura Paduano almost 5 years ago

e.g. here: https://jenkins.ceph.com/view/all/job/ceph-dashboard-pull-requests/366/console 
 or here: https://jenkins.ceph.com/view/all/job/ceph-dashboard-pull-requests/363/console 

 Ran into the dirname error on my local env when running vstart: 
 <pre><code class="text"> 
 RGW=1 ../src/vstart.sh -n -x                      
 /root/src/ceph/build/bin/ceph-conf: error while loading shared libraries: libssl3.so: cannot open shared object file: No such file or directory dirname: missing operand Try 'dirname --help' for more information. 
 </code></pre> 


 Added set -x to the e2e test script, output of the Jenkins job is now: 

 <pre><code class="text"> 
 + cd src/pybind/mgr/dashboard 
 + timeout 7200 ./run-frontend-e2e-tests.sh 
 + BASE_URL= 
 + DEVICE= 
 + REMOTE=false 
 + getopts d:r: flag 
 + '[' '' == '' ']' 
 ++ command -v google-chrome 
 + '[' -x /usr/bin/google-chrome ']' 
 + DEVICE=chrome 
 ++ pwd 
 + DASH_DIR=/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard 
 + cd ../../../../build 
 ++ pwd 
 + BUILD_DIR=/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/build 
 + '[' '' == '' ']' 
 + MGR=2 
 + RGW=1 
 + ../src/vstart.sh -n -d 
 global_init: error reading config file. 
 dirname: missing operand 
 Try 'dirname --help' for more information. 
 Build step 'Execute shell' marked build as failure 
 </code></pre> 

Back