11:59:59.857 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':pactVerify_test_provider' 11:59:59.857 [INFO] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Putting task artifact state for task ':pactVerify_test_provider' into context took 0.0 secs. 11:59:59.857 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':pactVerify_test_provider' is up-to-date 11:59:59.857 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':pactVerify_test_provider' (up-to-date check took 0.0 secs) due to: Task has not declared any outputs. 11:59:59.857 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':pactVerify_test_provider'. 11:59:59.857 [QUIET] [system.out] Verifying a pact between test_consumer and test_provider 11:59:59.857 [QUIET] [system.out] [Using file C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\target\pacts\test_consumer-test_provider.json] 11:59:59.857 [QUIET] [system.out] Given a user with an id named 'user' exists 11:59:59.857 [QUIET] [system.out] WARNING: State Change ignored as there is no stateChange URL 11:59:59.857 [DEBUG] [au.com.dius.pact.provider.ProviderVerifier] State Change: "a user with an id named 'user' exists" -> true 11:59:59.857 [QUIET] [system.out] get all users for max 11:59:59.857 [DEBUG] [au.com.dius.pact.provider.ProviderVerifier] Verifying via request/response 11:59:59.857 [DEBUG] [au.com.dius.pact.provider.ProviderClient] Making request for provider au.com.dius.pact.provider.ProviderInfo(http, localhost, 8080, /, test_provider, null, null, null, null, nul l, false, null, changeit, null, true, REQUST_RESPONSE, [], [au.com.dius.pact.provider.ConsumerInfo(test_consumer, C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\target\pacts\test_ consumer-test_provider.json, null, true, REQUST_RESPONSE, null, null)]): 11:59:59.857 [DEBUG] [au.com.dius.pact.provider.ProviderClient] method: GET path: /idm/user query: null headers: null matchers: null body: null 11:59:59.872 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: default 11:59:59.872 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context 11:59:59.872 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocate d: 0 of 20] 11:59:59.872 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 7][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 1 of 2; total al located: 1 of 20] 11:59:59.872 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {}->http://localhost:8080 11:59:59.872 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/127.0.0.1:8080 12:00:00.906 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connect to localhost/127.0.0.1:8080 timed out. Connection will be retried using another IP address 12:00:00.906 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/0:0:0:0:0:0:0:1:8080 12:00:01.156 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 16528056320, Free: 10701864960} 12:00:01.156 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 16528056320, Free: 10701864960} 12:00:01.156 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 293601280} 12:00:01.922 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-7: Shutdown connection 12:00:01.922 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded 12:00:01.922 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 7][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] 12:00:01.922 [QUIET] [system.out] Request Failed - Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 12:00:01.922 [QUIET] [system.out] Given a user with an id named 'user' exists 12:00:01.922 [QUIET] [system.out] WARNING: State Change ignored as there is no stateChange URL 12:00:01.922 [DEBUG] [au.com.dius.pact.provider.ProviderVerifier] State Change: "a user with an id named 'user' exists" -> true 12:00:01.922 [QUIET] [system.out] get all users for min 12:00:01.922 [DEBUG] [au.com.dius.pact.provider.ProviderVerifier] Verifying via request/response 12:00:01.922 [DEBUG] [au.com.dius.pact.provider.ProviderClient] Making request for provider au.com.dius.pact.provider.ProviderInfo(http, localhost, 8080, /, test_provider, null, null, null, null, nul l, false, null, changeit, null, true, REQUST_RESPONSE, [], [au.com.dius.pact.provider.ConsumerInfo(test_consumer, C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\target\pacts\test_ consumer-test_provider.json, null, true, REQUST_RESPONSE, null, null)]): 12:00:01.922 [DEBUG] [au.com.dius.pact.provider.ProviderClient] method: GET path: /idm/user query: null headers: null matchers: null body: null 12:00:01.922 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: default 12:00:01.922 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context 12:00:01.922 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocate d: 0 of 20] 12:00:01.922 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 8][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 1 of 2; total al located: 1 of 20] 12:00:01.922 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {}->http://localhost:8080 12:00:01.922 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/127.0.0.1:8080 12:00:02.938 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connect to localhost/127.0.0.1:8080 timed out. Connection will be retried using another IP address 12:00:02.938 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/0:0:0:0:0:0:0:1:8080 12:00:03.355 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running 12:00:03.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 12:00:03.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 12:00:03.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 12:00:03.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 12:00:03.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 12:00:03.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 12:00:03.949 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-8: Shutdown connection 12:00:03.949 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded 12:00:03.949 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 8][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] 12:00:03.949 [QUIET] [system.out] Request Failed - Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 12:00:03.949 [QUIET] [system.out] Given test state 12:00:03.949 [QUIET] [system.out] WARNING: State Change ignored as there is no stateChange URL 12:00:03.949 [DEBUG] [au.com.dius.pact.provider.ProviderVerifier] State Change: "test state" -> true 12:00:03.949 [QUIET] [system.out] A request with double precision number 12:00:03.949 [DEBUG] [au.com.dius.pact.provider.ProviderVerifier] Verifying via request/response 12:00:03.949 [DEBUG] [au.com.dius.pact.provider.ProviderClient] Making request for provider au.com.dius.pact.provider.ProviderInfo(http, localhost, 8080, /, test_provider, null, null, null, null, nul l, false, null, changeit, null, true, REQUST_RESPONSE, [], [au.com.dius.pact.provider.ConsumerInfo(test_consumer, C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\target\pacts\test_ consumer-test_provider.json, null, true, REQUST_RESPONSE, null, null)]): 12:00:03.949 [DEBUG] [au.com.dius.pact.provider.ProviderClient] method: PUT path: /numbertest query: null headers: [Content-Type:application/json] matchers: null body: {"data":1234.0,"name":"harry"} 12:00:03.949 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: default 12:00:03.949 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context 12:00:03.949 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocate d: 0 of 20] 12:00:03.949 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 9][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 1 of 2; total al located: 1 of 20] 12:00:03.949 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {}->http://localhost:8080 12:00:03.949 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/127.0.0.1:8080 12:00:04.965 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connect to localhost/127.0.0.1:8080 timed out. Connection will be retried using another IP address 12:00:04.965 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/0:0:0:0:0:0:0:1:8080 12:00:05.981 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-9: Shutdown connection 12:00:05.981 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded 12:00:05.981 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 9][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] 12:00:05.981 [QUIET] [system.out] Request Failed - Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 12:00:05.981 [QUIET] [system.out] Failures: 12:00:05.981 [QUIET] [system.out] 0) Verifying a pact between test_consumer and test_provider - get all users for max Given a user with an id named 'user' exists 12:00:05.981 [QUIET] [system.out] Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 12:00:05.981 [QUIET] [system.out] 12:00:05.981 [QUIET] [system.out] 1) Verifying a pact between test_consumer and test_provider - get all users for min Given a user with an id named 'user' exists 12:00:05.981 [QUIET] [system.out] Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 12:00:05.981 [QUIET] [system.out] 12:00:05.981 [QUIET] [system.out] 2) Verifying a pact between test_consumer and test_provider - A request with double precision number Given test state 12:00:05.981 [QUIET] [system.out] Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 12:00:05.981 [QUIET] [system.out] 12:00:05.981 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context. 12:00:05.981 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':pactVerify_test_provider' 12:00:05.981 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :pactVerify_test_provider FAILED 12:00:05.981 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :pactVerify_test_provider (Thread[Daemon worker Thread 7,5,main]) completed. Took 6.131 secs. 12:00:05.981 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.9 completed (0 in use) 12:00:05.981 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 7,5,main]] finished, busy: 6.588 secs, idle: 0.004 secs 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] There were 3 pact failures for provider test_provider 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try: 12:00:05.981 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. 12:00:05.981 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] 12:00:05.981 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED 12:00:05.981 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] 12:00:05.981 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] Total time: 8.388 secs 12:00:05.996 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file content cache (C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\.gr adle\3.4.1\fileContent) 12:00:05.996 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file content cache (C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\.gradle\3.4.1\fileCont ent). 12:00:05.996 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for task history cache (C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\.gr adle\3.4.1\taskHistory) 12:00:05.996 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (C:\Users\Richa.AGarwal\APITestingWithSpock_latest\TestingWithSpock\.gradle\3.4.1\taskHist ory). 12:00:06.027 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 sec s) 12:00:06.027 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 sec s) 12:00:06.027 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.008 secs 12:00:06.027 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (C:\Users\Richa.AGarwal\.gradle\caches\3.4.1\plugin-resolution) was closed 0 times. 12:00:06.027 [DEBUG] [org.gradle.process.internal.daemon.WorkerDaemonManager] Stopping 0 worker daemon(s). 12:00:06.027 [INFO] [org.gradle.process.internal.daemon.WorkerDaemonManager] Stopped 0 worker daemon(s). 12:00:06.027 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles 12:00:06.027 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles 12:00:06.027 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Generated Gradle JARs cache (C:\Users\Richa.AGarwal\.gradle\caches\3.4.1\generated-gradle-jars) was closed 0 times. 12:00:06.027 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for artifact cache (C:\Users\Richa.AGarwal\.gradle\caches\modules-2) 12:00:06.027 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (C:\Users\Richa.AGarwal\.gradle\caches\modules-2\metadata-2.23\artifact-at- repository.bin) 12:00:06.027 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (C:\Users\Richa.AGarwal\.gradle\caches\modules-2\metadata-2.23\module-metadata.bin ) 12:00:06.027 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-versions.bin (C:\Users\Richa.AGarwal\.gradle\caches\modules-2\metadata-2.23\module-versions.bin ) 12:00:06.027 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (C:\Users\Richa.AGarwal\.gradle\caches\modules-2). 12:00:06.027 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build. 12:00:06.059 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@689e39c4 12:00:06.059 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 15: dispatching class org.gradle.launcher.daemon.protocol.CloseInput 12:00:06.059 [INFO] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: There were 3 pact failures for provider test_provider] from daemon DaemonInfo{pid=10152, address=[c02e1a97-e49b-43bc-b03a-208a722a756c port:62381, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idl e, lastBusy=1493999583309, context=DefaultDaemonContext[uid=d00e034c-acb7-4c65-87aa-1b7a3d965d37,javaHome=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir=C:\Users\Richa.AGarwal\.gradle\daemon,pi d=10152,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done). 12:00:06.059 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished 12:00:06.074 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop