Project

General

Profile

Actions

Bug #21043

open

`arvados-client diagnostics` doesn't skip tests when wb1 endpoint is empty

Added by Lucas Di Pentima about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
Story points:
-

Description

On pirca we removed the Workbench1 endpoint after upgrading to 2.7.0 (see https://dev.arvados.org/issues/20949#note-7) and now the diagnostics run fails because it attempts to use it to check Webshell:

...
Updating certificates in /etc/ssl/certs...                                                                                                                     
140 added, 0 removed; done.                                                                                                                                    
Processing triggers for libc-bin (2.36-9+deb12u1) ...                                                                                                          
Processing triggers for ca-certificates (20230311) ...                                                                                                         
Updating certificates in /etc/ssl/certs...                                                                                                                     
0 added, 0 removed; done.                                                                                                                                      
Running hooks in /etc/ca-certificates/update.d...                                                                                                              
done.                                                                                                                                                          
Removing intermediate container 8e9b9258ec2a                                                                                                                   
 ---> 77f5c8f4bf68                                                                                                                                             
Step 3/3 : COPY /arvados-client /arvados-client                                                                                                                
 ---> 60d079d382f5                                                                                                                                             
Successfully built 60d079d382f5                                                                                                                                
Successfully tagged arvados-client-diagnostics:d7a0f8bef                                                                                                       
INFO      ... arvados-client version: /arvados-client 2.7.0~rc5 (go1.20.6) 
INFO      ... docker image size is 124562432         
INFO     100: uploading file via webdav              
INFO     110: checking WebDAV ExternalURL wildcard (https://*.collections.pirca.arvadosapi.com/) 
INFO     120: downloading from webdav (https://d41d8cd98f00b204e9800998ecf8427e-0.collections.pirca.arvadosapi.com/foo) 
INFO     121: downloading from webdav (https://d41d8cd98f00b204e9800998ecf8427e-0.collections.pirca.arvadosapi.com/sha256:60d079d382f5a8ca94113cb000c693dc20231
761d46a19975f20263347daea55.tar)                                                                                                                               
INFO     122: downloading from webdav (https://download.pirca.arvadosapi.com/c=d41d8cd98f00b204e9800998ecf8427e+0/_/foo) 
INFO     123: downloading from webdav (https://download.pirca.arvadosapi.com/c=d41d8cd98f00b204e9800998ecf8427e+0/_/sha256:60d079d382f5a8ca94113cb000c693dc2023
1761d46a19975f20263347daea55.tar)                                                                                                                              
INFO     124: downloading from webdav (https://cbb920c66ef6de436a28c80a93513d52-177.collections.pirca.arvadosapi.com/sha256:60d079d382f5a8ca94113cb000c693dc202
31761d46a19975f20263347daea55.tar)                                                                                                                             
INFO     125: downloading from webdav (https://download.pirca.arvadosapi.com/c=pirca-4zz18-g34h1m9pfq14sb3/_/sha256:60d079d382f5a8ca94113cb000c693dc20231761d46
a19975f20263347daea55.tar)                                                                                                                                     
INFO     130: getting list of virtual machines       
INFO     140: getting workbench1 webshell page       
ERROR    140: getting workbench1 webshell page (0 ms): Get "virtual_machines/pirca-2x53u-fajzxqyzqjczi5y/webshell/testusername": unsupported protocol scheme "" 

INFO     150: connecting to webshell service         
INFO     160: running a container                    
INFO      ... container request uuid = pirca-xvhdp-oybig903bl6lvhg 
INFO      ... container request submitted, waiting up to 10m for container to run 
ERROR    160: running a container (103932 ms): container exited 1 
INFO    9990: deleting temporary collection          

--- cut here --- error summary ---                                                                                                                             

ERROR     44: connecting to service endpoint  (0 ms): Get "": unsupported protocol scheme "" 
ERROR    140: getting workbench1 webshell page (0 ms): Get "virtual_machines/pirca-2x53u-fajzxqyzqjczi5y/webshell/testusername": unsupported protocol scheme "" 

ERROR    160: running a container (103932 ms): container exited 1 
Actions

Also available in: Atom PDF