Project

General

Profile

Bug #52681

Updated by Brad Hubbard over 2 years ago

Multiple tests rely on xmlstarlet but we don't install it. 

 <pre> 
 VERSION="20.04.3 LTS (Focal Fossa)" 

 # ctest -R check-generated.sh\|smoke.sh\|safe-to-destroy.sh --output-on-failure  
 Test project /working/ceph/build 
     Start    24: smoke.sh 
 1/4 Test    #24: smoke.sh .........................***Failed      0.01 sec 
 Missing xmlstarlet binary! 

     Start 130: check-generated.sh 
 2/4 Test #130: check-generated.sh ...............***Failed      0.01 sec 
 Enivronment Variables Already Set 
 Missing xmlstarlet binary! 

     Start 163: mgr-dashboard-smoke.sh 
 3/4 Test #163: mgr-dashboard-smoke.sh ...........***Failed      0.01 sec 
 Enivronment Variables Already Set 
 Missing xmlstarlet binary! 

     Start 178: safe-to-destroy.sh 
 4/4 Test #178: safe-to-destroy.sh ...............***Failed      0.00 sec 
 Missing xmlstarlet binary! 


 0% tests passed, 4 tests failed out of 4 

 Total Test time (real) =     0.05 sec 

 The following tests FAILED: 
          24 - smoke.sh (Failed) 
         130 - check-generated.sh (Failed) 
         163 - mgr-dashboard-smoke.sh (Failed) 
         178 - safe-to-destroy.sh (Failed) 

 # apt-get install xmlstarlet 
 # ctest -R check-generated.sh\|smoke.sh\|safe-to-destroy.sh --output-on-failure  
 Test project /working/ceph/build 
     Start    24: smoke.sh 
 1/4 Test    #24: smoke.sh .........................     Passed     92.41 sec 
     Start 130: check-generated.sh 
 ^[2/4 Test #130: check-generated.sh ...............     Passed    263.43 sec 
     Start 163: mgr-dashboard-smoke.sh 
 3/4 Test #163: mgr-dashboard-smoke.sh ...........     Passed      6.01 sec 
     Start 178: safe-to-destroy.sh 
 4/4 Test #178: safe-to-destroy.sh ...............     Passed    118.28 sec 

 100% tests passed, 0 tests failed out of 4 

 Total Test time (real) = 480.15 sec 

 </pre>

Back