Thanks. We're currently working actively in the daemon code and I'm on those windows issues.
Cheers! On Sun, Sep 11, 2011 at 9:27 PM, Spencer Allain <[email protected]>wrote: > Only 3 failed out of 568 integTests run. 2 were daemon related, and one > was logging related. > > The daemon stuff is probably still to be considered experimental under > Windows, so that's not a surprise, but I'm not sure what is causing the > logging one, as only part of the stack trace is printed out. I'm attaching > all three logs for completeness though. > daemons expire > > Condition not satisfied: > > reg.all.size() == 2 > | | | | > | | 1 false > | [DaemonStatus{address=[be0fc8b7-200c-44ce-ac79-93dc68290c0b port:50279, > addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], idle=true}] > org.gradle.launcher.daemon.PersistentDaemonRegistry@2b9fd66a > > at org.gradle.integtests.daemon.DaemonFunctionalTest.daemons > expire_closure3(DaemonFunctionalTest.groovy:79) > at org.gradle.integtests.daemon.DaemonFunctionalTest.daemons > expire_closure3(DaemonFunctionalTest.groovy) > at > org.gradle.integtests.daemon.DaemonFunctionalTest.poll(DaemonFunctionalTest.groovy:263) > at > org.gradle.integtests.daemon.DaemonFunctionalTest.poll(DaemonFunctionalTest.groovy) > at org.gradle.integtests.daemon.DaemonFunctionalTest.daemons > expire(DaemonFunctionalTest.groovy:79) > > stops all daemons > > Condition not satisfied: > > reg.busy.size() == 2 > | | | | > | [] 0 false > org.gradle.launcher.daemon.PersistentDaemonRegistry@75278880 > > at org.gradle.integtests.daemon.DaemonFunctionalTest.stops all > daemons_closure19(DaemonFunctionalTest.groovy:221) > at org.gradle.integtests.daemon.DaemonFunctionalTest.stops all > daemons_closure19(DaemonFunctionalTest.groovy) > at > org.gradle.integtests.daemon.DaemonFunctionalTest.poll(DaemonFunctionalTest.groovy:263) > at > org.gradle.integtests.daemon.DaemonFunctionalTest.poll(DaemonFunctionalTest.groovy) > at org.gradle.integtests.daemon.DaemonFunctionalTest.stops all > daemons(DaemonFunctionalTest.groovy:221) > > > infoLogging > java.lang.RuntimeException: Gradle execution failed in > C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging > with: cmd [/c, gradle, --gradle-user-home, > C:\gradle\code\gradle3\intTestHomeDir\worker-1, -i, -I, > C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\init.gradle, > log] > Output: > Starting Build > Compiling initialization script > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\init.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling initialization script > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\init.gradle' > using BuildScriptTransformer. > init QUIET out > init INFO out > init INFO err > init lifecycle log > init info log > ================================================ Start building buildSrc > Evaluating root project 'buildSrc' using build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\buildSrc\build.gradle'. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\buildSrc\build.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\buildSrc\build.gradle' > using BuildScriptTransformer. > main buildSrc quiet > main buildSrc info > :: loading settings :: url = > jar:file:/C:/gradle/code/gradle3/build/integ%20test/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml > :: resolving dependencies :: #buildSrc;unspecified > confs: [runtime] > :: resolution report :: resolve 47ms :: artifacts dl 0ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | runtime | 0 | 0 | 0 | 0 || 0 | 0 | > --------------------------------------------------------------------- > :: resolving dependencies :: #buildSrc;unspecified > confs: [detachedConfiguration1] > :: resolution report :: resolve 4ms :: artifacts dl 0ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > |detachedConfigurat| 0 | 0 | 0 | 0 || 0 | 0 | > --------------------------------------------------------------------- > Starting build for primary tasks 'clean', 'build'. > :buildSrc:clean > Task ':clean' has not declared any outputs, assuming that it is > out-of-date. > :buildSrc:compileJava > Skipping task ':compileJava' as it has no source files. > :buildSrc:compileJava UP-TO-DATE > :buildSrc:compileGroovy > Skipping task ':compileGroovy' as it has no source files. > :buildSrc:compileGroovy UP-TO-DATE > :buildSrc:processResources > Skipping task ':processResources' as it has no source files. > :buildSrc:processResources UP-TO-DATE > :buildSrc:classes > Skipping task ':classes' as it has no actions. > :buildSrc:classes UP-TO-DATE > :buildSrc:jar > Executing task ':jar' due to: > No history is available for task ':jar'. > :buildSrc:assemble > Skipping task ':assemble' as it has no actions. > :buildSrc:compileTestJava > Skipping task ':compileTestJava' as it has no source files. > :buildSrc:compileTestJava UP-TO-DATE > :buildSrc:compileTestGroovy > Skipping task ':compileTestGroovy' as it has no source files. > :buildSrc:compileTestGroovy UP-TO-DATE > :buildSrc:processTestResources > Skipping task ':processTestResources' as it has no source files. > :buildSrc:processTestResources UP-TO-DATE > :buildSrc:testClasses > Skipping task ':testClasses' as it has no actions. > :buildSrc:testClasses UP-TO-DATE > :buildSrc:test > file or directory > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\buildSrc\build\classes\test', > not found > :: resolving dependencies :: #buildSrc;unspecified > confs: [testRuntime] > :: resolution report :: resolve 13ms :: artifacts dl 0ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | testRuntime | 0 | 0 | 0 | 0 || 0 | 0 | > --------------------------------------------------------------------- > Executing task ':test' due to: > No history is available for task ':test'. > file or directory > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\buildSrc\build\classes\test', > not found > :buildSrc:check > Skipping task ':check' as it has no actions. > :buildSrc:build > Skipping task ':build' as it has no actions. > ================================================ Finished building buildSrc > Compiling settings file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\settings.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling settings file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\settings.gradle' > using BuildScriptTransformer. > settings quiet out > settings info out > settings lifecycle log > settings info log > LOGGER: evaluating : > Evaluating root project 'infoLogging' using build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\build.gradle'. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\build.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\build.gradle' > using BuildScriptTransformer. > Compiling script > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\external.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling script > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\external.gradle' > using BuildScriptTransformer. > external QUIET message > external INFO message > external LIFECYCLE error message > external LIFECYCLE log message > LOGGER: evaluated project : > LOGGER: evaluating :project1 > Evaluating project ':project1' using build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\project1\build.gradle'. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\project1\build.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\project1\build.gradle' > using BuildScriptTransformer. > An info log message which is always logged. > A warning log message. > A lifecycle info log message. > An info log message. > A message which is logged at QUIET level > Text which is logged at QUIET level > A message which is logged at INFO level > Text which is logged at INFO level > An error message which is logged at LIFECYCLE level > [ant:echo] A warn message logged from Ant > [ant:echo] An info message logged from Ant > An info log message logged using SLF4j > An info log message logged using JCL > An info log message logged using Log4j > A warning log message logged using JUL > An info log message logged using JUL > A config log message logged using JUL > LOGGER: evaluated project :project1 > LOGGER: evaluating :project2 > Evaluating project ':project2' using build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\project2\build.gradle'. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\project2\build.gradle' > using BuildScriptClasspathScriptTransformer. > quietProject2ScriptClassPathOut > infoProject2ScriptClassPathOut > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\project2\build.gradle' > using BuildScriptTransformer. > infoProject2Out > LOGGER: evaluated project :project2 > Starting build for primary task 'log'. > Tasks to be executed: [task ':project1:logInfo', task > ':project1:logLifecycle', task ':project1:nestedBuildLog', task > ':project1:log'] > quietProject2CallbackOut > LOGGER: executing :project1:logInfo > Task ':project1:logInfo' has not declared any outputs, assuming that it is > out-of-date. > LOGGER: task :project1:logInfo starting work > A task message which is logged at INFO level > LOGGER: task :project1:logInfo completed work > LOGGER: executed task :project1:logInfo > LOGGER: executing :project1:logLifecycle > Task ':project1:logLifecycle' has not declared any outputs, assuming that > it is out-of-date. > LOGGER: task :project1:logLifecycle starting work > A task message which is logged at LIFECYCLE level > A task error message which is logged at WARN level > LOGGER: task :project1:logLifecycle completed work > LOGGER: executed task :project1:logLifecycle > LOGGER: executing :project1:nestedBuildLog > Task ':project1:nestedBuildLog' has not declared any outputs, assuming that > it is out-of-date. > LOGGER: task :project1:nestedBuildLog starting work > ================================================ Start building buildSrc > Evaluating root project 'buildSrc' using build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\nestedBuild\buildSrc\build.gradle'. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\nestedBuild\buildSrc\build.gradle' > using BuildScriptClasspathScriptTransformer. > Compiling build file > 'C:\gradle\code\gradle3\subprojects\integ-test\build\tmp\tests\LoggingIntegrationTest\infoLogging\nestedBuild\buildSrc\build.gradle' > using BuildScriptTransformer. > nestedBuild buildSrc quiet > nestedBuild buildSrc info > :: resolving dependencies :: #buildSrc;unspecified > confs: [runtime] > :: resolution report :: resolve 4ms :: artifacts dl 0ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | runtime | 0 | 0 | 0 | 0 || 0 | 0 | > --------------------------------------------------------------------- > :: resolving dependencies :: #buildSrc;unspecified > confs: [detachedConfiguration1] > :: resolution report :: resolve 3ms :: artifacts dl 0ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > |detachedConfigurat| 0 | 0 | 0 | 0 || 0 | 0 | > --------------------------------------------------------------------- > Starting build for primary tasks 'clean', 'build'. > :buildSrc:clean > Task ':clean' has not declared any outputs, assuming that it is > out-of-date. > LOGGER: task :project1:nestedBuildLog completed work > LOGGER: executed task :project1:nestedBuildLog > LOGGER: build finished > init callback quiet out > > Error: > init ERROR err > external ERROR error message > An error log message. > An error message which is logged at ERROR level > [ant:echo] An error message logged from Ant > A severe log message logged using JUL > > ----- > > at > org.gradle.integtests.fixtures.ForkingGradleExecuter.doRun(ForkingGradleExecuter.java:123) > at > org.gradle.integtests.fixtures.ForkingGradleExecuter.doRun(ForkingGradleExecuter.java:56) > at > org.gradle.integtests.fixtures.AbstractGradleExecuter.run(AbstractGradleExecuter.java:245) > at > org.gradle.integtests.fixtures.GradleDistributionExecuter.doRun(GradleDistributionExecuter.java:134) > at > org.gradle.integtests.fixtures.AbstractGradleExecuter.run(AbstractGradleExecuter.java:245) > at org.gradle.integtests.fixtures.GradleExecuter$run.call(Unknown > Source) > at > org.gradle.integtests.LoggingIntegrationTest.run(LoggingIntegrationTest.groovy:223) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) > at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:923) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) > at groovy.lang.Closure.call(Closure.java:282) > at groovy.lang.Closure.call(Closure.java:295) > at groovy.lang.Closure$call.call(Unknown Source) > at > org.gradle.integtests.LoggingIntegrationTest.checkOutput(LoggingIntegrationTest.groovy:242) > at > org.gradle.integtests.LoggingIntegrationTest$checkOutput.callCurrent(Unknown > Source) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153) > at > org.gradle.integtests.LoggingIntegrationTest.infoLogging(LoggingIntegrationTest.groovy:167) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at org.gradle.util.TemporaryFolder$1.evaluate(TemporaryFolder.java:69) > at > org.gradle.integtests.fixtures.TestResources$1.evaluate(TestResources.java:63) > at org.gradle.integtests.fixtures.Sample$1.evaluate(Sample.java:60) > at > org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:51) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:63) > at > org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:49) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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:75) > at $Proxy3.processTestClass(Unknown Source) > at > org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:86) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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.TypeCastDispatch.dispatch(TypeCastDispatch.java:30) > at > org.gradle.messaging.remote.internal.WorkerProtocol.handleIncoming(WorkerProtocol.java:53) > at > org.gradle.messaging.remote.internal.WorkerProtocol.handleIncoming(WorkerProtocol.java:31) > at > org.gradle.messaging.remote.internal.ProtocolStack$ProtocolStage.handleIncoming(ProtocolStack.java:167) > at > org.gradle.messaging.remote.internal.ProtocolStack$BottomStage.handleIncoming(ProtocolStack.java:277) > at > org.gradle.messaging.remote.internal.ProtocolStack$BottomConnection$1.run(ProtocolStack.java:299) > at > org.gradle.messaging.remote.internal.ProtocolStack$ExecuteRunnable.dispatch(ProtocolStack.java:120) > at > org.gradle.messaging.remote.internal.ProtocolStack$ExecuteRunnable.dispatch(ProtocolStack.java:116) > at > org.gradle.messaging.dispatch.AsyncDispatch.dispatchMessages(AsyncDispatch.java:132) > at > org.gradle.messaging.dispatch.AsyncDispatch.access$000(AsyncDispatch.java:33) > at > org.gradle.messaging.dispatch.AsyncDispatch$1.run(AsyncDispatch.java:72) > at > org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > > > -Spencer -- Szczepan Faber Principal engineer@gradleware Lead@mockito
