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

Error when running Publish60Hosted_Works test on Ubuntu and OSX #42145

Open
v-wuzhai opened this issue Jul 15, 2024 · 0 comments
Open

Error when running Publish60Hosted_Works test on Ubuntu and OSX #42145

v-wuzhai opened this issue Jul 15, 2024 · 0 comments
Labels
Area-Workloads Test Debt untriaged Request triage from a team member

Comments

@v-wuzhai
Copy link
Member

Issue Description:
I encountered some issues when trying to run the Publish60Hosted_Works test. I have removed Skip = "The Runtime pack resolves to 8.0 instead of 9.0" and made some modifications, but there are still errors on Ubuntu and OSX. However, this test passes on Windows.

Error Message:
Expected collection to be empty because the generated manifest should match the expected baseline.

For ${ProjectPath}\Client\wwwroot\css\app.css: Expected manifest Identity of css/app.qu51q8el4h.css but found css/app.huxwljmsg5.css.

Attempted Solutions and Results:
I tried the following steps to update my SDK and regenerate the baseline, but the problem persists:

  1. dotnet clean
  2. .\restore.cmd or ./restore.sh
  3. .\build.cmd ./build.sh
  4. .\eng\dogfood.cmd or . ./eng/dogfood.sh
    Then, using the dogfood SDK, I ran the .\src\RazorSdk\update-test-baselines.ps1 script.

Environment Information:

  • dotnet --info

.NET SDK:
Version: 9.0.100-preview.5.24307.3
Commit: 35b2c21
Workload version: 9.0.100-manifests.6407b7e4
MSBuild version: 17.11.0-preview-24279-02+b963c24ef

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.5.24307.3\

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
[aspire]
Installation Source: VS 17.11.35017.193
Manifest Version: 9.0.0-preview.2.24163.9/9.0.100-preview.1
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-preview.1\microsoft.net.sdk.aspire\9.0.0-preview.2.24163.9\WorkloadManifest.json
Install Type: Msi

Host:
Version: 9.0.0-preview.5.24306.7
Architecture: x64
Commit: a5cc707d97

.NET SDKs installed:
8.0.300 [C:\Program Files\dotnet\sdk]
9.0.100-preview.5.24307.3 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0-preview.5.24306.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0-preview.5.24306.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0-preview.5.24306.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

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

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

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Jul 15, 2024
akoeplinger added a commit that referenced this issue Nov 15, 2024
We missed adding KnownWebAssemblySdkPack into OverrideAndCreateBundledNETCoreAppPackageVersion so it was pointing to an older version in the BundledVersion.props in the test layout.

Fix that and add some checks so we don't miss this again the next time we add a Known*Pack entry.

Fixes #44886
Fixes #42145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads Test Debt untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants