[
https://issues.apache.org/jira/browse/CASSANDRA-11057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196592#comment-15196592
]
Michael Shuler commented on CASSANDRA-11057:
--------------------------------------------
[~Stefania] could you double-check that this patch still tests the expected
behavior intended for checking CASSANDRA-10052?
https://github.com/riptano/cassandra-dtest/pull/860/files
In a nutshell, in CI this is failing due to the AWS instances resolving
'localhost' to 0:0:0:0:0:0:0:1.
Example:
http://cassci.datastax.com/job/cassandra-2.1_novnode_dtest/215/testReport/pushed_notifications_test/TestPushedNotifications/move_single_node_localhost_test/
Tail end of the node logs from that test run:
{noformat}
mshuler@hana:~/tmp$ tail
logs/1457688901649_pushed_notifications_test.TestPushedNotifications.move_single_node_localhost_test/node*.log
==>
logs/1457688901649_pushed_notifications_test.TestPushedNotifications.move_single_node_localhost_test/node1.log
<==
INFO [GossipStage:1] 2016-03-11 09:34:19,563 Gossiper.java:1029 - Node
/127.0.0.2 is now part of the cluster
INFO [SharedPool-Worker-1] 2016-03-11 09:34:19,564 Gossiper.java:993 -
InetAddress /127.0.0.2 is now UP
INFO [GossipStage:1] 2016-03-11 09:34:19,568 TokenMetadata.java:414 - Updating
topology for /127.0.0.2
INFO [GossipStage:1] 2016-03-11 09:34:19,568 TokenMetadata.java:414 - Updating
topology for /127.0.0.2
INFO [main] 2016-03-11 09:34:24,910 CassandraDaemon.java:643 - No gossip
backlog; proceeding
INFO [main] 2016-03-11 09:34:24,974 Server.java:155 - Netty using native Epoll
event loop
INFO [main] 2016-03-11 09:34:25,009 Server.java:193 - Using Netty Version:
[netty-buffer=netty-buffer-4.0.23.Final.208198c,
netty-codec=netty-codec-4.0.23.Final.208198c,
netty-codec-http=netty-codec-http-4.0.23.Final.208198c,
netty-codec-socks=netty-codec-socks-4.0.23.Final.208198c,
netty-common=netty-common-4.0.23.Final.208198c,
netty-handler=netty-handler-4.0.23.Final.208198c,
netty-transport=netty-transport-4.0.23.Final.208198c,
netty-transport-rxtx=netty-transport-rxtx-4.0.23.Final.208198c,
netty-transport-sctp=netty-transport-sctp-4.0.23.Final.208198c,
netty-transport-udt=netty-transport-udt-4.0.23.Final.208198c]
INFO [main] 2016-03-11 09:34:25,009 Server.java:194 - Starting listening for
CQL clients on localhost/0:0:0:0:0:0:0:1:9161...
INFO [main] 2016-03-11 09:34:25,063 ThriftServer.java:119 - Binding thrift
service to localhost/0:0:0:0:0:0:0:1:9160
INFO [Thread-2] 2016-03-11 09:34:25,069 ThriftServer.java:136 - Listening for
thrift clients...
==>
logs/1457688901649_pushed_notifications_test.TestPushedNotifications.move_single_node_localhost_test/node2.log
<==
INFO [HANDSHAKE-/127.0.0.3] 2016-03-11 09:34:19,507
OutboundTcpConnection.java:487 - Handshaking version with /127.0.0.3
INFO [GossipStage:1] 2016-03-11 09:34:19,512 TokenMetadata.java:414 - Updating
topology for /127.0.0.3
INFO [GossipStage:1] 2016-03-11 09:34:19,512 TokenMetadata.java:414 - Updating
topology for /127.0.0.3
INFO [SharedPool-Worker-1] 2016-03-11 09:34:19,519 Gossiper.java:993 -
InetAddress /127.0.0.3 is now UP
INFO [main] 2016-03-11 09:34:26,960 CassandraDaemon.java:643 - No gossip
backlog; proceeding
INFO [main] 2016-03-11 09:34:27,023 Server.java:155 - Netty using native Epoll
event loop
INFO [main] 2016-03-11 09:34:27,059 Server.java:193 - Using Netty Version:
[netty-buffer=netty-buffer-4.0.23.Final.208198c,
netty-codec=netty-codec-4.0.23.Final.208198c,
netty-codec-http=netty-codec-http-4.0.23.Final.208198c,
netty-codec-socks=netty-codec-socks-4.0.23.Final.208198c,
netty-common=netty-common-4.0.23.Final.208198c,
netty-handler=netty-handler-4.0.23.Final.208198c,
netty-transport=netty-transport-4.0.23.Final.208198c,
netty-transport-rxtx=netty-transport-rxtx-4.0.23.Final.208198c,
netty-transport-sctp=netty-transport-sctp-4.0.23.Final.208198c,
netty-transport-udt=netty-transport-udt-4.0.23.Final.208198c]
INFO [main] 2016-03-11 09:34:27,060 Server.java:194 - Starting listening for
CQL clients on localhost/0:0:0:0:0:0:0:1:9163...
INFO [main] 2016-03-11 09:34:27,112 ThriftServer.java:119 - Binding thrift
service to localhost/0:0:0:0:0:0:0:1:9162
INFO [Thread-2] 2016-03-11 09:34:27,119 ThriftServer.java:136 - Listening for
thrift clients...
==>
logs/1457688901649_pushed_notifications_test.TestPushedNotifications.move_single_node_localhost_test/node3.log
<==
INFO [GossipStage:1] 2016-03-11 09:34:20,506 Gossiper.java:1029 - Node
/127.0.0.2 is now part of the cluster
INFO [SharedPool-Worker-1] 2016-03-11 09:34:20,507 Gossiper.java:993 -
InetAddress /127.0.0.2 is now UP
INFO [GossipStage:1] 2016-03-11 09:34:20,511 TokenMetadata.java:414 - Updating
topology for /127.0.0.2
INFO [GossipStage:1] 2016-03-11 09:34:20,512 TokenMetadata.java:414 - Updating
topology for /127.0.0.2
INFO [main] 2016-03-11 09:34:26,196 CassandraDaemon.java:643 - No gossip
backlog; proceeding
INFO [main] 2016-03-11 09:34:26,262 Server.java:155 - Netty using native Epoll
event loop
INFO [main] 2016-03-11 09:34:26,298 Server.java:193 - Using Netty Version:
[netty-buffer=netty-buffer-4.0.23.Final.208198c,
netty-codec=netty-codec-4.0.23.Final.208198c,
netty-codec-http=netty-codec-http-4.0.23.Final.208198c,
netty-codec-socks=netty-codec-socks-4.0.23.Final.208198c,
netty-common=netty-common-4.0.23.Final.208198c,
netty-handler=netty-handler-4.0.23.Final.208198c,
netty-transport=netty-transport-4.0.23.Final.208198c,
netty-transport-rxtx=netty-transport-rxtx-4.0.23.Final.208198c,
netty-transport-sctp=netty-transport-sctp-4.0.23.Final.208198c,
netty-transport-udt=netty-transport-udt-4.0.23.Final.208198c]
INFO [main] 2016-03-11 09:34:26,298 Server.java:194 - Starting listening for
CQL clients on localhost/0:0:0:0:0:0:0:1:9165...
INFO [main] 2016-03-11 09:34:26,353 ThriftServer.java:119 - Binding thrift
service to localhost/0:0:0:0:0:0:0:1:9164
INFO [Thread-2] 2016-03-11 09:34:26,359 ThriftServer.java:136 - Listening for
thrift clients...
mshuler@hana:~/tmp$
{noformat}
I just wish to verify that switching from 'localhost' to explicit '127.0.0.1'
thrift and binary addresses tests what we need properly, which I believe is
correct.
> move_single_node_localhost_test is failing
> ------------------------------------------
>
> Key: CASSANDRA-11057
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11057
> Project: Cassandra
> Issue Type: Bug
> Components: Testing
> Reporter: Philip Thompson
> Assignee: Michael Shuler
> Labels: dtest
>
> {{pushed_notifications_test.TestPushedNotifications.move_single_node_localhost_test}}
> is failing across all tested versions. Example failure is
> [here|http://cassci.datastax.com/job/cassandra-2.1_novnode_dtest/194/testReport/pushed_notifications_test/TestPushedNotifications/move_single_node_localhost_test/].
>
> We need to debug this failure, as it is entirely likely it is a test issue
> and not a bug.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)