You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/07/29 22:32:05 UTC
[jira] [Comment Edited] (CASSANDRA-9868) Archive commitlogs tests
failing
[ https://issues.apache.org/jira/browse/CASSANDRA-9868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646702#comment-14646702 ]
Ariel Weisberg edited comment on CASSANDRA-9868 at 7/29/15 8:31 PM:
--------------------------------------------------------------------
Still fails in Cassci. Just got it to fail on my laptop. Working on it now. Not the same failure though.
{quote}
test_basic_snapshot_and_restore (snapshot_test.TestSnapshot) ... cluster ccm directory: /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/dtest-OLMHwZ
[node1 ERROR] objc[99540]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Making snapshot....
Running snapshot cmd: snapshot ks -cf cf -t basic
snapshot_dir is : /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/dtest-OLMHwZ/test/node1/data/ks/cf-025875b0363011e58cb29fd68d26b325/snapshots/basic
snapshot copy is : /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/tmpkGaUJR
Restoring snapshot....
removing snapshot_dir: /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/tmpkGaUJR
removing ccm cluster test at: /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/dtest-OLMHwZ
ERROR
======================================================================
ERROR: test_basic_snapshot_and_restore (snapshot_test.TestSnapshot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/aweisberg/cassandra-dtest/dtest.py", line 467, in tearDown
raise AssertionError('Unexpected error in %s node log: %s' % (node.name, errors))
AssertionError: Unexpected error in node1 node log: ['ERROR [MigrationStage:1] 2015-07-29 16:25:54,931 Keyspace.java:446 - Attempting to mutate non-existant table b5d9f9d5-5b61-300d-8ab9-ee8f825b9b67 (system.materializedviews_builds_in_progress) ERROR [MigrationStage:1] 2015-07-29 16:25:54,932 Keyspace.java:446 - Attempting to mutate non-existant table 9efb78a8-a1b7-38d6-b02d-163ed9add271 (system.built_materializedviews)', 'ERROR [MigrationStage:1] 2015-07-29 16:25:55,087 CommitLogSegmentManager.java:327 - Failed to force-recycle all segments; at least one segment is still in use with dirty CFs.', 'ERROR [MigrationStage:1] 2015-07-29 16:25:55,134 CommitLogSegmentManager.java:327 - Failed to force-recycle all segments; at least one segment is still in use with dirty CFs.']
-------------------- >> begin captured logging << --------------------
dtest: DEBUG: cluster ccm directory: /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/dtest-OLMHwZ
dtest: DEBUG: Making snapshot....
dtest: DEBUG: Running snapshot cmd: snapshot ks -cf cf -t basic
dtest: DEBUG: snapshot_dir is : /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/dtest-OLMHwZ/test/node1/data/ks/cf-025875b0363011e58cb29fd68d26b325/snapshots/basic
dtest: DEBUG: snapshot copy is : /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/tmpkGaUJR
dtest: DEBUG: Restoring snapshot....
dtest: DEBUG: removing snapshot_dir: /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/tmpkGaUJR
dtest: DEBUG: removing ccm cluster test at: /var/folders/0l/8vd0_qx552z8kjqqs1dxkjsh0000gn/T/dtest-OLMHwZ
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 6 tests in 16.034s
FAILED (SKIP=5, errors=1)
{quote}
was (Author: aweisberg):
Still fails in Cassci. Just got it to fail on my laptop. Working on it now.
> Archive commitlogs tests failing
> --------------------------------
>
> Key: CASSANDRA-9868
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9868
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Shawn Kumar
> Assignee: Ariel Weisberg
> Priority: Blocker
> Fix For: 3.0 beta 1
>
> Attachments: commitlog_archiving.properties
>
>
> A number of archive commitlog dtests (snapshot_tests.py) are failing on trunk at the point in the tests where the node is asked to restore data from archived commitlogs. It appears that the snapshot functionality works, but the [assertion|https://github.com/riptano/cassandra-dtest/blob/master/snapshot_test.py#L312] regarding data that should have been restored from archived commitlogs fails. I also tested this manually on trunk and found no success in restoring either, so it appears to not just be a test issue. Should note that it seems archiving the commitlogs works (in that they are actually copied) and rather restoring them is the issue. Attached is a the commitlog properties file (to show the commands used).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)