You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/02/04 12:24:27 UTC
[jira] Created: (SLING-1350) Many test failures in
contrib/launchpad/testing
Many test failures in contrib/launchpad/testing
------------------------------------------------
Key: SLING-1350
URL: https://issues.apache.org/jira/browse/SLING-1350
Project: Sling
Issue Type: Bug
Components: Testing
Reporter: Michael Dürig
Priority: Minor
The following tests fail:
Failed tests:
testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1350) Many test failures in
contrib/launchpad/testing
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858448#action_12858448 ]
Michael Dürig commented on SLING-1350:
--------------------------------------
Yes, it is a know issue ATM. The problem is only observed on the very first request after the bundle has been installed. It does not occur later on, not even after restarting Sling.
> Many test failures in contrib/launchpad/testing
> ------------------------------------------------
>
> Key: SLING-1350
> URL: https://issues.apache.org/jira/browse/SLING-1350
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Michael Dürig
> Priority: Minor
> Attachments: SLING-1350-scala.patch
>
>
> The following tests fail:
> Failed tests:
> testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
> testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
> testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
> testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
> Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1350) Many test failures in
contrib/launchpad/testing
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843189#action_12843189 ]
Michael Dürig commented on SLING-1350:
--------------------------------------
Forget the patch. According to Carsten, rtp is borken ATM. I'll update the patch such that rtp is not needed.
> Many test failures in contrib/launchpad/testing
> ------------------------------------------------
>
> Key: SLING-1350
> URL: https://issues.apache.org/jira/browse/SLING-1350
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Michael Dürig
> Priority: Minor
> Attachments: SLING-1350-scala.patch
>
>
> The following tests fail:
> Failed tests:
> testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
> testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
> testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
> testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
> Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1350) Many test failures in
contrib/launchpad/testing
Posted by "Pontus Amberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858357#action_12858357 ]
Pontus Amberg commented on SLING-1350:
--------------------------------------
Is this bug & patch still the reason why org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest fails in testIgnore?
> Many test failures in contrib/launchpad/testing
> ------------------------------------------------
>
> Key: SLING-1350
> URL: https://issues.apache.org/jira/browse/SLING-1350
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Michael Dürig
> Priority: Minor
> Attachments: SLING-1350-scala.patch
>
>
> The following tests fail:
> Failed tests:
> testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
> testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
> testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
> testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
> Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1350) Many test failures in
contrib/launchpad/testing
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig updated SLING-1350:
---------------------------------
Attachment: SLING-1350-scala.patch
Patch which fixes the Scala scripting engine issues. However, there is some class loading problem which causes an error on the first request:
javax.script.ScriptException: ERROR : error while loading ScriptHelper, class file 'org/apache/sling/scripting/core/ScriptHelper.class' is broken
(class org.osgi.framework.BundleContext not found.)
The error does only occur on the first request and only on the first start of the Sling application.
> Many test failures in contrib/launchpad/testing
> ------------------------------------------------
>
> Key: SLING-1350
> URL: https://issues.apache.org/jira/browse/SLING-1350
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Michael Dürig
> Priority: Minor
> Attachments: SLING-1350-scala.patch
>
>
> The following tests fail:
> Failed tests:
> testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
> testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
> testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
> testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
> Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1350) Many test failures in
contrib/launchpad/testing
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843532#action_12843532 ]
Carsten Ziegeler commented on SLING-1350:
-----------------------------------------
Thanks for your patch, Michael - I just applied a slightly modified version.
The path based resource decorator is working now as well.
The scala tests now pass, but the the scala hello-world and forum tests do not pass :)
If you need to adjust the bundles list, it is in src/main/bundles/list.xml
> Many test failures in contrib/launchpad/testing
> ------------------------------------------------
>
> Key: SLING-1350
> URL: https://issues.apache.org/jira/browse/SLING-1350
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Michael Dürig
> Priority: Minor
> Attachments: SLING-1350-scala.patch
>
>
> The following tests fail:
> Failed tests:
> testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
> testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
> testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
> testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
> testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
> testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
> Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.