Repository navigation
Closed
Closed
Copy link
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-x64area-Infrastructureblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)
Description
Error Blob
Is this owned by dnceng? Asking in case I need to transfer it to their repo.
{
"ErrorMessage": "Format job found errors, please apply the format patch.",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}Reproduction Steps
- PR: [manual] Merge release/8.0-staging into release/8.0 #95148
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=478601
- Queue:
Formatting linux x64in outerloop - Job: https://dev.azure.com/dnceng-public/public/_build/results?buildId=478601&view=logs&j=32acbff2-0723-5398-e8b4-f0caab88bd5c&t=51192a91-fd4c-58e8-0311-33be64886f64&l=175
- Output:
MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
Restored /tmp/tmpgfcnoyaq/jitutils/src/instructions-retired-explorer/instructions-retired-explorer.csproj (in 716 ms).
instructions-retired-explorer -> /tmp/tmpgfcnoyaq/jitutils/src/instructions-retired-explorer/bin/Release/net6.0/linux-x64/instructions-retired-explorer.dll
instructions-retired-explorer -> /tmp/tmpgfcnoyaq/jitutils/bin/
Adding /tmp/tmpgfcnoyaq/jitutils/bin to PATH
Done setting up!
[22:49:48] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Checked -o linux -c /__w/1/s/src/coreclr --verbose --projects dll
error: invalid option -c
error: invalid option -c
[22:49:48] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Checked -o linux -c /__w/1/s/src/coreclr --verbose --projects standalone
error: invalid option -c
error: invalid option -c
[22:49:48] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Checked -o linux -c /__w/1/s/src/coreclr --verbose --projects crossgen
error: invalid option -c
error: invalid option -c
[22:49:48] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Debug -o linux -c /__w/1/s/src/coreclr --verbose --projects dll
error: invalid option -c
error: invalid option -c
[22:49:48] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Debug -o linux -c /__w/1/s/src/coreclr --verbose --projects standalone
error: invalid option -c
error: invalid option -c
[22:49:49] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Debug -o linux -c /__w/1/s/src/coreclr --verbose --projects crossgen
error: invalid option -c
error: invalid option -c
[22:49:49] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Release -o linux -c /__w/1/s/src/coreclr --verbose --projects dll
error: invalid option -c
error: invalid option -c
[22:49:49] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Release -o linux -c /__w/1/s/src/coreclr --verbose --projects standalone
error: invalid option -c
error: invalid option -c
[22:49:49] Running: /tmp/tmpgfcnoyaq/jitutils/bin/jit-format -a x64 -b Release -o linux -c /__w/1/s/src/coreclr --verbose --projects crossgen
error: invalid option -c
error: invalid option -c
[22:49:49] Creating patch file /__w/1/s/src/coreclr/format.patch
[22:49:49] Deleting /tmp/tmpgfcnoyaq/bootstrap.sh
[22:49:49] There were errors in formatting. Please run jit-format locally with:
[22:49:49] jit-format -a x64 -b Checked -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects dll
jit-format -a x64 -b Checked -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects standalone
jit-format -a x64 -b Checked -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects crossgen
jit-format -a x64 -b Debug -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects dll
jit-format -a x64 -b Debug -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects standalone
jit-format -a x64 -b Debug -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects crossgen
jit-format -a x64 -b Release -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects dll
jit-format -a x64 -b Release -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects standalone
jit-format -a x64 -b Release -o linux -c <absolute-path-to-coreclr> --verbose --fix --projects crossgen
[22:49:49]
Or download and apply generated patch:
[22:49:49] 1. From the GitHub 'Checks' page on the Pull Request, with the failing Formatting
[22:49:49] job selected (e.g., 'Formatting Linux x64'), click the 'View more details on
[22:49:49] Azure Pipelines' link.
[22:49:49] 2. Select the '1 artifact produced' at the end of the log.
[22:49:49] 3. Artifacts are located in alphabetical order, target artifact name is
[22:49:49] 'format.<OS>.<architecture>.patch.'. Find appropriate format patch artifact.
[22:49:49] 4. On the right side of the artifact there is a 'More actions' menu shown by a
[22:49:49] vertical three-dot symbol. Click on it and select 'Download artifacts' option.
[22:49:49] 5. Unzip the patch file.
[22:49:49] 6. git apply format.patch
##[error](NETCORE_ENGINEERING_TELEMETRY=Build) Format job found errors, please apply the format patch.
##[error]Bash exited with code '1'.
Finishing: Run jitformat.py
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=478601
Error message validated: Format job found errors, please apply the format patch.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/23/2023 2:31:07 AM UTC
Report
| Build | Definition | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 491504 | dotnet/runtime | Run jitformat.py | Log | #89472 |
| 490745 | dotnet/runtime | Run jitformat.py | Log | #95700 |
| 489989 | dotnet/runtime | Run jitformat.py | Log | #95665 |
| 489637 | dotnet/runtime | Run jitformat.py | Log | #94684 |
| 488765 | dotnet/runtime | Run jitformat.py | Log | #95618 |
| 488349 | dotnet/runtime | Run jitformat.py | Log | #95565 |
| 487515 | dotnet/runtime | Run jitformat.py | Log | #95565 |
| 484641 | dotnet/runtime | Run jitformat.py | Log | |
| 484007 | dotnet/runtime | Run jitformat.py | Log | #94684 |
| 482667 | dotnet/runtime | Run jitformat.py | Log | #94684 |
| 482611 | dotnet/runtime | Run jitformat.py | Log | #95337 |
| 481552 | dotnet/runtime | Run jitformat.py | Log | |
| 481483 | dotnet/runtime | Run jitformat.py | Log | #94684 |
| 480903 | dotnet/runtime | Run jitformat.py | Log | #95127 |
| 479832 | dotnet/runtime | Run jitformat.py | Log | #95127 |
| 479340 | dotnet/runtime | Run jitformat.py | Log | #95127 |
| 479210 | dotnet/runtime | Run jitformat.py | Log | #95127 |
| 479006 | dotnet/runtime | Run jitformat.py | Log | #95127 |
| 478984 | dotnet/runtime | Run jitformat.py | Log | #95128 |
| 478764 | dotnet/runtime | Run jitformat.py | Log | |
| 478601 | dotnet/runtime | Run jitformat.py | Log | |
| 478317 | dotnet/runtime | Run jitformat.py | Log | #95127 |
| 478299 | dotnet/runtime | Run jitformat.py | Log | |
| 478239 | dotnet/runtime | Run jitformat.py | Log | #95128 |
| 477803 | dotnet/runtime | Run jitformat.py | Log | |
| 477736 | dotnet/runtime | Run jitformat.py | Log | |
| 477638 | dotnet/runtime | Run jitformat.py | Log | |
| 477552 | dotnet/runtime | Run jitformat.py | Log |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 7 | 28 |
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-x64area-Infrastructureblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)
Activity
akoeplinger commentedon Nov 23, 2023
No this is owned by the JIT team, /cc @dotnet/jit-contrib
We should probably only run the format job on main and disable it on release branches.
BruceForstall commentedon Nov 26, 2023
@carlossanlop Which branch or branches should I create a PR for to fix this? Namely, to disable the formatting job for servicing branches.
I did this for release/6.0 with #61485
We probably need to do this for both 7.0 and 8.0.
(Maybe we could use a condition like
runtime/eng/pipelines/runtime.yml
Lines 185 to 193 in 882c60c
BruceForstall commentedon Nov 29, 2023
@carlossanlop ping
carlossanlop commentedon Nov 29, 2023
I missed the first notification, sorry.
So I found this issue in 8.0, as stated by the title. But looking at the autogenerated KnownBuildError table containing all the detected failures, this problem is affecting mostly main. Since you already fixed this in 6.0, then it means the issue could also be in 7.0 (I don't have proof though).
So: main, 8.0, 7.0.
BruceForstall commentedon Nov 29, 2023
@carlossanlop 'main' is ok (in any case, if there are problems there, they should be fixed, not have the job disabled).
As for 8.0/7.0, the question is: what is the exact branch name I should use? I get lost as to which branch names we use for ongoing fixes.
carlossanlop commentedon Nov 29, 2023
Ah! For servicing changes, always target the staging branches: release/8.0-staging, release/7.0-staging, release/6.0-staging. Those branches are always open and you have permission to merge the PR when it's ready.
The base branches (release/X.0) are restricted to only admins.