dotnet / dotnet-buildtools-prereqs-docker

Used to maintain the Docker images hosted at the mcr.microsoft.com/dotnet-buildtools/prereqs image repository
MIT License
53 stars 99 forks source link

rootfs script failing for Ubuntu cross arm Dockerfile #1067

Closed mthalman closed 1 week ago

mthalman commented 1 month ago

Dockerfile: https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/main/src/ubuntu/22.04/cross/arm/Dockerfile

 > [builder 3/3] RUN /scripts/eng/common/cross/build-rootfs.sh arm jammy lldb14 --skipunmount:
93.57 I: Extracting procps...
93.59 I: Extracting sed...
93.60 I: Extracting sensible-utils...
93.60 I: Extracting sysvinit-utils...
93.61 I: Extracting tar...
93.62 I: Extracting usrmerge...
93.62 I: Extracting util-linux...
93.65 I: Extracting zlib1g...
93.69 W: Failure trying to run: chroot "/crossrootfs/arm" /bin/true
93.69 W: See /crossrootfs/arm/debootstrap/debootstrap.log for details

Failing build (internal link)

This is a regression from https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1065. But it's strange because it was passing in the PR build with those changes. But it's not working on the internal build.

cc @jkoritzinsky

jkoritzinsky commented 1 month ago

I have no idea why this would not fail in PR but would immediately start failing in CI.

lbussell commented 1 month ago

[Triage] @jkoritzinsky can you investigate this?

jkoritzinsky commented 1 month ago

I'll take a look and see what I can figure out.

mthalman commented 1 week ago

The fix in https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1105 isn't working.