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

Tommaso Teofili reassigned SLING-6088:
--------------------------------------

    Assignee:     (was: Tommaso Teofili)

> Distribution ITs fail on Jenkins
> --------------------------------
>
>                 Key: SLING-6088
>                 URL: https://issues.apache.org/jira/browse/SLING-6088
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>         Environment: Jenkins
>            Reporter: Robert Munteanu
>            Priority: Major
>
> The tests give up after 60 seconds:
> {noformat}
> 60433 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server 
> not ready after 60 seconds, giving up
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.479 sec 
> <<< FAILURE! - in 
> org.apache.sling.distribution.it.DistributionPackageExporterImporterTemporaryFoldersTest
> testAddExportImportTemp(org.apache.sling.distribution.it.DistributionPackageExporterImporterTemporaryFoldersTest)
>   Time elapsed: 0.006 sec  <<< FAILURE!
> java.lang.AssertionError: Server not ready after 60 seconds, giving up
>       at org.junit.Assert.fail(Assert.java:88)
>       at 
> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:326)
>       at 
> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
>       at 
> org.apache.sling.testing.tools.sling.SlingTestBase.getServerBaseUrl(SlingTestBase.java:231)
>       at 
> org.apache.sling.distribution.it.DistributionIntegrationTestBase.init(DistributionIntegrationTestBase.java:87)
>       at 
> org.apache.sling.distribution.it.DistributionIntegrationTestBase.<init>(DistributionIntegrationTestBase.java:63)
>       at 
> org.apache.sling.distribution.it.DistributionIntegrationTestBase.<init>(DistributionIntegrationTestBase.java:59)
>       at 
> org.apache.sling.distribution.it.DistributionPackageExporterImporterTemporaryFoldersTest.<init>(DistributionPackageExporterImporterTemporaryFoldersTest.java:36){noformat}
> The only relevant snippet that I can find in the logs is related to the 
> health check bundles:
> {noformat}01.10.2016 18:09:51.724 *ERROR* [FelixDispatchQueue] 
> org.apache.sling.hc.webconsole FrameworkEvent ERROR 
> (org.osgi.framework.BundleException: Unable to resolve 
> org.apache.sling.hc.webconsole [114](R 114.0): missing requirement 
> [org.apache.sling.hc.webconsole [114](R 114.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.hc.api.execution)(version>=1.1.0)(!(version>=2.0.0)))
>  Unresolved requirements: [[org.apache.sling.hc.webconsole [114](R 114.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.hc.api.execution)(version>=1.1.0)(!(version>=2.0.0)))])
> org.osgi.framework.BundleException: Unable to resolve 
> org.apache.sling.hc.webconsole [114](R 114.0): missing requirement 
> [org.apache.sling.hc.webconsole [114](R 114.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.hc.api.execution)(version>=1.1.0)(!(version>=2.0.0)))
>  Unresolved requirements: [[org.apache.sling.hc.webconsole [114](R 114.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.hc.api.execution)(version>=1.1.0)(!(version>=2.0.0)))]
>       at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)
>       at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
>       at 
> org.apache.felix.framework.Felix$RefreshHelper.restart(Felix.java:5063)
>       at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4253)
>       at 
> org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:188)
>       at java.lang.Thread.run(Thread.java:745){noformat}
> but I'm not sure that this leads to the test failures.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to