improve Travis coverage
cover improve Travis coverage
Remove some useless jobs and add more packages
to build more PMDs in Travis.
Warning: not tested yet! Hope Travis will do it well :-)
Thomas Monjalon (2):
ci: remove redundant configs disabling kmods
ci: enable more drivers in Travis builds
.travis.yml | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-)
Signature · 1 line
2.25.0
PATCH 1/2 ci: remove redundant configs disabling kmods
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which become redundant.
Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
--- .travis.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-)
.travis.yml +4 -24
@@ -38,8 +38,6 @@ before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh env: - DEF_LIB="static" - DEF_LIB="shared" - - DEF_LIB="static" OPTS="-Denable_kmods=false" - - DEF_LIB="shared" OPTS="-Denable_kmods=false" - DEF_LIB="shared" RUN_TESTS=1 matrix:
@@ -50,13 +48,13 @@ matrix: apt: packages: - *build_32b_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="static" AARCH64=1 compiler: gcc addons: apt: packages: - *aarch64_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="shared" AARCH64=1 compiler: gcc addons: apt:
@@ -75,13 +73,7 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: gcc - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 + - env: DEF_LIB="static" EXTRA_PACKAGES=1 compiler: gcc addons: apt:
@@ -106,18 +98,6 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - env: DEF_LIB="static" arch: arm64 compiler: gcc
@@ -146,7 +126,7 @@ matrix: apt: packages: - *required_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" BUILD_DOCS=1 + - env: DEF_LIB="shared" BUILD_DOCS=1 arch: arm64 compiler: gcc addons:
Signature · 1 line
2.25.0
Re: [dpdk-dev] [PATCH 1/2] ci: remove redundant configs disabling kmods
17/02/2020 12:35, Thomas Monjalon:
Quoted 9 lines
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which become redundant.Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
Missed this line:
Quoted 1 line
Signed-off-by Thomas Monjalon <[email protected]>
Re: [dpdk-dev] [PATCH 1/2] ci: remove redundant configs disabling kmods
In reply to Thomas MonjalonQuoted 5 lines · Thomas Monjalon
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which become redundant.
Quoted 7 lines
Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
Signed-off-by Thomas Monjalon <[email protected]>---
Looks good to me, but do you think there's no benefit to even compiling the kernel modules that get shipped?
Otherwise,
Quoted 75 lines
.travis.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-).travis.yml +4
-24@@ -38,8 +38,6 @@ before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh env: - DEF_LIB="static" - DEF_LIB="shared" - - DEF_LIB="static" OPTS="-Denable_kmods=false" - - DEF_LIB="shared" OPTS="-Denable_kmods=false" - DEF_LIB="shared" RUN_TESTS=1 matrix:@@ -50,13 +48,13 @@ matrix: apt: packages: - *build_32b_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="static" AARCH64=1 compiler: gcc addons: apt: packages: - *aarch64_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="shared" AARCH64=1 compiler: gcc addons: apt:@@ -75,13 +73,7 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: gcc - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 + - env: DEF_LIB="static" EXTRA_PACKAGES=1 compiler: gcc addons: apt:@@ -106,18 +98,6 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - env: DEF_LIB="static" arch: arm64 compiler: gcc@@ -146,7 +126,7 @@ matrix: apt: packages: - *required_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" BUILD_DOCS=1 + - env: DEF_LIB="shared" BUILD_DOCS=1 arch: arm64 compiler: gcc addons:
Re: [dpdk-dev] [PATCH 1/2] ci: remove redundant configs disabling kmods
Quoted 12 lines · Aaron Conole
Quoted 10 lines · Thomas Monjalon
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which become redundant.Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
Quoted 10 lines
Quoted 2 lines
Signed-off-by Thomas Monjalon <[email protected]>---
Looks good to me, but do you think there's no benefit to even compiling the kernel modules that get shipped?
Otherwise,
Acked-by Aaron Conole <[email protected]>
I think we need one compile that turns them on to test.
/Bruce
Re: [dpdk-dev] [PATCH 1/2] ci: remove redundant configs disabling kmods
17/02/2020 17:46, Bruce Richardson:
Quoted 16 lines · Aaron Conole
Quoted 15 lines
Quoted 12 lines · Thomas Monjalon
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which become redundant.Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
Signed-off-by Thomas Monjalon <[email protected]>---
Quoted 7 lines
Quoted 6 lines
Looks good to me, but do you think there's no benefit to even compiling the kernel modules that get shipped?
Otherwise,
Acked-by Aaron Conole <[email protected]>I think we need one compile that turns them on to test.
I don't think so.
Travis is compiling only on Ubuntu.
Kernel modules compilation must be tested on old kernels (RHEL) and latest ones (Fedora).
PATCH 2/2 ci: enable more drivers in Travis builds
In reply to Thomas MonjalonThe Travis compilation is missing some dependencies to build these PMDs:
- af_xdp (libbpf)
- ipn3ke (libfdt)
- mlx (libibverbs)
--- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
@@ -24,7 +24,7 @@ aarch64_packages: &aarch64_packages extra_packages: &extra_packages - *required_packages - - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4, abigail-tools] + - [libbsd-dev, libbpf-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson4, abigail-tools] build_32b_packages: &build_32b_packages - *required_packages
Signature · 1 line
2.25.0
Re: [dpdk-dev] [PATCH 2/2] ci: enable more drivers in Travis builds
Quoted 7 lines · Thomas Monjalon
The Travis compilation is missing some dependencies to build these PMDs:
-af_xdp(libbpf)
- ipn3ke (libfdt)
- mlx (libibverbs)Signed-off-by Thomas Monjalon <[email protected]>---
I was going to wait until travis finished to ACK this but I think it's okay. I'll check back in on it later.
Quoted 16 lines
.travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).travis.yml +1
-1@@ -24,7 +24,7 @@ aarch64_packages: &aarch64_packages extra_packages: &extra_packages - *required_packages - - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4, abigail-tools] + - [libbsd-dev, libbpf-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson4, abigail-tools] build_32b_packages: &build_32b_packages - *required_packages
Re: [dpdk-dev] [PATCH 2/2] ci: enable more drivers in Travis builds
17/02/2020 19:00, Aaron Conole:
Quoted 7 lines
Quoted 5 lines · Thomas Monjalon
The Travis compilation is missing some dependencies to build these PMDs:
-af_xdp(libbpf)
- ipn3ke (libfdt)
- mlx (libibverbs)
Quoted 11 lines
Quoted 1 line
Signed-off-by Thomas Monjalon <[email protected]>I was going to wait until travis finished to ACK this but I think it's okay. I'll check back in on it later.
Acked-by Aaron Conole <[email protected]>Quoted 4 lines
extra_packages:&extra_packages
-*required_packages.travis.yml +1
-1- - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4, abigail-tools] + - [libbsd-dev, libbpf-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson4, abigail-tools]
It failed because libbpf is not available:
Unable to locate package libbpf-dev
I will re-spin a v2 without libbpf (not enabling af_xdp PMD).
Re: [dpdk-dev] [PATCH 2/2] ci: enable more drivers in Travis builds
Quoted 20 lines · Thomas Monjalon
17/02/2020 19:00, Aaron Conole:
Quoted 7 lines
Quoted 5 lines · Thomas Monjalon
The Travis compilation is missing some dependencies to build these PMDs:
-af_xdp(libbpf)
- ipn3ke (libfdt)
- mlx (libibverbs)Quoted 11 lines
Quoted 1 line
Signed-off-by Thomas Monjalon <[email protected]>I was going to wait until travis finished to ACK this but I think it's okay. I'll check back in on it later.
Acked-by Aaron Conole <[email protected]>Quoted 4 lines
extra_packages:&extra_packages
-*required_packages.travis.yml +1
-1- - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4, abigail-tools] + - [libbsd-dev, libbpf-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson4, abigail-tools]
Quoted 4 lines
It failed because libbpf is not available:
Unable to locate package libbpf-devI will re-spin a v2 without libbpf (not enabling
af_xdpPMD).
Okay. Feel free to keep my ack :)
v2 cover improve Travis coverage
In reply to Thomas MonjalonRemove some useless jobs and add more packages
to build more PMDs in Travis.
v2: remove libbpf because not available
Thomas Monjalon (2):
ci: remove redundant configs disabling kmods
ci: enable more drivers in Travis builds
.travis.yml | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-)
Signature · 1 line
2.25.0
PATCH v2 1/2 ci: remove redundant configs disabling kmods
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which become redundant.
Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
--- .travis.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-)
.travis.yml +4 -24
@@ -38,8 +38,6 @@ before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh env: - DEF_LIB="static" - DEF_LIB="shared" - - DEF_LIB="static" OPTS="-Denable_kmods=false" - - DEF_LIB="shared" OPTS="-Denable_kmods=false" - DEF_LIB="shared" RUN_TESTS=1 matrix:
@@ -50,13 +48,13 @@ matrix: apt: packages: - *build_32b_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="static" AARCH64=1 compiler: gcc addons: apt: packages: - *aarch64_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="shared" AARCH64=1 compiler: gcc addons: apt:
@@ -75,13 +73,7 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: gcc - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 + - env: DEF_LIB="static" EXTRA_PACKAGES=1 compiler: gcc addons: apt:
@@ -106,18 +98,6 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - env: DEF_LIB="static" arch: arm64 compiler: gcc
@@ -146,7 +126,7 @@ matrix: apt: packages: - *required_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" BUILD_DOCS=1 + - env: DEF_LIB="shared" BUILD_DOCS=1 arch: arm64 compiler: gcc addons:
Signature · 1 line
2.25.0
PATCH v2 2/2 ci: enable more drivers in Travis builds
In reply to Thomas MonjalonThe Travis compilation is missing some dependencies to build these PMDs:
- af_xdp (libbpf)
- ipn3ke (libfdt)
- mlx (libibverbs)
Note: libbpf is not yet available on Ubuntu.
--- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
@@ -24,7 +24,7 @@ aarch64_packages: &aarch64_packages extra_packages: &extra_packages - *required_packages - - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4, abigail-tools] + - [libbsd-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson4, abigail-tools] build_32b_packages: &build_32b_packages - *required_packages
Signature · 1 line
2.25.0
v3 cover improve Travis coverage
In reply to Thomas MonjalonRemove some useless jobs and add more packages
to build more PMDs in Travis.
v3: reword commit logs
v2: remove libbpf because not available
Thomas Monjalon (2):
ci: remove redundant configs disabling kmods
ci: enable more drivers in Travis builds
.travis.yml | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-)
Signature · 1 line
2.25.0
PATCH v3 1/2 ci: remove redundant configs disabling kmods
The kernel modules are not built by default since below commit. The Travis CI matrix can be simplified
by removing the redundant option enable_kmods=false, and by removing some jobs which are redundant.
Note: there is no benefit in checking kmods in Travis Ubuntu. Anyway different kernel versions and distributions are needed, and the Technical Board is looking at moving the Linux kmods out of this repository.
--- .travis.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-)
.travis.yml +4 -24
@@ -38,8 +38,6 @@ before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh env: - DEF_LIB="static" - DEF_LIB="shared" - - DEF_LIB="static" OPTS="-Denable_kmods=false" - - DEF_LIB="shared" OPTS="-Denable_kmods=false" - DEF_LIB="shared" RUN_TESTS=1 matrix:
@@ -50,13 +48,13 @@ matrix: apt: packages: - *build_32b_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="static" AARCH64=1 compiler: gcc addons: apt: packages: - *aarch64_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" AARCH64=1 + - env: DEF_LIB="shared" AARCH64=1 compiler: gcc addons: apt:
@@ -75,13 +73,7 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: gcc - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 + - env: DEF_LIB="static" EXTRA_PACKAGES=1 compiler: gcc addons: apt:
@@ -106,18 +98,6 @@ matrix: packages: - *extra_packages - *doc_packages - - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1 - compiler: clang - addons: - apt: - packages: - - *extra_packages - env: DEF_LIB="static" arch: arm64 compiler: gcc
@@ -146,7 +126,7 @@ matrix: apt: packages: - *required_packages - - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" BUILD_DOCS=1 + - env: DEF_LIB="shared" BUILD_DOCS=1 arch: arm64 compiler: gcc addons:
Signature · 1 line
2.25.0
PATCH v3 2/2 ci: enable more drivers in Travis builds
In reply to Thomas MonjalonThe Travis compilation is missing some dependencies to build all PMDs. More PMDs are enabled in Travis which runs Ubuntu Bionic Beaver (18.04):
- ipn3ke (libfdt)
- mlx (libibverbs)
The next Ubuntu LTS, Focal Fossa (20.04) will allow to support more:
- af_xdp (libbpf)
- Intel crypto (libipsec-mb 0.53)
--- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
@@ -24,7 +24,7 @@ aarch64_packages: &aarch64_packages extra_packages: &extra_packages - *required_packages - - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4, abigail-tools] + - [libbsd-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson4, abigail-tools] build_32b_packages: &build_32b_packages - *required_packages
Signature · 1 line
2.25.0
Quoted 7 lines · Thomas Monjalon
Remove some useless jobs and add more packages
to build more PMDs in Travis.v3: reword commit logs
v2: remove libbpf because not available
Quoted 6 lines
Thomas Monjalon (2):
ci: remove redundant configs disabling kmods
ci: enable more drivers in Travis builds.travis.yml | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-)
About enabling kmod compilation again, this can be done in a followup patch.
For the series,
Rebased on master, cache for abi checks jobs deleted. Series applied.
Signature · 1 line
David Marchand