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#4318 xarch memtrace: Bump version and add message for arch tags #4342

Merged
merged 3 commits into from
Jun 30, 2020

Conversation

derekbruening
Copy link
Contributor

PR #4331 commit 5d49675 added a new marker with the architecture
early in a trace, enough to break the file_reader_t assumptions. The
file reader was updated, but it's best to also bump the version for
old binary code. Additionally, we provide a separate distinct message
about a version mismatch (otherwise the error message from the old
reader is the same as without the version bump).

Issue: #4318

PR #4331 commit 5d49675 added a new marker with the architecture
early in a trace, enough to break the file_reader_t assumptions.  The
file reader was updated, but it's best to also bump the version for
old binary code.  Additionally, we provide a separate distinct message
about a version mismatch (otherwise the error message from the old
reader is the same as without the version bump).

Issue: #4318
@derekbruening
Copy link
Contributor Author

This will just provide a better error message on a future version bump. I think users having to update their readers to read new versions is reasonable and cleaner than jumping through hoops to make new trace features readable by old readers. Keeping old traces readable by new readers is important though and we are maintaining that.

@derekbruening
Copy link
Contributor Author

Hmm Mac is the failure and its output is truncated: xref #4223, and PR #4341 hitting that, and @abhinav92003 's workaround found in the Travis issue tracker: 18c2a9d

This is an attempt to fix the truncated log issue for macOS on Travis. It was suggested as a workaround at travis-ci/travis-ci#8973
This reverts commit 933271f.
It didn't seem to fix the truncation here.
@derekbruening
Copy link
Contributor Author

Since this PR is sort of time sensitive with the version bumping that should have gone in with the prior commit I'm going to put it in with Mac red. I tried to build Mac locally but the local machine had XCode upgraded and now doesn't build: I filed #4344. Grrr.

@derekbruening derekbruening merged commit 5fa9fae into master Jun 30, 2020
@derekbruening derekbruening deleted the i4318-trace-version-message branch June 30, 2020 20:51
abhinav92003 added a commit that referenced this pull request Jul 2, 2020
abhinav92003 added a commit that referenced this pull request Jul 2, 2020
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.

None yet

3 participants