Hadoop Common
  1. Hadoop Common
  2. HADOOP-7768

PreCommit-HADOOP-Build is failing on hadoop-auth-examples

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: build
    • Labels:
      None

      Description

      Failure has been happening since October 13th.

      Excerpt from https://builds.apache.org/job/PreCommit-HADOOP-Build/315/consoleText

      [INFO]
      [INFO] — maven-war-plugin:2.1:war (default-war) @ hadoop-auth-examples —
      [INFO] Packaging webapp
      [INFO] Assembling webapp [hadoop-auth-examples] in [/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-auth-examples/target/hadoop-auth-examples-0.24.0-SNAPSHOT]
      [INFO] Processing war project
      [INFO] Copying webapp resources [/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-auth-examples/src/main/webapp]
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Hadoop Annotations ......................... SUCCESS [2.261s]
      [INFO] Apache Hadoop Auth ................................ SUCCESS [5.299s]
      [INFO] Apache Hadoop Auth Examples ....................... FAILURE [0.878s]
      [INFO] Apache Hadoop Common .............................. SKIPPED
      [INFO] Apache Hadoop Common Project ...................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.726s
      [INFO] Finished at: Tue Oct 25 15:47:35 UTC 2011
      [INFO] Final Memory: 24M/302M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1:war (default-war) on project hadoop-auth-examples: Failed to copy file for artifact [org.apache.hadoop:hadoop-auth:jar:0.24.0-SNAPSHOT:compile]: /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-auth/target/classes (Is a directory) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :hadoop-auth-examples

        Activity

        Jonathan Eagles created issue -
        Jonathan Eagles made changes -
        Field Original Value New Value
        Target Version/s 0.24.0, 0.23.0 [ 12317652, 12315569 ] 0.23.0, 0.24.0 [ 12315569, 12317652 ]
        Component/s build [ 12311543 ]
        Hide
        Mahadev konar added a comment -

        Jonathan,
        You working on it? This seems to have caused the builds all over to break.

        Show
        Mahadev konar added a comment - Jonathan, You working on it? This seems to have caused the builds all over to break.
        Hide
        Jonathan Eagles added a comment -

        Not sure the root cause of this issue. Looks like maven issue with multi-module build as seen in both
        http://jira.codehaus.org/browse/MWAR-192
        http://jira.codehaus.org/browse/MDEP-259

        Show
        Jonathan Eagles added a comment - Not sure the root cause of this issue. Looks like maven issue with multi-module build as seen in both http://jira.codehaus.org/browse/MWAR-192 http://jira.codehaus.org/browse/MDEP-259
        Hide
        Tom White added a comment -

        I think the problem is the one described here: http://maven.40175.n5.nabble.com/FileNotFoundException-when-packaging-WAR-using-project-dependency-td136578.html

        It seems that "mvn install test" fails, but "mvn install" (which also runs the test) passes.

        The attached patch changes "mvn install test" to "mvn install" in test-patch.sh. I ran it manually and it fixes the problem.

        Show
        Tom White added a comment - I think the problem is the one described here: http://maven.40175.n5.nabble.com/FileNotFoundException-when-packaging-WAR-using-project-dependency-td136578.html It seems that "mvn install test" fails, but "mvn install" (which also runs the test) passes. The attached patch changes "mvn install test" to "mvn install" in test-patch.sh. I ran it manually and it fixes the problem.
        Tom White made changes -
        Attachment HADOOP-7768.patch [ 12500993 ]
        Hide
        Mahadev konar added a comment -

        +1, looks good to me.

        Show
        Mahadev konar added a comment - +1, looks good to me.
        Mahadev konar made changes -
        Assignee Tom White [ tomwhite ]
        Hide
        Tom White added a comment -

        I've just committed this.

        Show
        Tom White added a comment - I've just committed this.
        Tom White made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 0.24.0, 0.23.0 [ 12317652, 12315569 ] 0.23.0, 0.24.0 [ 12315569, 12317652 ]
        Fix Version/s 0.24.0 [ 12317652 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1177 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1177/)
        HADOOP-7768. PreCommit-HADOOP-Build is failing on hadoop-auth-examples

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552
        Files :

        • /hadoop/common/trunk/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1177 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1177/ ) HADOOP-7768 . PreCommit-HADOOP-Build is failing on hadoop-auth-examples tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552 Files : /hadoop/common/trunk/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1238 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1238/)
        HADOOP-7768. PreCommit-HADOOP-Build is failing on hadoop-auth-examples

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552
        Files :

        • /hadoop/common/trunk/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1238 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1238/ ) HADOOP-7768 . PreCommit-HADOOP-Build is failing on hadoop-auth-examples tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552 Files : /hadoop/common/trunk/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1161 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1161/)
        HADOOP-7768. PreCommit-HADOOP-Build is failing on hadoop-auth-examples

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552
        Files :

        • /hadoop/common/trunk/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1161 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1161/ ) HADOOP-7768 . PreCommit-HADOOP-Build is failing on hadoop-auth-examples tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552 Files : /hadoop/common/trunk/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #873 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/873/)
        HADOOP-7768. PreCommit-HADOOP-Build is failing on hadoop-auth-examples

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552
        Files :

        • /hadoop/common/trunk/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #873 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/873/ ) HADOOP-7768 . PreCommit-HADOOP-Build is failing on hadoop-auth-examples tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552 Files : /hadoop/common/trunk/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #845 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/845/)
        HADOOP-7768. PreCommit-HADOOP-Build is failing on hadoop-auth-examples

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552
        Files :

        • /hadoop/common/trunk/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #845 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/845/ ) HADOOP-7768 . PreCommit-HADOOP-Build is failing on hadoop-auth-examples tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189552 Files : /hadoop/common/trunk/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #107 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/107/)
        Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768

        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673
        Files :

        • /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #107 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/107/ ) Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768 tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673 Files : /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #101 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/101/)
        Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768

        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673
        Files :

        • /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #101 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/101/ ) Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768 tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673 Files : /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #101 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/101/)
        Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768

        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673
        Files :

        • /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #101 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/101/ ) Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768 tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673 Files : /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #54 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/54/)
        Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768

        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673
        Files :

        • /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #54 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/54/ ) Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768 tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673 Files : /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #72 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/72/)
        Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768

        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673
        Files :

        • /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #72 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/72/ ) Merge -r 1189551:1189552 from trunk to branch. FIXES: HADOOP-7768 tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190673 Files : /hadoop/common/branches/branch-0.23/dev-support/test-patch.sh
        Eli Collins made changes -
        Fix Version/s 0.23.0 [ 12315569 ]
        Affects Version/s 0.23.0 [ 12315569 ]
        Affects Version/s 0.24.0 [ 12317652 ]
        Target Version/s 0.24.0, 0.23.0 [ 12317652, 12315569 ] 0.23.0, 0.24.0 [ 12315569, 12317652 ]
        Arun C Murthy made changes -
        Fix Version/s 0.24.0 [ 12317652 ]

          People

          • Assignee:
            Tom White
            Reporter:
            Jonathan Eagles
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development