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

[NETSDKE2E][Regression]Failed to run format project with "test.cmd" command. #2206

Open
vdanche opened this issue Aug 22, 2024 · 4 comments
Open

Comments

@vdanche
Copy link
Member

vdanche commented Aug 22, 2024

Steps to Reproduce
1.install Net 9.0.100-rc.1.24421.9 SDK on window11-x64.
2.Checkout the dotnet-format repo. git clone https://github.com/dotnet/format.git
3.Update the gobal.json by removing the "sdk" configuration.
before
image

After
image

and then update the tool version to SDK version that you test
image

Add add /tlp:verbosity=q in tools.ps1(C:\xxx\xxx\format\eng\common)
image

4.Run Restore.cmd.
5.Run Build.cmd.
6.Run Test.cmd /v:d.

Expected Result:
Run successfully.
Actual Result:
Restore.cmd successfully
Build.cmd successfully
But
Test.cmd failed
image

note: we get binlog via Test.cmd /v:d /bl:out.binlog and log file has been attached.
image
outbin.zip

dotnet --info:
.NET SDK:
Version: 9.0.100-rc.1.24421.9
Commit: 1854762845
Workload version: 9.0.100-manifests.7c2e5dfe
MSBuild version: 17.12.0-preview-24421-01+c07c23be2

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26244
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-rc.1.24421.9\

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.

Host:
Version: 9.0.0-rc.1.24420.11
Architecture: x64
Commit: static

.NET SDKs installed:
9.0.100-rc.1.24421.9 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-rc.1.24416.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-rc.1.24420.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-rc.1.24420.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

@vdanche vdanche changed the title [NETSDKE2E]Failed to run format project with "test.cmd" command. [NETSDKE2E][Regression]Failed to run format project with "test.cmd" command. Aug 22, 2024
@vdanche
Copy link
Member Author

vdanche commented Aug 22, 2024

not happens on previous RC1 build.

@JoeRobich
Copy link
Member

I think we may need to adjust the test plan for dotnet-format. Development has moved to the SDK repo. This repo has been archived and isn't being updated.

The format tests can now be found at https://github.com/dotnet/sdk/tree/main/test/dotnet-format.Tests/tests

@vdanche
Copy link
Member Author

vdanche commented Aug 22, 2024

@JoeRobich Thanks, we'll test it after adjusting the test plan for dotnet -format.

FYI @richaverma1 @marcpopMSFT

@v-ainigao
Copy link

This issue also repro's on .net9.0.100-rtm.24512.1SDK
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants