From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id BB7035A004F for ; Wed, 07 Aug 2024 10:17:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1723018677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vn3piKNQseuQT+8HIgOA/lNX6uaTvpU8zWUQVG8qc6o=; b=hEkNFkNslm08XJ93Myh3fgeWXkhbsyPrOvk+fXh4lUEEUxwDw/OPj4hNszcba5P+xsAZyK MAoNTHDpmzDZTVAM/VBKIugIPA/AH86/xdrUak0sBICI6yxk2hwUu9IHt/KebPXsVjwpkC jCD1kJPrDqB/mU7prQ9TGO9M0t5gCL4= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-275-2zkQ13UhMQaFFnR3rK5oOw-1; Wed, 07 Aug 2024 04:17:56 -0400 X-MC-Unique: 2zkQ13UhMQaFFnR3rK5oOw-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-530db30008eso781179e87.1 for ; Wed, 07 Aug 2024 01:17:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723018674; x=1723623474; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Vn3piKNQseuQT+8HIgOA/lNX6uaTvpU8zWUQVG8qc6o=; b=KJueu9tEoT2zIOtholYaf6F5K+BIfYCIM8DC7dO/fodENEeSswg34y6zuPbxL907o+ hJzJzX272fHNHSbzgkUU45mBB9Rbfg6eP7fS5C6iAKiE+MWUbNjWkRvBJ3CwHqpThpWM 4qTIk4ojPogcGirmjiv67jDkpb/10pGLCqV2u5Q2nP0SnP0EEv+rIAScTy4F8cuKdVNH RJJrLYKNAIPw6EQi8/eEeSz8D0hbrpl9/pw+uZ5xLnET5Qh6PbZwcLub6r4yUKSNzrFt 8iyqyN0ltP920oWJ9Tcf0BdS44Ifl5rAL+kVt9akkv98CSyRuSXiX3Yf43IFo5k8BY77 5hIA== X-Gm-Message-State: AOJu0Yy0/pYGlHFbQmd0Wn6+3dL+UdUO+tpBohu/iKYNDHhtPl6KTM6W nFfqLDxoJCJUwotTQLMAYeYN0swVQqZgCri6SxXoWCb8ZlUapusHtlpWK/Bfpao0VyMTSurOSUl qlK+CpwRxZL51flRBy3i4zHGod4merbiih/3x8dRf0kCILvTrOA== X-Received: by 2002:ac2:5f47:0:b0:530:daee:cfb0 with SMTP id 2adb3069b0e04-530daeed2a8mr1260569e87.52.1723018674544; Wed, 07 Aug 2024 01:17:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHDWVsnRO31qOShPcr48bzckjTlYvaUqSDYvm6vlsbCKntyivof+95BZcvuEwL440hpHCqsA== X-Received: by 2002:ac2:5f47:0:b0:530:daee:cfb0 with SMTP id 2adb3069b0e04-530daeed2a8mr1260552e87.52.1723018673884; Wed, 07 Aug 2024 01:17:53 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429059714d5sm16764995e9.13.2024.08.07.01.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 01:17:53 -0700 (PDT) Date: Wed, 7 Aug 2024 10:17:51 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 00/22] RFC: Proof-of-concept based exeter+Avocado tests Message-ID: <20240807101751.3fcf2a8d@elisabeth> In-Reply-To: References: <20240805123701.1720730-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 5ITVI2J45QFR72MIEXRKVTK6PAFJLZVX X-Message-ID-Hash: 5ITVI2J45QFR72MIEXRKVTK6PAFJLZVX X-MailFrom: sbrivio@redhat.com 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, Cleber Rosa 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: On Tue, 6 Aug 2024 22:28:19 +1000 David Gibson wrote: > On Mon, Aug 05, 2024 at 10:36:39PM +1000, David Gibson wrote: > > Here's a rough proof of concept showing how we could run tests for > > passt with Avocado and the exeter library I recently created. It > > includes Cleber's patch adding some basic Avocado tests and builds on > > that. > > > > The current draft is pretty janky: > > * The build rules to download and install the necessary pieces are messy > > * We create the Avocado job files from the exeter sources in the > > Makefile. Ideally Avocado would eventually be extended to handle > > this itself > > * The names that Avocado sees for each test are overlong > > * There's some hacks to make sure things are executed from the > > right working directory > > > > But, it's a starting point. > > > > Stefano, > > > > If you could look particularly at 6/22 and 22/22 which add the real > > tests for passt/pasta, that would be great. The more specific you can > > be about what you find ugly about how the tests are written, then > > better I can try to address that. > > > > I suspect it will be easier to actually apply the series, then look at > > the new test files (test/build/build.py, and test/pasta/pasta.py > > particularly). From there you can look at as much of the support > > library as you need to, rather than digging through the actual patches > > to look for that. > > Forgot to mention. Patches 1 & 2 should be good to go regardless of > what we do with the rest of the testing stuff. Applied up to 2/22. -- Stefano