opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

CI (Build Docker Containers) Failing on missing hmac_testutils.h?

Open Jacob-Levy opened this issue 4 years ago • 1 comments

After opentintan rebase on Friday (3/10/22) CI (Build Docker Containers) started failing.

ERROR: /home/vsts/work/1/s/sw/device/tests/BUILD:79:19: Compiling sw/device/tests/hmac_smoketest.c failed: (Exit 1): gcc failed: error executing command external/bazel_embedded/toolchains/lowrisc_toolchain_rv32imc/gcc_wrappers/nix/gcc -MD -MF ... (remaining 62 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox sw/device/tests/hmac_smoketest.c:11:10: fatal error: sw/device/lib/testing/hmac_testutils.h: No such file or directory 11 | #include "sw/device/lib/testing/hmac_testutils.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.

% git grep hmac_testutils
sw/device/lib/testing/hmac_testutils.c:#include "sw/device/lib/testing/hmac_testutils.h"
sw/device/lib/testing/hmac_testutils.c:void hmac_testutils_check_message_length(const dif_hmac_t *hmac,
sw/device/lib/testing/hmac_testutils.h:void hmac_testutils_check_message_length(const dif_hmac_t *hmac,
sw/device/lib/testing/meson.build:sw_lib_testing_hmac_testutils = declare_dependency(
sw/device/lib/testing/meson.build:    'sw_lib_testing_hmac_testutils',
sw/device/lib/testing/meson.build:      'hmac_testutils.c',
sw/device/tests/hmac_enc_irq_test.c:#include "sw/device/lib/testing/hmac_testutils.h"
sw/device/tests/hmac_enc_irq_test.c:  hmac_testutils_check_message_length(&hmac, 32);
sw/device/tests/hmac_smoketest.c:#include "sw/device/lib/testing/hmac_testutils.h"
sw/device/tests/hmac_smoketest.c:  hmac_testutils_check_message_length(hmac, len * 8);
sw/device/tests/meson.build:      sw_lib_testing_hmac_testutils,
sw/device/tests/meson.build:      sw_lib_testing_hmac_testutils,

fatal error: sw/device/lib/testing/hmac_testutils.h: No such file or director

It does not look like a missing file.. Is it a toolchain update? Will try to rebase and push force.

@cindychip @msfschaffner @rswarbrick @sha-ron @arnonsha @tjaychen

Jacob-Levy avatar Mar 12 '22 21:03 Jacob-Levy

After rebase and pyton update the issue is gone :)

Jacob-Levy avatar Mar 13 '22 10:03 Jacob-Levy