[ 
https://issues.apache.org/jira/browse/MESOS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Mahler reopened MESOS-399:
-----------------------------------


This is still flaky on Jenkins:

[ RUN      ] MonitorTest.WatchUnwatch
I0330 22:04:47.653988 19368 process.cpp:2931] Handling HTTP event for process 
'monitor' with path: '/monitor/usage.json'
I0330 22:04:47.655182 19375 process.cpp:878] Socket closed while receiving
../../src/tests/monitor_tests.cpp:123: Failure
Value of: (response).get().body
  Actual: 
"[{\"executor_id\":\"executor\",\"executor_name\":\"name\",\"framework_id\":\"framework\",\"resource_usage\":{\"cpu_time\":0,\"cpu_usage\":0,\"memory_rss\":0},\"source\":\"source\"}]"
Expected: strings::format( "[{" "\"executor_id\":\"executor\"," 
"\"executor_name\":\"name\"," "\"framework_id\":\"framework\"," 
"\"resource_usage\":{" "\"cpu_time\":%g," "\"cpu_usage\":%g," 
"\"memory_rss\":%lu" "}," "\"source\":\"source\"" "}]", 
statistics.cpu_user_time() + statistics.cpu_system_time(), 
statistics.cpu_usage(), statistics.memory_rss()).get()
Which is: 
"[{\"executor_id\":\"executor\",\"executor_name\":\"name\",\"framework_id\":\"framework\",\"resource_usage\":{\"cpu_time\":6,\"cpu_usage\":0,\"memory_rss\":1024},\"source\":\"source\"}]"
I0330 22:04:47.665951 19351 process.cpp:2931] Handling HTTP event for process 
'monitor' with path: '/monitor/usage.json'
I0330 22:04:47.666864 19375 process.cpp:878] Socket closed while receiving
[  FAILED  ] MonitorTest.WatchUnwatch (24 ms)
                
> MonitorTest.WatchUnwatch failed.
> --------------------------------
>
>                 Key: MESOS-399
>                 URL: https://issues.apache.org/jira/browse/MESOS-399
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Hindman
>            Assignee: Benjamin Mahler
>
> [ RUN      ] MonitorTest.WatchUnwatch
> ../../src/tests/monitor_tests.cpp:126: Failure
> Value of: (response).get().body
>   Actual: 
> "[{\"executor_id\":\"executor\",\"executor_name\":\"name\",\"framework_id\":\"framework\",\"resource_usage\":{\"cpu_time\":0,\"cpu_usage\":0,\"memory_rss\":0},\"source\":\"source\"}]"
> Expected: strings::format( "[{" "\"executor_id\":\"executor\"," 
> "\"executor_name\":\"name\"," "\"framework_id\":\"framework\"," 
> "\"resource_usage\":{" "\"cpu_time\":%g," "\"cpu_usage\":%g," 
> "\"memory_rss\":%lu" "}," "\"source\":\"source\"" "}]", 
> statistics.cpu_user_time() + statistics.cpu_system_time(), 
> statistics.cpu_usage(), statistics.memory_rss()).get()
> Which is: 
> "[{\"executor_id\":\"executor\",\"executor_name\":\"name\",\"framework_id\":\"framework\",\"resource_usage\":{\"cpu_time\":6,\"cpu_usage\":0,\"memory_rss\":1024},\"source\":\"source\"}]"
> [  FAILED  ] MonitorTest.WatchUnwatch (1005 ms)

--
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

Reply via email to