| #
c0c305ee |
| 05-May-2022 |
David Marchand <[email protected]> |
ci: build some job with ASan
Enable ASan, this can greatly help identify leaks and buffer overflows. Running unit tests relying on multiprocess is unreliable with ASan enabled, so skip them.
Signed
ci: build some job with ASan
Enable ASan, this can greatly help identify leaks and buffer overflows. Running unit tests relying on multiprocess is unreliable with ASan enabled, so skip them.
Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
| #
2261dbe9 |
| 06-May-2022 |
David Marchand <[email protected]> |
ci: add MinGW cross-compilation in GHA
Add mingw cross compilation in our public CI so that users with their own github repository have a first level of checks for Windows compilation before submitt
ci: add MinGW cross-compilation in GHA
Add mingw cross compilation in our public CI so that users with their own github repository have a first level of checks for Windows compilation before submitting to the mailing list. This does not replace our better checks in other entities of the CI.
Only the helloworld example is compiled (same as what is tested in test-meson-builds.sh).
Note: the mingw cross compilation toolchain (version 5.0) in Ubuntu 18.04 was broken (missing a ENOMSG definition).
Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
| #
8fd9b631 |
| 06-May-2022 |
David Marchand <[email protected]> |
ci: switch to Ubuntu 20.04
Ubuntu 18.04 is now rather old. Besides, other entities in our CI are also testing this distribution.
Switch to a newer Ubuntu release and benefit from more recent tool(c
ci: switch to Ubuntu 20.04
Ubuntu 18.04 is now rather old. Besides, other entities in our CI are also testing this distribution.
Switch to a newer Ubuntu release and benefit from more recent tool(chain)s: for example, net/cnxk now builds fine and can be re-enabled.
Note: Ubuntu 18.04 and 20.04 seem to preserve the same paths for the ARM and PPC cross compilation toolchains, so we can use a single configuration file (with the hope, future releases of Ubuntu will do the same).
Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]>
show more ...
|
| #
b35c4b0a |
| 04-Apr-2022 |
David Marchand <[email protected]> |
ci: add Fedora 35 container in GHA
Build DPDK with Fedora 35 containers.
GHA container support does not allow caching images and docker hub seems to limit image pulls. On the other hand, the Fedora
ci: add Fedora 35 container in GHA
Build DPDK with Fedora 35 containers.
GHA container support does not allow caching images and docker hub seems to limit image pulls. On the other hand, the Fedora project hub does not seem to limit them, so prefer this hub. Nevertheless, let's try to be good citizens and cache (once a day) a prepared image for subsequent builds. This preparation is done in a first prepare-container-images job. The rpm-container-builds job then depends on it with a 'needs:' tag.
Differences with builds in Ubuntu GHA vm images: - tasks are run as root in containers, no need for sudo, - compiler must be explicitly installed, - GHA artifacts can't contain a ':' in their name, and must be filtered, - environment variables are not inherited and must be passed explicitly,
Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
| #
1d5e58e9 |
| 18-Mar-2022 |
David Marchand <[email protected]> |
version: 22.07-rc0
Start a new release cycle with empty release notes. Bump version and ABI minor.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <thomas@monjal
version: 22.07-rc0
Start a new release cycle with empty release notes. Bump version and ABI minor.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
5e437164 |
| 11-Feb-2022 |
Bruce Richardson <[email protected]> |
buildtools/chkincs: test headers for C++ compatibility
Add support for checking each of our headers for issues when included in a C++ file.
Signed-off-by: Bruce Richardson <[email protected]
buildtools/chkincs: test headers for C++ compatibility
Add support for checking each of our headers for issues when included in a C++ file.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| #
042f5a35 |
| 02-Dec-2021 |
David Marchand <[email protected]> |
version: 22.03-rc0
Start a new release cycle with empty release notes. Bump version and ABI minor. Enable ABI checks.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monj
version: 22.03-rc0
Start a new release cycle with empty release notes. Bump version and ABI minor. Enable ABI checks.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
bd93fc68 |
| 17-Nov-2021 |
David Marchand <[email protected]> |
ci: test minimum configuration
Disabling drivers and optional libraries was not tested. Add a new target in test-meson-builds.sh and GHA with just the minimum to run test-null.sh and any other optio
ci: test minimum configuration
Disabling drivers and optional libraries was not tested. Add a new target in test-meson-builds.sh and GHA with just the minimum to run test-null.sh and any other optional component disabled.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2 |
|
| #
91949f13 |
| 08-Nov-2021 |
David Christensen <[email protected]> |
ci: add ppc64le cross compilation in GHA
Enable Github Actions to cross-compile code for POWER systems.
Signed-off-by: David Christensen <[email protected]> Reviewed-by: David Marchand <david.
ci: add ppc64le cross compilation in GHA
Enable Github Actions to cross-compile code for POWER systems.
Signed-off-by: David Christensen <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| #
2cdca6ed |
| 29-Oct-2021 |
David Marchand <[email protected]> |
ci: fix aarch64 cross compilation in GHA
CC_FOR_BUILD is a Travis env variable. This results in GHA aarch64 cross compilation jobs building x86 binaries.
Example in a recent job on main branch: 202
ci: fix aarch64 cross compilation in GHA
CC_FOR_BUILD is a Travis env variable. This results in GHA aarch64 cross compilation jobs building x86 binaries.
Example in a recent job on main branch: 2021-10-28T09:51:06.4976495Z + .ci/linux-build.sh 2021-10-28T09:51:06.4985674Z + [ -n build ] 2021-10-28T09:51:06.4987636Z + [ true = true ] 2021-10-28T09:51:06.4987991Z + [ = gcc ] 2021-10-28T09:51:06.4989419Z + [ = clang ] 2021-10-28T09:51:06.4990907Z + [ false = true ] 2021-10-28T09:51:06.4991348Z + [ false = true ] 2021-10-28T09:51:06.4992846Z + [ static = static ] 2021-10-28T09:51:06.4993550Z + OPTS= -Dexamples=l2fwd,l3fwd 2021-10-28T09:51:06.4995388Z + OPTS= -Dexamples=l2fwd,l3fwd -Dplatform=generic 2021-10-28T09:51:06.4996279Z + OPTS= -Dexamples=l2fwd,l3fwd -Dplatform=generic --default-library=static 2021-10-28T09:51:06.4998553Z + OPTS= -Dexamples=l2fwd,l3fwd -Dplatform=generic --default-library=static --buildtype=debugoptimized 2021-10-28T09:51:06.4999949Z + OPTS= -Dexamples=l2fwd,l3fwd -Dplatform=generic --default-library=static --buildtype=debugoptimized -Dcheck_includes=true 2021-10-28T09:51:06.5002643Z + meson build --werror -Dexamples=l2fwd,l3fwd -Dplatform=generic --default-library=static --buildtype=debugoptimized -Dcheck_includes=true
common/cnxk has issues with Ubuntu 18.04 cross compiler. It is a known issue (https://bugs.dpdk.org/show_bug.cgi?id=697), disable it.
Fixes: 5d0b4ffa6964 ("ci: add aarch64 clang cross-compilation Travis builds")
Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
fdab8f2e |
| 08-Aug-2021 |
Thomas Monjalon <[email protected]> |
version: 21.11-rc0
Start a new release cycle with empty release notes.
The ABI version becomes 22.0. The map files are updated to the new ABI major number (22). The ABI exceptions are dropped and C
version: 21.11-rc0
Start a new release cycle with empty release notes.
The ABI version becomes 22.0. The map files are updated to the new ABI major number (22). The ABI exceptions are dropped and CI ABI checks are disabled because compatibility is not preserved.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1 |
|
| #
40edb9c0 |
| 07-Jul-2021 |
David Marchand <[email protected]> |
eal: handle compressed firmware
Introduce an internal firmware loading helper to remove code duplication in our drivers and handle xz compressed firmware by calling libarchive.
This helper tries to
eal: handle compressed firmware
Introduce an internal firmware loading helper to remove code duplication in our drivers and handle xz compressed firmware by calling libarchive.
This helper tries to look for .xz suffixes so that drivers are not aware the firmware has been compressed.
libarchive is set as an optional dependency: without libarchive, a runtime warning is emitted so that users know there is a compressed firmware.
Windows implementation is left as an empty stub.
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Igor Russkikh <[email protected]> Acked-by: Aaron Conole <[email protected]> Tested-by: Haiyue Wang <[email protected]>
show more ...
|
| #
66b3a54b |
| 21-May-2021 |
David Marchand <[email protected]> |
version: 21.08-rc0
Start a new release cycle with empty release notes.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
0e83efa0 |
| 15-Apr-2021 |
David Marchand <[email protected]> |
ci: bump ABI reference version
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@redh
ci: bump ABI reference version
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]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
3cd7290c |
| 25-Jan-2021 |
David Marchand <[email protected]> |
ci: catch coredumps
Parts of the unit tests code rely on forked/secondary processes (expectedly) failing. A crash in those situations could be missed so add a check on coredumps presence after unit
ci: catch coredumps
Parts of the unit tests code rely on forked/secondary processes (expectedly) failing. A crash in those situations could be missed so add a check on coredumps presence after unit tests have run. When unit tests fail, it can also help checking for coredumps as it could give more insights on what happened.
In some situations (like explicit call to rte_panic), coredump generation must be disabled to avoid false positives.
Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Luca Boccassi <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
| #
1e90d1b6 |
| 01-Feb-2021 |
David Marchand <[email protected]> |
ci: ignore APT update failure in GitHub Actions
Ubuntu 18.04 GHA virtual machine images point at an invalid APT repository. We have no control over this, simply ignore the failure.
This was caught
ci: ignore APT update failure in GitHub Actions
Ubuntu 18.04 GHA virtual machine images point at an invalid APT repository. We have no control over this, simply ignore the failure.
This was caught by Ilya for OVS and the robot just hit the same issue for DPDK:
""" Get:46 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [29.9 kB] Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1104 kB] Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [247 kB] Reading package lists... E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg Release' no longer has a Release file. Error: Process completed with exit code 100. """
Fixes: 9d620630ea30 ("ci: fix package installation in GitHub Actions")
Signed-off-by: David Marchand <[email protected]> Acked-by: Ilya Maximets <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
| #
f0f93a7a |
| 24-Jan-2021 |
Dmitry Kozlyuk <[email protected]> |
buildtools: use Python pmdinfogen
Use the same interpreter to run pmdinfogen as for other build scripts. Adjust wrapper script accordingly and also don't suppress stderr from ar and pmdinfogen. Add
buildtools: use Python pmdinfogen
Use the same interpreter to run pmdinfogen as for other build scripts. Adjust wrapper script accordingly and also don't suppress stderr from ar and pmdinfogen. Add configure-time check for elftools Python module for Unix hosts.
Add pyelftools to CI configuration and build requirements for Linux and FreeBSD. Windows targets are not currently using pmdinfogen.
Suppress ABI warnings about generated PMD information strings.
Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Neil Horman <[email protected]> Tested-by: Jie Zhou <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1 |
|
| #
9d620630 |
| 19-Dec-2020 |
David Marchand <[email protected]> |
ci: fix package installation in GitHub Actions
APT cache must be updated to avoid trying to install an unavailable version of a package.
Fixes: 87009585e293 ("ci: hook to GitHub Actions")
Signed-o
ci: fix package installation in GitHub Actions
APT cache must be updated to avoid trying to install an unavailable version of a package.
Fixes: 87009585e293 ("ci: hook to GitHub Actions")
Signed-off-by: David Marchand <[email protected]>
show more ...
|
| #
44326709 |
| 04-Dec-2020 |
David Marchand <[email protected]> |
ci: enable v21 ABI checks
v21 ABI will be maintained until v21.11.
Let's use the latest released libabigail 1.8.
In GitHub Actions, libabigail binaries and the ABI reference are stored in two shar
ci: enable v21 ABI checks
v21 ABI will be maintained until v21.11.
Let's use the latest released libabigail 1.8.
In GitHub Actions, libabigail binaries and the ABI reference are stored in two shared caches as all branches can use the same.
While at it, we can reproduce changes from the commit 0b8086ce3fe7 ("devtools: remove useless files from ABI reference"). This will save some space in the CI caches.
Signed-off-by: David Marchand <[email protected]> Tested-by: Ferruh Yigit <[email protected]> Acked-by: Thomas Monjalon <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
| #
87009585 |
| 04-Dec-2020 |
David Marchand <[email protected]> |
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's offer an alternative with GitHub Actions. Running jobs on ARM is not supported unless using externa
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's offer an alternative with GitHub Actions. Running jobs on ARM is not supported unless using external runners, so this commit only adds builds for x86_64 and cross compiling for i386 and aarch64.
Differences with the Travis CI integration: - Error logs are not dumped to the console when something goes wrong. Instead, they are gathered in a "catch-all" step and attached as artifacts. - A cache entry is stored once and for all, but if no cache is found you can inherit from the default branch cache. The cache is 5GB large, for the whole git repository. - The maximum retention of logs and artifacts is 3 months. - /home/runner is world writable, so a workaround has been added for starting dpdk processes. - Ilya, working on OVS GHA support, noticed that jobs can run with processors that don't have the same capabilities. For DPDK, this impacts the ccache content since everything was built with -march=native so far, and we will end up with binaries that can't run in a later build. The problem has not been seen in Travis CI (?) but it is safer to use a fixed "-Dmachine=default" in any case. - Scheduling jobs is part of the configuration and takes the form of a crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <[email protected]> Tested-by: Ferruh Yigit <[email protected]> Acked-by: Thomas Monjalon <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|