Skip to contentSkip to conversation

DTS: clean up old tarball before copying a new one over

DPDK/DTS Bug 1383 [email protected] 1 participant 2 messages Feb 21, 2024 – Mar 19, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1383

Bug ID: 1383
Summary: DTS: clean up old tarball before copying a new one
over
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: DTS
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---

Currently we just scp over a tarball from the tester to the SUT as part of a build target setup without checking to see if one exists. This works if you always run DTS as the same user, but if multiple different users run DTS back-to-back the second user will get a failure when trying to copy over the tarball because scp cannot write over the existing one which the running user does not own.

This is very easy to fix by simply logging onto the SUT and deleting the tarball that is already in /tmp, but considering we write DTS under the expectation that people could run as non-root users, it seems like it could be worth making a simple quality of life change to make this easier.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1383

Patrick Robb ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Patrick Robb ([email protected]) --- Won't do

*** This bug has been marked as a duplicate of bug 1362 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.