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

[7.0] Installer build failure: HostActivation Tests in coreclr windows_x86 & coreclr Linux_musl_x64 #86518

Closed
carlossanlop opened this issue May 19, 2023 · 6 comments
Labels
arch-x64 arch-x86 area-Host blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux-musl Linux distributions using musl library. os-windows

Comments

@carlossanlop
Copy link
Member

carlossanlop commented May 19, 2023

Error Blob

Important: There is a similar issue open specifically for 6.0, but please confirm they have the same root cause before marking this one as duplicate of the other one.

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "HostActivation\.Tests_net7\.0_x(64|86).html \[net7\.0\|x(64|86)\]",
  "ExcludeConsoleLog": true
}

Reproduction Steps

Both failures found in the same 7.0 PR: #86453
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=279134&view=results

x64:

##[error]VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed:
/root/runtime/artifacts/TestResults/Release/HostActivation.Tests_net7.0_x64.html [net7.0|x64]

x86:

##[error]VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed:
D:\a\_work\1\s\artifacts\TestResults\Debug\HostActivation.Tests_net7.0_x86.html [net7.0|x86]

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "",
  "BuildRetry": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added arch-x86 os-windows arch-x64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-Host os-linux-musl Linux distributions using musl library. Known Build Error Use this to report build issues in the .NET Helix tab labels May 19, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 19, 2023
@ghost
Copy link

ghost commented May 19, 2023

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

Important: There is a similar issue open specifically for 6.0, but please confirm they have the same root cause before marking this one as duplicate of the other one.

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "HostActivation\.Tests_net7\.0_x(64|86).html \[net7\.0\|x(64|86)\]",
  "ExcludeConsoleLog": true
}

Reproduction Steps

Both failures found in the same 7.0 PR: #86453
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=279134&view=results

x64:

##[error]VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed:
/root/runtime/artifacts/TestResults/Release/HostActivation.Tests_net7.0_x64.html [net7.0|x64]

x86:

##[error]VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed:
D:\a\_work\1\s\artifacts\TestResults\Debug\HostActivation.Tests_net7.0_x86.html [net7.0|x86]
Author: carlossanlop
Assignees: -
Labels:

arch-x86, os-windows, arch-x64, blocking-clean-ci, area-Host, os-linux-musl, Known Build Error

Milestone: -

@vitek-karas
Copy link
Member

These look like versioning problems somewhere in the host tests, an example of the failure:

The command output did not contain expected result: '7.0.8'
File Name: D:\a_work\1\s\artifacts\tests\Debug\ha\gwbjawvt.rwa\StandaloneApp\bin\StandaloneApp.exe
Arguments:
Exit Code: 0
StdOut:
Hello World!


.NET 7.0.7

Weird. Is this a one-time thing, or does it happen more frequently?

/fyi @elinor-fung

@elinor-fung
Copy link
Member

This is not just the host tests. Runtime test failure due to a similar mismatch:

  Starting:    tracing.eventpipe.XUnitWrapper (parallel test collections = on, max threads = 2)
    tracing/eventpipe/processinfo2/processinfo2/processinfo2.sh [FAIL]
      Unhandled exception. System.Exception: ClrProductVersion must match. Expected: "7.0.7", received: "7.0.8"

The release/7.0-staging has ProductVersion set to 7.0.7, but PatchVersion set to 8. The tests are expecting those should match.

<ProductVersion>7.0.7</ProductVersion>
<!-- File version numbers -->
<MajorVersion>7</MajorVersion>
<MinorVersion>0</MinorVersion>
<PatchVersion>8</PatchVersion>

@elinor-fung
Copy link
Member

#86297 updated the PatchVersion, but not the ProductVersion. @carlossanlop should product version also be bumped or are those intentionally no longer moving together?

@carlossanlop
Copy link
Member Author

Ah, that's my fault. I should've bumped both numbers together like in previous months (example https://github.com/dotnet/runtime/pull/84316/files).

Sending a PR right now.

@ghost ghost added in-pr There is an active PR which will close this issue when it is merged and removed in-pr There is an active PR which will close this issue when it is merged labels May 22, 2023
@carlossanlop
Copy link
Member Author

Closing, should be fixed now.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label May 23, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 arch-x86 area-Host blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux-musl Linux distributions using musl library. os-windows
Projects
None yet
Development

No branches or pull requests

3 participants