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

cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_all_datatypes_read fails locally

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • Legacy/Tools
    • Linux

    Description

      I get this failure on my box with TZ at GMT+08:

      ======================================================================
      FAIL: test_all_datatypes_read (cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/stefi/git/cstar/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 674, in test_all_datatypes_read
          self.assertCsvResultEqual(self.tempfile.name, results)
        File "/home/stefi/git/cstar/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 137, in assertCsvResultEqual
          raise e
      AssertionError: Element counts were not equal:
      First has 1, Second has 0:  ['ascii', '1099511627776', '0xbeef', 'True', '3.140000000000000124344978758017532527446746826171875', '2.444', '1.1', '127.0.0.1', '25', '\xe3\x83\xbd(\xc2\xb4\xe3\x83\xbc\xef\xbd\x80)\xe3\x83\x8e', '2005-07-14 12:30:00', '30757c2c-584a-11e5-b2d0-9cebe804ecbe', '2471e7de-41e4-478f-a402-e99ed779be76', 'asdf', '36893488147419103232']
      First has 0, Second has 1:  ['ascii', '1099511627776', '0xbeef', 'True', '3.140000000000000124344978758017532527446746826171875', '2.444', '1.1', '127.0.0.1', '25', '\xe3\x83\xbd(\xc2\xb4\xe3\x83\xbc\xef\xbd\x80)\xe3\x83\x8e', '2005-07-14 04:30:00', '30757c2c-584a-11e5-b2d0-9cebe804ecbe', '2471e7de-41e4-478f-a402-e99ed779be76', 'asdf', '36893488147419103232']
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: /tmp/dtest-8VAvBl
      dtest: DEBUG: Importing from csv file: /tmp/tmpGwW8yB
      dtest: WARNING: Mismatch at index: 10
      dtest: WARNING: Value in csv: 2005-07-14 12:30:00
      dtest: WARNING: Value in result: 2005-07-14 04:30:00
      --------------------- >> end captured logging << ---------------------
      

      Attachments

        Issue Links

          Activity

            People

              stefania Stefania Alborghetti
              stefania Stefania Alborghetti
              Stefania Alborghetti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: