-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Github Actions: Remove --disable-tests #2886
Conversation
b5db483
to
4b9be1a
Compare
cc @catenacyber this changes removes it would be great if oss-fuzz can use go's native fuzz implementation instead. |
Fails with oss-fuzz
@AdamKorcz this is now the case, right ? |
Yes |
@catenacyber thanks, can you try again with the newest version of this branch? |
With --disable-tests, for example for Go the `make check` under `lib/go` would only run unit tests under `lib/go/thrift` but not the unit tests under `lib/go/test`. Also some changes in lib/go/test/fuzz/Makefile.am so it works in both go 1.20 and 1.21 (The current state breaks in 1.21 but because of `--disable-tests` we never noticed that).
Still failing First Then golang is failing with logs
|
@catenacyber hmm the make failing is weird, certainly not related to this change. for the rest, can you point me to the script actually run by oss-fuzz? I think some slight modifications are needed. if you look at the changes to files under |
https://github.com/google/oss-fuzz/blob/master/projects/thrift/build.sh Let me know id it needs some changes |
We would need to change line 32 into:
and then remove lines 33-34 (line 35 probably can also be removed, but I think leaving it be would also be harmless) |
@catenacyber I created google/oss-fuzz#11296 on oss-fuzz. |
@Jens-G I see https://issues.apache.org/jira/browse/THRIFT-5660 Does it explain the build failure |
@catenacyber that is merged. |
This needs to be merged _after_ [1] to keep thrift working. [1] is needed because the current test code of thrift is actually broken with go 1.21, in order to fix the breakage some changes to go modules are needed, and the same changes need to be applied here as well to keep oss-fuzz working with thrift. [1]: apache/thrift#2886
This needs to be merged _after_ [1] to keep thrift working. [1] is needed because the current test code of thrift is actually broken with go 1.21, in order to fix the breakage some changes to go modules are needed, and the same changes need to be applied here as well to keep oss-fuzz working with thrift. [1]: apache/thrift#2886
With --disable-tests, for example for Go the
make check
underlib/go
would only run unit tests under
lib/go/thrift
but not the unit testsunder
lib/go/test
.Also some changes in lib/go/test/fuzz/Makefile.am so it works in both go
1.20 and 1.21 (The current state breaks in 1.21 but because of
--disable-tests
we never noticed that).