ci: bump ABI reference version
PATCH 1/1 ci: bump ABI reference version
When bumping DPDK version, we should have bumped the ABI reference too.
--- .github/workflows/build.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.github/workflows/build.yml +1 -1
@@ -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:
.travis.yml +1 -1
@@ -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:
Signature · 1 line
2.23.0
15/04/2021 18:32, David Marchand:
.github/workflows/build.yml jobs: · line 24
Quoted 8 lines
When bumping DPDK version, we should have bumped the ABI reference too.
Fixes 442155f70c6b ("version: 21.05-rc0")Signed-off-by David Marchand <[email protected]>---
.github/workflows/build.yml +1
-1- REF_GIT_TAG: v20.11 + REF_GIT_TAG: v21.02
Yes, checking against 21.02 may catch breakage of ABI added in 21.02.
Quoted 11 lines · Thomas Monjalon
15/04/2021 18:32, David Marchand:
.github/workflows/build.yml jobs: · line 24
Quoted 8 lines
When bumping DPDK version, we should have bumped the ABI reference too.
Fixes 442155f70c6b ("version: 21.05-rc0")Signed-off-by David Marchand <[email protected]>---
.github/workflows/build.yml +1
-1- REF_GIT_TAG: v20.11 + REF_GIT_TAG: v21.02
Quoted 4 lines
Yes, checking against 21.02 may catch breakage of ABI added in 21.02.
Acked-by Thomas Monjalon <[email protected]>
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.
Signature · 1 line
David Marchand
PATCH v2 1/2 ci: fix ABI reference generation
In reply to David MarchandThe 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.
--- .ci/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.ci/linux-build.sh +1 -1
@@ -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"
Signature · 1 line
2.23.0
PATCH v2 1/2 ci: fix ABI reference generation
In reply to David MarchandThe 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.
--- .ci/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.ci/linux-build.sh +1 -1
@@ -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"
Signature · 1 line
2.23.0
PATCH v2 2/2 ci: bump ABI reference version
When bumping DPDK version, we should have bumped the ABI reference too.
--- .github/workflows/build.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.github/workflows/build.yml +1 -1
@@ -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:
.travis.yml +1 -1
@@ -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:
Signature · 1 line
2.23.0
Quoted 7 lines · 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 <[email protected]>Acked-by Thomas Monjalon <[email protected]>
Series applied, thanks.
Signature · 1 line
David Marchand
Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
In reply to David MarchandQuoted 40 lines
-----Original Message-----
From: David Marchand <[email protected]>
Sent: Thursday, April 15, 2021 9:43 PM
To: [email protected]
Cc: [email protected]; [email protected]; Aaron Conole <[email protected]>; Michael Santana <[email protected]>; Juraj Linkeš <[email protected]>; Honnappa Nagarahalli <[email protected]>; Bruce Richardson <[email protected]>
Subject: [PATCH v2 1/2] ci: fix ABI reference generationThe 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: YESconfig/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.
"""
Quoted 8 lines
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 <[email protected]>
Do we want to change this back to -Dmachine=generic after next release?
Quoted 20 lines
--- .ci/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).ci/linux-build.sh index 3cbeb193a1..91e43a975b renamed from .ci/linux-build.sh +0
-0100755
.ci/linux-build.sh +1
-2@@ -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
Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
Quoted 6 lines · Juraj Linkeš
Quoted 6 lines
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.
Quoted 7 lines
Quoted 3 lines
Fixes 5b3a6ca6fd28 ("build: alias default build as generic")Signed-off-by David Marchand <[email protected]>Reviewed-by Juraj Linkeš <[email protected]>Do we want to change this back to -Dmachine=generic after next release?
This seems fine to me.
Signature · 1 line
David Marchand
Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
16/04/2021 11:17, David Marchand:
Quoted 9 lines · Juraj Linkeš
Quoted 8 lines
Quoted 8 lines
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")
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by David Marchand <[email protected]>Reviewed-by Juraj Linkeš <[email protected]>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?
Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
Quoted 15 lines · Thomas Monjalon
16/04/2021 11:17, David Marchand:
Quoted 13 lines · Juraj Linkeš
Quoted 12 lines
Quoted 9 lines
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 <[email protected]>Reviewed-by Juraj Linkeš <[email protected]>
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
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.
Signature · 1 line
David Marchand
Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation
16/04/2021 11:49, David Marchand:
Quoted 17 lines · Thomas Monjalon
Quoted 16 lines
16/04/2021 11:17, David Marchand:
Quoted 15 lines · Juraj Linkeš
Quoted 13 lines
Quoted 9 lines
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 <[email protected]>Reviewed-by Juraj Linkeš <[email protected]>Do we want to change this back to -Dmachine=generic after next release?
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
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.
PATCH v2 2/2 ci: bump ABI reference version
In reply to David MarchandWhen bumping DPDK version, we should have bumped the ABI reference too.
--- .github/workflows/build.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.github/workflows/build.yml +1 -1
@@ -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:
.travis.yml +1 -1
@@ -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:
Signature · 1 line
2.23.0