History log of /openbmc/openbmc-build-scripts/scripts/build-unit-test-docker (Results 1 – 25 of 199)
Revision Date Author Comments
# e5572c65 14-Mar-2025 Ed Tanous <etanous@nvidia.com>

Update to latest release of nlohmann

3.11.2 -> 3.11.3

Change-Id: Ie0c59af0f5941b4c108bd022c54e46e40673b3fd
Signed-off-by: Ed Tanous <etanous@nvidia.com>


# 3ee62fb5 25-Feb-2025 Ewelina Walkusz <ewelinax.walkusz@intel.com>

build-unit-test-docker: Add libmpfr-dev

After meson bump, clang-tidy reports an error when using
boost::multiprecision based on the MPFR library

```
/usr/local/include/boost/multiprecision/mpfr.hp

build-unit-test-docker: Add libmpfr-dev

After meson bump, clang-tidy reports an error when using
boost::multiprecision based on the MPFR library

```
/usr/local/include/boost/multiprecision/mpfr.hpp:22:10: error: 'mpfr.h' file not found [clang-diagnostic-error]
```

Change-Id: I76db10af842926f5767c897b92f1ccc0f63ffdbe
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>

show more ...


# 62eb4273 03-Feb-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update meson to 1.7.0

Meson 1.7.0 was released and is in the latest Yocto master
branch. Update our unit test container as well.

Signed-off-by: Patrick Williams <patrick@st

build-unit-test-docker: update meson to 1.7.0

Meson 1.7.0 was released and is in the latest Yocto master
branch. Update our unit test container as well.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I760b9092fbd1ac0a6c7307261e2d077c94f6773c

show more ...


# 5618dd5c 20-Jan-2025 Ewelina Walkusz <ewelinax.walkusz@intel.com>

build-unit-test-docker: upgrade meson to 1.6.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: Ifa4bc74d707d1c0b12bf9b147fd03e0e3c075262
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@i

build-unit-test-docker: upgrade meson to 1.6.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: Ifa4bc74d707d1c0b12bf9b147fd03e0e3c075262
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>

show more ...


# 3aa71c8c 24-Jan-2025 Tan Siewert <tan@siewert.io>

build-unit-test-docker: use heredoc-copy for wgetrc

The "heredoc" support in Docker can be a bit tedious with indented
content. Most of the examples do not indent it, but start at the
beginning [1].

build-unit-test-docker: use heredoc-copy for wgetrc

The "heredoc" support in Docker can be a bit tedious with indented
content. Most of the examples do not indent it, but start at the
beginning [1].

To prevent any weird behavior with "RUN cat" heredoc's, we should
use the native "COPY heredoc" feature which is mentioned at the end
of the blog [1].

[1] https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/

Fixes: f7e5261 ("build-unit-test-docker: Add .wgetrc for proxy")
Change-Id: I41b09c093fe5c5954e0411582806434ae6a148d0
Signed-off-by: Tan Siewert <tan@siewert.io>

show more ...


# f7e52612 08-Jan-2025 Lei YU <yulei.sh@bytedance.com>

build-unit-test-docker: Add .wgetrc for proxy

The script now uses `wget -O - https://apt.llvm.org/llvm.sh` to download
the llvm.sh.

If http_proxy is set, set the proxy to .wgetrc in the docker cont

build-unit-test-docker: Add .wgetrc for proxy

The script now uses `wget -O - https://apt.llvm.org/llvm.sh` to download
the llvm.sh.

If http_proxy is set, set the proxy to .wgetrc in the docker container
so that it could be used by `wget` when building the unit test docker.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I5cb305515cb4f79e5fd759bf1844a110f106a049

show more ...


# 4a5ba95d 13-Jan-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: remove 'yamldir' option to phosphor-logging

phosphor-logging currently uses the `phosphor-dbus-interfaces.pc`
file by default to determine the location of the install YAML,
i

build-unit-test-docker: remove 'yamldir' option to phosphor-logging

phosphor-logging currently uses the `phosphor-dbus-interfaces.pc`
file by default to determine the location of the install YAML,
in order to generate appropriate headers for error metadata.
`phosphor-dbus-interfaces` changed where the YAML is installed, but
the yamldir value here did not match. Remove it entirely and fall
back to obtaining the one from the pkg-config.

Tested: Ensured `phosphor-networkd` compiled using this container.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibe2168a05e7ad5be0e497c9bcfc6cadac7607a5d

show more ...


# fb6653ce 15-Jul-2024 Ewelina Walkusz <ewelinax.walkusz@intel.com>

build-unit-test-docker: upgrade meson to 1.5.1

Poky is using meson 1.5.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: I9b4b27b72118dcb15a9616ca78edf8a087cd4481
Signed-off-by: Ewelina

build-unit-test-docker: upgrade meson to 1.5.1

Poky is using meson 1.5.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: I9b4b27b72118dcb15a9616ca78edf8a087cd4481
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>

show more ...


# a7a30551 20-Dec-2024 Anirban Banerjee <anirbanb@meta.com>

openbmc-build-scripts: add `libcurl` dependency to test redflish client

On some system designs we need a "redfish client" to query metrics from
an http(s) server running on an Satellite Management C

openbmc-build-scripts: add `libcurl` dependency to test redflish client

On some system designs we need a "redfish client" to query metrics from
an http(s) server running on an Satellite Management Controller
instance, such as the Nvidia HMC[1], and forward those metrics to BMC
monitoring the devices.

There is a design document proposal available[2]. Adding `libcurl`
enables prototyping of the "Redfish client" instances following this
design document and run them on the official container.

[1]: https://github.com/openbmc/entity-manager/blob/master/configurations/nvidia_hmc.json#L14
[2]: https://gerrit.openbmc.org/c/openbmc/docs/+/75641/9/designs/redfish-client.md#154

Change-Id: I4848fb76edffb09d12891460972f9fb676d0d48a
Signed-off-by: Anirban Banerjee <anirbanb@meta.com>

show more ...


# 759c0091 18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: fix clang version argument

The latest version of bash seems to not pass additional arguments
when called with `-c` unless those arguments are after the `--`.

This caused the

build-unit-test-docker: fix clang version argument

The latest version of bash seems to not pass additional arguments
when called with `-c` unless those arguments are after the `--`.

This caused the build-unit-test-docker to not install the latest
version of clang, but instead the release of clang that was present
in the Ubuntu repository.

Add "19" after `--` so that the latest versions of clang tools are
installed.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I894b77b2a03e9125df50a297c9898b3456846cdc

show more ...


# ed8aecaf 18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update to clang-19

Clang-19 was released in September. Update our Docker container
to utilize it.

This will likely require re-running clang-format on most repositories
sinc

build-unit-test-docker: update to clang-19

Clang-19 was released in September. Update our Docker container
to utilize it.

This will likely require re-running clang-format on most repositories
since it does not seem 100% compatible.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I88192b41ab7a95599a90915013579608af7bc56f

show more ...


# 8f7146fa 11-Dec-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: support podman

Some of our systems utilize podman so ensure this script works for both
docker and podman based systems.

Tested:
- Confirmed still builds on a docker installe

build-unit-test-docker: support podman

Some of our systems utilize podman so ensure this script works for both
docker and podman based systems.

Tested:
- Confirmed still builds on a docker installed Ubuntu server
- Confirmed it now builds on a podman installed Red Hat server

Change-Id: I6f72cf43b32e7f6b9b600b027189a2dcf985f364
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 917b1774 11-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: switch to ubuntu oracular

Ubuntu Oracular is released; switch to it.

As part of this, add systemd-dev to the dependencies in order to solve
the following build failure:
```

build-unit-test-docker: switch to ubuntu oracular

Ubuntu Oracular is released; switch to it.

As part of this, add systemd-dev to the dependencies in order to solve
the following build failure:
```
openbmc/phosphor-objmgr: Run-time dependency systemd found: NO (tried pkgconfig and cmake)
openbmc/phosphor-objmgr:
openbmc/phosphor-objmgr: meson.build:114:26: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
```

The systemd.pc file is only available as part of systemd-dev now.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6fc4c67c0d5954f47e3752af9b335742901212ac

show more ...


# 9698215e 12-Dec-2024 Jayanth Othayoth <ojayanth@gmail.com>

Boost: Upgrade to Version 1.86.0

- Updated package name to use CMake as the build system
- Updated Boost from version 1.84 to 1.86.
- Included atomic, filesystem, and process packages due to
versi

Boost: Upgrade to Version 1.86.0

- Updated package name to use CMake as the build system
- Updated Boost from version 1.84 to 1.86.
- Included atomic, filesystem, and process packages due to
version 1.86 build dependencies.

Change-Id: I594e94db6b5072b42fbbb85cb96849fb98e81ced
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...


# dbce976d 05-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Update to gcc-14

Align with the recent Yocto update in OpenBMC[1], which pulls in gcc-14.

[1]: https://github.com/openbmc/openbmc/commit/edff49234e31f23dc79f823473c9e286a215

build-unit-test-docker: Update to gcc-14

Align with the recent Yocto update in OpenBMC[1], which pulls in gcc-14.

[1]: https://github.com/openbmc/openbmc/commit/edff49234e31f23dc79f823473c9e286a21596c1

Change-Id: If65df474997198d7e3d0aa686838b302a9ce87ef
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 29163971 06-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Disable libpldm's ABI compliance check

We use the docker container to maintain libpldm's ABI dump, which is
difficult to do if the container fails to build due to an ABI comp

build-unit-test-docker: Disable libpldm's ABI compliance check

We use the docker container to maintain libpldm's ABI dump, which is
difficult to do if the container fails to build due to an ABI compliance
failure.

Disable the check for the purpose of building the container dependency.
The check remains enabled for the actual CI runs.

Change-Id: Ib7cf8f4b5bf55e7bc4d9e5cc1ea15dd3fb929f93
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 7d98f8bf 06-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Disable libpldm tests again

Now that we've merged the change of the option type from feature to
boolean[1], specify that the tests should not be built.

[1]: https://github.c

build-unit-test-docker: Disable libpldm tests again

Now that we've merged the change of the option type from feature to
boolean[1], specify that the tests should not be built.

[1]: https://github.com/openbmc/libpldm/commit/65c64099e17ad81219726e790598cdc1f6e78f9a

Change-Id: Ife75a3505a6975174ffd8036ac042bdbcba27560
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# f7381ad6 14-Oct-2024 Arya K Padman <aryakpadman@gmail.com>

build-unit-test-docker: Add 'isoduration' to support ISO 8601 duration

As per the proposed design for syncing data to the redundant BMC, time
intervals need to be specified in seconds, minutes, or h

build-unit-test-docker: Add 'isoduration' to support ISO 8601 duration

As per the proposed design for syncing data to the redundant BMC, time
intervals need to be specified in seconds, minutes, or hours. For more
details, refer to the design document:
https://gerrit.openbmc.org/c/openbmc/docs/+/71039/4/designs/
redundant_bmc_data_synchronization.md#157

The JSON doesn't have a in-built infrastructure to represent time
intervals in seconds,minutes etc. So the schema draft 2019-09 supports
format where time intervals can be represented in ISO 8601 duration
format.

Refer #built-in-formats :
https://json-schema.org/understanding-json-schema/reference/string

But for parsing and validating the same it requires an additional
python package called `isoduration`.

Refer #validating-formats :
https://python-jsonschema.readthedocs.io/en/latest/validate/

The change installs the python package `isoduration` to the docker to
enable the support of ISO 8601 duration formats in JSON and schema
files.

Change-Id: I5489aa21118fa8852ed22f40570c2b77c00951e3
Signed-off-by: Arya K Padman <aryakpadman@gmail.com>

show more ...


# 353aa069 28-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Temporarily drop libpldm test configuration

The series at [1] switches libpldm's 'test' option type from feature to
boolean. Avoid the container build error in the interim by

build-unit-test-docker: Temporarily drop libpldm test configuration

The series at [1] switches libpldm's 'test' option type from feature to
boolean. Avoid the container build error in the interim by not disabling
the build of the tests, however, in doing so, ensure that the test build
dependencies are available to meson. The change implements the latter
by allowing the gtest and gmock wraps to download their sources during
the build.

The holistic approach of this patch is a compromise against the effort
required to allow type detection for meson flags, like we do in scripts/
unit-test.py. That code could be made common, however the work is a
bunch of refactoring that ultimately loses value once the patch to
change the test option type to boolean is merged in libpldm. Once
the patch is merged, we can drop `--wrap-mode=default` and introduce
`-Dtests=false` as the replacement for `-Dtests=disabled`.

[1]: https://gerrit.openbmc.org/q/topic:%22options-rework%22+repo:openbmc/libpldm

Change-Id: I51e51c75603db613aac3bd11c719def4b7e23561
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# b2438913 28-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Drop libpldm oem-ibm option

The OEM extensions are built by default, so there's no immediate need to
specify the option. Further, the structure of the libpldm meson options
i

build-unit-test-docker: Drop libpldm oem-ibm option

The OEM extensions are built by default, so there's no immediate need to
specify the option. Further, the structure of the libpldm meson options
is changing with the series at [1], so dodge the associated errors for
now.

[1]: https://gerrit.openbmc.org/q/topic:%22options-rework%22+repo:openbmc/libpldm

Change-Id: Id45be82115f93758e96f5d23ca103ff8915ab061
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 23ec3323 02-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: make aws default docker registry

AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
d

build-unit-test-docker: make aws default docker registry

AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
development occurs on shared systems so it's easy to exceed this limit
on an IP basis.

Tested:
- Verified no setting for DOCKER_REG and a setting of docker.io work as
expected

Change-Id: I7fb220b2541ccb1b65fa74b8638c0258a84b7421
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# fe2768c7 02-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: provide docker registry override

docker.io continues to tighten control[1] on access to its registry.
Provide a mechanism within this script to utilize a different registry
f

build-unit-test-docker: provide docker registry override

docker.io continues to tighten control[1] on access to its registry.
Provide a mechanism within this script to utilize a different registry
for the base ubuntu image.

[1]: https://www.docker.com/blog/november-2024-updated-plans-announcement/

Tested:
- Confirmed script default still works as expected
- Confirmed the following also works now:
export DOCKER_REG=public.ecr.aws/ubuntu

Change-Id: I4e8251653003cfac514905f2d2a5e8787b8ec06a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 64fb4dba 02-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: remove architecture checks

Docker containers now handle this under the covers when you pull a
container.

Tested:
- Confirmed ubuntu:latest works on ppc64le

Change-Id: Ic757

build-unit-test-docker: remove architecture checks

Docker containers now handle this under the covers when you pull a
container.

Tested:
- Confirmed ubuntu:latest works on ppc64le

Change-Id: Ic757d8317cb541e63fd51b29f5fdf4616d71797b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# c7bc4d1d 04-Oct-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: add cjson for skeleton

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id70c0c648e53f3c945b953ca1edb63fff152f559


# b4eec87b 04-Oct-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: add glib-2.0 for skeleton

openbmc/skeleton current needs glib-2.0 to build. Add
it to the docker config.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I63a

build-unit-test-docker: add glib-2.0 for skeleton

openbmc/skeleton current needs glib-2.0 to build. Add
it to the docker config.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I63ab9cdd4c84128fb878c6276213981660cd24bd

show more ...


12345678