Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9418 Fix dtests on 2.2 branch on Windows
  3. CASSANDRA-10077

Windows dtest 2.2: json_test.py:JsonFullRowInsertSelect.pkey_requirement_test

    XMLWordPrintableJSON

Details

    Description

      Error text:

      Doctest failed! Captured output:
      **********************************************************************
      Line 25, in pkey_requirement_test
      Failed example:
          cqlsh_err_print('''INSERT INTO primitive_type_test JSON '{"col1": "bar"}' ''')
      Expected:
          <stdin>:2:InvalidRequest: code=2200 [Invalid query] message="Invalid null value in condition for column key1"
          <BLANKLINE>
      Got:
          <stdin>:2:InvalidRequest: code=2200 [Invalid query] message="Invalid null value in condition for column key1"
          <BLANKLINE>
      
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: d:\temp\dtest-fgbxha
      --------------------- >> end captured logging << ---------------------
      

      and:

      File "C:\tools\python2\lib\unittest\case.py", line 329, in run
          testMethod()
        File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\json_test.py", line 1252, in pkey_requirement_test
          run_func_docstring(tester=self, test_func=self.pkey_requirement_test)
        File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\json_test.py", line 181, in run_func_docstring
          raise RuntimeError("Doctest failed! Captured output:\n{}".format(test_output_capturer.content))
      'Doctest failed! Captured output:\n**********************************************************************\nLine 25, in pkey_requirement_test\nFailed example:\n    cqlsh_err_print(\'\'\'INSERT INTO primitive_type_test JSON \'{"col1": "bar"}\' \'\'\')\nExpected:\n    <stdin>:2:InvalidRequest: code=2200 [Invalid query] message="Invalid null value in condition for column key1"\n    <BLANKLINE>\nGot:\n    <stdin>:2:InvalidRequest: code=2200 [Invalid query] message="Invalid null value in condition for column key1"\r\n    <BLANKLINE>\n\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: d:\\temp\\dtest-fgbxha\n--------------------- >> end captured logging << ---------------------'
      

      Failure history (Consistent, introduced in build 58)

      Env: Both CI and Local.

      Attachments

        Issue Links

          Activity

            People

              JoshuaMcKenzie Joshua McKenzie
              JoshuaMcKenzie Joshua McKenzie
              Joshua McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: