Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7475

Dtest: Windows - various cqlsh_tests errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • None
    • Test/dtest/python
    • win7x64 SP1, Cassandra 3.0 / trunk

    Description

      Have a few windows-specific failures in this test.

      test_eat_glass
      ======================================================================
      ERROR: test_eat_glass (cqlsh_tests.TestCqlsh)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "C:\src\cassandra-dtest\cqlsh_tests.py", line 158, in test_eat_glass
          """.encode("utf-8"))
        File "build\bdist.win32\egg\ccmlib\node.py", line 613, in run_cqlsh
          p.stdin.write(cmd + ';\n')
      IOError: [Errno 22] Invalid argument
      
      test_simple_insert
      ======================================================================
      ERROR: test_simple_insert (cqlsh_tests.TestCqlsh)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "C:\src\cassandra-dtest\cqlsh_tests.py", line 35, in test_simple_insert
          cursor.execute("select id, value from simple.simple");
        File "c:\src\cassandra-dbapi2\cql\cursor.py", line 80, in execute
          response = self.get_response(prepared_q, cl)
        File "c:\src\cassandra-dbapi2\cql\thrifteries.py", line 77, in get_response
          return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
        File "c:\src\cassandra-dbapi2\cql\thrifteries.py", line 98, in handle_cql_execution_errors
          raise cql.ProgrammingError("Bad Request: %s" % ire.why)
      ProgrammingError: Bad Request: Keyspace simple does not exist
      
      test_with_empty_values
      ======================================================================
      ERROR: test_with_empty_values (cqlsh_tests.TestCqlsh)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "C:\src\cassandra-dtest\cqlsh_tests.py", line 347, in test_with_empty_values
          output = self.run_cqlsh(node1, "select intcol, bigintcol, varintcol from CASSANDRA_7196.has_all_types where num in (0, 1, 2, 3, 4)")
        File "C:\src\cassandra-dtest\cqlsh_tests.py", line 373, in run_cqlsh
          p = subprocess.Popen([ cli ] + args, env=env, stdin=subprocess.PIPE, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
        File "C:\Python27\lib\subprocess.py", line 710, in __init__
          errread, errwrite)
        File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
          startupinfo)
      WindowsError: [Error 193] %1 is not a valid Win32 application
      

      Attachments

        Activity

          People

            philipthompson Philip Thompson
            JoshuaMcKenzie Joshua McKenzie
            Philip Thompson
            Joshua McKenzie
            Philip Thompson Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: