Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 0.24.0
    • Fix Version/s: 2.0.0-alpha
    • Component/s: build, test
    • Labels:
      None

      Description

      Surefire 2.9, which we're using currently, has a few annoying bugs. In particular, if a test exits with a non-zero exit code, it doesn't report the test as failed.

      1. hadoop-8117.txt
        0.6 kB
        Todd Lipcon
      2. hadoop-8117.txt
        0.4 kB
        Todd Lipcon

        Issue Links

          Activity

          Hide
          Todd Lipcon added a comment -

          attached patch upgrades to 2.11. Even though 2.12 is supposedly released, it doesn't seem to be in the mvn repos. I verified that 2.11 does indeed trigger a test failure for the case described in HDFS-3019.

          Show
          Todd Lipcon added a comment - attached patch upgrades to 2.11. Even though 2.12 is supposedly released, it doesn't seem to be in the mvn repos. I verified that 2.11 does indeed trigger a test failure for the case described in HDFS-3019 .
          Hide
          Alejandro Abdelnur added a comment -

          +1

          Show
          Alejandro Abdelnur added a comment - +1
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12516241/hadoop-8117.txt
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/635//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12516241/hadoop-8117.txt against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/635//console This message is automatically generated.
          Show
          Scott Carey added a comment - 2.11 has some annoying bugs I've ran into. I suggest 2.12 It is in the maven central repo: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12/ http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+SUREFIRE+AND+fixVersion+%3D+%222.12%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&mode=hide
          Hide
          Todd Lipcon added a comment -

          Ah, my local m2 had a negative cache entry. mvn -U fixed it. New patch updates to 2.12 after all.

          Show
          Todd Lipcon added a comment - Ah, my local m2 had a negative cache entry. mvn -U fixed it. New patch updates to 2.12 after all.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12516772/hadoop-8117.txt
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/655//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12516772/hadoop-8117.txt against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/655//console This message is automatically generated.
          Hide
          Aaron T. Myers added a comment -

          +1, the updated patch looks good to me. Thanks for taking care of this, Todd.

          Show
          Aaron T. Myers added a comment - +1, the updated patch looks good to me. Thanks for taking care of this, Todd.
          Hide
          Todd Lipcon added a comment -

          Committed to trunk for now. I'll wait til after tonight's trunk build to commit to branch-2 - leaving this open so I don't forget.

          Show
          Todd Lipcon added a comment - Committed to trunk for now. I'll wait til after tonight's trunk build to commit to branch-2 - leaving this open so I don't forget.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #2154 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2154/)
          HADOOP-8117. Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802)

          Result = SUCCESS
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-project/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2154 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2154/ ) HADOOP-8117 . Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-project/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #2081 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2081/)
          HADOOP-8117. Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802)

          Result = SUCCESS
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-project/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2081 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2081/ ) HADOOP-8117 . Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-project/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #2095 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2095/)
          HADOOP-8117. Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802)

          Result = ABORTED
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-project/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2095 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2095/ ) HADOOP-8117 . Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802) Result = ABORTED todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-project/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #1017 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1017/)
          HADOOP-8117. Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802)

          Result = FAILURE
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-project/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1017 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1017/ ) HADOOP-8117 . Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802) Result = FAILURE todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-project/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1052 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1052/)
          HADOOP-8117. Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802)

          Result = FAILURE
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-project/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1052 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1052/ ) HADOOP-8117 . Upgrade test build to Surefire 2.12. Contributed by Todd Lipcon. (Revision 1326802) Result = FAILURE todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326802 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-project/pom.xml
          Hide
          Todd Lipcon added a comment -

          Test run seemed to go OK last night, so I committed this to branch-2 as well. Thanks.

          Show
          Todd Lipcon added a comment - Test run seemed to go OK last night, so I committed this to branch-2 as well. Thanks.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #2172 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2172/)
          Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707)

          Result = SUCCESS
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2172 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2172/ ) Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #2099 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2099/)
          Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707)

          Result = SUCCESS
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2099 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2099/ ) Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #2116 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2116/)
          Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707)

          Result = ABORTED
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2116 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2116/ ) Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707) Result = ABORTED todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #1019 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1019/)
          Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707)

          Result = FAILURE
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1019 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1019/ ) Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707) Result = FAILURE todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1054 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1054/)
          Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707)

          Result = SUCCESS
          todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1054 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1054/ ) Move HADOOP-8117 from 3.0 to 2.0 in CHANGES.txt after commit to branch-2 (Revision 1327707) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327707 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development