@@ -29,7 +29,7 @@ import (
2929func (i * InstanceInfo ) UploadAndRun (archivePath , remoteWorkspace , driverRunCmd string ) (int , error ) {
3030
3131 // Create the temp staging directory
32- klog .Infof ("Staging test binaries on %q" , i .cfg .Name )
32+ klog .V ( 4 ). Infof ("Staging test binaries on %q" , i .cfg .Name )
3333
3434 // Do not sudo here, so that we can use scp to copy test archive to the directdory.
3535 if output , err := i .SSHNoSudo ("mkdir" , remoteWorkspace ); err != nil {
@@ -49,15 +49,15 @@ func (i *InstanceInfo) UploadAndRun(archivePath, remoteWorkspace, driverRunCmd s
4949 fmt .Sprintf ("cd %s" , remoteWorkspace ),
5050 fmt .Sprintf ("tar -xzvf ./%s" , archiveName ),
5151 )
52- klog .Infof ("Extracting tar on %q" , i .cfg .Name )
52+ klog .V ( 4 ). Infof ("Extracting tar on %q" , i .cfg .Name )
5353 // Do not use sudo here, because `sudo tar -x` will recover the file ownership inside the tar ball, but
5454 // we want the extracted files to be owned by the current user.
5555 if output , err := i .SSHNoSudo ("sh" , "-c" , cmd ); err != nil {
5656 // Exit failure with the error
5757 return - 1 , fmt .Errorf ("failed to extract test archive: %v, output: %q" , err .Error (), output )
5858 }
5959
60- klog .Infof ("Starting driver on %q" , i .cfg .Name )
60+ klog .V ( 4 ). Infof ("Starting driver on %q" , i .cfg .Name )
6161 // When the process is killed the driver should close the TCP endpoint, then we want to download the logs
6262 output , err := i .SSH (driverRunCmd )
6363 if err != nil {
0 commit comments