* Re: [dpdk-dev] [PATCH] ci: bump ABI reference version
2021-04-15 16:32 [dpdk-dev] [PATCH] ci: bump ABI reference version David Marchand
@ 2021-04-15 16:57 ` Thomas Monjalon
2021-04-15 19:28 ` David Marchand
2021-04-15 19:38 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation David Marchand
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Thomas Monjalon @ 2021-04-15 16:57 UTC (permalink / raw)
To: David Marchand; +Cc: dev, mdr, Aaron Conole, Michael Santana
15/04/2021 18:32, David Marchand:
> When bumping DPDK version, we should have bumped the ABI reference too.
>
> Fixes: 442155f70c6b ("version: 21.05-rc0")
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> - REF_GIT_TAG: v20.11
> + REF_GIT_TAG: v21.02
Yes, checking against 21.02 may catch breakage of ABI
added in 21.02.
Acked-by: Thomas Monjalon <thomas@monjalon.net>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: bump ABI reference version
2021-04-15 16:57 ` Thomas Monjalon
@ 2021-04-15 19:28 ` David Marchand
0 siblings, 0 replies; 13+ messages in thread
From: David Marchand @ 2021-04-15 19:28 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev, Ray Kinsella, Aaron Conole, Michael Santana
On Thu, Apr 15, 2021 at 6:57 PM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> 15/04/2021 18:32, David Marchand:
> > When bumping DPDK version, we should have bumped the ABI reference too.
> >
> > Fixes: 442155f70c6b ("version: 21.05-rc0")
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > ---
> > - REF_GIT_TAG: v20.11
> > + REF_GIT_TAG: v21.02
>
> Yes, checking against 21.02 may catch breakage of ABI
> added in 21.02.
>
> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Unfortunately, we have a regression when (re)generating a ABI
reference in the CI script (compat issue with -Dmachine=generic that
is not understood by v21.02).
Testing the fix, will post later.
--
David Marchand
^ permalink raw reply [flat|nested] 13+ messages in thread
* [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-15 16:32 [dpdk-dev] [PATCH] ci: bump ABI reference version David Marchand
2021-04-15 16:57 ` Thomas Monjalon
@ 2021-04-15 19:38 ` David Marchand
2021-04-15 19:40 ` [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version David Marchand
2021-04-15 19:43 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation David Marchand
3 siblings, 0 replies; 13+ messages in thread
From: David Marchand @ 2021-04-15 19:38 UTC (permalink / raw)
To: dev
Cc: thomas, mdr, Aaron Conole, Michael Santana, Juraj Linkeš,
Honnappa Nagarahalli, Bruce Richardson
The machine=generic is not understood by older version of dpdk.
It is directly passed to gcc as -march=generic.
Since DPDK requires SSE 4.2, this results in an error when configuring
v21.02 sources for generating the reference ABI.
From GHA [1] logs:
"""
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wno-address-of-packed-member
-Waddress-of-packed-member: NO
Compiler for C supports arguments -Wno-packed-not-aligned
-Wpacked-not-aligned: NO
Compiler for C supports arguments -Wno-missing-field-initializers
-Wmissing-field-initializers: YES
config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__'
A full log can be found at
/home/runner/work/dpdk/dpdk-v21.02/build/meson-logs/meson-log.txt
Error: Process completed with exit code 1.
"""
1: https://github.com/ovsrobot/dpdk/runs/2355005702
Stick to a compatible configuration passing -Dmachine=default.
Note: the breakage was not seen earlier this week as I guess the CI
workers are using a cached ABI reference for v20.11.
Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
.ci/linux-build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 3cbeb193a1..91e43a975b 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -77,7 +77,7 @@ else
OPTS="$OPTS -Dexamples=all"
fi
-OPTS="$OPTS -Dmachine=generic"
+OPTS="$OPTS -Dmachine=default"
OPTS="$OPTS --default-library=$DEF_LIB"
OPTS="$OPTS --buildtype=debugoptimized"
OPTS="$OPTS -Dcheck_includes=true"
--
2.23.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version
2021-04-15 16:32 [dpdk-dev] [PATCH] ci: bump ABI reference version David Marchand
2021-04-15 16:57 ` Thomas Monjalon
2021-04-15 19:38 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation David Marchand
@ 2021-04-15 19:40 ` David Marchand
2021-04-15 19:43 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation David Marchand
3 siblings, 0 replies; 13+ messages in thread
From: David Marchand @ 2021-04-15 19:40 UTC (permalink / raw)
To: dev; +Cc: thomas, mdr, Aaron Conole, Michael Santana
When bumping DPDK version, we should have bumped the ABI reference too.
Fixes: 442155f70c6b ("version: 21.05-rc0")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
---
.github/workflows/build.yml | 2 +-
.travis.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9175ec43d3..d38feace69 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -21,7 +21,7 @@ jobs:
CC: ccache ${{ matrix.config.compiler }}
DEF_LIB: ${{ matrix.config.library }}
LIBABIGAIL_VERSION: libabigail-1.8
- REF_GIT_TAG: v20.11
+ REF_GIT_TAG: v21.02
RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }}
strategy:
diff --git a/.travis.yml b/.travis.yml
index 7ed982ac07..898cffd998 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,7 +41,7 @@ script: ./.ci/${TRAVIS_OS_NAME}-build.sh
env:
global:
- LIBABIGAIL_VERSION=libabigail-1.8
- - REF_GIT_TAG=v20.11
+ - REF_GIT_TAG=v21.02
jobs:
include:
--
2.23.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-15 16:32 [dpdk-dev] [PATCH] ci: bump ABI reference version David Marchand
` (2 preceding siblings ...)
2021-04-15 19:40 ` [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version David Marchand
@ 2021-04-15 19:43 ` David Marchand
2021-04-15 19:43 ` [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version David Marchand
2021-04-16 6:39 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation Juraj Linkeš
3 siblings, 2 replies; 13+ messages in thread
From: David Marchand @ 2021-04-15 19:43 UTC (permalink / raw)
To: dev
Cc: thomas, mdr, Aaron Conole, Michael Santana, Juraj Linkeš,
Honnappa Nagarahalli, Bruce Richardson
The machine=generic is not understood by older version of dpdk.
It is directly passed to gcc as -march=generic.
Since DPDK requires SSE 4.2, this results in an error when configuring
v21.02 sources for generating the reference ABI.
From GHA [1] logs:
"""
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wno-address-of-packed-member
-Waddress-of-packed-member: NO
Compiler for C supports arguments -Wno-packed-not-aligned
-Wpacked-not-aligned: NO
Compiler for C supports arguments -Wno-missing-field-initializers
-Wmissing-field-initializers: YES
config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__'
A full log can be found at
/home/runner/work/dpdk/dpdk-v21.02/build/meson-logs/meson-log.txt
Error: Process completed with exit code 1.
"""
1: https://github.com/ovsrobot/dpdk/runs/2355005702
Stick to a compatible configuration passing -Dmachine=default.
Note: the breakage was not seen earlier this week as I guess the CI
workers are using a cached ABI reference for v20.11.
Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
.ci/linux-build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 3cbeb193a1..91e43a975b 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -77,7 +77,7 @@ else
OPTS="$OPTS -Dexamples=all"
fi
-OPTS="$OPTS -Dmachine=generic"
+OPTS="$OPTS -Dmachine=default"
OPTS="$OPTS --default-library=$DEF_LIB"
OPTS="$OPTS --buildtype=debugoptimized"
OPTS="$OPTS -Dcheck_includes=true"
--
2.23.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version
2021-04-15 19:43 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation David Marchand
@ 2021-04-15 19:43 ` David Marchand
2021-04-16 12:11 ` David Marchand
2021-04-16 6:39 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation Juraj Linkeš
1 sibling, 1 reply; 13+ messages in thread
From: David Marchand @ 2021-04-15 19:43 UTC (permalink / raw)
To: dev; +Cc: thomas, mdr, Aaron Conole, Michael Santana
When bumping DPDK version, we should have bumped the ABI reference too.
Fixes: 442155f70c6b ("version: 21.05-rc0")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
---
.github/workflows/build.yml | 2 +-
.travis.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9175ec43d3..d38feace69 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -21,7 +21,7 @@ jobs:
CC: ccache ${{ matrix.config.compiler }}
DEF_LIB: ${{ matrix.config.library }}
LIBABIGAIL_VERSION: libabigail-1.8
- REF_GIT_TAG: v20.11
+ REF_GIT_TAG: v21.02
RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }}
strategy:
diff --git a/.travis.yml b/.travis.yml
index 7ed982ac07..898cffd998 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,7 +41,7 @@ script: ./.ci/${TRAVIS_OS_NAME}-build.sh
env:
global:
- LIBABIGAIL_VERSION=libabigail-1.8
- - REF_GIT_TAG=v20.11
+ - REF_GIT_TAG=v21.02
jobs:
include:
--
2.23.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-15 19:43 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation David Marchand
2021-04-15 19:43 ` [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version David Marchand
@ 2021-04-16 6:39 ` Juraj Linkeš
2021-04-16 9:17 ` David Marchand
1 sibling, 1 reply; 13+ messages in thread
From: Juraj Linkeš @ 2021-04-16 6:39 UTC (permalink / raw)
To: David Marchand, dev
Cc: thomas, mdr, Aaron Conole, Michael Santana, Honnappa Nagarahalli,
Bruce Richardson
> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Thursday, April 15, 2021 9:43 PM
> To: dev@dpdk.org
> Cc: thomas@monjalon.net; mdr@ashroe.eu; Aaron Conole
> <aconole@redhat.com>; Michael Santana <maicolgabriel@hotmail.com>; Juraj
> Linkeš <juraj.linkes@pantheon.tech>; Honnappa Nagarahalli
> <honnappa.nagarahalli@arm.com>; Bruce Richardson
> <bruce.richardson@intel.com>
> Subject: [PATCH v2 1/2] ci: fix ABI reference generation
>
> The machine=generic is not understood by older version of dpdk.
> It is directly passed to gcc as -march=generic.
>
> Since DPDK requires SSE 4.2, this results in an error when configuring
> v21.02 sources for generating the reference ABI.
>
> From GHA [1] logs:
>
> """
> Compiler for C supports arguments -Wundef: YES Compiler for C supports
> arguments -Wwrite-strings: YES Compiler for C supports arguments -Wno-
> address-of-packed-member
> -Waddress-of-packed-member: NO
> Compiler for C supports arguments -Wno-packed-not-aligned
> -Wpacked-not-aligned: NO
> Compiler for C supports arguments -Wno-missing-field-initializers
> -Wmissing-field-initializers: YES
>
> config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__'
>
> A full log can be found at
> /home/runner/work/dpdk/dpdk-v21.02/build/meson-logs/meson-log.txt
> Error: Process completed with exit code 1.
> """
>
> 1: https://github.com/ovsrobot/dpdk/runs/2355005702
>
> Stick to a compatible configuration passing -Dmachine=default.
>
> Note: the breakage was not seen earlier this week as I guess the CI workers are
> using a cached ABI reference for v20.11.
>
> Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Do we want to change this back to -Dmachine=generic after next release?
> ---
> .ci/linux-build.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 3cbeb193a1..91e43a975b
> 100755
> --- a/.ci/linux-build.sh
> +++ b/.ci/linux-build.sh
> @@ -77,7 +77,7 @@ else
> OPTS="$OPTS -Dexamples=all"
> fi
>
> -OPTS="$OPTS -Dmachine=generic"
> +OPTS="$OPTS -Dmachine=default"
> OPTS="$OPTS --default-library=$DEF_LIB"
> OPTS="$OPTS --buildtype=debugoptimized"
> OPTS="$OPTS -Dcheck_includes=true"
> --
> 2.23.0
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-16 6:39 ` [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation Juraj Linkeš
@ 2021-04-16 9:17 ` David Marchand
2021-04-16 9:20 ` Thomas Monjalon
0 siblings, 1 reply; 13+ messages in thread
From: David Marchand @ 2021-04-16 9:17 UTC (permalink / raw)
To: Juraj Linkeš
Cc: dev, thomas, mdr, Aaron Conole, Michael Santana,
Honnappa Nagarahalli, Bruce Richardson
On Fri, Apr 16, 2021 at 8:39 AM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:
> >
> > Stick to a compatible configuration passing -Dmachine=default.
> >
> > Note: the breakage was not seen earlier this week as I guess the CI workers are
> > using a cached ABI reference for v20.11.
> >
> > Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
>
> Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
>
> Do we want to change this back to -Dmachine=generic after next release?
This seems fine to me.
--
David Marchand
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-16 9:17 ` David Marchand
@ 2021-04-16 9:20 ` Thomas Monjalon
2021-04-16 9:49 ` David Marchand
0 siblings, 1 reply; 13+ messages in thread
From: Thomas Monjalon @ 2021-04-16 9:20 UTC (permalink / raw)
To: Juraj Linkeš, David Marchand
Cc: dev, mdr, Aaron Conole, Michael Santana, Honnappa Nagarahalli,
Bruce Richardson
16/04/2021 11:17, David Marchand:
> On Fri, Apr 16, 2021 at 8:39 AM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:
> > >
> > > Stick to a compatible configuration passing -Dmachine=default.
> > >
> > > Note: the breakage was not seen earlier this week as I guess the CI workers are
> > > using a cached ABI reference for v20.11.
> > >
> > > Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
> > >
> > > Signed-off-by: David Marchand <david.marchand@redhat.com>
> >
> > Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> >
> > Do we want to change this back to -Dmachine=generic after next release?
>
> This seems fine to me.
If we change back in 21.08, we won't be able to test 21.08
against 20.11 or 21.02, right?
Wouldn't be better to wait 21.11?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-16 9:20 ` Thomas Monjalon
@ 2021-04-16 9:49 ` David Marchand
2021-04-16 9:55 ` Thomas Monjalon
0 siblings, 1 reply; 13+ messages in thread
From: David Marchand @ 2021-04-16 9:49 UTC (permalink / raw)
To: Thomas Monjalon
Cc: Juraj Linkeš,
dev, mdr, Aaron Conole, Michael Santana, Honnappa Nagarahalli,
Bruce Richardson
On Fri, Apr 16, 2021 at 11:20 AM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> 16/04/2021 11:17, David Marchand:
> > On Fri, Apr 16, 2021 at 8:39 AM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:
> > > >
> > > > Stick to a compatible configuration passing -Dmachine=default.
> > > >
> > > > Note: the breakage was not seen earlier this week as I guess the CI workers are
> > > > using a cached ABI reference for v20.11.
> > > >
> > > > Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
> > > >
> > > > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > >
> > > Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> > >
> > > Do we want to change this back to -Dmachine=generic after next release?
> >
> > This seems fine to me.
>
> If we change back in 21.08, we won't be able to test 21.08
> against 20.11 or 21.02, right?
> Wouldn't be better to wait 21.11?
I considered this too, but here, in Travis/GHA, we test only against
the n-1 release.
--
David Marchand
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
2021-04-16 9:49 ` David Marchand
@ 2021-04-16 9:55 ` Thomas Monjalon
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Monjalon @ 2021-04-16 9:55 UTC (permalink / raw)
To: David Marchand
Cc: Juraj Linkeš,
dev, mdr, Aaron Conole, Michael Santana, Honnappa Nagarahalli,
Bruce Richardson
16/04/2021 11:49, David Marchand:
> On Fri, Apr 16, 2021 at 11:20 AM Thomas Monjalon <thomas@monjalon.net> wrote:
> > 16/04/2021 11:17, David Marchand:
> > > On Fri, Apr 16, 2021 at 8:39 AM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:
> > > > >
> > > > > Stick to a compatible configuration passing -Dmachine=default.
> > > > >
> > > > > Note: the breakage was not seen earlier this week as I guess the CI workers are
> > > > > using a cached ABI reference for v20.11.
> > > > >
> > > > > Fixes: 5b3a6ca6fd28 ("build: alias default build as generic")
> > > > >
> > > > > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > > >
> > > > Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> > > >
> > > > Do we want to change this back to -Dmachine=generic after next release?
> > >
> > > This seems fine to me.
> >
> > If we change back in 21.08, we won't be able to test 21.08
> > against 20.11 or 21.02, right?
> > Wouldn't be better to wait 21.11?
>
> I considered this too, but here, in Travis/GHA, we test only against
> the n-1 release.
Yes. If we don't plan to change our CI test, that's fine.
^ permalink raw reply [flat|nested] 13+ messages in thread