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

ShasumTest.SHA512SimpleFile failed on centos7.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.28.0
    • None
    • None

    Description

      Looks like shasum is not available on some systems. We should check if it's available on those systems.

      [ RUN      ] ShasumTest.SHA512SimpleFile
      ../../src/tests/common/command_utils_tests.cpp:237: Failure
      (sha512).failure(): Subprocess 'shasum, shasum, -a, 512, /tmp/o9CZPZ/test' failed: ABORT: (../../../3rdparty/libprocess/src/subprocess.cpp:293): Failed to os::execvpe on path 'shasum': No such file or directory
      *** Aborted at 1454097934 (unix time) try "date -d @1454097934" if you are using GNU date ***
      PC: @     0x7f26a0ae75f7 __GI_raise
      *** SIGABRT (@0x3e80000258d) received by PID 9613 (TID 0x7f26a7aa78c0) from PID 9613; stack trace: ***
          @     0x7f26a1aae100 (unknown)
          @     0x7f26a0ae75f7 __GI_raise
          @     0x7f26a0ae8ce8 __GI_abort
          @           0x998808 _Abort()
          @           0x998836 _Abort()
          @     0x7f26a678937d process::childMain()
          @     0x7f26a678f5e3 _ZNSt5_BindIFPFiRKSsPPcS3_RK6OptionISt8functionIFivEEERKN7process10Subprocess2IO20InputFileDescriptorsERKNSD_21OutputFileDescriptorsESJ_ESsS3_S3_S8_SE_SH_SH_EE6__callIiJEJLm0ELm1ELm2ELm3ELm4ELm5ELm6EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
          @     0x7f26a678ed52 std::_Bind<>::operator()<>()
          @     0x7f26a678e124 std::_Function_handler<>::_M_invoke()
          @           0x99b49c std::function<>::operator()()
          @     0x7f26a67890e6 process::defaultClone()
          @     0x7f26a678d922 std::_Function_handler<>::_M_invoke()
          @     0x7f26a678d1fd std::function<>::operator()()
          @     0x7f26a6789ed7 process::subprocess()
          @     0x7f26a57b9cec mesos::internal::command::launch()
          @     0x7f26a57bacdc mesos::internal::command::shasum()
          @     0x7f26a57bae37 mesos::internal::command::sha512()
          @          0x1440cce mesos::internal::tests::ShasumTest_SHA512SimpleFile_Test::TestBody()
          @          0x164e8a2 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
          @          0x16497f0 testing::internal::HandleExceptionsInMethodIfSupported<>()
          @          0x162add5 testing::Test::Run()
          @          0x162b558 testing::TestInfo::Run()
          @          0x162bb9e testing::TestCase::Run()
          @          0x1632478 testing::internal::UnitTestImpl::RunAllTests()
          @          0x164f4c7 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
          @          0x164a36e testing::internal::HandleExceptionsInMethodIfSupported<>()
          @          0x16311be testing::UnitTest::Run()
          @           0xdeeb0a RUN_ALL_TESTS()
          @           0xdee720 main
          @     0x7f26a0ad3b15 __libc_start_main
          @           0x997599 (unknown)
      
      [  FAILED  ] ShasumTest.SHA512SimpleFile (202 ms)
      

      Attachments

        Issue Links

          Activity

            People

              haosdent@gmail.com haosdent
              jieyu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: