Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

./gradlew appserver fails with latest #393

Closed
gghai opened this issue Dec 19, 2014 · 8 comments
Closed

./gradlew appserver fails with latest #393

gghai opened this issue Dec 19, 2014 · 8 comments

Comments

@gghai
Copy link

gghai commented Dec 19, 2014

/home/builder/marklogic-samplestack
bash$ cd appserver/java-spring/
bash$ ./gradlew appserver
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/home/builder/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context
44f1/spring-context-4.1.0.RC2.jar(org/springframework/context/annotation/PropertySo
thod 'value()' in type 'Repeatable': class file for java.lang.annotation.Repeatable
2 warnings
:compileGroovy UP-TO-DATE
:processResources
:classes
:jar
:bootRepackage
:dbConfigureClean
:dbInit
Server already secured. Initialization skipped.
Server already secured. Initialization skipped
Creating users and roles...
Success: 201
:dbConfigure
Success: 204
No handler for file /home/builder/marklogic-samplestack/database/README.md
Putting database configuration database-properties.json
Success: 204
No handler for file /home/builder/marklogic-samplestack/database/LICENSE
Putting library extension tagged-with.xqy
Success: 201
Putting service extension related-tags.xqy
Success: 204
Putting transform single-question.sjs
Success: 204
Putting transform search-response.sjs
Success: 204
Putting search options hasVoted.json
Success: 201
Putting search options questions.json
Success: 201
Putting search options tags.json
Success: 201
Putting search options single-question.json
Success: 201
Putting search options contributors.json
Success: 201
:props UP-TO-DATE
:compileTestJava
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/home/builder/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context
44f1/spring-context-4.1.0.RC2.jar(org/springframework/context/annotation/PropertySo
thod 'value()' in type 'Repeatable': class file for java.lang.annotation.Repeatable
2 warnings
:compileTestGroovy UP-TO-DATE
:processTestResources
:testClasses
:test

com.marklogic.samplestack.database.DatabaseQnADocumentFAILEDIT > testResponseExtrac
java.lang.ClassCastException at DatabaseQnADocumentSearchIT.java:181
19:49:07.285 [Thread-55] INFO o.s.c.s.GenericApplicationContext - Closing org.spri
ontext@54d7153a: startup date [Thu Dec 18 19:49:03 PST 2014]; root of context hiera
19:49:07.285 [Thread-6] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.
pplicationContext@746beca: startup date [Thu Dec 18 19:48:27 PST 2014]; root of con
19:49:07.285 [Thread-4] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.
pplicationContext@62e34b49: startup date [Thu Dec 18 19:48:22 PST 2014]; root of co
19:49:07.285 [Thread-5] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.
pplicationContext@5ce08277: startup date [Thu Dec 18 19:48:25 PST 2014]; root of co
19:49:07.285 [Thread-56] INFO o.s.c.s.GenericApplicationContext - Closing org.spri
ontext@689e4702: startup date [Thu Dec 18 19:49:05 PST 2014]; root of context hiera
19:49:07.289 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques
19:49:07.290 [Thread-5] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX
19:49:07.297 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.298 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques
19:49:07.302 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques
19:49:07.305 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.307 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.310 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.311 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.315 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.316 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.320 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.321 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.325 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.325 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.329 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.330 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.333 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.334 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.338 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting /ques

19:49:07.340 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.342 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.m
d-f024-4478-a6dc-7e723a51b041.json
19:49:07.345 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.349 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.m
a-0663-45a5-8a08-f1c71320475f.json
19:49:07.350 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /quest
19:49:07.353 [Thread-55] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.m
c-dbf3-4008-b9d8-64f0491f1d4a.json
19:49:07.355 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.ma
-f024-4478-a6dc-7e723a51b041.json
19:49:07.362 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.ma
-0663-45a5-8a08-f1c71320475f.json
19:49:07.367 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.ma
-dbf3-4008-b9d8-64f0491f1d4a.json
19:49:07.372 [Thread-6] INFO o.s.s.ldap.server.ApacheDSContainer - Shutting down d
19:49:07.395 [Thread-6] INFO o.s.s.ldap.server.ApacheDSContainer - Deleting workin
061561477153

83 tests completed, 1 failed, 6 skipped
:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':test'.

    There were failing tests. See the report at: file:///home/builder/marklogic-sampl
    s/index.html

  • Try:
    Run with --stacktrace option to get the stack trace. R option to get more log outpu

BUILD FAILED

Total time: 1 mins 11.44 secs

@gghai gghai added this to the 8.0-1 milestone Dec 19, 2014
@gghai
Copy link
Author

gghai commented Dec 19, 2014

bash$ git rev-parse HEAD
ac31ea3

@gghai gghai added critical and removed major labels Dec 19, 2014
@laurelnaiad
Copy link
Contributor

Is it possible to make unit test failure a "soft fail" that allows the bootrun task still to execute? I think we'll always have false positive, I know we do in the browser, maybe best to let people use it anyway (the appserver task, that is -- Gaurav was able to launch the app via direct call to bootrun).

@laurelnaiad
Copy link
Contributor

We have customers and staff finding that they feel stuck when a unit test fails, so I think it would be nice to let it continue. I will go get you the report. You can't reproduce it?

@gghai
Copy link
Author

gghai commented Dec 19, 2014

ofclan16-18-253:java-spring demouser$ ./gradlew test
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/Users/demouser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.1.0.RC2/f39b9297351e99fa0427b583aa0264f3986f44f1/spring-context-4.1.0.RC2.jar(org/springframework/context/annotation/PropertySource.class): warning: Cannot find annotation method 'value()' in type 'Repeatable': class file for java.lang.annotation.Repeatable not found
2 warnings
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes
:dbConfigure UP-TO-DATE
:props UP-TO-DATE
:compileTestJava
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/Users/demouser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.1.0.RC2/f39b9297351e99fa0427b583aa0264f3986f44f1/spring-context-4.1.0.RC2.jar(org/springframework/context/annotation/PropertySource.class): warning: Cannot find annotation method 'value()' in type 'Repeatable': class file for java.lang.annotation.Repeatable not found
2 warnings
:compileTestGroovy UP-TO-DATE
:processTestResources
:testClasses
:test

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testResponseExtracts FAILED
java.lang.ClassCastException at DatabaseQnADocumentSearchIT.java:181

com.marklogic.samplestack.integration.web.TagControllerIT > testSortFrequency FAILED
java.lang.AssertionError at TagControllerIT.java:77
09:53:03.065 [Thread-6] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@5b29c361: startup date [Fri Dec 19 09:52:32 PST 2014]; root of context hierarchy
09:53:03.065 [Thread-5] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@6ffcd9f9: startup date [Fri Dec 19 09:52:25 PST 2014]; root of context hierarchy
09:53:03.065 [Thread-55] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@5b2e31f3: startup date [Fri Dec 19 09:52:58 PST 2014]; root of context hierarchy
09:53:03.066 [Thread-4] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@164b9b8f: startup date [Fri Dec 19 09:52:17 PST 2014]; root of context hierarchy
09:53:03.067 [Thread-56] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@4cb1da73: startup date [Fri Dec 19 09:53:01 PST 2014]; root of context hierarchy
09:53:03.082 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864442.json
09:53:03.100 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864442.json
09:53:03.107 [Thread-56] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
09:53:03.118 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864445.json
09:53:03.133 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864445.json
09:53:03.139 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864449.json
09:53:03.148 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864449.json
09:53:03.155 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/01600486-60ea-4557-bcfc-9c10b06fb8cd.json
09:53:03.158 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/01600486-60ea-4557-bcfc-9c10b06fb8cd.json
09:53:03.164 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/778d0b9c-419f-496a-a300-44815d79708d.json
09:53:03.168 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/778d0b9c-419f-496a-a300-44815d79708d.json
09:53:03.244 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/8450f8a4-2782-4c8a-9fd9-b83bcacc5018.json
09:53:03.248 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/8450f8a4-2782-4c8a-9fd9-b83bcacc5018.json
09:53:03.257 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/e3d54960-40f7-4d86-b503-31f14f3dfa12.json
09:53:03.260 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/e3d54960-40f7-4d86-b503-31f14f3dfa12.json
09:53:03.270 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/fd044632-55eb-4c91-9300-7578cee12eb2.json
09:53:03.273 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/fd044632-55eb-4c91-9300-7578cee12eb2.json
09:53:03.289 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/3410347b-abf0-4e1a-8aa8-f153207322eb.json
09:53:03.294 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/3410347b-abf0-4e1a-8aa8-f153207322eb.json
09:53:03.299 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/5dce8909-0972-4289-93cd-f2e8790a17fb.json
09:53:03.305 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/5dce8909-0972-4289-93cd-f2e8790a17fb.json
09:53:03.307 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/6c90b1cf-2cd8-4a8d-87ae-0c6d5182d300.json
09:53:03.315 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/cf99542d-f024-4478-a6dc-7e723a51b041.json
09:53:03.330 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/6c90b1cf-2cd8-4a8d-87ae-0c6d5182d300.json
09:53:03.339 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/9611450a-0663-45a5-8a08-f1c71320475f.json
09:53:03.340 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/cf99542d-f024-4478-a6dc-7e723a51b041.json
09:53:03.348 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/779b383c-dbf3-4008-b9d8-64f0491f1d4a.json
09:53:03.356 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/9611450a-0663-45a5-8a08-f1c71320475f.json
09:53:03.362 [Thread-6] INFO o.s.s.ldap.server.ApacheDSContainer - Shutting down directory server ...
09:53:03.377 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/779b383c-dbf3-4008-b9d8-64f0491f1d4a.json
09:53:03.909 [Thread-6] INFO o.s.s.ldap.server.ApacheDSContainer - Deleting working directory /var/folders/t7/3dh7n5dx4gs6pqf3r1qqc99w0000gp/T/apacheds-spring-security-1419011559861334000

83 tests completed, 2 failed, 6 skipped
:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':test'.

    There were failing tests. See the report at: file:///Users/demouser/marklogic-samplestack/appserver/java-spring/build/reports/tests/index.html

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 17.558 secs

@gghai
Copy link
Author

gghai commented Dec 19, 2014

Test Summary
83

tests

2

failures

6

ignored

22.372s

duration

97%

successful

Failed tests
Ignored tests
Packages
Classes

DatabaseQnADocumentSearchIT. testResponseExtracts :   

Log
ava.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
at com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT.testResponseExtracts(DatabaseQnADocumentSearchIT.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:72)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:81)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:216)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:82)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:60)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:67)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:162)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:69)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:355)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Generated by Gradle 2.1 at Dec 19, 2014 9:53:04 AM

+++++++++++++++++++++++++++++++++++++++++++++++++
TagControllerIT. testSortFrequency

Log

java.lang.AssertionError: values-response.distinct-value[_value=javascript]
Expected: a JSON object
but none found
; values-response.distinct-value[_value=test-data-tag].frequency
Expected: 11
got: 10
; values-response.distinct-value[_value=clojure]
Unexpected: a JSON object

at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:222)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:192)
at com.marklogic.samplestack.testing.TagControllerTestImpl.testLoggedInSortFrequency(TagControllerTestImpl.java:123)
at com.marklogic.samplestack.integration.web.TagControllerIT.testSortFrequency(TagControllerIT.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:72)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:81)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:216)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:82)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:60)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:67)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:162)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:69)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:355)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Generated by Gradle 2.1 at Dec 19, 2014 9:53:04 AM

@grechaw
Copy link
Contributor

grechaw commented Dec 19, 2014

This is the second test failure as in #367.
It happens once and only once, if you run appserver after dbload. It doesn't happen if I run appserver from a clean install. See that issue for more info. I will prepare a commit to igure this test too- it's a little trickier to uncover.

@grechaw
Copy link
Contributor

grechaw commented Dec 19, 2014

OK this is in pull #396 .

@grechaw grechaw added the test label Dec 20, 2014
@grechaw grechaw assigned gghai and unassigned grechaw Dec 20, 2014
@gghai
Copy link
Author

gghai commented Jan 5, 2015

Verified this is working fine with ML 01/05 build and develop code .

@gghai gghai added ship and removed test labels Jan 5, 2015
@gghai gghai removed their assignment Jan 5, 2015
@laurelnaiad laurelnaiad added closed and removed ship labels Feb 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants