Browsersync Https proxy will not inject css or reload browser - proxy

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

Related

terraform manually installed plugin fails

I am using terraform 0.13.0 and trying to the kubernetes-alpha provider (https://github.com/hashicorp/terraform-provider-kubernetes-alpha). I download the plugin for Mac and copied the plugin to ~/.terraform.d/plugins dir
when I run terraform init it doesn't find the local plugin, instead it is trying to find from hashicorp site
terraform init
2020/08/21 16:42:58 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/08/21 16:42:58 [INFO] Terraform version: 0.13.0
2020/08/21 16:42:58 [INFO] Go runtime version: go1.14.2
2020/08/21 16:42:58 [INFO] CLI args: []string{"<$HOME>/bin/terraform", "init"}
2020/08/21 16:42:58 [DEBUG] Attempting to open CLI config file: <$HOME>/.terraformrc
2020/08/21 16:42:58 Loading CLI configuration from <$HOME>/.terraformrc
2020/08/21 16:42:58 [DEBUG] checking for credentials in "<$HOME>/.terraform.d/plugins"
2020/08/21 16:42:58 [DEBUG] checking for credentials in "<$HOME>/.terraform.d/plugins/darwin_amd64"
2020/08/21 16:42:58 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/08/21 16:42:58 [DEBUG] will search for provider plugins in <$HOME>/.terraform.d/plugins
2020/08/21 16:42:58 [DEBUG] ignoring non-existing provider search directory <$HOME>/Library/Application Support/io.terraform/plugins
2020/08/21 16:42:58 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2020/08/21 16:42:58 [INFO] CLI command args: []string{"init"}
2020/08/21 16:42:58 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
Initializing modules...
2020/08/21 16:42:58 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/08/21 16:42:58 [DEBUG] Module installer: begin app
- app in app
2020/08/21 16:42:58 [DEBUG] Module installer: app installed at app
2020/08/21 16:42:58 [DEBUG] Module installer: begin gke
- gke in gke
2020/08/21 16:42:58 [DEBUG] Module installer: gke installed at gke
2020/08/21 16:42:58 [DEBUG] Module installer: begin iam
2020/08/21 16:42:58 [DEBUG] Module installer: iam installed at iam
2020/08/21 16:42:58 [DEBUG] Module installer: begin vpc
- iam in iam
2020/08/21 16:42:58 [DEBUG] Module installer: vpc installed at vpc
Initializing the backend...
2020/08/21 16:42:58 [DEBUG] New state was assigned lineage "7541d58f-fc27-1b61-d496-834e76d1fcdb"
2020/08/21 16:42:58 [DEBUG] checking for provisioner in "."
Initializing provider plugins...
- Finding latest version of hashicorp/kubernetes-alpha...
2020/08/21 16:42:58 [DEBUG] checking for provisioner in "<$HOME>/bin"
2020/08/21 16:42:58 [DEBUG] checking for provisioner in "<$HOME>/.terraform.d/plugins"
2020/08/21 16:42:58 [DEBUG] checking for provisioner in "<$HOME>/.terraform.d/plugins/darwin_amd64"
2020/08/21 16:42:58 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2020/08/21 16:42:58 [WARN] Failed to scan provider cache directory .terraform/plugins: cannot search .terraform/plugins: lstat .terraform/plugins: no such file or directory
2020/08/21 16:42:58 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2020/08/21 16:42:58 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/08/21 16:42:58 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/kubernetes-alpha/versions
- Finding latest version of hashicorp/google...
- Installing hashicorp/google v3.35.0...
- Installed hashicorp/google v3.35.0 (unauthenticated)
2020/08/21 16:42:59 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/08/21 16:42:59 [DEBUG] GET https://registry.terraform.io/v1/providers/-/kubernetes-alpha/versions
Error: Failed to install provider
Error while installing hashicorp/kubernetes-alpha: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/kubernetes-alpha
Next I tried to force the plugin by adding a requires
terraform {
required_providers {
kubernetes-alpha = {
source = "localdomain/provider/kubernetes-alpha"
version = "0.1.0"
}
}
}
and copied the plugin to
$HOME/.terraform.d/plugins/localdomain/provider/kubernetes-alpha/0.1.0/darwin_amd64
Initializing provider plugins...
2020/08/21 16:54:41 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
- Finding localdomain/provider/kubernetes-alpha versions matching "0.1.0"...
- Finding latest version of hashicorp/google...
- Finding latest version of hashicorp/kubernetes-alpha...
2020/08/21 16:54:42 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/08/21 16:54:42 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/kubernetes-alpha/versions
- Installing hashicorp/google v3.35.0...
- Installed hashicorp/google v3.35.0 (unauthenticated)
- Installing localdomain/provider/kubernetes-alpha v0.1.0...
- Installed localdomain/provider/kubernetes-alpha v0.1.0 (unauthenticated)
2020/08/21 16:54:42 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/08/21 16:54:42 [DEBUG] GET https://registry.terraform.io/v1/providers/-/kubernetes-alpha/versions
Error: Failed to install provider
Error while installing hashicorp/kubernetes-alpha: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/kubernetes-alpha
I can't figure out why it is trying to find the plugin on registry rather than using local.
I am new to terraform and wondering if I am missing something basic.
You'll have to run terraform state replace-provider 'registry.terraform.io/-/kubernetes-alpha' 'localdomain/provider/kubernetes-alpha' in order to fix any legacy / non-namespaced providers. See the 0.13 upgrade guide here for more details.

Pact provider doesn't send verification to Pact Broker

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

Typical performance in Slick (ver. 3.1.1)

I have following SQL query:
select `sr_roleName`, `sr_id` from `db_security_role` where `sr_roleName` = 'admin'
It's generated from following Slick code:
RoleTable.filter(_.name === roleName).result.head
So - it seems pretty straightforward (actually the simplest thing you may have, right?). Now let's look at the following results (logs below):
[debug] s.c.QueryCompilerBenchmark - ------------------- Phase: Time ---------
[debug] s.c.QueryCompilerBenchmark - assignUniqueSymbols: 0.257579 ms
[debug] s.c.QueryCompilerBenchmark - inferTypes: 0.774230 ms
[debug] s.c.QueryCompilerBenchmark - expandTables: 18.949290 ms
[debug] s.c.QueryCompilerBenchmark - forceOuterBinds: 3.438698 ms
[debug] s.c.QueryCompilerBenchmark - removeMappedTypes: 2.760705 ms
[debug] s.c.QueryCompilerBenchmark - expandSums: 0.702326 ms
[debug] s.c.QueryCompilerBenchmark - emulateOuterJoins: 1.025963 ms
[debug] s.c.QueryCompilerBenchmark - expandRecords: 1.022323 ms
[debug] s.c.QueryCompilerBenchmark - flattenProjections: 10.691557 ms
[debug] s.c.QueryCompilerBenchmark - rewriteJoins: 0.790561 ms
[debug] s.c.QueryCompilerBenchmark - verifySymbols: 4.421257 ms
[debug] s.c.QueryCompilerBenchmark - relabelUnions: 1.511849 ms
[debug] s.c.QueryCompilerBenchmark - createAggregates: 0.612787 ms
[debug] s.c.QueryCompilerBenchmark - resolveZipJoins: 0.723972 ms
[debug] s.c.QueryCompilerBenchmark - pruneProjections: 4.261886 ms
[debug] s.c.QueryCompilerBenchmark - rewriteDistinct: 2.408857 ms
[debug] s.c.QueryCompilerBenchmark - createResultSetMapping: 2.745822 ms
[debug] s.c.QueryCompilerBenchmark - hoistClientOps: 7.755399 ms
[debug] s.c.QueryCompilerBenchmark - reorderOperations: 1.650360 ms
[debug] s.c.QueryCompilerBenchmark - mergeToComprehensions: 27.408578 ms
[debug] s.c.QueryCompilerBenchmark - optimizeScalar: 1.784032 ms
[debug] s.c.QueryCompilerBenchmark - removeFieldNames: 13.811206 ms
[debug] s.c.QueryCompilerBenchmark - codeGen: 20.328294 ms
[debug] s.c.QueryCompilerBenchmark - TOTAL: 129.837531 ms
[debug] s.j.J.statement - Preparing statement: select `sr_roleName`, `sr_id` from `db_security_role` where `sr_roleName` = 'admin'
[debug] s.j.J.benchmark - Execution of prepared statement took 425µs
As you can see actual query execution costs (takes time) about 425µs. Possible - it's executed on the local machine / local database. What however is extremely strange for me is this: whole query preparation time altogether costs 129.837531 ms (which is 300x the time of actual query execution).
So basically my question is:
is this a typical performance characteristic of Slick?
is there anything obvious that I may be doing wrong ?
thanks
Seems to be reasonable. Each time a parameterized query is executed, slick will need to recompile it. This can be avoided by pre-compiling such queries. For example:
def findByRoleName(roleName: Rep[String]) = RoleTable.filter(_.name === roleName)
val findByRoleNameCompiled = Compiled(findByRoleName _)
val result = findByRoleNameCompiled("myRole").result.head
Now the query will be compiled only once and you should notice an improved performance. This also works for inserting, updating and deleting. For details see Compiled Queries in the docs.
Actually the correct answer is in this comment by #szeiger: Typical performance in Slick (ver. 3.1.1)
Large query preparation times are simply caused by JVM not being warmed up. After executing various queries multiple times, next ones are prepared much faster. It's also worth to remember query compilation pointed by #Roman (although this is not really what the question in its essence is all about).
This quote from #szeiger in mentioned comment basically is the best answer for this question:
Averaged over 53 queries of low to medium complexity, I get 183 ms for the first run and only 14 ms after a few dozen runs

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