dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.04k stars 4.68k forks source link

Mono, CoreCLR builds on Linux, OSX x64 CI produce silent error in output #32100

Closed filipnavara closed 4 years ago

filipnavara commented 4 years ago

The following error is in the "Build product" log:

Ran 'curl https://dot.net/v1/dotnet-install.sh -isSLv --retry 10 --create-dirs -o /Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh' successfully.
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 1: HTTP/1.1: No such file or directory
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 2: Date:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 3: Server:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 4: Content-Length:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 5: Location:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 6: 
: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 7: HTTP/1.1: No such file or directory
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 8: Cache-Control:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 9: Content-Length:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 10: Content-Type:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 11: Last-Modified:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 12: Accept-Ranges:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 13: ETag:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 14: Server:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 15: X-Cache:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 16: Request-Context:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 17: X-Powered-By:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 18: X-Content-Type-Options:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 19: X-Azure-Ref-OriginShield:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 20: X-Azure-Ref:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 21: Date:: command not found
/Users/runner/runners/2.164.7/work/1/s/.dotnet/dotnet-install.sh: line 22: 
: command not found

Examples:

The build step is ultimately marked as successful.

0xfk0 commented 4 years ago

Same issue: #32118.

akoeplinger commented 4 years ago

/cc @dotnet/runtime-infrastructure

dagood commented 4 years ago

Arcade has the master copy of the file with the problem: https://github.com/dotnet/arcade/blob/f50767f96246063f33a6565d318f3adf9058bace/eng/common/tools.sh#L255

https://github.com/dotnet/runtime/issues/32118 has great detail why this occurs.

akoeplinger commented 4 years ago

Fixed by https://github.com/dotnet/arcade/pull/4843