Skip to content

Re-enable coverage_smoke.swift #6264

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 1 commit into from
Dec 14, 2016
Merged

Re-enable coverage_smoke.swift #6264

merged 1 commit into from
Dec 14, 2016

Conversation

vedantk
Copy link
Contributor

@vedantk vedantk commented Dec 14, 2016

We disabled this test because it started failing on the incremental
bots. However, I couldn't reproduce the failure locally with a clean
build. Try to reproduce the failure by enabling the test and running it
through CI.

Context: The specific failure was the llvm-cov detected a malformed
coverage mapping in the 'coverage_smoke' binary. While debugging the
issue, I found that the problem is that a FilenameIndex is invalid
(refer: readIntMax(FilenameIndex, TranslationUnitFilenames.size(), in
llvm's CoverageMappingReader). This means that the swift compiler is
somehow generating an invalid index, although I don't see how this is
possible.

rdar://29591622

We disabled this test because it started failing on the incremental
bots. However, I couldn't reproduce the failure locally with a clean
build. Try to reproduce the failure by enabling the test and running it
through CI.

Context: The specific failure was the llvm-cov detected a malformed
coverage mapping in the 'coverage_smoke' binary. While debugging the
issue, I found that the problem is that a FilenameIndex is invalid
(refer: readIntMax(FilenameIndex, TranslationUnitFilenames.size(), in
llvm's CoverageMappingReader). This means that the swift compiler is
somehow generating an invalid index, although I don't see how this is
possible.
@vedantk
Copy link
Contributor Author

vedantk commented Dec 14, 2016

@swift-ci Please smoke test OS X platform

@vedantk vedantk self-assigned this Dec 14, 2016
@vedantk
Copy link
Contributor Author

vedantk commented Dec 14, 2016

@swift-ci Please smoke test Linux platform

@vedantk
Copy link
Contributor Author

vedantk commented Dec 14, 2016

No problems with the CI, so I think our best option is to re-enable the test and watch out for failures. It's bad that we don't know what the root cause of the original failure was, but I can't dig any deeper without a copy of the build products from a failing build. If the issue occurs again I'll know to make such a copy. For now, it's important that we re-enable end-to-end testing for swift coverage.

@vedantk vedantk merged commit 7337d5c into swiftlang:master Dec 14, 2016
@vedantk vedantk changed the title Re-enable coverage_smoke.swift to test bots Re-enable coverage_smoke.swift Dec 14, 2016
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