Skip to content

./gradlew build is stuck for 10+ minutes #285

@dkrotx

Description

@dkrotx

I expected it to work instantly, instead it is stuck somewhere in tests, I believe:

$ ./gradlew build
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/dkrot/work/cadence-java-samples/src/main/java/com/uber/cadence/samples/hello/HelloDataConverter.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :compileTestJava
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: /Users/dkrot/work/cadence-java-samples/src/test/java/com/uber/cadence/samples/fileprocessing/FileProcessingTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings

> Task :test

com.uber.cadence.samples.bookingsaga.TripBookingWorkflowTest > testSAGA FAILED
    java.lang.ExceptionInInitializerError at TripBookingWorkflowTest.java:76
        Caused by: java.lang.reflect.InaccessibleObjectException at TripBookingWorkflowTest.java:76
<==========---> 77% EXECUTING [12m 46s]
> :test > Executing test com.uber.cadence.samples.bookingsaga.TripBookingWorkflowTest
> IDLE
> IDLE
> IDLE
> :test > 1 test completed, 1 failed
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE

I had to ^C. Running individual samples worked though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions