All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <skandigraun@gmail.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 2/2] dpkg: add ptest support
Date: Tue, 05 Aug 2025 10:14:22 +0200	[thread overview]
Message-ID: <DBUCE9OCATK0.3SAJACOFJ2I7Z@bootlin.com> (raw)
In-Reply-To: <20250802131227.677594-2-skandigraun@gmail.com>

On Sat Aug 2, 2025 at 3:12 PM CEST, Gyorgy Sarvari via lists.openembedded.org wrote:
> Added it to slow tests, as it takes betwen 165 and 190 seconds on my
> machine to execute (qemux86-64 + kvm).
>
> The test folder's Makefile contains a list of passing, failing and manual
> tests. By default, only the expected-to-pass tests are executed by the
> Makefile (unless magic environment variable is set).
>
> The run-ptest script mimics the default behavior of executing the
> expected-to-pass tests, however they are executed one by one, instead of
> running them as one batch - that way it is easier to determine exactly
> which tests pass and which fail.
>
> One other thing that might worth a note, is that the tests folder that needs to be
> installed contains a number of subfolders called "DEBIAN". When packaging them
> at least with rpm, these folders are omitted from the package. 
> However these are essential for the tests, as they contain test data. As a 
> workaround, these folders are renamed during installation to DEBIAN-ptest, 
> and before execution the run-ptest script restores their names.
>
> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
> ---

Hi Gyorgy,

Thanks for your patch.

It looks like some of these ptests are failing:

WARNING: core-image-ptest-dpkg-1.0-r0 do_testimage: There were failing ptests.
...
AssertionError:
ptests which had no test results:
['dpkg']

Cannot run ptests without @expectedFailure as ptests are expected to fail

https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/3164697/raw_inline
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/3164752/raw_inline
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/3164788/raw_inline

Ptest results can be found here:

https://valkyrie.yocto.io/pub/non-release/20250805-32/testresults/qemuarm64-ptest/core-image-ptest-dpkg/
https://valkyrie.yocto.io/pub/non-release/20250805-32/testresults/qemuriscv64-ptest/core-image-ptest-dpkg/
https://valkyrie.yocto.io/pub/non-release/20250805-32/testresults/qemux86-64-ptest/core-image-ptest-dpkg/

Best regards,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2025-08-05  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-02 13:12 [PATCH 1/2] dpkg: upgrade 1.22.11 -> 1.22.21 Gyorgy Sarvari
2025-08-02 13:12 ` [PATCH 2/2] dpkg: add ptest support Gyorgy Sarvari
2025-08-05  8:14   ` Mathieu Dubois-Briand [this message]
2025-08-05  8:52     ` [OE-core] " Gyorgy Sarvari

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=DBUCE9OCATK0.3SAJACOFJ2I7Z@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=skandigraun@gmail.com \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.