The org.ametys.plugins.core.ui.script.StaticConfigurableScriptBinding which is the customizable script binding without configurating a new script binding generates a long warb log when WEB-INF/param/scripts.xml file doesn't exist.
We shouldn't have the complete stack trace for this case.
2020-06-23 04:17:09,186 WARN [org.ametys.plugins.core.ui.script.StaticConfigurableScriptBinding] - No script binding file was found at context://WEB-INF/param/scripts.xml. Using internally declared config.
org.apache.excalibur.source.SourceNotFoundException: file:/srv/jenkins/ametys/.jenkins/jobs/Plugin-ODF-Sync/workspace/tmp/test-env/tmp/webapp-6658411846087492784/WEB-INF/param/scripts.xml doesn't exist.
at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
at org.ametys.plugins.core.ui.script.StaticConfigurableScriptBinding._getConfiguration(StaticConfigurableScriptBinding.java:364)
at org.ametys.plugins.core.ui.script.StaticConfigurableScriptBinding._getFileConfiguration(StaticConfigurableScriptBinding.java:300)
at org.ametys.plugins.core.ui.script.StaticConfigurableScriptBinding.configure(StaticConfigurableScriptBinding.java:119)
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:383)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:402)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:230)
at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:242)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:207)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:162)
at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:95)
at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69)
at org.ametys.plugins.core.ui.script.ScriptHandler.service(ScriptHandler.java:84)
at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:381)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:177)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:142)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:162)
at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:95)
at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69)
at org.ametys.plugins.core.impl.schedule.ScriptSchedulable.service(ScriptSchedulable.java:63)
at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:381)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:402)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:230)
at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:242)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:207)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:230)
at org.ametys.runtime.plugin.component.PluginsComponentManager.initialize(PluginsComponentManager.java:60)
at org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:453)
at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:49)
at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:174)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245)
at org.ametys.runtime.test.framework.CocoonWrapper.initialize(CocoonWrapper.java:156)
at org.ametys.runtime.test.framework.CocoonHelper._startCocoon(CocoonHelper.java:243)
at org.ametys.runtime.test.framework.CocoonHelper.startApplication(CocoonHelper.java:81)
at org.ametys.runtime.test.framework.AbstractRuntimeTestCase._startCocoonApplication(AbstractRuntimeTestCase.java:230)
at org.ametys.runtime.test.framework.AbstractRuntimeTestCase.startCocoon(AbstractRuntimeTestCase.java:193)
at org.ametys.runtime.test.framework.AbstractRuntimeTestCase._startCocoon(AbstractRuntimeTestCase.java:164)
at org.ametys.runtime.test.framework.AbstractRuntimeTestCase.essentialsBefore(AbstractRuntimeTestCase.java:126)
at org.ametys.plugins.odfsync.AbstractOdfSyncTestCase.essentialsBefore(AbstractOdfSyncTestCase.java:139)
at org.ametys.runtime.test.framework.AbstractRuntimeTestCase._beforeCatchingException(AbstractRuntimeTestCase.java:97)
at org.ametys.runtime.test.framework.AbstractRuntimeTestCase.beforeClass(AbstractRuntimeTestCase.java:76)
at org.ametys.runtime.test.framework.AmetysJUnitClassRunner.createTest(AmetysJUnitClassRunner.java:48)
at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:260)
at org.junit.runners.BlockJUnit4ClassRunner$2.runReflectiveCall(BlockJUnit4ClassRunner.java:309)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.ametys.runtime.test.framework.AmetysJUnitClassRunner.run(AmetysJUnitClassRunner.java:56)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:523)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1063)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:914)
Caused by: java.io.FileNotFoundException: /srv/jenkins/ametys/.jenkins/jobs/Plugin-ODF-Sync/workspace/tmp/test-env/tmp/webapp-6658411846087492784/WEB-INF/param/scripts.xml (Aucun fichier ou dossier de ce type)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
... 73 more