Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix Azure line endings #62545

Closed

Conversation

Mark-Simulacrum
Copy link
Member

This is just a verification step for now, but I want to run it in a try builder to gauge whether it works or not. Presumably it'll fail, and we can then attempt to track down why.

r? @ghost

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 9, 2019

⌛ Trying commit 74a3e2d with merge 1a28770611236a2e08dbec2eb215731765d47306...

@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-09T22:48:44.8214854Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-07-09T22:48:44.8402581Z ##[command]git config gc.auto 0
2019-07-09T22:48:44.8475866Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-07-09T22:48:44.8529824Z ##[command]git config --get-all http.proxy
2019-07-09T22:48:44.8677082Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/62545/merge:refs/remotes/pull/62545/merge
---
2019-07-09T22:49:19.7007313Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-09T22:49:19.7007351Z 
2019-07-09T22:49:19.7007642Z   git checkout -b <new-branch-name>
2019-07-09T22:49:19.7007695Z 
2019-07-09T22:49:19.7007751Z HEAD is now at c9cb4b938 Merge 74a3e2d6d68ceecf2d06851609b910030c3cc86a into 0b680cfce544ff9a59d720020e397c4bf3346650
2019-07-09T22:49:19.7161800Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-09T22:49:19.7165298Z ==============================================================================
2019-07-09T22:49:19.7165366Z Task         : Bash
2019-07-09T22:49:19.7165435Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-09T22:50:13.8890987Z + return 0
2019-07-09T22:50:13.8891321Z + travis_time_finish
2019-07-09T22:50:13.8891549Z + return 0
2019-07-09T22:50:13.8974821Z ##[section]Finishing: Check out submodules (Unix)
2019-07-09T22:50:13.8991142Z ##[section]Starting: Verify line endings are LF
2019-07-09T22:50:13.8993998Z Task         : Bash
2019-07-09T22:50:13.8994044Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-09T22:50:13.8994127Z Version      : 3.151.2
2019-07-09T22:50:13.8994167Z Author       : Microsoft Corporation
2019-07-09T22:50:13.8994167Z Author       : Microsoft Corporation
2019-07-09T22:50:13.8994211Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-09T22:50:13.8994299Z ==============================================================================
2019-07-09T22:50:14.0432443Z Generating script.
2019-07-09T22:50:14.0460610Z ========================== Starting Command Output ===========================
2019-07-09T22:50:14.0479775Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/0ea7f6da-7d37-4a2e-b3ca-8ef436179f89.sh
2019-07-09T22:50:14.0540543Z filter.lfs.clean=git-lfs clean -- %f
2019-07-09T22:50:14.0541583Z filter.lfs.smudge=git-lfs smudge -- %f
2019-07-09T22:50:14.0542129Z filter.lfs.process=git-lfs filter-process
2019-07-09T22:50:14.0542459Z filter.lfs.required=true
2019-07-09T22:50:14.0542670Z core.autocrlf=false
2019-07-09T22:50:14.0542862Z core.repositoryformatversion=0
2019-07-09T22:50:14.0543094Z core.filemode=true
2019-07-09T22:50:14.0543290Z core.bare=false
2019-07-09T22:50:14.0543477Z core.logallrefupdates=true
2019-07-09T22:50:14.0544181Z remote.origin.url=***
2019-07-09T22:50:14.0544535Z remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
2019-07-09T22:50:14.0544630Z gc.auto=0
2019-07-09T22:50:14.0545214Z submodule.src/doc/edition-guide.active=true
2019-07-09T22:50:14.0546212Z submodule.src/doc/edition-guide.url=https://github.com/rust-lang-nursery/edition-guide.git
2019-07-09T22:50:14.0546810Z submodule.src/doc/embedded-book.active=true
2019-07-09T22:50:14.0547805Z submodule.src/doc/embedded-book.url=https://github.com/rust-embedded/book.git
2019-07-09T22:50:14.0548059Z submodule.src/doc/nomicon.active=true
2019-07-09T22:50:14.0548515Z submodule.src/doc/nomicon.url=https://github.com/rust-lang-nursery/nomicon.git
2019-07-09T22:50:14.0548731Z submodule.src/doc/reference.active=true
2019-07-09T22:50:14.0553411Z submodule.src/doc/reference.url=https://github.com/rust-lang-nursery/reference.git
2019-07-09T22:50:14.0553979Z submodule.src/doc/rustc-guide.active=true
2019-07-09T22:50:14.0554471Z submodule.src/doc/rustc-guide.url=***c-guide.git
2019-07-09T22:50:14.0554731Z submodule.src/stdsimd.active=true
2019-07-09T22:50:14.0555071Z submodule.src/stdsimd.url=https://github.com/rust-lang-nursery/stdsimd.git
2019-07-09T22:50:14.0555122Z submodule.src/tools/cargo.active=true
2019-07-09T22:50:14.0556253Z submodule.src/tools/cargo.url=https://github.com/rust-lang/cargo.git
2019-07-09T22:50:14.0556513Z submodule.src/tools/clippy.active=true
2019-07-09T22:50:14.0556906Z submodule.src/tools/clippy.url=https://github.com/rust-lang-nursery/rust-clippy.git
2019-07-09T22:50:14.0557194Z submodule.src/tools/miri.active=true
2019-07-09T22:50:14.0557549Z submodule.src/tools/miri.url=https://github.com/rust-lang/miri.git
2019-07-09T22:50:14.0557659Z submodule.src/tools/rls.active=true
2019-07-09T22:50:14.0558133Z submodule.src/tools/rls.url=https://github.com/rust-lang-nursery/rls.git
2019-07-09T22:50:14.0558612Z submodule.src/rust-installer.active=true
2019-07-09T22:50:14.0559191Z submodule.src/rust-installer.url=***-installer.git
2019-07-09T22:50:14.0591156Z submodule.src/tools/rustfmt.active=true
2019-07-09T22:50:14.0591587Z submodule.src/tools/rustfmt.url=https://github.com/rust-lang-nursery/rustfmt.git
2019-07-09T22:50:14.0683469Z ##[error]Bash exited with code '1'.
2019-07-09T22:50:14.0694902Z ##[section]Finishing: Verify line endings are LF
2019-07-09T22:50:14.0740000Z ==============================================================================
2019-07-09T22:50:14.0740061Z Task         : Get sources
2019-07-09T22:50:14.0740141Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2019-07-09T22:50:14.0740181Z Version      : 1.0.0

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-09T22:49:33.7386512Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-09T22:49:33.7386571Z 
2019-07-09T22:49:33.7386741Z   git checkout -b <new-branch-name>
2019-07-09T22:49:33.7386775Z 
2019-07-09T22:49:33.7387010Z HEAD is now at 1a2877061 Auto merge of #62545 - Mark-Simulacrum:azure-line-endings, r=<try>
2019-07-09T22:49:33.7528463Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-09T22:49:33.7533721Z ==============================================================================
2019-07-09T22:49:33.7533831Z Task         : Bash
2019-07-09T22:49:33.7533902Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-09T22:50:14.9702886Z + return 0
2019-07-09T22:50:14.9703034Z + travis_time_finish
2019-07-09T22:50:14.9703099Z + return 0
2019-07-09T22:50:14.9797677Z ##[section]Finishing: Check out submodules (Unix)
2019-07-09T22:50:14.9815856Z ##[section]Starting: Verify line endings are LF
2019-07-09T22:50:14.9818670Z Task         : Bash
2019-07-09T22:50:14.9818729Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-09T22:50:14.9818822Z Version      : 3.151.2
2019-07-09T22:50:14.9818874Z Author       : Microsoft Corporation
2019-07-09T22:50:14.9818874Z Author       : Microsoft Corporation
2019-07-09T22:50:14.9819100Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-09T22:50:14.9819186Z ==============================================================================
2019-07-09T22:50:15.8369777Z Generating script.
2019-07-09T22:50:15.8407709Z ========================== Starting Command Output ===========================
2019-07-09T22:50:15.8438952Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/405f8163-f8cc-473d-85a0-cb9bb732cd07.sh
2019-07-09T22:50:15.8523723Z filter.lfs.clean=git-lfs clean -- %f
2019-07-09T22:50:15.8524529Z filter.lfs.smudge=git-lfs smudge -- %f
2019-07-09T22:50:15.8525275Z filter.lfs.process=git-lfs filter-process
2019-07-09T22:50:15.8525923Z filter.lfs.required=true
2019-07-09T22:50:15.8526011Z core.autocrlf=false
2019-07-09T22:50:15.8526107Z core.repositoryformatversion=0
2019-07-09T22:50:15.8526163Z core.filemode=true
2019-07-09T22:50:15.8526302Z core.bare=false
2019-07-09T22:50:15.8526356Z core.logallrefupdates=true
2019-07-09T22:50:15.8526979Z remote.origin.url=https://github.com/rust-lang/rust
2019-07-09T22:50:15.8527081Z remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
2019-07-09T22:50:15.8527177Z gc.auto=0
2019-07-09T22:50:15.8527434Z submodule.src/doc/edition-guide.active=true
2019-07-09T22:50:15.8527777Z submodule.src/doc/edition-guide.url=https://github.com/rust-lang-nursery/edition-guide.git
2019-07-09T22:50:15.8528009Z submodule.src/doc/embedded-book.active=true
2019-07-09T22:50:15.8528295Z submodule.src/doc/embedded-book.url=https://github.com/rust-embedded/book.git
2019-07-09T22:50:15.8528370Z submodule.src/doc/nomicon.active=true
2019-07-09T22:50:15.8528657Z submodule.src/doc/nomicon.url=https://github.com/rust-lang-nursery/nomicon.git
2019-07-09T22:50:15.8559951Z submodule.src/doc/reference.active=true
2019-07-09T22:50:15.8560446Z submodule.src/doc/reference.url=https://github.com/rust-lang-nursery/reference.git
2019-07-09T22:50:15.8560715Z submodule.src/doc/rustc-guide.active=true
2019-07-09T22:50:15.8560978Z submodule.src/doc/rustc-guide.url=https://github.com/rust-lang/rustc-guide.git
2019-07-09T22:50:15.8561259Z submodule.src/stdsimd.active=true
2019-07-09T22:50:15.8561717Z submodule.src/stdsimd.url=https://github.com/rust-lang-nursery/stdsimd.git
2019-07-09T22:50:15.8562364Z submodule.src/tools/cargo.active=true
2019-07-09T22:50:15.8562721Z submodule.src/tools/cargo.url=https://github.com/rust-lang/cargo.git
2019-07-09T22:50:15.8562835Z submodule.src/tools/clippy.active=true
2019-07-09T22:50:15.8563147Z submodule.src/tools/clippy.url=https://github.com/rust-lang-nursery/rust-clippy.git
2019-07-09T22:50:15.8563264Z submodule.src/tools/miri.active=true
2019-07-09T22:50:15.8563541Z submodule.src/tools/miri.url=https://github.com/rust-lang/miri.git
2019-07-09T22:50:15.8563642Z submodule.src/tools/rls.active=true
2019-07-09T22:50:15.8563914Z submodule.src/tools/rls.url=https://github.com/rust-lang-nursery/rls.git
2019-07-09T22:50:15.8564203Z submodule.src/rust-installer.active=true
2019-07-09T22:50:15.8564523Z submodule.src/rust-installer.url=https://github.com/rust-lang/rust-installer.git
2019-07-09T22:50:15.8564619Z submodule.src/tools/rustfmt.active=true
2019-07-09T22:50:15.8564941Z submodule.src/tools/rustfmt.url=https://github.com/rust-lang-nursery/rustfmt.git
2019-07-09T22:50:15.8664537Z ##[error]Bash exited with code '1'.
2019-07-09T22:50:15.8678835Z ##[section]Finishing: Verify line endings are LF
2019-07-09T22:50:15.8740501Z ==============================================================================
2019-07-09T22:50:15.8740574Z Task         : Bash
2019-07-09T22:50:15.8740662Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-09T22:50:15.8740722Z Version      : 3.151.2
---
2019-07-09T22:50:16.0285308Z Script contents:
2019-07-09T22:50:16.0287447Z aws s3 cp --acl public-read cpu-usage.csv s3://$DEPLOY_BUCKET/rustc-builds/$BUILD_SOURCEVERSION/cpu-$SYSTEM_JOBNAME.csv
2019-07-09T22:50:16.0303714Z ========================== Starting Command Output ===========================
2019-07-09T22:50:16.0322588Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/c0c80c39-1588-4cd4-9054-2e826b1176f4.sh
2019-07-09T22:50:16.0412677Z /home/vsts/work/_temp/c0c80c39-1588-4cd4-9054-2e826b1176f4.sh: line 1: aws: command not found
2019-07-09T22:50:16.0445911Z ##[error]Bash exited with code '127'.
2019-07-09T22:50:16.0475008Z ##[section]Starting: Checkout
2019-07-09T22:50:16.0476943Z ==============================================================================
2019-07-09T22:50:16.0477063Z Task         : Get sources
2019-07-09T22:50:16.0477160Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 9, 2019

⌛ Trying commit 9adefc0 with merge d38d160...

bors added a commit that referenced this pull request Jul 9, 2019
Attempt to fix Azure line endings

This is just a verification step for now, but I want to run it in a try builder to gauge whether it works or not. Presumably it'll fail, and we can then attempt to track down why.

r? @ghost
@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit 8466875e444d6381e9944fbebe57a06d61c03c0b with merge 2819253d71d0b9f54374fd7c5301567eaf21a64f...

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit 1642e7bd8b752877f379723ed04ed85fc0536856 with merge 4277186abe016f30165edbc76438a100b6467529...

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit ed695ac7cb3ac26bae24543160948e01cc91defb with merge f088fcab5e51dcf6c1733fbb6dac1c7d3c879164...

@Mark-Simulacrum

This comment has been minimized.

@bors

This comment has been minimized.

@Mark-Simulacrum

This comment has been minimized.

@bors

This comment has been minimized.

bors added a commit that referenced this pull request Jul 10, 2019
Attempt to fix Azure line endings

This is just a verification step for now, but I want to run it in a try builder to gauge whether it works or not. Presumably it'll fail, and we can then attempt to track down why.

r? @ghost
@rust-highfive

This comment has been minimized.

@bors

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit 19e1e989c315445b6f3ca8a4cb3cd83d2bbd0111 with merge ca9d18df291f525e10ea726703cb616bf35797b9...

@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T11:45:55.0034818Z Script contents:
2019-07-10T11:45:55.0035081Z git config --replace-all --system core.autocrlf false
2019-07-10T11:45:55.0035262Z ========================== Starting Command Output ===========================
2019-07-10T11:45:55.0037653Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/1d729077-80c5-442a-9d5b-bfda49bdec4c.sh
2019-07-10T11:45:55.0759383Z error: could not lock config file /etc/gitconfig: Permission denied
2019-07-10T11:45:55.0950316Z ##[error]Bash exited with code '255'.
2019-07-10T11:45:55.1324365Z ##[section]Starting: Checkout
2019-07-10T11:45:55.1326144Z ==============================================================================
2019-07-10T11:45:55.1326221Z Task         : Get sources
2019-07-10T11:45:55.1326278Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors
Copy link
Contributor

bors commented Jul 10, 2019

💔 Test failed - checks-azure

@Mark-Simulacrum
Copy link
Member Author

Show environment variables: file:C:/Program Files/Git/mingw64/etc/gitconfig core.autocrlf=false
Ensure build on C:/: file:C:/agents/2.154.1/externals/git/mingw64/etc/gitconfig core.autocrlf=true

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit 470d0ff with merge 4b32b5c...

bors added a commit that referenced this pull request Jul 10, 2019
Attempt to fix Azure line endings

This is just a verification step for now, but I want to run it in a try builder to gauge whether it works or not. Presumably it'll fail, and we can then attempt to track down why.

r? @ghost
@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T12:46:51.2165811Z Script contents:
2019-07-10T12:46:51.2166456Z git config --replace-all --system core.autocrlf false
2019-07-10T12:46:51.2188535Z ========================== Starting Command Output ===========================
2019-07-10T12:46:51.2211252Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/b6268684-34a0-4894-9880-ce9afcdd5744.sh
2019-07-10T12:46:51.4698212Z error: could not lock config file /etc/gitconfig: Permission denied
2019-07-10T12:46:51.4828889Z ##[error]Bash exited with code '255'.
2019-07-10T12:46:51.5215950Z ##[section]Starting: Checkout
2019-07-10T12:46:51.5218032Z ==============================================================================
2019-07-10T12:46:51.5218086Z Task         : Get sources
2019-07-10T12:46:51.5218132Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T12:46:53.3259740Z Generating script.
2019-07-10T12:46:53.3260501Z Script contents:
2019-07-10T12:46:53.3260821Z git config --replace-all --system core.autocrlf false
2019-07-10T12:46:53.3261090Z ========================== Starting Command Output ===========================
2019-07-10T12:46:53.3263172Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/2aefb8ab-a8c2-4cb3-964b-71ad59f8d0b3.sh
2019-07-10T12:46:53.5238919Z error: could not lock config file /etc/gitconfig: Permission denied
2019-07-10T12:46:53.5367681Z ##[error]Bash exited with code '255'.
2019-07-10T12:46:53.5961003Z ##[section]Starting: Upload CPU usage statistics
2019-07-10T12:46:53.5964350Z ==============================================================================
2019-07-10T12:46:53.5964446Z Task         : Bash
2019-07-10T12:46:53.5964510Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-10T12:46:53.7384600Z Script contents:
2019-07-10T12:46:53.7385599Z aws s3 cp --acl public-read cpu-usage.csv s3://$DEPLOY_BUCKET/rustc-builds/$BUILD_SOURCEVERSION/cpu-$SYSTEM_JOBNAME.csv
2019-07-10T12:46:53.7406995Z ========================== Starting Command Output ===========================
2019-07-10T12:46:53.7430567Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/f1c5426d-a16c-4874-a80c-981d25d6388c.sh
2019-07-10T12:46:53.7523816Z /home/vsts/work/_temp/f1c5426d-a16c-4874-a80c-981d25d6388c.sh: line 1: aws: command not found
2019-07-10T12:46:53.7563098Z ##[error]Bash exited with code '127'.
2019-07-10T12:46:53.7600597Z ##[section]Starting: Checkout
2019-07-10T12:46:53.7603455Z ==============================================================================
2019-07-10T12:46:53.7603534Z Task         : Get sources
2019-07-10T12:46:53.7603645Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors
Copy link
Contributor

bors commented Jul 10, 2019

💔 Test failed - checks-azure

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit bb6ce875d0a460849cc33a786774c8a8b68dc5c1 with merge 98a50f0f0b6fdc045ec1b645b1bda03feae02267...

@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T13:02:56.7753708Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-07-10T13:02:56.7960061Z ##[command]git config gc.auto 0
2019-07-10T13:02:56.8042925Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-07-10T13:02:56.8106363Z ##[command]git config --get-all http.proxy
2019-07-10T13:02:56.8246873Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/62545/merge:refs/remotes/pull/62545/merge
---
2019-07-10T13:03:32.5462084Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-10T13:03:32.5462118Z 
2019-07-10T13:03:32.5462348Z   git checkout -b <new-branch-name>
2019-07-10T13:03:32.5462382Z 
2019-07-10T13:03:32.5462432Z HEAD is now at 4c0262190 Merge bb6ce875d0a460849cc33a786774c8a8b68dc5c1 into d4e15655092d1bdae79619eb0ff2c3cb5468fc36
2019-07-10T13:03:32.5608774Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-10T13:03:32.5612173Z ==============================================================================
2019-07-10T13:03:32.5612235Z Task         : Bash
2019-07-10T13:03:32.5612303Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-10T13:03:33.1739797Z 320 ./src/librustc/mir
2019-07-10T13:03:33.1740322Z sort: write failed: 'standard output': Broken pipe
2019-07-10T13:03:33.1740557Z sort: write error
2019-07-10T13:03:33.1791835Z ##[section]Finishing: Show disk usage
2019-07-10T13:03:33.1846544Z ##[section]Starting: Disable git automatic line ending conversion (on C:/)
2019-07-10T13:03:33.1849472Z Task         : Bash
2019-07-10T13:03:33.1849521Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:03:33.1849568Z Version      : 3.151.2
2019-07-10T13:03:33.1849623Z Author       : Microsoft Corporation
2019-07-10T13:03:33.1849623Z Author       : Microsoft Corporation
2019-07-10T13:03:33.1849674Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-10T13:03:33.1849728Z ==============================================================================
2019-07-10T13:03:33.3193613Z Generating script.
2019-07-10T13:03:33.3205477Z Script contents:
2019-07-10T13:03:33.3205930Z git config --replace-all --global core.autocrlf false
2019-07-10T13:03:33.3226862Z ========================== Starting Command Output ===========================
2019-07-10T13:03:33.3248780Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/164f91fa-ebff-4a40-902d-dd21be2cb631.sh
2019-07-10T13:03:33.3395605Z ##[section]Finishing: Disable git automatic line ending conversion (on C:/)
2019-07-10T13:03:33.3440998Z ==============================================================================
2019-07-10T13:03:33.3441063Z Task         : Bash
2019-07-10T13:03:33.3441165Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:03:33.3441213Z Version      : 3.151.2
---
2019-07-10T13:04:29.4907327Z + return 0
2019-07-10T13:04:29.4907530Z + travis_time_finish
2019-07-10T13:04:29.4907680Z + return 0
2019-07-10T13:04:29.4994513Z ##[section]Finishing: Check out submodules (Unix)
2019-07-10T13:04:29.5010856Z ##[section]Starting: Verify line endings are LF
2019-07-10T13:04:29.5013921Z Task         : Bash
2019-07-10T13:04:29.5014018Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:04:29.5014066Z Version      : 3.151.2
2019-07-10T13:04:29.5014111Z Author       : Microsoft Corporation
2019-07-10T13:04:29.5014111Z Author       : Microsoft Corporation
2019-07-10T13:04:29.5014162Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-10T13:04:29.5014264Z ==============================================================================
2019-07-10T13:04:29.6545505Z Generating script.
2019-07-10T13:04:29.6561566Z ========================== Starting Command Output ===========================
2019-07-10T13:04:29.6572839Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/39233851-93ac-4686-ab08-db3243358d4f.sh
2019-07-10T13:04:29.6649718Z file:/etc/gitconfig filter.lfs.clean=git-lfs clean -- %f
2019-07-10T13:04:29.6649990Z file:/etc/gitconfig filter.lfs.smudge=git-lfs smudge -- %f
2019-07-10T13:04:29.6650241Z file:/etc/gitconfig filter.lfs.process=git-lfs filter-process
2019-07-10T13:04:29.6650329Z file:/etc/gitconfig filter.lfs.required=true
2019-07-10T13:04:29.6650371Z file:/home/vsts/.gitconfig core.autocrlf=false
2019-07-10T13:04:29.6650453Z file:.git/config core.repositoryformatversion=0
2019-07-10T13:04:29.6650495Z file:.git/config core.filemode=true
2019-07-10T13:04:29.6650535Z file:.git/config core.bare=false
2019-07-10T13:04:29.6650615Z file:.git/config core.logallrefupdates=true
2019-07-10T13:04:29.6650903Z file:.git/config remote.origin.url=***
2019-07-10T13:04:29.6650956Z file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
2019-07-10T13:04:29.6651040Z file:.git/config gc.auto=0
2019-07-10T13:04:29.6651258Z file:.git/config submodule.src/doc/edition-guide.active=true
2019-07-10T13:04:29.6651494Z file:.git/config submodule.src/doc/edition-guide.url=https://github.com/rust-lang-nursery/edition-guide.git
2019-07-10T13:04:29.6651746Z file:.git/config submodule.src/doc/embedded-book.active=true
2019-07-10T13:04:29.6651968Z file:.git/config submodule.src/doc/embedded-book.url=https://github.com/rust-embedded/book.git
2019-07-10T13:04:29.6652190Z file:.git/config submodule.src/doc/nomicon.active=true
2019-07-10T13:04:29.6652486Z file:.git/config submodule.src/doc/nomicon.url=https://github.com/rust-lang-nursery/nomicon.git
2019-07-10T13:04:29.6652534Z file:.git/config submodule.src/doc/reference.active=true
2019-07-10T13:04:29.6652751Z file:.git/config submodule.src/doc/reference.url=https://github.com/rust-lang-nursery/reference.git
2019-07-10T13:04:29.6654103Z file:.git/config submodule.src/doc/rustc-guide.active=true
2019-07-10T13:04:29.6654519Z file:.git/config submodule.src/doc/rustc-guide.url=***c-guide.git
2019-07-10T13:04:29.6654650Z file:.git/config submodule.src/stdsimd.active=true
2019-07-10T13:04:29.6654973Z file:.git/config submodule.src/stdsimd.url=https://github.com/rust-lang-nursery/stdsimd.git
2019-07-10T13:04:29.6655035Z file:.git/config submodule.src/tools/cargo.active=true
2019-07-10T13:04:29.6655348Z file:.git/config submodule.src/tools/cargo.url=https://github.com/rust-lang/cargo.git
2019-07-10T13:04:29.6655421Z file:.git/config submodule.src/tools/clippy.active=true
2019-07-10T13:04:29.6655708Z file:.git/config submodule.src/tools/clippy.url=https://github.com/rust-lang-nursery/rust-clippy.git
2019-07-10T13:04:29.6655818Z file:.git/config submodule.src/tools/miri.active=true
2019-07-10T13:04:29.6656087Z file:.git/config submodule.src/tools/miri.url=https://github.com/rust-lang/miri.git
2019-07-10T13:04:29.6656145Z file:.git/config submodule.src/tools/rls.active=true
2019-07-10T13:04:29.6656458Z file:.git/config submodule.src/tools/rls.url=https://github.com/rust-lang-nursery/rls.git
2019-07-10T13:04:29.6656707Z file:.git/config submodule.src/rust-installer.active=true
2019-07-10T13:04:29.6657163Z file:.git/config submodule.src/rust-installer.url=***-installer.git
2019-07-10T13:04:29.6657448Z file:.git/config submodule.src/tools/rustfmt.active=true
2019-07-10T13:04:29.6657885Z file:.git/config submodule.src/tools/rustfmt.url=https://github.com/rust-lang-nursery/rustfmt.git
2019-07-10T13:04:29.6658073Z + git config --list --show-origin
2019-07-10T13:04:29.6658320Z + dos2unix -ih Cargo.lock src/tools/rust-installer/install-template.sh
2019-07-10T13:04:29.6658558Z /home/vsts/work/_temp/39233851-93ac-4686-ab08-db3243358d4f.sh: line 3: dos2unix: command not found
2019-07-10T13:04:29.6658760Z ++ dos2unix -ic Cargo.lock src/tools/rust-installer/install-template.sh
2019-07-10T13:04:29.6659035Z /home/vsts/work/_temp/39233851-93ac-4686-ab08-db3243358d4f.sh: line 4: dos2unix: command not found
2019-07-10T13:04:29.6659080Z + endings=
2019-07-10T13:04:29.6659229Z + test -n ''
2019-07-10T13:04:29.6782791Z ##[error]Bash exited with code '1'.
2019-07-10T13:04:29.6797152Z ##[section]Finishing: Verify line endings are LF
2019-07-10T13:04:29.6852478Z ==============================================================================
2019-07-10T13:04:29.6852725Z Task         : Get sources
2019-07-10T13:04:29.6852774Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2019-07-10T13:04:29.6852810Z Version      : 1.0.0

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Collaborator

Your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T13:03:26.2406743Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-10T13:03:26.2406809Z 
2019-07-10T13:03:26.2407020Z   git checkout -b <new-branch-name>
2019-07-10T13:03:26.2407095Z 
2019-07-10T13:03:26.2407372Z HEAD is now at 98a50f0f0 Auto merge of #62545 - Mark-Simulacrum:azure-line-endings, r=<try>
2019-07-10T13:03:26.2595963Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-10T13:03:26.2599245Z ==============================================================================
2019-07-10T13:03:26.2599346Z Task         : Bash
2019-07-10T13:03:26.2599415Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-10T13:03:26.8522792Z 320 ./src/librustc/mir
2019-07-10T13:03:26.8523092Z sort: write failed: 'standard output': Broken pipe
2019-07-10T13:03:26.8523178Z sort: write error
2019-07-10T13:03:26.8594627Z ##[section]Finishing: Show disk usage
2019-07-10T13:03:26.8704760Z ##[section]Starting: Disable git automatic line ending conversion (on C:/)
2019-07-10T13:03:26.8708044Z Task         : Bash
2019-07-10T13:03:26.8708121Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:03:26.8708185Z Version      : 3.151.2
2019-07-10T13:03:26.8708272Z Author       : Microsoft Corporation
2019-07-10T13:03:26.8708272Z Author       : Microsoft Corporation
2019-07-10T13:03:26.8708468Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-10T13:03:26.8708569Z ==============================================================================
2019-07-10T13:03:27.0117088Z Generating script.
2019-07-10T13:03:27.0131770Z Script contents:
2019-07-10T13:03:27.0132141Z git config --replace-all --global core.autocrlf false
2019-07-10T13:03:27.0151526Z ========================== Starting Command Output ===========================
2019-07-10T13:03:27.0179724Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/e161d3b1-7f24-4374-ac05-92069e6ff9b7.sh
2019-07-10T13:03:27.0342466Z ##[section]Finishing: Disable git automatic line ending conversion (on C:/)
2019-07-10T13:03:27.0404599Z ==============================================================================
2019-07-10T13:03:27.0404730Z Task         : Bash
2019-07-10T13:03:27.0404801Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:03:27.0404935Z Version      : 3.151.2
---
2019-07-10T13:04:24.1275590Z + return 0
2019-07-10T13:04:24.1343458Z + travis_time_finish
2019-07-10T13:04:24.1343818Z + return 0
2019-07-10T13:04:24.1365476Z ##[section]Finishing: Check out submodules (Unix)
2019-07-10T13:04:24.1388929Z ##[section]Starting: Verify line endings are LF
2019-07-10T13:04:24.1392021Z Task         : Bash
2019-07-10T13:04:24.1392084Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:04:24.1392192Z Version      : 3.151.2
2019-07-10T13:04:24.1392288Z Author       : Microsoft Corporation
2019-07-10T13:04:24.1392288Z Author       : Microsoft Corporation
2019-07-10T13:04:24.1392360Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-10T13:04:24.1392477Z ==============================================================================
2019-07-10T13:04:24.2793606Z Generating script.
2019-07-10T13:04:24.2827831Z ========================== Starting Command Output ===========================
2019-07-10T13:04:24.2848887Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/50c96662-9220-4369-b10e-e7f32a8f2a70.sh
2019-07-10T13:04:24.2925447Z file:/etc/gitconfig filter.lfs.clean=git-lfs clean -- %f
2019-07-10T13:04:24.2926240Z file:/etc/gitconfig filter.lfs.smudge=git-lfs smudge -- %f
2019-07-10T13:04:24.2926944Z file:/etc/gitconfig filter.lfs.process=git-lfs filter-process
2019-07-10T13:04:24.2927275Z file:/etc/gitconfig filter.lfs.required=true
2019-07-10T13:04:24.2927574Z file:/home/vsts/.gitconfig core.autocrlf=false
2019-07-10T13:04:24.2927810Z file:.git/config core.repositoryformatversion=0
2019-07-10T13:04:24.2928090Z file:.git/config core.filemode=true
2019-07-10T13:04:24.2928359Z file:.git/config core.bare=false
2019-07-10T13:04:24.2928601Z file:.git/config core.logallrefupdates=true
2019-07-10T13:04:24.2929154Z file:.git/config remote.origin.url=https://github.com/rust-lang/rust
2019-07-10T13:04:24.2929471Z file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
2019-07-10T13:04:24.2929765Z file:.git/config gc.auto=0
2019-07-10T13:04:24.2930245Z file:.git/config submodule.src/doc/edition-guide.active=true
2019-07-10T13:04:24.2930945Z file:.git/config submodule.src/doc/edition-guide.url=https://github.com/rust-lang-nursery/edition-guide.git
2019-07-10T13:04:24.2931553Z file:.git/config submodule.src/doc/embedded-book.active=true
2019-07-10T13:04:24.2932154Z file:.git/config submodule.src/doc/embedded-book.url=https://github.com/rust-embedded/book.git
2019-07-10T13:04:24.2932509Z file:.git/config submodule.src/doc/nomicon.active=true
2019-07-10T13:04:24.2933308Z file:.git/config submodule.src/doc/nomicon.url=https://github.com/rust-lang-nursery/nomicon.git
2019-07-10T13:04:24.2933785Z file:.git/config submodule.src/doc/reference.active=true
2019-07-10T13:04:24.2934342Z file:.git/config submodule.src/doc/reference.url=https://github.com/rust-lang-nursery/reference.git
2019-07-10T13:04:24.2934961Z file:.git/config submodule.src/doc/rustc-guide.active=true
2019-07-10T13:04:24.2935576Z file:.git/config submodule.src/doc/rustc-guide.url=https://github.com/rust-lang/rustc-guide.git
2019-07-10T13:04:24.2935889Z file:.git/config submodule.src/stdsimd.active=true
2019-07-10T13:04:24.2936473Z file:.git/config submodule.src/stdsimd.url=https://github.com/rust-lang-nursery/stdsimd.git
2019-07-10T13:04:24.2937054Z file:.git/config submodule.src/tools/cargo.active=true
2019-07-10T13:04:24.2937835Z file:.git/config submodule.src/tools/cargo.url=https://github.com/rust-lang/cargo.git
2019-07-10T13:04:24.2938378Z file:.git/config submodule.src/tools/clippy.active=true
2019-07-10T13:04:24.2938921Z file:.git/config submodule.src/tools/clippy.url=https://github.com/rust-lang-nursery/rust-clippy.git
2019-07-10T13:04:24.2939278Z file:.git/config submodule.src/tools/miri.active=true
2019-07-10T13:04:24.2939799Z file:.git/config submodule.src/tools/miri.url=https://github.com/rust-lang/miri.git
2019-07-10T13:04:24.2940548Z file:.git/config submodule.src/tools/rls.active=true
2019-07-10T13:04:24.2941114Z file:.git/config submodule.src/tools/rls.url=https://github.com/rust-lang-nursery/rls.git
2019-07-10T13:04:24.2941818Z file:.git/config submodule.src/rust-installer.active=true
2019-07-10T13:04:24.2943314Z file:.git/config submodule.src/rust-installer.url=https://github.com/rust-lang/rust-installer.git
2019-07-10T13:04:24.2944140Z file:.git/config submodule.src/tools/rustfmt.active=true
2019-07-10T13:04:24.2945121Z file:.git/config submodule.src/tools/rustfmt.url=https://github.com/rust-lang-nursery/rustfmt.git
2019-07-10T13:04:24.2945748Z + git config --list --show-origin
2019-07-10T13:04:24.2946355Z + dos2unix -ih Cargo.lock src/tools/rust-installer/install-template.sh
2019-07-10T13:04:24.2946968Z /home/vsts/work/_temp/50c96662-9220-4369-b10e-e7f32a8f2a70.sh: line 3: dos2unix: command not found
2019-07-10T13:04:24.2947587Z ++ dos2unix -ic Cargo.lock src/tools/rust-installer/install-template.sh
2019-07-10T13:04:24.2948184Z /home/vsts/work/_temp/50c96662-9220-4369-b10e-e7f32a8f2a70.sh: line 4: dos2unix: command not found
2019-07-10T13:04:24.2948542Z + endings=
2019-07-10T13:04:24.2949016Z + test -n ''
2019-07-10T13:04:24.3089777Z ##[error]Bash exited with code '1'.
2019-07-10T13:04:24.3103080Z ##[section]Finishing: Verify line endings are LF
2019-07-10T13:04:24.3163788Z ==============================================================================
2019-07-10T13:04:24.3163923Z Task         : Bash
2019-07-10T13:04:24.3163993Z Description  : Run a Bash script on macOS, Linux, or Windows
2019-07-10T13:04:24.3164105Z Version      : 3.151.2
2019-07-10T13:04:24.3164105Z Version      : 3.151.2
2019-07-10T13:04:24.3164169Z Author       : Microsoft Corporation
2019-07-10T13:04:24.3164288Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2019-07-10T13:04:24.3164376Z ==============================================================================
2019-07-10T13:04:24.4679372Z Generating script.
2019-07-10T13:04:24.4692761Z Script contents:
2019-07-10T13:04:24.4695142Z aws s3 cp --acl public-read cpu-usage.csv s3://$DEPLOY_BUCKET/rustc-builds/$BUILD_SOURCEVERSION/cpu-$SYSTEM_JOBNAME.csv
2019-07-10T13:04:24.4711573Z ========================== Starting Command Output ===========================
2019-07-10T13:04:24.4731037Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/8cf62fae-4966-4064-a2d3-db586cc71915.sh
2019-07-10T13:04:24.4842067Z /home/vsts/work/_temp/8cf62fae-4966-4064-a2d3-db586cc71915.sh: line 1: aws: command not found
2019-07-10T13:04:24.4909896Z ##[error]Bash exited with code '127'.
2019-07-10T13:04:24.4941396Z ##[section]Starting: Checkout
2019-07-10T13:04:24.4944396Z ==============================================================================
2019-07-10T13:04:24.4944491Z Task         : Get sources
2019-07-10T13:04:24.4944611Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors
Copy link
Contributor

bors commented Jul 10, 2019

💔 Test failed - checks-azure

@Mark-Simulacrum
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jul 10, 2019

⌛ Trying commit 7717ca59067e3bcb621616e0101a3092f3e2f3ad with merge f63a9ebba24fc350d683a8b67a471b5884b87832...

During installation of mingw, at least, the git directories change, so
we need to reset the core.autocrlf config to false.

Once we finish checking out submodules, check that the line endings are
\n and not \r\n.
bors added a commit that referenced this pull request Jul 10, 2019
…bini

Ensure that checkout is with \n line endings

During installation of mingw, at least, the git directories change, so
we need to reset the core.autocrlf config to false.

Once we finish checking out submodules, check that the line endings are
\n and not \r\n.

Artifacts were built via the last try on #62545; I've manually confirmed that `install.sh` appears to no longer have `\r\n` line endings.

Fixes #62276.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants