mesos对http测试用例进行make检查失败,并接收到度量测试的中止信号

xmjla07d  于 2021-06-21  发布在  Mesos
关注(0)|答案(0)|浏览(219)

我从这里得到了mesos源焦油球:

`wget http://www.apache.org/dist/mesos/0.25.0/mesos-0.25.0.tar.gz`

并按照以下步骤安装依赖项:


# Update the packages.

    $ sudo apt-get update

    # Install the latest OpenJDK.
    $ sudo apt-get install -y openjdk-7-jdk

    # Install autotools (Only necessary if building from git repository).
    $ sudo apt-get install -y autoconf libtool

    # Install other Mesos dependencies.
    $ sudo apt-get -y install build-essential python-dev python-boto libcurl4-nss-dev libsasl2-dev maven libapr1-dev libsvn-dev

然后使用以下命令构建mesos:


# Change working directory.

    $ cd mesos

    # Configure and build.
    $ mkdir build
    $ cd build
    $ ../configure
    $ make

成功构建后,使用以下方法运行检查测试用例:


# Run test suite.

    $ make check

但是httptest.auth、httptest.endpoints、httptest.get、httptest.nestedget、httptest.streaminggetcomplete、httptest.streaminggetfailure、httptest.post、httptest.delete的测试。正在失败。
测试接收到中止信号,消息为:

../../../3rdparty/libprocess/src/tests/metrics_tests.cpp:186: Failure
Failed to wait 15secs for response
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1123 13:43:47.889951 37811 future.hpp:1052] Check failed: !isFailed() Future::get() but state == FAILED: Socket error while connecting

回溯是:


***Check failure stack trace:***
***Aborted at 1448266427 (unix time) try "date -d @1448266427" if you are using GNU date***

PC: @     0x2b1906d9acc9 (unknown)

***SIGABRT (@0x93b3) received by PID 37811 (TID 0x2b1905d166c0) from PID 37811; stack trace:***

    @     0x2b1905f15340 (unknown)
    @     0x2b1906d9acc9 (unknown)
    @     0x2b1906d9e0d8 (unknown)
    @           0x77c70d google::logging_fail()
    @           0x77c736 google::LogMessage::Fail()
    @           0x77c682 google::LogMessage::SendToLog()
    @           0x77c084 google::LogMessage::Flush()
    @           0x77ef98 google::LogMessageFatal::~LogMessageFatal()
    @           0x4a0b50 process::Future<>::get()
    @           0x4d8c4c MetricsTest_Snapshot_Test::TestBody()
    @           0x671604 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
    @           0x66c000 testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x64d135 testing::Test::Run()
    @           0x64d8b8 testing::TestInfo::Run()
    @           0x64defe testing::TestCase::Run()
    @           0x654646 testing::internal::UnitTestImpl::RunAllTests()
    @           0x6723c3 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
    @           0x66ccd0 testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x6533e2 testing::UnitTest::Run()
    @           0x4d1993 RUN_ALL_TESTS()
    @           0x4d17ad main

编辑:是否套接字创建失败?我在这里建房的时候怎么了?
附加信息:mesosversion:mesos-0.25.0
uname-a linux xilinx720 3.13.0-24-generic#46 ubuntu smp周四4月10日19:11:08 utc 2014 x86_64 x86_64 x86_64 gnu/linux
linux发行版:ubuntu 14.04

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题