From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id EF01743B64;
Wed, 21 Feb 2024 16:46:53 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 90632402D1;
Wed, 21 Feb 2024 16:46:53 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id D2EE5402CE
for ; Wed, 21 Feb 2024 16:46:52 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id B2C2243B67; Wed, 21 Feb 2024 16:46:52 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/DTS Bug 1383] DTS: clean up old tarball before copying a new
one over
Date: Wed, 21 Feb 2024 15:46:52 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: DTS
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: jspewock@iol.unh.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17085304122.cefF9774E.4148181
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17085304122.cefF9774E.4148181
Date: Wed, 21 Feb 2024 16:46:52 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1383
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@dpdk.org
Reporter: jspewock@iol.unh.edu
CC: juraj.linkes@pantheon.tech, probb@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 us=
er
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.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17085304122.cefF9774E.4148181
Date: Wed, 21 Feb 2024 16:46:52 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
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@dpdk.org
Reporter
jspewock@iol.unh.edu
CC
juraj.linkes@pantheon.tech, probb@iol.unh.edu
Target Milestone
---
Currently we just scp over a tarba=
ll 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 us=
er
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.