public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Jon Maloy <jmaloy@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: "test in a box"
Date: Fri, 15 Mar 2024 14:37:32 +1000	[thread overview]
Message-ID: <ZfPQjLf87VvQewp2@zatzit> (raw)
In-Reply-To: <ZfPDmQxRgrLMGr5X@zatzit>

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

On Fri, Mar 15, 2024 at 01:42:17PM +1000, David Gibson wrote:
> Hi Jon (and others),
> 
> 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=heads
> 
> To use:
> 
> 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
> 
> Hope that's useful to someone.
> 



-- 
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-03-15  6:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  3:42 "test in a box" David Gibson
2024-03-15  4:37 ` David Gibson [this message]
2024-03-15  8:41 ` Stefano Brivio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZfPQjLf87VvQewp2@zatzit \
    --to=david@gibson.dropbear.id.au \
    --cc=jmaloy@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).