Infrastructure
  1. Infrastructure
  2. INFRA-5757

maven-bundle-plugin fails on Jenkins and does not create bundles for James - james-server-trunk

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: Initial Clearing
    • Component/s: Jenkins
    • Labels:
      None

      Description

      Hello,

      Maven-bundle-plugin fails on Jenkins and does not create bundles for James Server trunk .

      https://builds.apache.org/view/G-L/view/James/job/james-server-trunk/lastBuild/consoleFull

      Sample error:

      3.0-beta5-SNAPSHOT-test-sources.jar
      mojoSucceeded org.apache.maven.plugins:maven-install-plugin:2.3.1(default-install)
      mojoStarted org.apache.felix:maven-bundle-plugin:2.3.7(default-install)[WARNING] Exception while updating local OBR: Unable to read repository xml: file:/home/jenkins/jenkins-slave/maven-repositories/1/repository.xml
      org.apache.maven.plugin.MojoExecutionException: Unable to read repository xml: file:/home/jenkins/jenkins-slave/maven-repositories/1/repository.xml
      at org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:324)
      at org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:141)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@3:1 in java.io.InputStreamReader@1350478)
      at org.kxml2.io.KXmlParser.exception(Unknown Source)
      at org.kxml2.io.KXmlParser.nextTag(Unknown Source)
      at org.apache.felix.bundlerepository.impl.PullParser.parseRepository(PullParser.java:43)
      at org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:147)
      at org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:118)
      at org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:316)
      ... 30 more

        Issue Links

          Activity

          Ioan Eugen Stan created issue -
          Ioan Eugen Stan made changes -
          Field Original Value New Value
          Link This issue is related too JAMES-1446 [ JAMES-1446 ]
          #asfinfra IRC Bot made changes -
          Status Waiting for Infra [ 10011 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Link This issue is related to JAMES-1446 [ JAMES-1446 ]
          Gavin made changes -
          Link This issue is related to JAMES-1446 [ JAMES-1446 ]
          Gavin made changes -
          Fix Version/s Initial Clearing [ 12325964 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Ioan Eugen Stan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development