XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • None
    • None

    Description

      A variety of tests are failing with similar:

      05:39:07 ======================================================================
      05:39:07 ERROR: change_durable_writes_test (configuration_test.TestConfiguration)
      05:39:07 ----------------------------------------------------------------------
      05:39:07 Traceback (most recent call last):
      05:39:07   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\configuration_test.py", line 63, in change_durable_writes_test
      05:39:07     durable_init_size = commitlog_size(durable_node)
      05:39:07   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\configuration_test.py", line 127, in commitlog_size
      05:39:07     with JolokiaAgent(node) as jmx:
      05:39:07   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\jmxutils.py", line 188, in __enter__
      05:39:07     self.start()
      05:39:07   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\jmxutils.py", line 80, in start
      05:39:07     subprocess.check_output(args, stderr=subprocess.STDOUT)
      05:39:07   File "D:\Python27\lib\subprocess.py", line 573, in check_output
      05:39:07     raise CalledProcessError(retcode, cmd, output=output)
      05:39:07 CalledProcessError: Command '('java', '-jar', 'lib\\jolokia-jvm-1.2.3-agent.jar', '--host', '127.0.0.1', 'start', '3436')' returned non-zero exit status 2
      05:39:07 -------------------- >> begin captured logging << --------------------
      05:39:07 dtest: DEBUG: cluster ccm directory: d:\temp\dtest-kjkypw
      05:39:07 --------------------- >> end captured logging << ---------------------
      

      Likely related:

      20:54:46 Failed to start jolokia agent (command was: java -jar lib\jolokia-jvm-1.2.3-agent.jar --host 127.0.0.1 start 3436): Command '('java', '-jar', 'lib\\jolokia-jvm-1.2.3-agent.jar', '--host', '127.0.0.1', 'start', '3436')' returned non-zero exit status 2
      20:54:46 Exit status was: 2
      20:54:46 Output was: Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
      20:54:46 has value '1.8', but '1.7' is required.
      20:54:46 Error: could not find java.dll
      20:54:46 Error: Could not find Java SE Runtime Environment.
      

      And at the top of jmxutils.py we see:

      JOLOKIA_JAR = os.path.join('lib', 'jolokia-jvm-1.2.3-agent.jar')
      

      So that's not going to work out too well on Windows.

      Attachments

        1. win-crashlogs.zip
          5 kB
          Paulo Motta
        2. VMAttach.java
          0.5 kB
          Paulo Motta
        3. Not_Dep.jpg
          126 kB
          Joshua McKenzie

        Issue Links

          Activity

            People

              pauloricardomg Paulo Motta
              JoshuaMcKenzie Joshua McKenzie
              Paulo Motta
              Philip Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: