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

i#5733, i#5734: Minor fixes in tests #5796

Merged
merged 5 commits into from
Dec 19, 2022

Conversation

abhinav92003
Copy link
Contributor

@abhinav92003 abhinav92003 commented Dec 16, 2022

Adds -max_trace_size to api.rseq to avoid generating too much trace data,
which may cause us to run out of disk space. The issue on varying run times
(and therefore trace data) is not reproducing now on the Jenkins machine,
but with this change, the trace size comes down to 512K from 130M+ which
is better.

Fixes an issue in the invariant checker that causes a SIGSEGV crash during
error reporting when there's no shard stream available. This came up in the
tool.drcacheoff.rseq test during the check_schedule_data checks that
happen at the very end in print_results of the invariant checker, where
we do not have the shard stream anymore. The invariant error itself is yet
to be debugged (i#5734).

Issue: #5733, #5734

Adds -max_trace_size to api.rseq to avoid generating too much trace data, which
may cause us to run out of disk space sometimes. The issue on varying run times
(and therefore trace data) is not reproducing now on the Jenkins machine, but
with this change, the trace size comes down to 512K from 130M+ which is
better.

Fixes an issue in the invariant checker that affects error reporting when there's
no shard stream available. This came up in the tool.drcacheoff.rseq test.

Issue: #5733, #5734
Copy link
Contributor

@derekbruening derekbruening left a comment

Choose a reason for hiding this comment

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

Meant to mark approved since the synthetic stream should be straightforward and probably doesn't need another look.

@abhinav92003 abhinav92003 merged commit 3c598ac into master Dec 19, 2022
@abhinav92003 abhinav92003 deleted the i5733-max-trace-size-api-rseq branch December 19, 2022 20:35
dolanzhao pushed a commit that referenced this pull request Jan 30, 2023
Adds -max_trace_size to api.rseq to avoid generating too much trace data,
which may cause us to run out of disk space. The issue on varying run times
(and therefore trace data) is not reproducing now on the Jenkins machine,
but with this change, the trace size comes down to 512K from 130M+ which
is better.

Fixes an issue in the invariant checker that causes a SIGSEGV crash during
error reporting when there's no shard stream available. This came up in the
tool.drcacheoff.rseq test during the check_schedule_data checks that
happen at the very end in print_results of the invariant checker, where
we do not have the shard stream anymore. The invariant error itself is yet
to be debugged (i#5734). For the missing shard stream, we now use a
default stream with manually set ref ordinal.

Issue: #5733, #5734
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.

2 participants