Closed Bug 1227864 Opened 10 years ago Closed 9 years ago

Delete with rm -rf

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nigelb, Unassigned)

References

()

Details

https://treeherder.mozilla.org/logviewer.html#?job_id=17793038&repo=mozilla-inbound rm: cannot remove `out/target/product/hammerhead/hammerhead.blobfree-dist.zip': No such file or directory rm: cannot remove `/pvt/mozilla.org/b2gotoro/tinderbox-builds/mozilla-inbound-nexus-5-l/latest': Is a directory Return code: 1 failed to delete latest symlink The rm is most likely failing because it doesn't have the `-f` attached. I'm filing this under taskcluster mostly because I don't know who owns the build.
21:10:46 INFO - Running command: ['ssh', '-l', 'b2gbld', '-i', '/home/cltbld/.ssh/b2gbld_dsa', 'pvtbuilds.pvt.build.mozilla.org', u'rm -f /pvt/mozilla.org/b2gotoro/tinderbox-builds/mozilla-inbound-nexus-5-l/latest'] 21:10:46 INFO - Copy/paste: ssh -l b2gbld -i /home/cltbld/.ssh/b2gbld_dsa pvtbuilds.pvt.build.mozilla.org "rm -f /pvt/mozilla.org/b2gotoro/tinderbox-builds/mozilla-inbound-nexus-5-l/latest" 21:10:47 INFO - rm: cannot remove `/pvt/mozilla.org/b2gotoro/tinderbox-builds/mozilla-inbound-nexus-5-l/latest': Is a directory 21:10:47 ERROR - Return code: 1 21:10:47 ERROR - failed to delete latest symlink The actually error seems to be that it needs `rm -rf`
Summary: Delete with rm -f → Delete with rm -rf
That's a releng issue - they take care of uploads to pvtbuilds using the b2gbld key.
Component: General → Buildduty
Product: Taskcluster → Release Engineering
QA Contact: bugspam.Callek
Note, it might be intentional not using -f, since if the 'latest' symlink can't be updated, that could be a serious issue, where as using -f might mask the error. The folks in RelEng will know for sure.
Still the issue persist ?
Flags: needinfo?(nigelbabu)
I haven't seen it recently. Happy to close as resolved works for me.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(nigelbabu)
Resolution: --- → WORKSFORME
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.