Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-48184

Build failure occurs when compiling Master branch at HEAD

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M1
    • Component/s: Core Infrastructure
    • Labels:
      None
    • Fix Priority:
      5

      Description

      Started failing at ID: aa1da1fd11145af096d3ac5cdd2a9ffc6d671b62

      Last good ID before failure: 0f287679c64f3087804b9fe0f9690e00e4c12736

      Update: This appears to be a Windows-specific issue, as our Jenkins servers (on Linux) are running fine, and we can compile master from HEAD on a CentOS vm.

      Steps to reproduce:

      1. run 'ant -f build-dist.xml unzip-tomcat'
      2. run 'ant clean'

      Expected result:
      Master branch will clean bundle.

      Actual result:
      Build failure occurs instead, giving the following errors:

      clean:
       
      clean:
       
      build-common-java.clean:
         [delete] Deleting directory L:\master_solo_bundle\tomcat-7.0.42\logs
         [delete] Deleting directory L:\master_solo_bundle\tomcat-7.0.42\temp
         [delete] Deleting directory L:\master_solo_bundle\tomcat-7.0.42\work
         [delete] Deleting directory L:\master\tools\sdk
          [unzip] Expanding: L:\master\tools\liferay-plugins-sdk-7.0.0.zip into L:\master\tools
           [copy] Copying 1 file to L:\master\tools\sdk
           [copy] Copying 1 file to L:\master\tools\sdk
          [mkdir] Created dir: L:\master_solo_bundle\tomcat-7.0.42\lib\ext
          [mkdir] Created dir: L:\master_solo_bundle\tomcat-7.0.42\webapps\ROOT\WEB-INF\lib
           [exec] Buildfile: L:\master\modules\build.xml
           [exec] [ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
           [exec] [ivy:resolve] :: loading settings :: file = L:\master\tools\sdk\ivy-settings.xml
           [exec] [ivy:resolve] :: problems summary ::
           [exec] [ivy:resolve] :::: ERRORS
           [exec] [ivy:resolve]       org.beanshell#bsh;2.0b4!bsh.jar origin location [ivy:resolve]
           [exec] [ivy:resolve]
           [exec] [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
           [exec] must be absolute: /Users/brian/.m2/repository/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar
           [exec]
           [exec] BUILD FAILED
           [exec] L:\master\modules\build.xml:13: The following error occurred while executing this line:
           [exec] L:\master\tools\sdk\build-common.xml:51: The following error occurred while executing this line:
           [exec] L:\master\tools\sdk\build-common-ivy.xml:134: The following error occurred while executing this line:
           [exec] L:\master\tools\sdk\build-common-ivy.xml:65: The following error occurred while executing this line:
           [exec] L:\master\tools\sdk\build-common-ivy.xml:81: impossible to resolve dependencies:
           [exec]     java.lang.IllegalArgumentException: org.beanshell#bsh;2.0b4!bsh.jar origin location must be absolute: /Users/brian/.m2/repository/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar
           [exec]     at org.apache.ivy.util.Checks.checkAbsolute(Checks.java:57)
           [exec]     at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getArchiveFileInCache(DefaultRepositoryCacheManager.java:385)
           [exec]     at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.download(DefaultRepositoryCacheManager.java:849)
           [exec]     at org.apache.ivy.plugins.resolver.BasicResolver.download(BasicResolver.java:835)
           [exec]     at org.apache.ivy.plugins.resolver.RepositoryResolver.download(RepositoryResolver.java:282)
           [exec]     at org.apache.ivy.plugins.resolver.ChainResolver.download(ChainResolver.java:219)
           [exec]     at org.apache.ivy.core.resolve.ResolveEngine.downloadArtifacts(ResolveEngine.java:388)
           [exec]     at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:331)
           [exec]     at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:195)
           [exec]     at org.apache.ivy.Ivy.resolve(Ivy.java:507)
           [exec]     at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:326)
           [exec]     at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
           [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
           [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
           [exec]     at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
           [exec]     at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
           [exec]     at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
           [exec]     at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at
           [exec] org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.Target.execute(Target.java:390)
           [exec]     at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
           [exec]     at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:225)
           [exec]     at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.Target.execute(Target.java:390)
           [exec]     at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
           [exec]     at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:225)
           [exec]     at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
           [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
           [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.Target.execute(Target.java:390)
           [exec]     at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
           [exec]     at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82)
           [exec]     at org.apache.tools.ant.Main.runBuild(Main.java:793)
           [exec]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
           [exec]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
           [exec]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
           [exec]
           [exec] Total time: 1 second
       
      BUILD FAILED
      L:\master\app.xml:20: The following error occurred while executing this line:
      L:\master\build.xml:236: The following error occurred while executing this line:
      L:\master\build.xml:385: The following error occurred while executing this line:
      L:\master\build-common.xml:505: exec returned: 1
       
      Total time: 20 seconds
      

      Investigating the root cause, now.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.wulbern Brian Wulbern
                Reporter:
                brian.wulbern Brian Wulbern
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 1 week, 5 days ago

                  Packages

                  Version Package
                  7.0.0 M1