8000 Fix outerloop issues by RussKie · Pull Request #8687 · dotnet/aspire · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix outerloop issues #8687

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

Merged
merged 2 commits into from
Apr 10, 2025
Merged

Fix outerloop issues #8687

merged 2 commits into from
Apr 10, 2025

Conversation

RussKie
Copy link
Contributor
@RussKie RussKie commented Apr 10, 2025
  1. Take build agent OS in account when running tests
    Addresses Migrate from VSTest to Microsoft.Testing.Platform #8498 (comment)

  2. Read trx from correct location
    Resolves [CI] Outerloop tests workflow not collecting trx files in artifacts #8683

@Copilot Copilot AI review requested due to automatic review settings April 10, 2025 02:32
@github-actions github-actions bot added the area-engineering-systems infrastructure helix infra engineering repo stuff label Apr 10, 2025
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • eng/Testing.targets: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/tests-outerloop.yml:96

  • The log directory path has been updated but the artifact retention step still references the old base path. Ensure that the new log directory is used consistently throughout the workflow for proper log collection.
$logDirectory = "${{ github.workspace }}/artifacts/TestResults"

.github/workflows/tests-outerloop.yml:175

  • The artifact retention step uses a path that includes an extra 'log' segment which may be inconsistent with the new $logDirectory path. Consider updating this path to match the change made in the run step.
${{ github.workspace }}/artifacts/log/TestResults/*/*.trx

@RussKie
Copy link
Contributor Author
RussKie commented Apr 10, 2025

Here's a test outerloop run - neither the Playground tests nor E2E tests are run on Windows any longer.

@RussKie RussKie force-pushed the igveliko/fix_outerloop branch from 068d348 to 799a9d0 Compare April 10, 2025 06:35
@@ -50,7 +50,8 @@
<SkipTests>true</SkipTests>

<!-- Only run tests if the build is running on GitHub Actions -->
<SkipTests Condition=" '$(IsGitHubActionsRunner)' == 'true' and '$(RunOnGithubActions)' == 'true' ">false</SkipTests>
<SkipTests Condition=" '$(IsGitHubActionsRunner)' == 'true' and '$(BuildOs)' == 'windows' and '$(RunOnGithubActionsWindows)' == 'true' ">false</SkipTests>
<SkipTests Condition=" '$(IsGitHubActionsRunner)' == 'true' and '$(BuildOs)' != 'windows' and '$(RunOnGithubActionsLinux)' == 'true' ">false</SkipTests>

<!-- Only run tests if the build is running on Helix infra -->
<SkipTests Condition=" '$(IsAzdoHelixRunner)' == 'true' and '$(RunOnAzdoHelix)' == 'true' ">false</SkipTests>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue affects only the GHA, I don't want to upset and break the AzDO builds (I tried changing the other properties, and that led to failed build in AzDO).
We can look at the AzDO separation later.

1. Take build agent OS in account when running tests
Addresses #8498 (comment)

2. Read trx from correct location
Resolves #8683
@RussKie RussKie force-pushed the igveliko/fix_outerloop branch from 799a9d0 to 54dc22e Compare April 10, 2025 07:45
@RussKie
Copy link
Contributor Author
RussKie commented Apr 10, 2025

Co-authored-by: Ankit Jain <radical@gmail.com>
Copy link
Member
@radical radical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@RussKie RussKie enabled auto-merge (squash) April 10, 2025 23:13
@RussKie RussKie merged commit 5e87815 into main Apr 10, 2025
174 checks passed
@RussKie RussKie deleted the igveliko/fix_outerloop branch April 10, 2025 23:19
RussKie added a commit to RussKie/aspire that referenced this pull request Apr 15, 2025
RussKie added a commit to RussKie/aspire that referenced this pull request Apr 15, 2025
RussKie added a commit to RussKie/aspire that referenced this pull request Apr 15, 2025
RussKie added a commit to RussKie/aspire that referenced this pull request Apr 16, 2025
RussKie added a commit to RussKie/aspire that referenced this pull request Apr 16, 2025
RussKie added a commit to RussKie/aspire that referenced this pull request Apr 16, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-engineering-systems infrastructure helix infra engineering repo stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] Outerloop tests workflow not collecting trx files in artifacts
2 participants
0