There is an issue with the test suite for Java bindings. I tried running it multiple times but it always hangs right after tests compilation.
Last log lines just before tests hang:
+ cmake -Hshared_model -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/c/Users/Administrator/Downloads/vcpkg-master/vcpkg-master/scripts/buildsystems/vcpkg.cmake -G 'NMake Makefiles' -DSWIG_JAVA=ON
-- Boost version: 1.67.0
-- Could NOT find ed25519 (missing: ed25519_INCLUDE_DIR ed25519_LIBRARY)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/J/workspace/msvc106da0dd/build
[Pipeline] sh
[C:\J\workspace\msvc106da0dd] Running shell script
+ cmake --build build --target irohajava
[ 16%] Built target hyperledger_ed25519
[ 20%] Built target iroha_amount
[ 20%] Built target gen_irohajava_bindingsJAVA_wrap
[ 34%] Built target shared_model_cryptography_model
[ 37%] Built target hash
[ 39%] Built target ed25519_crypto
[ 46%] Built target shared_model_cryptography
[ 48%] Built target shared_model_interfaces
[ 76%] Built target schema
[ 81%] Built target shared_model_proto_backend
[ 86%] Built target shared_model_stateless_validation
[ 90%] Built target generator
[ 97%] Built target bindings
[100%] Built target irohajava
[Pipeline] sh
[C:\J\workspace\msvc106da0dd] Running shell script
+ cd build
+ ctest -R java --output-on-failure -V
UpdateCTestConfiguration from :C:/J/workspace/msvc106da0dd/build/DartConfiguration.tcl
UpdateCTestConfiguration from :C:/J/workspace/msvc106da0dd/build/DartConfiguration.tcl
Test project C:/J/workspace/msvc106da0dd/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 14
Start 14: java_builders_test
14: Test command: C:\ProgramData\chocolatey\bin\gradle.exe "test" "-PSWIG_BUILD_DIR=C:/J/workspace/msvc106da0dd/build/bindings" "-PSCHEMA_DIR=C:/J/workspace/msvc106da0dd/shared_model/../schema"
14: Test timeout computed to be: 10000000
14: Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
14: > Task :extractIncludeProto UP-TO-DATE
14: > Task :extractProto UP-TO-DATE
14: > Task :generateProto NO-SOURCE
14: > Task :compileJava NO-SOURCE
14: > Task :processResources NO-SOURCE
14: > Task :classes UP-TO-DATE
14: > Task :extractIncludeTestProto UP-TO-DATE
14: > Task :extractTestProto UP-TO-DATE
14: > Task :generateTestProto UP-TO-DATE
14:
14: > Task :compileTestJava
14: Note: C:\J\workspace\msvc106da0dd\build\bindings\gen\test\java\iroha\protocol\Commands.java uses or overrides a deprecated API.
14: Note: Recompile with -Xlint:deprecation for details.
14:
14: > Task :processTestResources UP-TO-DATE
14: > Task :testClasses
14: > Task :junitPlatformTest UP-TO-DATE
14: > Task :test SKIPPED
14:
14: Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
14: See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings
14:
14: BUILD SUCCESSFUL in 16s
14: 8 actionable tasks: 1 executed, 7 up-to-date
I'm testing this on Jenkins CI running on Windows Server 2016 using the pipeline script which is why log may look a bit strange.
There is an issue with the test suite for Java bindings. I tried running it multiple times but it always hangs right after tests compilation. Last log lines just before tests hang:
I'm testing this on Jenkins CI running on Windows Server 2016 using the pipeline script which is why log may look a bit strange.
Environment info: