felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Walker <r...@ascert.com>
Subject Re: Anyone else seeing build errors in latest trunk?
Date Thu, 05 Jun 2014 17:09:10 GMT
Definitely an odd one then.

Mine consistently fails on 2 framework tests:

  * PackageAdminImplTest
  * StartStopBundleTest

Deleted them and I can get it to build fine. I'm on Windows 8.1 - doubt 
that makes a difference, but have a Linux VM kicking around that I could 
give a whirl once I've sorted this WebStart nasty.

-- Rob

On 05/06/2014 18:00, Richard S. Hall wrote:
> Another followup...I upgraded to the latest Maven and Java7 JDK and 
> the framework passes.
>
> -> richard
>
> On 6/5/14, 08:55 , David Bosschaert wrote:
>> FWIW the framework tests work fine for me with Maven 3.0.5.
>>
>> David
>>
>> On 5 June 2014 13:51, Richard S. Hall <heavy@ungoverned.org> wrote:
>>> I do see framework failing one of its tests too...I'll try to look 
>>> into it.
>>>
>>> -> richard
>>>
>>>
>>> On 6/5/14, 05:25 , Rob Walker wrote:
>>>> Haven't done a full trunk build in a while, am now seeing the 
>>>> errors noted
>>>> below using the build instructions from the Wiki.
>>>>
>>>> Tried the following before emailing:
>>>>
>>>>   * updated to latest mvn 3.2.1
>>>>   * blew away my ~/.m2 directory to ensure no cached nasties
>>>>
>>>> I'm running JDK1.7.0_51
>>>>
>>>> This is probably a case of me being an idiot developer, so feel 
>>>> free to
>>>> point out the error of my ways!
>>>>
>>>> Cheers for any pointers
>>>>
>>>> -- Rob
>>>>
>>>> =======
>>>>
>>>>
>>>> /_Running: *mvn -Dpackaging=plugins install*_/
>>>>
>>>>     This yields the following failure running 
>>>> SCRDescriptorGeneratorTest
>>>>
>>>>     -------------------------------------------------------
>>>>       T E S T S
>>>>     -------------------------------------------------------
>>>>     Running org.apache.felix.scrplugin.SCRDescriptorGeneratorTest
>>>>     Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
>>>>     0.172 sec <<< FA
>>>>     ILURE!
>>>>
>>>>     Results :
>>>>
>>>>     Tests in error:
>>>>
>>>> testSimpleComponent(org.apache.felix.scrplugin.SCRDescriptorGeneratorTest):

>>>>
>>>>     Un
>>>>     able to delete file:
>>>> C:\Users\robw\AppData\Local\Temp\4d3dbacb-33c6-4592-b9ad-b2
>>>>     f74b7d99fc\testComponents\SimpleComponent.class
>>>>
>>>>     Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>>>>
>>>>     [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [INFO] Reactor Summary:
>>>>     [INFO]
>>>>     [INFO] OBR Maven Plugin .................................. SUCCESS
>>>>     [01:41 min]
>>>>     [INFO] Maven Bundle Plugin ............................... SUCCESS
>>>>     [02:53 min]
>>>>     [INFO] Descriptor Generator Implementation ............... 
>>>> FAILURE [
>>>>     11.969 s]
>>>>     [INFO] Annotations for SCR ............................... SKIPPED
>>>>     [INFO] Annotations for DS ................................ SKIPPED
>>>>     [INFO] Maven SCR Plugin .................................. SKIPPED
>>>>     [INFO] SCR Ant Task ...................................... SKIPPED
>>>>     [INFO] Bnd SCR Plugin .................................... SKIPPED
>>>>     [INFO] Maven SCR Plugin/Task support reactor ............. SKIPPED
>>>>     [INFO] Maven OSGi Plugin ................................. SKIPPED
>>>>     [INFO] Apache Felix ...................................... SKIPPED
>>>>     [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [INFO] BUILD FAILURE
>>>>     [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [INFO] Total time: 04:56 min
>>>>     [INFO] Finished at: 2014-06-05T11:12:32+02:00
>>>>     [INFO] Final Memory: 21M/52M
>>>>     [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [ERROR] Failed to execute goal
>>>>     org.apache.maven.plugins:maven-surefire-plugin:2.
>>>>     7.2:test (default-test) on project org.apache.felix.scr.generator:
>>>>     There are tes
>>>>     t failures.
>>>>     [ERROR]
>>>>     [ERROR] Please refer to
>>>>     C:\mnt\MiscProjs\felix\scrplugin\generator\target\surefi
>>>>     re-reports for the individual test results.
>>>>
>>>>
>>>> _/Running: *mvn -Dpackaging=bundle install*/_
>>>>
>>>> Yields a build failure running the StopStartBundle test in framework,
>>>> after which all subsequent bundle builds are skipped:
>>>>
>>>>     -------------------------------------------------------
>>>>       T E S T S
>>>>     -------------------------------------------------------
>>>>     Running org.apache.felix.framework.BootLoaderTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.172 sec
>>>>     Running org.apache.felix.framework.capabilityset.SimpleFilterTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.015 sec
>>>>     Running org.apache.felix.framework.CollisionHookTest
>>>>     Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.141 sec
>>>>     Running org.apache.felix.framework.FilterTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.016 sec
>>>>     Running org.apache.felix.framework.FrameworkVersionTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0 sec
>>>>     Running org.apache.felix.framework.PackageAdminImplTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.047 sec
>>>>     Running org.apache.felix.framework.RequirementsCapabilitiesTest
>>>>     Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.062 sec
>>>>     Running org.apache.felix.framework.ServiceRegistryTest
>>>>     Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.016 sec
>>>>     Running org.apache.felix.framework.StartBundleTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.015 sec
>>>>     Running org.apache.felix.framework.StartStopBundleTest
>>>>     Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
>>>>     5.016 sec <<< F
>>>>     ILURE!
>>>>     Running org.apache.felix.framework.URLHandlersTest
>>>>     Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.312 sec
>>>>     Running org.apache.felix.framework.util.EventDispatcherTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>     0.016 sec
>>>>     Running
>>>> org.apache.felix.framework.util.manifestparser.ManifestParserTest
>>>>     Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0 sec
>>>>     Running org.apache.felix.framework.util.UtilTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0 sec
>>>>     Running org.apache.felix.framework.util.WeakZipFileTest
>>>>     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0 sec
>>>>
>>>>     Results :
>>>>
>>>>     Failed tests:
>>>> testStartStopBundle(org.apache.felix.framework.StartStopBundleTest):
>>>>     null
>>>>
>>>>     Tests run: 29, Failures: 1, Errors: 0, Skipped: 0
>>>>
>>>>     [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [INFO] Reactor Summary:
>>>>     [INFO]
>>>>     [INFO] OSGi R4 Foundation EE ............................. SUCCESS
>>>>     [  1.890 s]
>>>>     [INFO] Servlet 2.1 API ................................... SUCCESS
>>>>     [  1.547 s]
>>>>     [INFO] OSGi R4 Core Bundle ............................... SUCCESS
>>>>     [  0.938 s]
>>>>     [INFO] OSGi R4 Compendium Bundle ......................... SUCCESS
>>>>     [  3.156 s]
>>>>     [INFO] Apache Felix Framework ............................ FAILURE
>>>>     [  8.563 s]
>>>>
>>>>
>>>> Running a mvn install just in the framework dir results in same test
>>>> failing.
>>>>
>>>> -- Rob
>>>>
>>>>
>>>> Ascert - Taking systems to the edge
>>>> robw@ascert.com
>>>> SA +27 21 300 2028
>>>> UK +44 20 7488 3470 ext 5119
>>>> www.ascert.com
>>>>
>>>>
>

-- 


Ascert - Taking systems to the edge
robw@ascert.com
SA +27 21 300 2028
UK +44 20 7488 3470 ext 5119
www.ascert.com


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message