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

Remove empty XHarness logs #7418

Merged
merged 1 commit into from
May 21, 2021
Merged

Remove empty XHarness logs #7418

merged 1 commit into from
May 21, 2021

Conversation

premun
Copy link
Member

@premun premun commented May 20, 2021

Since we added few more log files which are sometimes empty (app's .err.log for example), let's not upload them to Helix

@@ -156,6 +160,9 @@ fi
# The simulator logs comming from the sudo-spawned Simulator.app are not readable by the helix uploader
chmod 0644 "$output_directory"/*.log

# Remove empty files
find "$output_directory" -name "*.log" -maxdepth 1 -size 0 -print -delete
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if helix should just not upload zero-byte files in general. It seems sort of pointless to do.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was thinking the same but no idea if someone relies on it somehow somewhere

@premun premun merged commit dfc3d94 into dotnet:main May 21, 2021
@premun premun deleted the prvysoky/empty-logs branch May 21, 2021 07:56
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

Successfully merging this pull request may close these issues.

5 participants