Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2199

Failing test: SlaveTest.ROOT_RunTaskWithCommandInfoWithUser

    XMLWordPrintableJSON

Details

    • 2

    Description

      Appears that running the executor as nobody is not supported.

      nnielsen can you take a look?

      Executor log:

      [root@hostname build]# cat /tmp/SlaveTest_ROOT_RunTaskWithCommandInfoWithUser_cxF1dY/slaves/20141219-005206-2081170186-60487-11862-S0/frameworks/20141219-005206-2081170186-60
      487-11862-0000/executors/1/runs/latest/std*
      sh: /home/idownes/workspace/mesos/build/src/mesos-executor: Permission denied
      

      Test output:

      [==========] Running 1 test from 1 test case.
      [----------] Global test environment set-up.
      [----------] 1 test from SlaveTest
      [ RUN      ] SlaveTest.ROOT_RunTaskWithCommandInfoWithUser
      ../../src/tests/slave_tests.cpp:680: Failure
      Value of: statusRunning.get().state()
        Actual: TASK_FAILED
      Expected: TASK_RUNNING
      ../../src/tests/slave_tests.cpp:682: Failure
      Failed to wait 10secs for statusFinished
      ../../src/tests/slave_tests.cpp:673: Failure
      Actual function call count doesn't match EXPECT_CALL(sched, statusUpdate(&driver, _))...
               Expected: to be called twice
                 Actual: called once - unsatisfied and active
      [  FAILED  ] SlaveTest.ROOT_RunTaskWithCommandInfoWithUser (10641 ms)
      [----------] 1 test from SlaveTest (10641 ms total)
      
      [----------] Global test environment tear-down
      [==========] 1 test from 1 test case ran. (10658 ms total)
      

      Attachments

        Issue Links

          Activity

            People

              jieyu Jie Yu
              idownes Ian Downes
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: