Skip to content

Conversation

@pks-t
Copy link
Member

@pks-t pks-t commented Feb 18, 2020

Our nightly builds are currently failing due to our ARM-based jobs.
These jobs crash immediately when entering the Docker container with a
exception thrown by Go's language runtime. As we're able to successfully
builds the Docker images in previous steps, it's unlikely to be a bug in
Docker itself. Instead, this exception is thrown by gosu(1), which is a
Go-based utility to drop privileges and run by our entrypoint.

Fix the issue by dropping gosu(1) in favor of su(1).

@pks-t pks-t force-pushed the pks/azure-fix-arm32 branch 3 times, most recently from 93420ac to af9b966 Compare February 18, 2020 14:26
Since migrating to Docker containings for our build and test
infrastructure, we do not use the "setup-linux.sh" script anymore.
Remove it to avoid any confusion.
The build step for our Docker images currently succeeds even if building
the Docker image fails due to missing && chains in the build script. Fix
this by adding them in.
Our two Docker build instructions for Xenial and Bionic have diverged a
bit. Let's re-synchronize them with each other to make them as similar
as possible.
@pks-t pks-t force-pushed the pks/azure-fix-arm32 branch 4 times, most recently from 9b41afc to 01a8340 Compare February 18, 2020 15:43
Our nightly builds are currently failing due to our ARM-based jobs.
These jobs crash immediately when entering the Docker container with a
exception thrown by Go's language runtime. As we're able to successfully
builds the Docker images in previous steps, it's unlikely to be a bug in
Docker itself. Instead, this exception is thrown by gosu(1), which is a
Go-based utility to drop privileges and run by our entrypoint.

Fix the issue by dropping gosu(1) in favor of sudo(1).
In our test case object::cache::fast_thread_rush, we're creating 100
concurrent threads opening a repository and reading objects from it.
This test actually fails on ARM32 with an out-of-memory error, which
isn't entirely unexpected.

Work around the issue by halving the number of threads.
@pks-t
Copy link
Member Author

pks-t commented Feb 18, 2020

Both our regular and nightly pipelines now succeed, as can be seen by the two checks passing, including ARM

@ethomson
Copy link
Member

LGTM :shipit:

@ethomson ethomson merged commit 1256b46 into master Feb 18, 2020
@ethomson ethomson mentioned this pull request Feb 18, 2020
3 tasks
@pks-t pks-t deleted the pks/azure-fix-arm32 branch February 18, 2020 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants