Pact provider doesn't send verification to Pact Broker - gradle

I am new in Pact (consumer-driven testing) and gradle, I used this famous workshop to try Pact with Java and Pact Brocker https://github.com/Mikuu/Pact-JVM-Example, but never works the final part when provider sends the verification to the Pact Broker. It works manually via REST API, but using the project never sends the verifications. Please help to understand what happens (probably something is missing, some library or annotation?)
I attach the debug log when producer tries to send the verification to the Pact Broker (local Broker in docker using gradle with ./gradlew :example-provider:pactVerify). I guess that the body of POST request is missing.
14:22:59.469 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {}->http://localhost:80
14:22:59.469 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to localhost/127.0.0.1:80
14:22:59.470 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connection established 127.0.0.1:55770<->127.0.0.1:80
14:22:59.470 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Executing request POST /pacts/provider/ExampleProvider/consumer/JunitRuleMultipleInteractionsConsumer/pact-version/e66d465478e1934bca0ad9b905a2f83835af481d/verification-results HTTP/1.1
14:22:59.470 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Target auth state: UNCHALLENGED
14:22:59.470 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Proxy auth state: UNCHALLENGED
14:22:59.492 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection can be kept alive indefinitely
14:22:59.493 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-255: Close connection
14:22:59.493 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded
14:22:59.493 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 255][route: {}->http://localhost:80][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 10]
14:22:59.493 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Execute verifyPact for :example-provider:pactVerify_ExampleProvider'
14:22:59.493 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
14:22:59.493 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':example-provider:pactVerify_ExampleProvider'
14:22:59.493 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Task :example-provider:pactVerify_ExampleProvider'
14:22:59.493 [null] [org.gradle.internal.progress.DefaultBuildOperationExecutor]
14:22:59.493 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 'Task :example-provider:pactVerify_ExampleProvider' completed
14:22:59.493 [INFO] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] :example-provider:pactVerify_ExampleProvider (Thread[Task worker for ':',5,main]) completed. Took 0.96 secs.

The pact example seems to be missing one important step: Adding the #PactBroker annotation
Below the #Pact annotation, there should be an annotation
#PactBroker(port = PORT_NUM , host = HOST_NAME)
You can find an example here at the official repo

Related

How to suppress debug message on functional test with simple-phpunit

I'm just getting started with Symfony 4 and have this problem.
Is it normal to have debugged message printed on a console like this when running the functional test?
$ vendor/bin/simple-phpunit
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
Testing Functional Controller
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TestSessionListener::onKernelRequest".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
2018-03-20T18:51:20+07:00 [debug] Listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest" stopped propagation of the event "kernel.request".
2018-03-20T18:51:20+07:00 [debug] Listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest" was not called for event "kernel.request".
2018-03-20T18:51:20+07:00 [debug] Listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest" was not called for event "kernel.request".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\TestSessionListener::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SaveSessionListener::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
2018-03-20T18:51:20+07:00 [debug] Notified event "kernel.terminate" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate".
F 1 / 1 (100%)
Time: 136 ms, Memory: 10.00MB
There was 1 failure:
1) App\Tests\Controller\HomeControllerTest::testHomepage
Failed asserting that 404 matches expected 200.
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
Can it be disabled/suppressed? It seems this message doesn't appear on unit testing.
Edit
by adding environment variable into phpunit.xml I got it suppressed but now it's showing uncaught exception when testing undefined route.
<phpunit>
...
<php>
<env name="APP_DEBUG" value="false" />
</php>
...
</phpunit>
Log
$ vendor/bin/simple-phpunit
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
Testing
.2018-03-21T11:22:50+07:00 [error] Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at vendor/symfony/http-kernel/EventListener/RouterListener.php line 144
F.
Time: 124 ms, Memory: 8.00MB
There was 1 failure:
1) App\Tests\Controller\HomeControllerTest::testHomepage
Failed asserting that 404 matches expected 200.
...
Is it possible to hide this error message?
Update
It seems this problem occur when I delete vendor and bin directory in the root project. Trying to re-install all dependencies with composer install doesn't fix this problem, so I decide to re-create the project from start. This is the steps that I do :
create new symfony project with composer create-project symfony/skeleton my-project-name
adding other dependecies such as twig, maker, annotation etc with composer command. I'm not editing composer.json directly until all dependecies is installed and there's no problem with functional testing.
copy .git directory from previous project into new 're-created' project to import git history.
I'm letting composer (symfony recipe) to resolve all configuration, overwrite my previous config.
resolve other conflict before commiting
I'm letting this qustion open in case there's someone figure it out what's actually happen and how to resolve it without re-creating the project.
has the same issue and it was fixed with:
<env name="APP_ENV" value="test" />
in phpunit.xml file

Identity Server to MVC client : Page Redirect After login

Im trying to authenticate MVC client using Identity server 4. When I try to login the page redirect is not redirect to My mvc application. The page is keep on loading..... and I didnt get any error also.
Note : When I debug my identity server project its look like authenticated. Issue only redirect back to my mvc client.
All my client settings are in Database.
redirect URI - "http://localhost:5002/signin-oidc"
Grant Type - "implicit"
ClientCoreOrgin - "http://localhost:6301"
postLogoutRedirectURI - "http://localhost:5002/signout-callback-oidc"
Issue in redirect Page uri : http://localhost:6100/connect/authorize/callback?client_id=brown_dashboard&redirect_uri=http%3A%2F%2Flocalhost%3A5002%2Fsignin-oidc&response_type=id_token%20token&scope=openid%20profile%20email%20api1%20api2%20api3&response_mode=form_post&nonce=636488490344995894.ZDI4M2M5YzgtODlmNS00Y2VlLWEwNmYtZGRjMmI5ZTFjMWRhMTFlZTMxZmQtOTA1OS00ZTU4LThlYjctYzQ3ZWRlOTNlMjc2&state=CfDJ8DEQpM1bj61Kr5TRqW0a0y2ZmQTGIE_LIc-Zt7GiHkQ5bcYkYg5mbuo7Jl6YHNhoktLbD6B7HqZRZC5Q7oM3IUYgW-peKAqYFlMzpksmWMlZhKCfLdNtkc7uq7Lj8usN6Q67XUCkQ6vo8sNeLOaC-9STad0D86qLRUcaXZKEQTSytdvsrH34RUdsgLU6GeiiJ8Kk4E2JplQ5pnb5nYW4gbwryfeZNvQqaMiccs5Pd97BZNKxClaTglkVpAau2YwBNHvyM1V8cIwPoB_H3m9M_Tgf8rrRbGODBtmDHwdCElCvvuD20MwsGS3bPL8G3dCsX35oxXfVJmXR2faFLv0Ce1U&x-client-SKU=ID_NET&x-client-ver=2.1.4.0
The above URL is keep on loading.....
Log:
2017-12-14 19:59:08.748 +08:00 [Debug] A data reader was disposed.
2017-12-14 19:59:08.749 +08:00 [Debug] Closing connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:08.750 +08:00 [Debug] Closed connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:08.752 +08:00 [Information] Clearing 0 tokens
2017-12-14 19:59:38.757 +08:00 [Information] Entity Framework Core "2.0.1-rtm-125" initialized '"PersistedGrantDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "MigrationsAssembly=brown.auth.v2 "
2017-12-14 19:59:38.767 +08:00 [Debug] Opening connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.769 +08:00 [Debug] Opened connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.771 +08:00 [Debug] Executing DbCommand [Parameters=["#__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < #__UtcNow_0"
2017-12-14 19:59:38.795 +08:00 [Information] Executed DbCommand ("23"ms) [Parameters=["#__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < #__UtcNow_0"
2017-12-14 19:59:38.796 +08:00 [Debug] A data reader was disposed.
2017-12-14 19:59:38.797 +08:00 [Debug] Closing connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.798 +08:00 [Debug] Closed connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.799 +08:00 [Information] Clearing 0 tokens
2017-12-14 20:00:08.799 +08:00 [Information] Entity Framework Core "2.0.1-rtm-125" initialized '"PersistedGrantDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "MigrationsAssembly=brown.auth.v2 "
2017-12-14 20:00:08.801 +08:00 [Debug] Opening connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.802 +08:00 [Debug] Opened connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.803 +08:00 [Debug] Executing DbCommand [Parameters=["#__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < #__UtcNow_0"
2017-12-14 20:00:08.813 +08:00 [Information] Executed DbCommand ("10"ms) [Parameters=["#__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < #__UtcNow_0"
2017-12-14 20:00:08.816 +08:00 [Debug] A data reader was disposed.
2017-12-14 20:00:08.817 +08:00 [Debug] Closing connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.818 +08:00 [Debug] Closed connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.820 +08:00 [Information] Clearing 0 tokens

Browsersync Https proxy will not inject css or reload browser

So I am proxying a MAMP SSL server with browser-sync, and I can not for the life of me figure out why it will not stream my css changes or reload for javascript. My current configuration works just fine if I do not use https via MAMP. Any help or pointers would be greatly appreciated.
Here is my Gulp Configuration:
function server(done) {
browser.init({
port: PORT,
proxy: {
target: PROXY,
},
logLevel: 'debug',
});
done();
}
function watch() {
gulp.watch('src/scss/**/*.scss').on('all', sass);
gulp.watch('src/js/**/*.js').on('all', gulp.series(javascript, browser.reload));
}
Where Port is 8000 (probably not significant, as letting browser sync choose this automatically didn't change anything)
And Proxy is https://mysite.dev
Also, my gulp sass function pipes to browsersync.stream, to clarify.
Here is the output from browser sync log, everything seemed fine.
[13:10:28] Starting 'server'...
[BS] [debug] -> Starting Step: Finding an empty port
[13:10:28] Finished 'server' after 19 ms
[13:10:28] Starting 'watch'...
[BS] [debug] Found a free port: 3000
[BS] [debug] Setting Option: port - 3000
[BS] [debug] + Step Complete: Finding an empty port
[BS] [debug] -> Starting Step: Getting an extra port for Proxy
[BS] [debug] + Step Complete: Getting an extra port for Proxy
[BS] [debug] -> Starting Step: Checking online status
[BS] [debug] Resolved www.google.com, setting online: true
[BS] [debug] Setting Option: online - true
[BS] [debug] + Step Complete: Checking online status
[BS] [debug] -> Starting Step: Resolve user plugins from options
[BS] [debug] + Step Complete: Resolve user plugins from options
[BS] [debug] -> Starting Step: Set Urls and other options that rely on port/online status
[BS] [debug] Setting multiple Options
[BS] [debug] + Step Complete: Set Urls and other options that rely on port/online status
[BS] [debug] -> Starting Step: Setting Internal Events
[BS] [debug] + Step Complete: Setting Internal Events
[BS] [debug] -> Starting Step: Setting file watchers
[BS] [debug] + Step Complete: Setting file watchers
[BS] [debug] -> Starting Step: Merging middlewares from core + plugins
[BS] [debug] Setting Option: middleware - List []
[BS] [debug] + Step Complete: Merging middlewares from core + plugins
[BS] [debug] -> Starting Step: Starting the Server
[BS] [debug] Proxy running, proxing: https://districtplus.dev:8890
[BS] [debug] Running mode: PROXY
[BS] [debug] + Step Complete: Starting the Server
[BS] [debug] -> Starting Step: Starting the HTTPS Tunnel
[BS] [debug] + Step Complete: Starting the HTTPS Tunnel
[BS] [debug] -> Starting Step: Starting the web-socket server
[BS] [debug] Setting Option: clientEvents - List [ "scroll", "scroll:element", "input:text", "input:toggles", "form:submit", "form:reset", "click" ]
[BS] [debug] + Step Complete: Starting the web-socket server
[BS] [debug] -> Starting Step: Starting the UI
[BS] [debug] Setting Option: session - 1504721428890
[BS] [UI] Starting Step: Setting default plugins
[BS] [UI] Step Complete: Setting default plugins
[BS] [UI] Starting Step: Finding a free port
[BS] [UI] Step Complete: Finding a free port
[BS] [UI] Starting Step: Setting options also relevant to UI from BS
[BS] [UI] Step Complete: Setting options also relevant to UI from BS
[BS] [UI] Starting Step: Setting available URLS for UI
[BS] [debug] Getting option via path: urls
[BS] [UI] Step Complete: Setting available URLS for UI
[BS] [UI] Starting Step: Starting the Control Panel Server
[BS] [UI] Using port 3001
[BS] [UI] Step Complete: Starting the Control Panel Server
[BS] [UI] Starting Step: Add element events
[BS] [UI] Step Complete: Add element events
[BS] [UI] Starting Step: Registering default plugins
[BS] [UI] Step Complete: Registering default plugins
[BS] [UI] Starting Step: Add options setting event
[BS] [UI] Step Complete: Add options setting event
[BS] [debug] + Step Complete: Starting the UI
[BS] [debug] -> Starting Step: Merge UI settings
[BS] [debug] Setting Option: urls - Map { "local": "https://localhost:3000", "external": "https://192.168.1.101:3000", "ui": "http://localhost:3001", "ui-external": "http://192.168.1.101:3001" }
[BS] [debug] + Step Complete: Merge UI settings
[BS] [debug] -> Starting Step: Init user plugins
[BS] [debug] Setting Option: userPlugins -
[BS] [debug] + Step Complete: Init user plugins
[Browsersync] Proxying: https://districtplus.dev:8890
[Browsersync] Access URLs:
---------------------------------------
Local: https://localhost:3000
External: https://192.168.1.101:3000
---------------------------------------
UI: http://localhost:3001
UI External: http://192.168.1.101:3001

Gradle filter standard streams

I'm currently using the following lines in my build.gradle:
test {
testLogging.showStandardStreams = true
}
together with the -d option (https://docs.gradle.org/current/userguide/logging.html)
Which results in:
[workspace] $ cmd.exe /C '""C:\Program Files\Android\Android Studio\gradle\gradle-2.4\bin\gradle.bat" -d test && exit %%ERRORLEVEL%%"'
10:22:31.158 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServices] Native-platform posix files is not available. Continuing with fallback.
10:22:32.485 [INFO] [org.gradle.BuildLogger] Starting Build
10:22:32.489 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\Beheerder\.gradle
10:22:32.489 [DEBUG] [org.gradle.BuildLogger] Current dir: C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace
10:22:32.490 [DEBUG] [org.gradle.BuildLogger] Settings file: null
10:22:32.491 [DEBUG] [org.gradle.BuildLogger] Build file: null
10:22:32.563 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
10:22:32.565 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
10:22:32.568 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
10:22:32.569 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
10:22:32.794 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: C:\Users\Beheerder\.m2\repository
10:22:33.206 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.636 secs
10:22:33.210 [INFO] [org.gradle.BuildLogger] Settings evaluated using settings file 'C:\master\settings.gradle'.
10:22:33.419 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' from state Known to Created
10:22:33.420 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Creating tasks using Project.<init>.tasks()
10:22:33.442 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\gradle.properties
10:22:33.445 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
10:22:33.448 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build.gradle'.
10:22:33.449 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'workspace']
10:22:33.611 [INFO] [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project 'workspace' using build file 'C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build.gradle'.
10:22:33.644 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Software Loopback Interface 1
10:22:33.645 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true
10:22:33.646 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.647 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1
10:22:33.648 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /0:0:0:0:0:0:0:1
10:22:33.648 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Software Loopback Interface 1
10:22:33.648 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Intel(R) 82567LM-3 Gigabit Network Connection
10:22:33.649 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.650 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.651 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /192.168.0.97
10:22:33.651 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:f8fc:58a6:6a00:ad3c%eth0
10:22:33.652 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface Intel(R) 82567LM-3 Gigabit Network Connection
10:22:33.652 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IKEv2)
10:22:33.653 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.654 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.654 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IKEv2)
10:22:33.654 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (PPPOE)
10:22:33.656 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.657 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.657 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (PPPOE)
10:22:33.657 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IP)
10:22:33.658 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.659 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.659 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IP)
10:22:33.660 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (L2TP)
10:22:33.661 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.661 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.662 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (L2TP)
10:22:33.662 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter
10:22:33.664 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.665 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false
10:22:33.665 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:0:5efe:c0a8:61%net2
10:22:33.665 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Netwerkadapter voor Microsoft Kernel-foutopsporing
10:22:33.666 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.667 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.667 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Netwerkadapter voor Microsoft Kernel-foutopsporing
10:22:33.667 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IPv6)
10:22:33.668 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.669 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.669 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IPv6)
10:22:33.670 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (Network Monitor)
10:22:33.676 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.677 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.678 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (Network Monitor)
10:22:33.678 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface RAS Async Adapter
10:22:33.680 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.681 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.682 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface RAS Async Adapter
10:22:33.682 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter #2
10:22:33.682 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.683 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.683 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Microsoft ISATAP Adapter #2
10:22:33.683 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (PPTP)
10:22:33.684 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.685 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.686 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (PPTP)
10:22:33.687 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (SSTP)
10:22:33.690 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.690 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.691 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (SSTP)
10:22:33.691 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Intel(R) 82567LM-3 Gigabit Network Connection-WFP Native MAC Layer LightWeight Filter-0000
10:22:33.692 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.693 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.693 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Intel(R) 82567LM-3 Gigabit Network Connection-WFP Native MAC Layer LightWeight Filter-0000
10:22:33.693 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Intel(R) 82567LM-3 Gigabit Network Connection-QoS Packet Scheduler-0000
10:22:33.695 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.696 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.697 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Intel(R) 82567LM-3 Gigabit Network Connection-QoS Packet Scheduler-0000
10:22:33.697 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Intel(R) 82567LM-3 Gigabit Network Connection-WFP 802.3 MAC Layer LightWeight Filter-0000
10:22:33.698 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
10:22:33.698 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
10:22:33.698 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Intel(R) 82567LM-3 Gigabit Network Connection-WFP 802.3 MAC Layer LightWeight Filter-0000
10:22:33.713 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file 'C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build.gradle' (C:\Users\Beheerder\.gradle\caches\2.4\scripts\build_1pxgds8pq1zzj1t7lr0294yep\ProjectScript\buildscript).
10:22:33.721 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
10:22:33.853 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build.gradle' (C:\Users\Beheerder\.gradle\caches\2.4\scripts\build_1pxgds8pq1zzj1t7lr0294yep\ProjectScript\no_buildscript).
10:22:33.857 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
10:22:34.854 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.check' from state Known to GraphClosed
10:22:34.857 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.__instantiator' from state Known to GraphClosed
10:22:34.857 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Creating tasks.__instantiator using Project.<init>.tasks.__instantiator()
10:22:34.859 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Finished transitioning model element tasks.__instantiator from state Known to GraphClosed
10:22:34.860 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.__instantiator' from state GraphClosed to GraphClosed
10:22:34.861 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Creating tasks.check using tasks.addPlaceholderAction(check)
10:22:34.862 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Finished transitioning model element tasks.check from state Known to GraphClosed
10:22:34.863 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.check' from state GraphClosed to GraphClosed
10:22:37.064 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 3.453 secs
10:22:37.069 [INFO] [org.gradle.BuildLogger] All projects evaluated.
10:22:37.294 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' from state Created to SelfClosed
10:22:37.296 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'binaries' from state Known to GraphClosed
10:22:37.296 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Creating binaries using org.gradle.language.base.plugins.LanguageBasePlugin.apply()
10:22:37.296 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Mutating binaries using org.gradle.language.base.plugins.LanguageBasePlugin.apply()
10:22:37.309 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'binaries.__instantiator' from state Known to GraphClosed
10:22:37.309 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Creating binaries.__instantiator using
10:22:41.252 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'Gradle Test Executor 1'
10:22:42.093 [QUIET] [system.out] 10:22:42.062 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector] Attempting to connect to [d1b88604-9e30-4756-8daa-f5c4abd4d39f port:16608, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]].
10:22:42.097 [QUIET] [system.out] 10:22:42.095 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector] Trying to connect to address /127.0.0.1.
10:22:42.108 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Accepted connection from /127.0.0.1:16609 to /127.0.0.1:16608.
10:22:42.116 [DEBUG] [org.gradle.process.internal.DefaultWorkerProcess] Received connection org.gradle.messaging.remote.internal.hub.MessageHubBackedObjectConnection#5b0b70ee from Gradle Test Executor 1
10:22:42.120 [QUIET] [system.out] 10:22:42.119 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector] Connected to address /127.0.0.1:16608.
10:22:42.837 [QUIET] [system.out] 10:22:42.194 [DEBUG] [org.gradle.process.internal.child.ActionExecutionWorker] Starting Gradle Test Executor 1.
10:22:42.849 [QUIET] [system.out] 10:22:42.264 [INFO] [org.gradle.api.internal.tasks.testing.worker.TestWorker] Gradle Test Executor 1 started executing tests.
10:22:42.931 [DEBUG] [TestEventLogger]
10:22:42.933 [DEBUG] [TestEventLogger] Gradle Test Executor 1 STARTED
10:22:42.934 [QUIET] [system.out] 10:22:42.934 [DEBUG] [org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor] Executing test class nl.buroboot.danielvandenberg.junittest.AppointmentLocationTest
10:22:42.935 [DEBUG] [TestEventLogger]
10:22:42.935 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentLocationTest STARTED
10:22:43.074 [DEBUG] [TestEventLogger]
10:22:43.074 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentLocationTest > test STARTED
10:22:43.077 [DEBUG] [TestEventLogger]
10:22:43.077 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentLocationTest > test PASSED
10:22:43.078 [DEBUG] [TestEventLogger]
10:22:43.079 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentLocationTest PASSED
10:22:43.079 [QUIET] [system.out] 10:22:43.079 [DEBUG] [org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor] Executing test class nl.buroboot.danielvandenberg.junittest.AppointmentStatusTest
10:22:43.080 [DEBUG] [TestEventLogger]
10:22:43.080 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentStatusTest STARTED
10:22:43.083 [DEBUG] [TestEventLogger]
10:22:43.083 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentStatusTest > test STARTED
10:22:43.085 [DEBUG] [TestEventLogger]
10:22:43.085 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentStatusTest > test PASSED
10:22:43.086 [DEBUG] [TestEventLogger]
10:22:43.086 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentStatusTest PASSED
10:22:43.087 [QUIET] [system.out] 10:22:43.087 [DEBUG] [org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor] Executing test class nl.buroboot.danielvandenberg.junittest.AppointmentTest
10:22:43.088 [DEBUG] [TestEventLogger]
10:22:43.088 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentTest STARTED
10:22:43.112 [DEBUG] [TestEventLogger]
10:22:43.112 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentTest > test STARTED
10:22:43.117 [DEBUG] [TestEventLogger]
10:22:43.117 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentTest > test STANDARD_ERROR
10:22:43.119 [DEBUG] [TestEventLogger] 5 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method move
10:22:43.120 [DEBUG] [TestEventLogger] 10 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method requestMove
10:22:43.121 [DEBUG] [TestEventLogger] 10 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method setFulfilled
10:22:43.122 [DEBUG] [TestEventLogger] 12 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method setFailed
10:22:43.123 [DEBUG] [TestEventLogger] 12 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method equals
10:22:43.124 [DEBUG] [TestEventLogger]
10:22:43.124 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentTest > test PASSED
10:22:43.124 [DEBUG] [TestEventLogger]
10:22:43.124 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentTest PASSED
10:22:43.126 [QUIET] [system.out] 10:22:43.125 [INFO] [org.gradle.api.internal.tasks.testing.worker.TestWorker] Gradle Test Executor 1 finished executing tests.
10:22:43.129 [QUIET] [system.out] 10:22:43.129 [DEBUG] [org.gradle.process.internal.child.ActionExecutionWorker] Completed Gradle Test Executor 1.
10:22:43.131 [DEBUG] [TestEventLogger]
10:22:43.131 [DEBUG] [TestEventLogger] Gradle Test Executor 1 PASSED
10:22:43.136 [QUIET] [system.out] 10:22:43.135 [DEBUG] [org.gradle.process.internal.child.ActionExecutionWorker] Stopping client connection.
10:22:43.204 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: SUCCEEDED
10:22:43.205 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'Gradle Test Executor 1' finished with exit value 0 (state: SUCCEEDED)
10:22:43.212 [DEBUG] [TestEventLogger]
10:22:43.212 [DEBUG] [TestEventLogger] Gradle Test Run :test PASSED
10:22:43.271 [INFO] [org.gradle.api.internal.tasks.testing.junit.result.Binary2JUnitXmlReportGenerator] Finished generating test XML results (0.022 secs) into: C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build\test-results
10:22:43.272 [INFO] [org.gradle.api.internal.tasks.testing.junit.report.DefaultTestReport] Generating HTML test report...
10:22:43.336 [INFO] [org.gradle.api.internal.tasks.testing.junit.report.DefaultTestReport] Finished generating test html results (0.063 secs) into: C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build\reports\tests
10:22:43.381 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':test'
10:22:43.381 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :test (Thread[main,5,main]) completed. Took 2.955 secs.
10:22:43.382 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 5.906 secs, idle: 0.005 secs
10:22:43.382 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Executing the DAG took 5.939 secs
10:22:43.382 [LIFECYCLE] [org.gradle.BuildResultLogger]
10:22:43.382 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD SUCCESSFUL
10:22:43.383 [LIFECYCLE] [org.gradle.BuildResultLogger]
10:22:43.383 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 13.037 secs
10:22:43.384 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
10:22:43.384 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
10:22:43.390 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory workerMain (C:\Users\Beheerder\.gradle\caches\2.4\workerMain).
10:22:43.391 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build.gradle' (C:\Users\Beheerder\.gradle\caches\2.4\scripts\build_1pxgds8pq1zzj1t7lr0294yep\ProjectScript\buildscript).
10:22:43.394 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\build.gradle' (C:\Users\Beheerder\.gradle\caches\2.4\scripts\build_1pxgds8pq1zzj1t7lr0294yep\ProjectScript\no_buildscript).
10:22:43.395 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (C:\Users\Beheerder\.gradle\caches\modules-2\metadata-2.15\module-metadata.bin)
10:22:43.395 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (C:\Users\Beheerder\.gradle\caches\modules-2\metadata-2.15\artifact-at-repository.bin)
10:22:43.395 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (C:\Users\Beheerder\.gradle\caches\modules-2).
10:22:43.412 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (C:\Users\Beheerder\.gradle\caches\2.4\plugin-resolution) was closed 0 times.
10:22:43.413 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\.gradle\2.4\taskArtifacts\fileSnapshots.bin)
10:22:43.416 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\.gradle\2.4\taskArtifacts\fileHashes.bin)
10:22:43.425 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\.gradle\2.4\taskArtifacts\outputFileStates.bin)
10:22:43.425 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\.gradle\2.4\taskArtifacts\taskArtifacts.bin)
10:22:43.428 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (C:\Users\Beheerder\.jenkins\jobs\Planning library\branches\appointmentClassAndTests\workspace\.gradle\2.4\taskArtifacts).
10:22:43.433 [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 secs)
10:22:43.434 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
10:22:43.434 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.004 secs
10:22:43.434 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 3, cache instances: 1, modules served from cache: 4, artifacts: 4
Build step 'Invoke Gradle script' changed build result to SUCCESS
And that's not even half the log. Now somewhere in there is the following:
10:22:43.117 [DEBUG] [TestEventLogger] nl.buroboot.danielvandenberg.junittest.AppointmentTest > test STANDARD_ERROR
10:22:43.119 [DEBUG] [TestEventLogger] 5 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method move
10:22:43.120 [DEBUG] [TestEventLogger] 10 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method requestMove
10:22:43.121 [DEBUG] [TestEventLogger] 10 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method setFulfilled
10:22:43.122 [DEBUG] [TestEventLogger] 12 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method setFailed
10:22:43.123 [DEBUG] [TestEventLogger] 12 [Test worker] WARN nl.buroboot.danielvandenberg.junittest.AppointmentTest - Unimplemented method equals
This part is actually useful. But I don't want to have to scan through all that code to find those parts. Now my question is, is there a way to let gradle filter out only the messages containing the tag [TestEventLogger]?
Okay, so I figured it out. You just shouldn't use the -d option. Only supplying
test {
testLogging.showStandardStreams = true
}
is enough to show logs. Hope this helps others running into the same problem.

Error: Log capture did not start in a reasonable amount of time #472

I am new to Appium and I am trying to run the appium.app with iOS option using stimulator.I have selected the app path and show stimulator log with platform version as 8.1.
I have also added appium.txt file with the following content in the appium installation directory.
[caps]
platformName = "ios"
deviceName = "iPhone 6"
platformVersion = "8.1"
app = “/Users/dhanasekarbabu/downloads/untitled/UICatalog.app"
Also please find the following log,
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --platform-version "8.1" --platform-name "iOS" --app "/Users/dhanasekarbabu/Downloads/untitled/UICatalog.app" --show-ios-log --default-device
info: Welcome to Appium v1.3.6 (REV 004f52f249d3513809e7d0734d9205d1fec19f8e)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"app":"/Users/dhanasekarbabu/Downloads/untitled/UICatalog.app","platformName":"iOS","platformVersion":"8.1","defaultDevice":true,"showIOSLog":true,"defaultCommandTimeout":7200}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: <-- GET /wd/hub/status 200 13.582 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: <-- GET /wd/hub/status 200 4.070 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 1.517 ms - 23 {"status":0,"value":[]}
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.1","newCommandTimeout":"999999","automationName":"Appium"}}
error: The following desired capabilities are required, but were not provided: deviceName
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.2.4 Darwin/14.1.0 (x86_64)
info: [debug] Got configuration error, not starting session
info: [debug] Cleaning up appium session
info: [debug] Error: The following desired capabilities are required, but were not provided: deviceName
at Capabilities.checkValidity (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/capabilities.js:143:13)
at Appium.configure (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/appium.js:238:35)
at null. (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/appium.js:118:10)
at Appium.start (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/appium.js:129:5)
at Object.exports.createSession as handle
at next_layer (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/route.js:113:13)
at Route.dispatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/route.js:117:5)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:222:24
at Function.proto.process_params (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:288:12)
at next (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:216:19)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: The following desired capabilities are required, but were not provided: deviceName)","origValue":"The following desired capabilities are required, but were not provided: deviceName"},"sessionId":null}
info: <-- POST /wd/hub/session 500 16.616 ms - 286
error: Failed to start an Appium session, err was: Error: The following desired capabilities are required, but were not provided: deviceName
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: <-- GET /wd/hub/status 200 1.698 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
Also if i select force device and provided a UDID after selecting the UDID I'm getting the issue "Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time".
I have changed the stuimulator devices and i am facing the same issue.
Also please find the following go for your reference.
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --platform-version "8.1" --platform-name "iOS" --app "/Users/dhanasekarbabu/Downloads/untitled/UICatalog.app" --udid "F07654AE-E9B5-4A5F-956A-D20091413DAB" --show-ios-log --device-name "iPhone 5 (F07654AE-E9B5-4A5F-956A-D20091413DAB)"
info: Welcome to Appium v1.3.6 (REV 004f52f249d3513809e7d0734d9205d1fec19f8e)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"app":"/Users/dhanasekarbabu/Downloads/untitled/UICatalog.app","udid":"F07654AE-E9B5-4A5F-956A-D20091413DAB","deviceName":"iPhone 5 (F07654AE-E9B5-4A5F-956A-D20091413DAB)","platformName":"iOS","platformVersion":"8.1","showIOSLog":true,"defaultCommandTimeout":7200}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: <-- GET /wd/hub/status 200 12.528 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: <-- GET /wd/hub/status 200 4.022 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 1.527 ms - 23 {"status":0,"value":[]}
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.1","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 5 (F07654AE-E9B5-4A5F-956A-D20091413DAB)"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.2.4 Darwin/14.1.0 (x86_64)
info: [debug] Using local app from command line: /Users/dhanasekarbabu/Downloads/untitled/UICatalog.app
info: [debug] Creating new appium session 8a4d5f38-d574-4338-85e3-443e04a26ed8
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.2
info: [debug] Not checking whether simulator is available since we're on a real device
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/dhanasekarbabu/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/dhanasekarbabu/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Reusing dynamic bootstrap: /Users/dhanasekarbabu/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.2","iOSSDKVersion":"8.2","deviceName":"iPhone 5 (F07654AE-E9B5-4A5F-956A-D20091413DAB)","platformVersion":"8.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 5 (F07654AE-E9B5-4A5F-956A-D20091413DAB) (8.1 Simulator)'
info: [debug] Not setting device type since we're on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info: [debug] On a real device; cannot clean device state
info: [debug] Not setting locale because we're using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"},"isShuttingDown":false},"sessionId":"8a4d5f38-d574-4338-85e3-443e04a26ed8"}
info: <-- GET /wd/hub/status 200 2.968 ms - 178 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"},"isShuttingDown":false},"sessionId":"8a4d5f38-d574-4338-85e3-443e04a26ed8"}
info: [debug] Cleaning up appium session
info: [debug] Error: Log capture did not start in a reasonable amount of time
at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:137:10)
at Timer.listOnTimeout (timers.js:110:15)
error: Log capture did not start in a reasonable amount of time
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)","origValue":"Log capture did not start in a reasonable amount of time"},"sessionId":null}
info: <-- POST /wd/hub/session 500 10325.771 ms - 234
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid F07654AE-E9B5-4A5F-956A-D20091413DAB
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id F07654AE-E9B5-4A5F-956A-D20091413DAB --bundle com.example.apple-samplecode.UICatalog
error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time
Please help me to solve this issue.
Thanks in Advance
Regards,
Rajesh D

Resources