Azure/GitLab: Use buildman -T0 for binman, etc, test
PATCH 1/1 Azure/GitLab: Use buildman -T0 for binman, etc, test
There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on.
--- .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.azure-pipelines.yml +1 -1
@@ -148,7 +148,7 @@ jobs: export UBOOT_TRAVIS_BUILD_DIR=/tmp/sandbox_spl export PYTHONPATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt export PATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH} - ./tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w sandbox_spl + ./tools/buildman/buildman -T0 -o ${UBOOT_TRAVIS_BUILD_DIR} -w sandbox_spl ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test ./tools/buildman/buildman -t ./tools/dtoc/dtoc -t
.gitlab-ci.yml +1 -1
@@ -170,7 +170,7 @@ Run binman, buildman, dtoc, Kconfig and patman testsuites: export UBOOT_TRAVIS_BUILD_DIR=/tmp/sandbox_spl; export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt"; export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}"; - ./tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w sandbox_spl; + ./tools/buildman/buildman -T0 -o ${UBOOT_TRAVIS_BUILD_DIR} -w sandbox_spl; ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test; ./tools/buildman/buildman -t; ./tools/dtoc/dtoc -t;
Signature · 1 line
2.17.1
PATCH 1/1 Azure/GitLab: Use buildman -T0 for binman, etc, test
Quoted 4 lines · Tom Rini
There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210304/822a657d/attachment.sig>
PATCH 1/1 Azure/GitLab: Use buildman -T0 for binman, etc, test
In reply to Tom RiniHi Tom,
Quoted 3 lines · Tom Rini
There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on.
Is this a potential buildman bug? +Simon
My concern is this will increase the overall CI time
Quoted 7 lines
Signed-off-by Tom Rini <[email protected]>--- .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Regards,
Bin
PATCH 1/1 Azure/GitLab: Use buildman -T0 for binman, etc, test
Quoted 8 lines · Bin Meng
Hi Tom,
Quoted 3 lines · Tom Rini
There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on.
Is this a potential buildman bug? +Simon
Kinda? Simon and I were talking about it on IRC, and taking this was his suggestion.
Quoted 1 line
My concern is this will increase the overall CI time
It shouldn't, since we only build a single board here. Further, it fixes or papers over CI failures where the job gets stuck.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210304/4d7ed7cf/attachment.sig>
PATCH 1/1 Azure/GitLab: Use buildman -T0 for binman, etc, test
Hi Tom, Bin,
Quoted 11 lines · Tom Rini
Quoted 8 lines · Bin Meng
Hi Tom,
Quoted 3 lines · Tom Rini
There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on.
Is this a potential buildman bug? +Simon
Quoted 7 lines
Kinda? Simon and I were talking about it on IRC, and taking this was his suggestion.
Quoted 1 line
My concern is this will increase the overall CI time
It shouldn't, since we only build a single board here. Further, it fixes or papers over CI failures where the job gets stuck.
Yes it should not affect performance.
It is a bit sad though. I think 'papers over' is accurate. I was actually expecting to get a Python error and then be able to debug it. I was not expecting that the bug would just go away.
I have not been able to repeat the problem locally. It is as if buildman hangs somewhere in the builder thread and/or the output never makes it back up to the main thread.
Regards,
Simon