[INTPAK-201] Fix RPM builds failing on .ssh/known_hosts cleanup Created: 23/Sep/18  Updated: 12/Oct/18  Resolved: 12/Oct/18

Status: Closed
Project: integration-packaging
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Low
Reporter: Daniel Farrell Assignee: Daniel Farrell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The build-rpm job (at least) is failing on a minor cleanup step at the end of the job.

 

06:18:41 + rm /home/jenkins/.ssh/known_hosts
06:18:41 rm: cannot remove ‘/home/jenkins/.ssh/known_hosts’: No such file or directory
06:18:41 + echo 'No known_hosts file'
06:18:41 No known_hosts file

https://jenkins.opendaylight.org/releng/view/packaging/job/packaging-build-rpm-fluorine/116/console

I don't know what changed, but either need to remove that step or make it optional or make it only run if file exists.



 Comments   
Comment by Daniel Farrell [ 04/Oct/18 ]

This was actually not a failure, but an unclear log message. Should remove the log message and just return true to not add unnecessary clutter to the log (commands are already echoed with shell flag -x).

Generated at Wed Feb 07 20:03:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.