You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2012/12/13 02:27:21 UTC
[jira] [Assigned] (MESOS-219) unit tests leak a temp dir and expect
to own /tmp/mesos
[ https://issues.apache.org/jira/browse/MESOS-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kone reassigned MESOS-219:
--------------------------------
Assignee: Vinod Kone
> unit tests leak a temp dir and expect to own /tmp/mesos
> -------------------------------------------------------
>
> Key: MESOS-219
> URL: https://issues.apache.org/jira/browse/MESOS-219
> Project: Mesos
> Issue Type: Bug
> Components: test
> Affects Versions: 0.9.0
> Reporter: Kevin Sweeney
> Assignee: Vinod Kone
>
> This causes automated builds that run as a different user on the same system to fail if they run make check. Tests should either use the build workdir or create and cleanup an ephemeral workdir.
> E0625 18:34:31.639852 22949 utils.hpp:381] Failed to make directory, mkdir: Permission denied [13]
> F0625 18:34:31.639926 22949 slave.cpp:1580] Check failed: created Error creating work directory: /tmp/mesos/slaves/201206251834-167907500-58909-22925-0/frameworks/201206251834-167907500-58909-22925-0000/executors/default/runs/0
> *** Check failure stack trace: ***
> @ 0x7f3a234234dd google::LogMessage::Fail()
> @ 0x7f3a23429147 google::LogMessage::SendToLog()
> @ 0x7f3a23424d8c google::LogMessage::Flush()
> @ 0x7f3a23424ff6 google::LogMessageFatal::~LogMessageFatal()
> @ 0x7f3a2320abd6 mesos::internal::slave::Slave::createUniqueWorkDirectory()
> @ 0x7f3a2320f73e mesos::internal::slave::Slave::runTask()
> @ 0x7f3a2321f6c3 ProtobufProcess<>::handler4<>()
> @ 0x7f3a2321356b std::tr1::_Function_handler<>::_M_invoke()
> @ 0x7f3a23225c4b ProtobufProcess<>::visit()
> @ 0x7f3a23353558 process::MessageEvent::visit()
> @ 0x7f3a2334c134 process::ProcessManager::resume()
> @ 0x7f3a2334c987 process::schedule()
> @ 0x7f3a2288a73d start_thread
> @ 0x7f3a21e74f6d clone
> /bin/sh: line 4: 22925 Aborted ${dir}$tst
> FAIL: mesos-tests
> ===================
> 1 of 1 tests failed
> ===================
> make[3]: *** [check-TESTS] Error 1
> make[3]: Leaving directory `/tmp/mesos-build-rpm.v43327/BUILD/build/src'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/tmp/mesos-build-rpm.v43327/BUILD/build/src'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/tmp/mesos-build-rpm.v43327/BUILD/build/src'
> make: *** [check-recursive] Error 1
> make: Leaving directory `/tmp/mesos-build-rpm.v43327/BUILD/build'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira