Created
July 29, 2020 19:59
-
-
Save ChaosEngine/72a334c9b5db6ba878cf4c86a108a3b2 to your computer and use it in GitHub Desktop.
dotnet docker sdk alpine-3.12 test failing repro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run latest SDK alpine-3.12 image with dump capabilities | |
docker run -it --rm --cap-add=SYS_PTRACE mcr.microsoft.com/dotnet/core/sdk:3.1-alpine | |
#we'll be using git | |
apk add git | |
#some trivialities | |
alias ll='ls -lah --color' | |
cd /srv/ | |
#clone my repo with tests | |
git clone https://github.com/ChaosEngine/InkBall.git | |
#go to test project | |
cd InkBall/test/InkBall.Tests/ | |
dotnet restore -r alpine-x64 | |
dotnet build | |
#allow to make core dumps | |
export COMPlus_DbgEnableMiniDump=1 | |
#install needed tools :-) | |
dotnet tool install --global dotnet-gcdump | |
dotnet tool install --global dotnet-dump | |
export PATH="$PATH:/root/.dotnet/tools" | |
#finaly run the tests!!111one | |
dotnet test -v d | |
# | |
#it takes time to generatee dump | |
# | |
now analyze it | |
dotnet-dump analyze /tmp/coredump.* -c clrstack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result (one observerd):
Possible cause hides here ???