Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3281

TestLinuxContainerExecutorWithMocks failing on trunk.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    1. MAPREDUCE-3281-20111027.txt
      1 kB
      Vinod Kumar Vavilapalli
    2. MAPREDUCE-3281-20111028.txt
      0.7 kB
      Vinod Kumar Vavilapalli

      Activity

      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk #846 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #846 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190007 Files : /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189818 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Build #53 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/53/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      svn merge -c r1190007 --ignore-ancestry ../../trunk/
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)
      svn merge -c r1189818 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #53 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/53/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) svn merge -c r1190007 --ignore-ancestry ../../trunk/ MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) svn merge -c r1189818 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190009 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189819 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Build #65 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/65/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      svn merge -c r1190007 --ignore-ancestry ../../trunk/
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)
      svn merge -c r1189818 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #65 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/65/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) svn merge -c r1190007 --ignore-ancestry ../../trunk/ MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) svn merge -c r1189818 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190009 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189819 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk #874 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/874/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #874 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/874/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190007 Files : /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189818 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Commit #78 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/78/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      svn merge -c r1190007 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #78 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/78/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) svn merge -c r1190007 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190009 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk-Commit #1191 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1191/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1191 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1191/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190007 Files : /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-0.23-Commit #83 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/83/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      svn merge -c r1190007 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Show
      Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #83 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/83/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) svn merge -c r1190007 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190009 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-trunk-Commit #1175 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1175/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Show
      Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1175 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1175/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190007 Files : /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk-Commit #1252 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1252/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1252 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1252/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190007 Files : /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Commit #83 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/83/)
      MAPREDUCE-3281. Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv)
      svn merge -c r1190007 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #83 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/83/ ) MAPREDUCE-3281 . Fixed one more bug due to which TestLinuxContainerExecutorWithMocks was failing. (vinodkv) svn merge -c r1190007 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190009 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
      Hide
      Vinod Kumar Vavilapalli added a comment -

      Pushed the latest patch to trunk and branch-0.23. Closing this. Sorry for the trouble.

      Thanks Jonathan for the verification. Also, please open a separate ticket for the above issue. Thanks!

      Show
      Vinod Kumar Vavilapalli added a comment - Pushed the latest patch to trunk and branch-0.23. Closing this. Sorry for the trouble. Thanks Jonathan for the verification. Also, please open a separate ticket for the above issue. Thanks!
      Hide
      Jonathan Eagles added a comment -

      +1 patch looks good and fixes the test on my box.

      Show
      Jonathan Eagles added a comment - +1 patch looks good and fixes the test on my box.
      Hide
      Jonathan Eagles added a comment -

      One minor related thing I see when running this test is some untracked files showing up in git. Probably a separate JIRA might be needed.

      bash-3.2$ git status

      1. On branch branch-0.23
      2. Changes not staged for commit:
      3. (use "git add <file>..." to update what will be committed)
      4. (use "git checkout – <file>..." to discard changes in working directory)
        #
      5. modified: hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor
        #
      6. Untracked files:
      7. (use "git add <file>..." to include in what will be committed)
        #
      8. hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/c/container-executor/test-container-executor
      9. hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/c/container-executor/test/test-container-executor.o
        no changes added to commit (use "git add" and/or "git commit -a")
      Show
      Jonathan Eagles added a comment - One minor related thing I see when running this test is some untracked files showing up in git. Probably a separate JIRA might be needed. bash-3.2$ git status On branch branch-0.23 Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout – <file>..." to discard changes in working directory) # modified: hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/mock-container-executor # Untracked files: (use "git add <file>..." to include in what will be committed) # hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/c/container-executor/test-container-executor hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/c/container-executor/test/test-container-executor.o no changes added to commit (use "git add" and/or "git commit -a")
      Hide
      Jonathan Eagles added a comment -

      Test Results PASS with patch MAPREDUCE-3281-20111028.txt:

      mvn -Dtest=TestLinuxContainerExecutorWithMocks#testContainerLaunch test

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.yarn.server.nodemanager.TestLinuxContainerExecutorWithMocks
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.537 sec

      Results :

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

      Show
      Jonathan Eagles added a comment - Test Results PASS with patch MAPREDUCE-3281 -20111028.txt: mvn -Dtest=TestLinuxContainerExecutorWithMocks#testContainerLaunch test ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.hadoop.yarn.server.nodemanager.TestLinuxContainerExecutorWithMocks Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.537 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
      Hide
      Vinod Kumar Vavilapalli added a comment -

      Somehow, this didn't show up in my env. Can you try this?

      Show
      Vinod Kumar Vavilapalli added a comment - Somehow, this didn't show up in my env. Can you try this?
      Hide
      Jonathan Eagles added a comment -

      Seems to be failing for a different reason now

      testContainerLaunch(org.apache.hadoop.yarn.server.nodemanager.TestLinuxContainerExecutorWithMocks) Time elapsed: 0.523 sec <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<0> but was:<126>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:283)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:195)
      at junit.framework.Assert.assertEquals(Assert.java:201)
      at org.apache.hadoop.yarn.server.nodemanager.TestLinuxContainerExecutorWithMocks.testContainerLaunch(TestLinuxContainerExecutorWithMocks.java:118)

      Looks like permisions issue
      bash-3.2$ touch exec.sh
      bash-3.2$ ./exec.sh
      bash: ./exec.sh: Permission denied
      bash-3.2$ echo $?
      126

      Show
      Jonathan Eagles added a comment - Seems to be failing for a different reason now testContainerLaunch(org.apache.hadoop.yarn.server.nodemanager.TestLinuxContainerExecutorWithMocks) Time elapsed: 0.523 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<0> but was:<126> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.apache.hadoop.yarn.server.nodemanager.TestLinuxContainerExecutorWithMocks.testContainerLaunch(TestLinuxContainerExecutorWithMocks.java:118) Looks like permisions issue bash-3.2$ touch exec.sh bash-3.2$ ./exec.sh bash: ./exec.sh: Permission denied bash-3.2$ echo $? 126
      Hide
      Arun C Murthy added a comment -

      Still failing for me... re-opening

      Show
      Arun C Murthy added a comment - Still failing for me... re-opening
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Commit #72 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/72/)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)
      svn merge -c r1189818 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #72 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/72/ ) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) svn merge -c r1189818 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189819 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk-Commit #1185 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1185/)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1185 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1185/ ) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189818 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk-Commit #1246 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1246/)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1246 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1246/ ) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189818 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Commit #76 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/76/)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)
      svn merge -c r1189818 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #76 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/76/ ) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) svn merge -c r1189818 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189819 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-trunk-Commit #1169 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1169/)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)

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

      • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1169 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1169/ ) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189818 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-0.23-Commit #76 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/76/)
      MAPREDUCE-3281. Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv)
      svn merge -c r1189818 --ignore-ancestry ../../trunk/

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

      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Show
      Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #76 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/76/ ) MAPREDUCE-3281 . Fixed a bug in TestLinuxContainerExecutorWithMocks. (vinodkv) svn merge -c r1189818 --ignore-ancestry ../../trunk/ vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189819 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLinuxContainerExecutorWithMocks.java
      Hide
      Vinod Kumar Vavilapalli added a comment -

      I just committed this to trunk and branch-0.23 to unlock the build.

      Show
      Vinod Kumar Vavilapalli added a comment - I just committed this to trunk and branch-0.23 to unlock the build.
      Hide
      Hadoop QA added a comment -

      -1 overall. Here are the results of testing the latest attachment
      http://issues.apache.org/jira/secure/attachment/12501101/MAPREDUCE-3281-20111027.txt
      against trunk revision .

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

      +1 tests included. The patch appears to include 3 new or modified tests.

      +1 javadoc. The javadoc tool did not generate any warning messages.

      +1 javac. The applied patch does not increase the total number of javac compiler warnings.

      -1 findbugs. The patch appears to introduce 170 new Findbugs (version 1.3.9) warnings.

      +1 release audit. The applied patch does not increase the total number of release audit warnings.

      -1 core tests. The patch failed the unit tests build

      +1 contrib tests. The patch passed contrib unit tests.

      Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//testReport/
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-common.html
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-app.html
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-core.html
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-web-proxy.html
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-nodemanager.html
      Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-common.html
      Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//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/12501101/MAPREDUCE-3281-20111027.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. -1 findbugs. The patch appears to introduce 170 new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed the unit tests build +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-app.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-mapreduce-client-core.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-web-proxy.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-nodemanager.html Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-common.html Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1174//console This message is automatically generated.
      Hide
      Jonathan Eagles added a comment -

      looks good to me.

      Show
      Jonathan Eagles added a comment - looks good to me.
      Hide
      Vinod Kumar Vavilapalli added a comment -

      This was missed in MAPREDUCE-3240.

      Attached. Stupid little patch. But wasn't so easy figuring it out

      Show
      Vinod Kumar Vavilapalli added a comment - This was missed in MAPREDUCE-3240 . Attached. Stupid little patch. But wasn't so easy figuring it out

        People

        • Assignee:
          Vinod Kumar Vavilapalli
          Reporter:
          Vinod Kumar Vavilapalli
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development