You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (JIRA)" <ji...@apache.org> on 2015/09/01 19:47:46 UTC

[jira] [Comment Edited] (CASSANDRA-9893) Fix upgrade tests from #9704 that are still failing

    [ https://issues.apache.org/jira/browse/CASSANDRA-9893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14725658#comment-14725658 ] 

Blake Eggleston edited comment on CASSANDRA-9893 at 9/1/15 5:46 PM:
--------------------------------------------------------------------

CASSANDRA-9554 fixed {{edge_2i_on_complex_pk_test}} and {{indexed_with_eq_test}}. {{composite_index_collections_test}} is still failing for me on cassandra-3.0 though. Here's the output:

{noformat}
======================================================================
FAIL: composite_index_collections_test (cql_tests.TestCQL)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/beggleston/code/cassandra-dtest/dtest.py", line 632, in wrapped
    f(obj)
  File "/Users/beggleston/code/cassandra-dtest/upgrade_tests/cql_tests.py", line 2339, in composite_index_collections_test
    assert rows_to_list(res) == [[1, set(['bar1', 'bar2'])], [1, set(['bar2', 'bar3'])], [2, set(['baz'])]], res
AssertionError: [Row(blog_id=1, content=None), Row(blog_id=1, content=sortedset([u'bar1', u'bar2'])), Row(blog_id=1, content=sortedset([u'bar2', u'bar3'])), Row(blog_id=2, content=sortedset([u'baz']))]
-------------------- >> begin captured stdout << ---------------------
[node1 ERROR] objc[81871]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
[node2 ERROR] objc[81870]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
dtest: DEBUG: cluster ccm directory: /var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-7OaTmZ
dtest: DEBUG: removing ccm cluster test at: /var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-7OaTmZ
dtest: DEBUG: clearing ssl stores from [/var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-7OaTmZ] directory
dtest: DEBUG: cluster ccm directory: /var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-SLY5pv
dtest: DEBUG: Querying upgraded node
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 32.667s

FAILED (failures=1)
{noformat}




was (Author: bdeggleston):
Something committed in the last few days has fixed {{edge_2i_on_complex_pk_test}} and {{indexed_with_eq_test}}. {{composite_index_collections_test}} is still failing for me on cassandra-3.0 though. Here's the output:

{noformat}
======================================================================
FAIL: composite_index_collections_test (cql_tests.TestCQL)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/beggleston/code/cassandra-dtest/dtest.py", line 632, in wrapped
    f(obj)
  File "/Users/beggleston/code/cassandra-dtest/upgrade_tests/cql_tests.py", line 2339, in composite_index_collections_test
    assert rows_to_list(res) == [[1, set(['bar1', 'bar2'])], [1, set(['bar2', 'bar3'])], [2, set(['baz'])]], res
AssertionError: [Row(blog_id=1, content=None), Row(blog_id=1, content=sortedset([u'bar1', u'bar2'])), Row(blog_id=1, content=sortedset([u'bar2', u'bar3'])), Row(blog_id=2, content=sortedset([u'baz']))]
-------------------- >> begin captured stdout << ---------------------
[node1 ERROR] objc[81871]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
[node2 ERROR] objc[81870]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
dtest: DEBUG: cluster ccm directory: /var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-7OaTmZ
dtest: DEBUG: removing ccm cluster test at: /var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-7OaTmZ
dtest: DEBUG: clearing ssl stores from [/var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-7OaTmZ] directory
dtest: DEBUG: cluster ccm directory: /var/folders/kb/n2400lpj1rd5q1gx6pfj81tc0000gn/T/dtest-SLY5pv
dtest: DEBUG: Querying upgraded node
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 32.667s

FAILED (failures=1)
{noformat}



> Fix upgrade tests from #9704 that are still failing
> ---------------------------------------------------
>
>                 Key: CASSANDRA-9893
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9893
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Blake Eggleston
>             Fix For: 3.0 beta 2
>
>
> The first things to do on this ticket would be to commit Tyler's branch (https://github.com/thobbs/cassandra-dtest/tree/8099-backwards-compat) to the dtests so cassci run them. I've had to do a few minor modifications to have them run locally so someone which access to cassci should do it and make sure it runs properly.
> Once we have that, we should fix any test that isn't passing. I've ran the tests locally and I had 8 failures. for 2 of them, it sounds plausible that they'll get fixed by the patch of CASSANDRA-9775, though that's just a guess.  The rest where test that timeouted without a particular error in the log, and running some of them individually, they passed.  So we'll have to see if it's just my machine being overly slow when running them all.



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