You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
incremental build from 0376de1 to 1f90e0e but happened before also
What is your environment?
ubuntu-18.04, openJDK-11
What did you expect to see?
build should succeed cleanly
What did you see instead?
$ git fetch github
remote: Enumerating objects: 68, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 40 (delta 15), reused 25 (delta 8), pack-reused 0
Unpacking objects: 100% (40/40), done.
From https://github.com/grpc/grpc-java
0376de15b..1f90e0e28 master -> github/master
$ git merge --ff-only
Updating 0376de15b..1f90e0e28
Fast-forward
core/src/main/java/io/grpc/util/CertificateUtils.java | 18 +++++++--
core/src/test/java/io/grpc/util/CertificateUtilsTest.java | 10 +++++
testing/src/main/resources/certs/README | 5 +++
testing/src/main/resources/certs/ecdsa.key | 5 +++
xds/src/main/java/io/grpc/xds/Bootstrapper.java | 93 +++++++++++++++++++++++++++++++++++++++++++-
xds/src/main/java/io/grpc/xds/BootstrapperImpl.java | 135 +++++++++++++++++++++++++++++++++++++++++++++-------------------
xds/src/test/java/io/grpc/xds/BootstrapperImplTest.java | 96 +++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 318 insertions(+), 44 deletions(-)
create mode 100644 testing/src/main/resources/certs/ecdsa.key
$ ./gradlew -PskipAndroid=true -PskipCodegen=true build
Starting a Gradle Daemon (subsequent builds will be faster)
*** Skipping the build of codegen and compilation of proto files because skipCodegen=true
* Skipping the build of Android projects because skipAndroid=true
> Task :grpc-core:compileJava FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/home/morgwai/projects/upstreamProjects/grpc-java/core/build.gradle' line: 68
* What went wrong:
Execution failed for task ':grpc-core:compileJava'.
> assert i != -1
| |
| false
-1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 13s
9 actionable tasks: 5 executed, 4 up-to-date
simply repeating the build command made it succeed:
$ ./gradlew -PskipAndroid=true -PskipCodegen=true build
*** Skipping the build of codegen and compilation of proto files because skipCodegen=true
* Skipping the build of Android projects because skipAndroid=true
> Task :grpc-xds:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :grpc-interop-testing:test
[jetty-alpn-agent][ warn] Could not find a matching alpn-boot jar for Java version: 11.0.11
> Task :grpc-netty:test
[jetty-alpn-agent][ warn] Could not find a matching alpn-boot jar for Java version: 11.0.11
BUILD SUCCESSFUL in 6m 31s
324 actionable tasks: 139 executed, 185 up-to-date
Steps to reproduce the bug
very hard to reproduce reliably: happened to me like 2 times across about 30 builds during last 2 months. As far as I remember the previous time it also happened during an incremental build, but not 100% sure.
The text was updated successfully, but these errors were encountered:
This is caused by #7834, although it's unclear exactly how. However, that code will be removed to resolve #7211. Instead of fixing this directly, we should just delete the code. Closing since #7834 will remove the class rewriter.
What version of gRPC-Java are you using?
incremental build from 0376de1 to 1f90e0e but happened before also
What is your environment?
ubuntu-18.04, openJDK-11
What did you expect to see?
build should succeed cleanly
What did you see instead?
simply repeating the build command made it succeed:
Steps to reproduce the bug
very hard to reproduce reliably: happened to me like 2 times across about 30 builds during last 2 months. As far as I remember the previous time it also happened during an incremental build, but not 100% sure.
The text was updated successfully, but these errors were encountered: