-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
kcov fails ("status: 0x85") reproducibly on some binaries (tracker for kcov bug 339) #17978
Comments
Changing the order of tests ends up being a larger-than-necessary patch, disrupting history. My suggestion for the least intrusive work-around is to add and remove namespaces in the test program (possibly inline namespaces) until it works (see, e.g., #17724, #17835). |
Both Ubuntu and Debian seem to have stalled out w.r.t. kcov and are no longer packaging new versions. In case we decide we need a version upgrade, we might consider using https://github.com/bazelbuild/rules_foreign_cc to build kcov from source, instead of relying on Ubuntu. As long as the (single-threaded) build doesn't take inordinately long, there's a fair chance it would just work out of the box. |
On a vintage puget, the |
At the moment |
The |
Closing as duplicate of #18969. We can still cite this issue in fixup PRs, but there's no action to take here. |
In effect this issue tracks the fact that all of our supported platforms use versions of kcov that suffer from bug SimonKagstrom/kcov#339 . This bug causes binaries with a particular set of bytes at the beginning to be incorrectly parsed as shell scripts, causing them to fail in overnight CI; it is silenced by making any small change to the code that causes the binary bytes to change -- reordering the individual tests in a test suite, for instance.
If this issue occurs, the log will contain the string:
This issue is tagged as "component: continuous integration" because it is almost invariably discovered by the buildcop the next morning and so should be on the buildcop's search list of common failures.
Examples of this problem in the past (there are many more occurrences but most are resolved over slack and don't result in issues being filed):
The text was updated successfully, but these errors were encountered: