[DPDK/DTS Bug 1383] DTS: clean up old tarball before copying a new one over

bugzilla at dpdk.org bugzilla at dpdk.org
Wed Feb 21 16:46:52 CET 2024


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: dev at dpdk.org
          Reporter: jspewock at iol.unh.edu
                CC: juraj.linkes at pantheon.tech, probb at iol.unh.edu
  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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240221/473107b9/attachment.htm>


More information about the dev mailing list