Benno Evers created MESOS-9478:
----------------------------------
Summary: ZooKeeperTest.Create is flaky
Key: MESOS-9478
URL: https://issues.apache.org/jira/browse/MESOS-9478
Project: Mesos
Issue Type: Bug
Environment: Mac OSX w/ libeven
Reporter: Benno Evers
Observed the following
{noformat}
../../src/tests/zookeeper_tests.cpp:124
Expected: ZNODEEXISTS
Which is: -110
To be equal to: nonOwnerZk.create("/foo/bar/baz", "",
zookeeper::EVERYONE_READ_CREATOR_ALL, 0, nullptr, true)
Which is: -9
{noformat}
Full log:
{noformat}
[ RUN ] ZooKeeperTest.Create
I1213 18:43:49.478912 222864832 zookeeper_test_server.cpp:156] Started
ZooKeeperTestServer on port 57250
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@753: Client
environment:zookeeper.version=zookeeper C client 3.4.8
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@757: Client
environment:host.name=Jenkinss-Mac-mini.local
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@764: Client
environment:os.name=Darwin
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@765: Client
environment:os.arch=18.2.0
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@766: Client
environment:os.version=Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST
2018; root:xnu-4903.231.4~2/RELEASE_X86_64
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@774: Client
environment:user.name=jenkins
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@782: Client
environment:user.home=/Users/jenkins
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@log_env@794: Client
environment:user.dir=/Users/jenkins/workspace/workspace/mesos/Mesos_CI-build/FLAG/SSL/label/mac/mesos/build
2018-12-13 18:43:49,479:66260(0x700005a71000):ZOO_INFO@zookeeper_init@827:
Initiating client connection, host=127.0.0.1:57250 sessionTimeout=10000
watcher=0x10fea4f00 sessionId=0 sessionPasswd=<null> context=0x7fe4d5e7c680
flags=0
2018-12-13 18:43:49,479:66260(0x70000659e000):ZOO_INFO@check_events@1764:
initiated connection to server [127.0.0.1:57250]
2018-12-13 18:43:49,480:66260(0x70000659e000):ZOO_INFO@check_events@1811:
session establishment complete on server [127.0.0.1:57250],
sessionId=0x167aa9940660000, negotiated timeout=10000
2018-12-13
18:43:52,819:66260(0x70000659e000):ZOO_INFO@auth_completion_func@1327:
Authentication scheme digest succeeded
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@753: Client
environment:zookeeper.version=zookeeper C client 3.4.8
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@757: Client
environment:host.name=Jenkinss-Mac-mini.local
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@764: Client
environment:os.name=Darwin
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@765: Client
environment:os.arch=18.2.0
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@766: Client
environment:os.version=Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST
2018; root:xnu-4903.231.4~2/RELEASE_X86_64
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@774: Client
environment:user.name=jenkins
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@782: Client
environment:user.home=/Users/jenkins
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@log_env@794: Client
environment:user.dir=/Users/jenkins/workspace/workspace/mesos/Mesos_CI-build/FLAG/SSL/label/mac/mesos/build
2018-12-13 18:43:52,823:66260(0x700005c7d000):ZOO_INFO@zookeeper_init@827:
Initiating client connection, host=127.0.0.1:57250 sessionTimeout=10000
watcher=0x10fea4f00 sessionId=0 sessionPasswd=<null> context=0x7fe4d5cf7a20
flags=0
2018-12-13 18:43:52,823:66260(0x700006d36000):ZOO_INFO@check_events@1764:
initiated connection to server [127.0.0.1:57250]
2018-12-13 18:43:52,824:66260(0x700006d36000):ZOO_INFO@check_events@1811:
session establishment complete on server [127.0.0.1:57250],
sessionId=0x167aa9940660001, negotiated timeout=10000
2018-12-13 18:44:05,891:66260(0x70000659e000):ZOO_WARN@zookeeper_interest@1597:
Exceeded deadline by 9735ms
2018-12-13
18:44:05,891:66260(0x70000659e000):ZOO_ERROR@handle_socket_error_msg@1702:
Socket [127.0.0.1:57250] zk retcode=-7, errno=60(Operation timed out):
connection to 127.0.0.1:57250 timed out (exceeded timeout by 6402ms)
2018-12-13 18:44:05,891:66260(0x70000659e000):ZOO_WARN@zookeeper_interest@1597:
Exceeded deadline by 9735ms
2018-12-13 18:44:05,892:66260(0x700006d36000):ZOO_WARN@zookeeper_interest@1597:
Exceeded deadline by 9736ms
2018-12-13
18:44:05,892:66260(0x700006d36000):ZOO_ERROR@handle_socket_error_msg@1702:
Socket [127.0.0.1:57250] zk retcode=-7, errno=60(Operation timed out):
connection to 127.0.0.1:57250 timed out (exceeded timeout by 6402ms)
2018-12-13 18:44:05,892:66260(0x700006d36000):ZOO_WARN@zookeeper_interest@1597:
Exceeded deadline by 9736ms
2018-12-13 18:44:05,893:66260(0x700006d36000):ZOO_WARN@zookeeper_interest@1597:
Exceeded deadline by 9736ms
2018-12-13 18:44:05,893:66260(0x700006d36000):ZOO_INFO@check_events@1764:
initiated connection to server [127.0.0.1:57250]
2018-12-13
18:44:05,893:66260(0x700006d36000):ZOO_ERROR@handle_socket_error_msg@1800:
Socket [127.0.0.1:57250] zk retcode=-112, errno=70(Stale NFS file handle):
sessionId=0x167aa9940660001 has expired.
../../src/tests/zookeeper_tests.cpp:124: Failure
Expected: ZNODEEXISTS
Which is: -110
To be equal to: nonOwnerZk.create("/foo/bar/baz", "",
zookeeper::EVERYONE_READ_CREATOR_ALL, 0, nullptr, true)
Which is: -9
../../src/tests/zookeeper_tests.cpp:130: Failure
Expected: ZOK
Which is: 0
To be equal to: nonOwnerZk.create("/foo/bar/baz/bam", "44",
zookeeper::EVERYONE_READ_CREATOR_ALL, 0, nullptr, true)
Which is: -9
../../src/tests/zookeeper_tests.cpp:131: Failure
(&nonOwnerZk).get("/foo/bar/baz/bam", ...): invalid zhandle state
2018-12-13 18:44:05,894:66260(0x10d48a5c0):ZOO_INFO@zookeeper_close@2579:
Freeing zookeeper resources for sessionId=0x167aa9940660001
2018-12-13 18:44:05,894:66260(0x10d48a5c0):ZOO_INFO@zookeeper_close@2579:
Freeing zookeeper resources for sessionId=0x167aa9940660000
I1213 18:44:05.894729 222864832 zookeeper_test_server.cpp:116] Shutting down
ZooKeeperTestServer on port 57250
[ FAILED ] ZooKeeperTest.Create (17785 ms)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)