Skip to content

Implement workaround for log.ps1 not working on Lab Linux #4224

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 3 commits into from
Apr 3, 2024

Conversation

ProjectsByJackHe
Copy link
Contributor

Description

Earlier, we merged PRs to always cancel logging prior to each run because we noticed MsQuic was building up residual ETL traces, causing the storage to balloon. This is necessary until we get to dynamic, temporary lab VMs.

However, after merging those PRs, that surfaced an issue with the usage of "sudo" in the Log.ps1 script when we run it in our lab Linux VMs.

This PR makes it so we do the cancellation of logs on Windows systems, to properly garbage collect the residual ETLs, which looks to be a Windows-only issue anyway.

Testing

CI

Documentation

N/A

@ProjectsByJackHe ProjectsByJackHe requested a review from a team as a code owner April 3, 2024 19:49
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.85%. Comparing base (cd37308) to head (f99bfef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4224      +/-   ##
==========================================
- Coverage   84.65%   83.85%   -0.81%     
==========================================
  Files          56       56              
  Lines       15358    15358              
==========================================
- Hits        13002    12878     -124     
- Misses       2356     2480     +124     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ProjectsByJackHe ProjectsByJackHe merged commit e7b897d into main Apr 3, 2024
344 of 350 checks passed
@ProjectsByJackHe ProjectsByJackHe deleted the jackhe/ubuntu-lab-vm branch April 3, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants