You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/03/22 01:11:15 UTC

[jira] [Comment Edited] (MESOS-404) FilesTest.BrowseTest is flaky

    [ https://issues.apache.org/jira/browse/MESOS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609730#comment-13609730 ] 

Benjamin Mahler edited comment on MESOS-404 at 3/22/13 12:09 AM:
-----------------------------------------------------------------

Interesting, on linux it looks like there is a response issue after a lot of attempts:

Repeating all tests (iteration 5647) . . .
Note: Google Test filter = FilesTest.BrowseTest-
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from FilesTest
[ RUN      ] FilesTest.BrowseTest
Using temporary directory '/tmp/FilesTest_BrowseTest_TIbiu4'
../../src/tests/files_tests.cpp:252: Failure
response: Cannot assign requested address

But on OSX, I see the issue you're referring to:
Repeating all tests (iteration 50) . . .
Note: Google Test filter = FilesTest.BrowseTest-
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from FilesTest
[ RUN      ] FilesTest.BrowseTest
Using temporary directory '/tmp/FilesTest_BrowseTest_pjanWr'
../../src/tests/files_tests.cpp:248: Failure
Value of: (response).get().body
  Actual: "[]"
Expected: stringify(expected)
Which is: "[{\"gid\":\"wheel\",\"mode\":\"drwxr-xr-x\",\"mtime\":1363910565,\"nlink\":2,\"path\":\"one\\/2\",\"size\":68,\"uid\":\"bmahler\"},{\"gid\":\"wheel\",\"mode\":\"drwxr-xr-x\",\"mtime\":1363910565,\"nlink\":2,\"path\":\"one\\/3\",\"size\":68,\"uid\":\"bmahler\"},{\"gid\":\"wheel\",\"mode\":\"-rw-r--r-x\",\"mtime\":1363910565,\"nlink\":1,\"path\":\"one\\/three\",\"size\":5,\"uid\":\"bmahler\"},{\"gid\":\"wheel\",\"mode\":\"-rw-r--r-x\",\"mtime\":1363910565,\"nlink\":1,\"path\":\"one\\/two\",\"size\":3,\"uid\":\"bmahler\"}]"

Investigating further for OSX.
                
      was (Author: bmahler):
    Interesting, on linux it looks like there is a response issue after a lot of attempts:

Note: Google Test filter = FilesTest.BrowseTest-
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from FilesTest
[ RUN      ] FilesTest.BrowseTest
Using temporary directory '/tmp/FilesTest_BrowseTest_TIbiu4'
../../src/tests/files_tests.cpp:252: Failure
response: Cannot assign requested address

But on OSX, I see the issue you're referring to:
Note: Google Test filter = FilesTest.BrowseTest-
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from FilesTest
[ RUN      ] FilesTest.BrowseTest
Using temporary directory '/tmp/FilesTest_BrowseTest_pjanWr'
../../src/tests/files_tests.cpp:248: Failure
Value of: (response).get().body
  Actual: "[]"
Expected: stringify(expected)
Which is: "[{\"gid\":\"wheel\",\"mode\":\"drwxr-xr-x\",\"mtime\":1363910565,\"nlink\":2,\"path\":\"one\\/2\",\"size\":68,\"uid\":\"bmahler\"},{\"gid\":\"wheel\",\"mode\":\"drwxr-xr-x\",\"mtime\":1363910565,\"nlink\":2,\"path\":\"one\\/3\",\"size\":68,\"uid\":\"bmahler\"},{\"gid\":\"wheel\",\"mode\":\"-rw-r--r-x\",\"mtime\":1363910565,\"nlink\":1,\"path\":\"one\\/three\",\"size\":5,\"uid\":\"bmahler\"},{\"gid\":\"wheel\",\"mode\":\"-rw-r--r-x\",\"mtime\":1363910565,\"nlink\":1,\"path\":\"one\\/two\",\"size\":3,\"uid\":\"bmahler\"}]"

Investigating further for OSX.
                  
> FilesTest.BrowseTest is flaky
> -----------------------------
>
>                 Key: MESOS-404
>                 URL: https://issues.apache.org/jira/browse/MESOS-404
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Vinod Kone
>            Assignee: Benjamin Mahler
>
> [ RUN      ] FilesTest.BrowseTest
> Using temporary directory '/tmp/FilesTest_BrowseTest_W8gtHm'
> I0319 11:14:53.152817 308355072 process.cpp:2931] Handling HTTP event for process 'files' with path: '/files/browse.json'
> I0319 11:14:53.153826 310501376 process.cpp:878] Socket closed while receiving
> ../../src/tests/files_tests.cpp:243: Failure
> Value of: (response).get().body
>   Actual: "[]"
> Expected: stringify(expected)
> Which is: "[{\"gid\":\"wheel\",\"mode\":\"drwxr-xr-x\",\"mtime\":1363716893,\"nlink\":2,\"path\":\"one\\/2\",\"size\":68,\"uid\":\"vinod\"},{\"gid\":\"wheel\",\"mode\":\"drwxr-xr-x\",\"mtime\":1363716893,\"nlink\":2,\"path\":\"one\\/3\",\"size\":68,\"uid\":\"vinod\"},{\"gid\":\"wheel\",\"mode\":\"-rw-r--r-x\",\"mtime\":1363716893,\"nlink\":1,\"path\":\"one\\/three\",\"size\":5,\"uid\":\"vinod\"},{\"gid\":\"wheel\",\"mode\":\"-rw-r--r-x\",\"mtime\":1363716893,\"nlink\":1,\"path\":\"one\\/two\",\"size\":3,\"uid\":\"vinod\"}]"
> [1]    34224 segmentation fault  GLOG_v=1 ./bin/mesos-tests.sh  --verbose --gtest_repeat=20 

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