From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 011515A026F for ; Fri, 15 Mar 2024 07:46:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1710485205; bh=ctIjpnms26e/gs8fmz919d7Ytf2nQNwKYZ1BQLYycRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tx/LNBa/AxjhioR1BAtKaaL5U+9XQYKSw8taIw/Zf2zdvT4my+HKTwxE8GX861ck8 M5Z2890lIYCD2hcspmc3cWedPjFl4N9aWUvM+8hst+5sLfXyl/dUV8a/0qUND4lkSg 6uh/h7zv+sIDErHQJHJYOFZFWI5Fy7an94CkWHGHfDurwyMuGTmRyLmwtsJGTQvH+W 23QvZUbbs5jFa307vjgJI6hf/r3TFKAr5SgKvvsGRnc4qzJPhDramirO9DYrMOKzeF 4A8V130dzuyQatc+YfQDVH7Dt5rX8hkzgBryYFG0U8jAsic9vYI3xcp8oJEIwh3Wt9 S3O7ekXpKsZXg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4TwvtF4fqcz4wcR; Fri, 15 Mar 2024 17:46:45 +1100 (AEDT) Date: Fri, 15 Mar 2024 14:37:32 +1000 From: David Gibson To: Jon Maloy Subject: Re: "test in a box" Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vt8/y30iD0qV8bOO" Content-Disposition: inline In-Reply-To: Message-ID-Hash: RKNJN4UUDDCFY2QV53M3TIL2SN2P3WS7 X-Message-ID-Hash: RKNJN4UUDDCFY2QV53M3TIL2SN2P3WS7 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --vt8/y30iD0qV8bOO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 15, 2024 at 01:42:17PM +1000, David Gibson wrote: > Hi Jon (and others), >=20 > Are you still having trouble getting the passt tests to work? I > mentioned at some point in the past that I had an experimental "test > in a box" script which set up some namespaces to run the tests > independently of the host's networking setup. I just rebased that > onto the current tree and discovered that it worked better than I > recalled. I was able to run the full test suite except for the > performance tests - I didn't try those, so I don't know if they work. Sorry, now realised that's not quite correct. It works for the subset of tests that I usually use while actively developing. That excludes the log to file and memory tests, as well as the performance tests. In any case, the change excluding those tests is also the branch below. > I pushed the rebased version, along with some other local patches I > tend to use while developing at: > https://gitlab.com/dgibson/passt/-/tree/testbase?ref_type=3Dheads >=20 > To use: >=20 > 1) The test "assets" must be built and up to date, first, so in > passt/tests run: > $ make > 2) In passt/tests run > $ ./testinabox.sh >=20 > Hope that's useful to someone. >=20 --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --vt8/y30iD0qV8bOO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmXz0HcACgkQzQJF27ox 2Gc3YQ//ZpPxuAyAIKHUt1gg5ousMh0OcwSzVvhNTgqs71I1KHxJFEDVc4BiIdE8 JYHVsVQ1lTKA/q16b4UTvFSfgs1SL8aRsKU2mIFdgkR4/efV2mFNdCwwUJhlYP3c +Agz3COLupIJScphiBCpm4KM1mL4FTihw9RW+iN4A52AjTOMnM2B8oo0TFAvU1KA 7UuEgqJZEKwjdpVQKIBLcvPRUHK0AmmB6RxXn1CbR1I1X9CTEkDPOTlPDZYHLF1r Fo2ImU3+a6OWJ8SHhoUqUvaOf7ANh48YeUPOPoVsJhU3dJENU46v5N0+JTkw8h+C SgUmSIuIl6ifVRV4yOR7iopRpB05+zCG9IxtH0XLosmHNV0rpg87JSccSgoahuij gNqzJoTOAf4Ftkt2Twbv+uwM6/JqLvOm8pr/6dFQXzYG7KYeBwrv31eWPUCI4vqM c9zZ+JAmCR+K+wj4QO+T0AraACsNtpGxeEAy3c/Lmkd66wvl9p0S0NSXpcaIRvx3 rfz9G9Shg1Vwwqmjs+xLKvRlwBPH7u0ZQQDmcoQlGZmN7gvTy/auu1A2wNoW6wTd VU3RkEolDPIkGcTjntf1gO7Ub2shQgnIC8ln7T73x1DnP+E4ABYMbacmfxUhCPOT bHM4t6zmGEn60ICWFQ843gsSYefFpyUUDF7QnE/e9F9n4TCi2HU= =xBK7 -----END PGP SIGNATURE----- --vt8/y30iD0qV8bOO--