Hi,
We are working on s390x platform and facing below test failure while
building gRPC-java master.
We are using protoc v3.0.2 and v3.0.0-javalite.
Command used to build:
./gradlew build -PskipCodegen=true -Pprotoc=/usr/local/bin/protoc
-Pprotoc-gen-javalite=/usr/local/bin/protoc-gen-javalite
Test failure log:
====================================================================
:grpc-okhttp:checkstyleTest UP-TO-DATE
:grpc-okhttp:test
io.grpc.okhttp.OkHttpTransportTest > newStream_duringShutdown FAILED
java.lang.AssertionError: Timed out waiting for server stream
129 tests completed, 1 failed, 1 skipped
:grpc-okhttp:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':grpc-okhttp:test'.
BUILD FAILED
====================================================================
We have applied below patch to support s390x platform:
--- a/compiler/build.gradle
+++ b/compiler/build.gradle
@@ -47,6 +47,7 @@ model {
}
}
gcc(Gcc) {
+ target("s390_64")
}
clang(Clang) {
}
@@ -59,11 +60,14 @@ model {
x86_64 {
architecture "x86_64"
}
+ s390_64 {
+ architecture "s390_64"
+ }
}
components {
java_plugin(NativeExecutableSpec) {
- if (arch in ['x86_32', 'x86_64']) {
+ if (arch in ['x86_32', 'x86_64', 's390_64']) {
// If arch is not within the defined platforms, we do not specify the
// targetPlatform so that Gradle will choose what is appropriate.
targetPlatform arch
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/bd08fc87-311b-40be-a246-93a0851d5c9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.