[ 
https://issues.apache.org/jira/browse/SLING-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Zafiu updated SLING-4259:
--------------------------------
    Description: 
After a SVN checkout from the main trunk, all the tests from 
testing/samples/integration-tests will fail when using the "mvn clean install" 
command.

The main error seems to be that the bundles are not properly installed:

org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start 
(org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing 
requirement [107.0] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing 
requirement [107.0] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0)))

I have attached the error.log file from sling/default/logs after 2 runs, one 
with the "mvn clean install command" and one with the "mvn clean verify 
-DkeepJarRunning=true -Dhttp.port=8999" command.

Additional information: If I start the sling launchpad from the sling trunk and 
set the properties in the pom.xml of the integration-test folder to use the 
launched instance instead of the bundled one then the test will pass. 



  was:
After a SVN checkout from the main trunk, all the tests from 
testing/samples/integration-tests will fail when using the "mvn clean install" 
command.

The main error seems to be that the bundles are not properly installed:

org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start 
(org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing 
requirement [107.0] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing 
requirement [107.0] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0)))

I have attached the error.log file from sling/default/logs after 2 runs, one 
with the "mvn clean install command" and one with the "mvn clean verify 
-DkeepJarRunning=true -Dhttp.port=8999" command.




> Cannot run integration tests using the default configuration
> ------------------------------------------------------------
>
>                 Key: SLING-4259
>                 URL: https://issues.apache.org/jira/browse/SLING-4259
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Launchpad Builder 8
>         Environment: Windows 7 64 bit, apache sling latest trunk version 
> (8-SNAPSHOT), java 1.7 64-bit, maven 3.2.3
>            Reporter: Andrei Zafiu
>            Priority: Minor
>         Attachments: error.log
>
>
> After a SVN checkout from the main trunk, all the tests from 
> testing/samples/integration-tests will fail when using the "mvn clean 
> install" command.
> The main error seems to be that the bundles are not properly installed:
> org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start 
> (org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing 
> requirement [107.0] osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing 
> requirement [107.0] osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0)))
> I have attached the error.log file from sling/default/logs after 2 runs, one 
> with the "mvn clean install command" and one with the "mvn clean verify 
> -DkeepJarRunning=true -Dhttp.port=8999" command.
> Additional information: If I start the sling launchpad from the sling trunk 
> and set the properties in the pom.xml of the integration-test folder to use 
> the launched instance instead of the bundled one then the test will pass. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to