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

AppcImageFetcherTest.SimpleFetch is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      This issue was found in r/44313/ which is not related with AppcImageFetcher.

      Full console log: https://builds.apache.org/job/mesos-reviewbot/11794/consoleText

      [ RUN      ] AppcImageFetcherTest.SimpleFetch
      E0303 07:31:22.605271   727 shell.hpp:93] Command 'hadoop version 2>&1' failed; this is the output:
      sh: 1: hadoop: not found
      E0303 07:31:22.605481   727 fetcher.cpp:59] Failed to create URI fetcher plugin 'hadoop': Failed to create HDFS client: Failed to execute 'hadoop version 2>&1'; the command was either not found or exited with a non-zero exit status: 127
      I0303 07:31:22.608057   727 fetcher.cpp:184] Fetching image from URI 'http://172.17.0.1:58339/TestAppcImageServer/image-latest-linux-amd64.aci'
      ../../src/tests/containerizer/provisioner_appc_tests.cpp:629: Failure
      (fetcher.get()->fetch(imageInfo, imageFetchDir)).failure(): Failed to perform 'curl': ABORT: (../../../3rdparty/libprocess/src/subprocess.cpp:322): Failed to os::execvpe on path 'curl': No such file or directory
      *** Aborted at 1456990282 (unix time) try "date -d @1456990282" if you are using GNU date ***
      PC: @     0x2ac3ff919cc9 (unknown)
      *** SIGABRT (@0x3e800002251) received by PID 8785 (TID 0x2ac3f907ba40) from PID 8785; stack trace: ***
          @     0x2ac3ff6d5340 (unknown)
          @     0x2ac3ff919cc9 (unknown)
          @     0x2ac3ff91d0d8 (unknown)
          @           0x9a9536 _Abort()
          @           0x9a9564 _Abort()
          @     0x2ac3fd986398 process::childMain()
          @     0x2ac3fd98d84f _ZNSt5_BindIFPFiRKSsPPcS3_RK6OptionISt8functionIFivEEERKN7process10Subprocess2IO20InputFileDescriptorsERKNSD_21OutputFileDescriptorsESJ_bPiESsS3_S3_S8_SE_SH_SH_bSK_EE6__callIiIEILm0ELm1ELm2ELm3ELm4ELm5ELm6ELm7ELm8EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE
          @     0x2ac3fd98ce4c _ZNSt5_BindIFPFiRKSsPPcS3_RK6OptionISt8functionIFivEEERKN7process10Subprocess2IO20InputFileDescriptorsERKNSD_21OutputFileDescriptorsESJ_bPiESsS3_S3_S8_SE_SH_SH_bSK_EEclIJEiEET0_DpOT_
          @     0x2ac3fd98c0be std::_Function_handler<>::_M_invoke()
          @           0x9ac286 std::function<>::operator()()
          @     0x2ac3fd986037 process::defaultClone()
          @     0x2ac3fd98b5e0 std::_Function_handler<>::_M_invoke()
          @     0x2ac3fd98ad09 std::function<>::operator()()
          @     0x2ac3fd9870be process::subprocess()
          @     0x2ac3fd2c5a4c mesos::uri::CurlFetcherPlugin::fetch()
          @     0x2ac3fd2b9ee7 mesos::uri::Fetcher::fetch()
          @     0x2ac3fd2274ef mesos::internal::slave::appc::Fetcher::fetch()
          @          0x1630ace mesos::internal::tests::AppcImageFetcherTest_SimpleFetch_Test::TestBody()
          @          0x1731748 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
          @          0x172c69e testing::internal::HandleExceptionsInMethodIfSupported<>()
          @          0x170ddb3 testing::Test::Run()
          @          0x170e536 testing::TestInfo::Run()
          @          0x170eb7c testing::TestCase::Run()
          @          0x17152c4 testing::internal::UnitTestImpl::RunAllTests()
          @          0x173236d testing::internal::HandleSehExceptionsInMethodIfSupported<>()
          @          0x172d214 testing::internal::HandleExceptionsInMethodIfSupported<>()
          @          0x1714060 testing::UnitTest::Run()
          @           0xe2bcbb RUN_ALL_TESTS()
          @           0xe2b8a9 main
          @     0x2ac3ff904ec5 (unknown)
          @           0x9a82c9 (unknown)
      
      ../../src/tests/containerizer/provisioner_appc_tests.cpp:587: Failure
      Actual function call count doesn't match EXPECT_CALL(server, serve(_))...
               Expected: to be called once
                 Actual: never called - unsatisfied and active
      [  FAILED  ] AppcImageFetcherTest.SimpleFetch (404 ms)
      [----------] 1 test from AppcImageFetcherTest (404 ms total)
      

      Attachments

        Issue Links

          Activity

            People

              klaus1982 Klaus Ma
              klaus1982 Klaus Ma
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: