You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jim Witschey (JIRA)" <ji...@apache.org> on 2015/12/09 17:21:10 UTC

[jira] [Created] (CASSANDRA-10834) jmx_test.py:TestJMX.test_compactionstats flapping when Jolokia fails to connect

Jim Witschey created CASSANDRA-10834:
----------------------------------------

             Summary: jmx_test.py:TestJMX.test_compactionstats flapping when Jolokia fails to connect
                 Key: CASSANDRA-10834
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10834
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jim Witschey


{{jmx_test.py:TestJMX.test_compactionstats}} flaps in a number of jobs on CassCI, including the 3.0 and trunk jobs:

http://cassci.datastax.com/job/cassandra-3.0_dtest/335/testReport/junit/jmx_test/TestJMX/test_compactionstats/history/

http://cassci.datastax.com/job/trunk_dtest/820/testReport/jmx_test/TestJMX/test_compactionstats/history/

There may be other jobs and other tests that flap this way; I'll update this ticket as appropriate if I find more information.

The error printed by the test is

{code}
Failed to start jolokia agent (command was: /usr/lib/jvm/jdk1.8.0_45/bin/java -cp /usr/lib/jvm/jdk1.8.0_45/lib/tools.jar:lib/jolokia-jvm-1.2.3-agent.jar org.jolokia.jvmagent.client.AgentLauncher --host 127.0.0.1 start 17785): Command '('/usr/lib/jvm/jdk1.8.0_45/bin/java', '-cp', '/usr/lib/jvm/jdk1.8.0_45/lib/tools.jar:lib/jolokia-jvm-1.2.3-agent.jar', 'org.jolokia.jvmagent.client.AgentLauncher', '--host', '127.0.0.1', 'start', '17785')' returned non-zero exit status 1
Exit status was: 1
Output was: Illegal Argument (command: start) : Cannot attach to process-ID 17785.
See --help for possible reasons.
{code}

Which is not very helpful. However, that message is consistent with the one found in the error that led to us filing this ticket:

https://github.com/rhuss/jolokia/issues/198

So, one starting point for debugging should should be to check that shared memory is correctly disabled when launching Cassandra.

This was originally reported as CASSANDRA-10666, but that got derailed when an OOM error cropped up on the same test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)