io.grpc.okhttp.OkHttpTransportTest > newStream_duringShutdown FAILED

27 views
Skip to first unread message

nayana...@gmail.com

unread,
Oct 10, 2016, 8:20:39 AM10/10/16
to grpc.io, bhaven...@gmail.com

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





Louis Ryan

unread,
Oct 11, 2016, 8:05:30 PM10/11/16
to nayana...@gmail.com, grpc.io, bhaven...@gmail.com
You should be able to get some more verbose logs out.

Can you debug that test on your platform to make sure that ALPN boot is being applied? There is no tcnative build for your arch today so it's likely that the Netty server being run to service the test does not support TLS properly.

--
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 grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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.

Reply all
Reply to author
Forward
0 new messages