public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: openembedded-core@lists.openembedded.org,
	"Richard Purdie" <richard.purdie@linuxfoundation.org>,
	"Daniel Díaz" <daniel.diaz@linaro.org>,
	"Khem Raj" <raj.khem@gmail.com>
Subject: Re: [OE-core] [PATCH 1/1] ltp: Update to 20240129
Date: Sun, 4 Feb 2024 00:52:47 +0100	[thread overview]
Message-ID: <20240203235247.GA163430@pevik> (raw)
In-Reply-To: <202402021507535468a87c@mail.local>

Hi Alexandre, all,

> On 31/01/2024 19:32:43+0100, Petr Vorel wrote:
> > Removed patch accepted upstream as
> > 8c53cc947 ("testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE")

> > Rebase runtest/mm patch.

> > Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> > ---
> > Hi Richard, Daniel, Khem,

> > could anybody please test this update if build (it should).

> > Also, it'd be good nice to rerun proc01 -m 128 and report me with the
> > details, maybe we can fix it. If still problematic, it'd be nice to turn
> > disable_hanging_tests.patch into proper git patch (makes rebasing patch
> > on new LTP version easier).

> This fails on the autobuilders:

> https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/5957/steps/12/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/5917/steps/12/logs/stdio


Thanks for testing this, you probably mean the warning before python stack trace:

scp: /opt/ltp/results/connectors: No such file or directory
WARNING: core-image-sato-1.0-r0 do_testimage: File could not be copied. Output: scp: /opt/ltp/results/connectors: No such file or directory

The problem is not due packaging, but simply runtest/connectors was removed [1],
thus your tooling has to be fixed not to expect it (not trying to run it).
I'm sorry, we sometimes do cleanup which brings incompatibility issue
(here it did not make sense to start SUT just for single test, thus we moved the
test to runtest/kernel_misc).

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/commit/9b642d89c0bcf5885b051c2d5768fa94b61d86cb

> > Kind regards,
> > Petr

> >  ...001-Remove-OOM-tests-from-runtest-mm.patch |  6 ++--
> >  ...-syscalls-fcntl-define-_LARGEFILE64_.patch | 28 -------------------
> >  .../ltp/{ltp_20230929.bb => ltp_20240129.bb}  |  3 +-
> >  3 files changed, 4 insertions(+), 33 deletions(-)
> >  delete mode 100644 meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch
> >  rename meta/recipes-extended/ltp/{ltp_20230929.bb => ltp_20240129.bb} (97%)

> > diff --git a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
> > index 6d945700be..cc98079651 100644
> > --- a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
> > +++ b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch
> > @@ -14,10 +14,10 @@ Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> >   1 file changed, 6 deletions(-)

> >  diff --git a/runtest/mm b/runtest/mm
> > -index 6537666a9..e5a091a5a 100644
> > +index d859b331c..3c2962f44 100644
> >  --- a/runtest/mm
> >  +++ b/runtest/mm
> > -@@ -73,12 +73,6 @@ ksm06_2 ksm06 -n 8000
> > +@@ -74,12 +74,6 @@ ksm07 ksm07

> >   cpuset01 cpuset01

> > @@ -31,5 +31,5 @@ index 6537666a9..e5a091a5a 100644

> >   thp01 thp01 -I 120
> >  -- 
> > -2.33.0
> > +2.43.0

> > diff --git a/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch b/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch
> > deleted file mode 100644
> > index dbe63f2170..0000000000
> > --- a/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch
> > +++ /dev/null
> > @@ -1,28 +0,0 @@
> > -From f4f75ce9218b469d91b536218de3323977edc529 Mon Sep 17 00:00:00 2001
> > -From: Alexander Kanavin <alex@linutronix.de>
> > -Date: Tue, 13 Jun 2023 15:10:33 +0200
> > -Subject: [PATCH] testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE
> > -
> > -This is required for off64_t to be available on musl systems.
> > -
> > -Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/1047]
> > -Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > ----
> > - testcases/kernel/syscalls/fcntl/Makefile | 2 +-
> > - 1 file changed, 1 insertion(+), 1 deletion(-)
> > -
> > -diff --git a/testcases/kernel/syscalls/fcntl/Makefile b/testcases/kernel/syscalls/fcntl/Makefile
> > -index df663a50a..aac774111 100644
> > ---- a/testcases/kernel/syscalls/fcntl/Makefile
> > -+++ b/testcases/kernel/syscalls/fcntl/Makefile
> > -@@ -17,6 +17,6 @@ include $(abs_srcdir)/../utils/newer_64.mk
> > - 
> > - %_64: CPPFLAGS += -D_FILE_OFFSET_BITS=64
> > - 
> > --CPPFLAGS		+= -D_GNU_SOURCE
> > -+CPPFLAGS		+= -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> > - 
> > - include $(top_srcdir)/include/mk/generic_leaf_target.mk
> > --- 
> > -2.30.2
> > -
> > diff --git a/meta/recipes-extended/ltp/ltp_20230929.bb b/meta/recipes-extended/ltp/ltp_20240129.bb
> > similarity index 97%
> > rename from meta/recipes-extended/ltp/ltp_20230929.bb
> > rename to meta/recipes-extended/ltp/ltp_20240129.bb
> > index 5c43346883..5cd33bb6a3 100644
> > --- a/meta/recipes-extended/ltp/ltp_20230929.bb
> > +++ b/meta/recipes-extended/ltp/ltp_20240129.bb
> > @@ -24,12 +24,11 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse"

> >  CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
> >  CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
> > -SRCREV = "110d3be6a9c58674de3e366b96a70f0129a5d299"
> > +SRCREV = "68737d20556d37364c95776044b1119c0912a36a"

> >  SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
> >             file://0001-Remove-OOM-tests-from-runtest-mm.patch \
> >             file://disable_hanging_tests.patch \
> > -           file://0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch \
> >             "

> >  S = "${WORKDIR}/git"
> > -- 
> > 2.43.0



> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#194532): https://lists.openembedded.org/g/openembedded-core/message/194532
> > Mute This Topic: https://lists.openembedded.org/mt/104081044/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-


  reply	other threads:[~2024-02-03 23:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-31 18:32 [PATCH 1/1] ltp: Update to 20240129 Petr Vorel
2024-02-02 15:07 ` [OE-core] " Alexandre Belloni
2024-02-03 23:52   ` Petr Vorel [this message]
2024-02-05  7:12     ` Richard Purdie
2024-02-05 10:43       ` Petr Vorel
2024-02-05 14:33         ` Richard Purdie
2024-02-05 21:16           ` Petr Vorel

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=20240203235247.GA163430@pevik \
    --to=petr.vorel@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=daniel.diaz@linaro.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=richard.purdie@linuxfoundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox