Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B63CC968F for ; Wed, 11 Jan 2012 20:02:03 +0000 (UTC) Received: (qmail 6717 invoked by uid 500); 11 Jan 2012 20:02:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 6646 invoked by uid 500); 11 Jan 2012 20:02:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 6631 invoked by uid 99); 11 Jan 2012 20:02:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 20:02:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 20:01:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ADC221459EF for ; Wed, 11 Jan 2012 20:01:38 +0000 (UTC) Date: Wed, 11 Jan 2012 20:01:38 +0000 (UTC) From: "Jonathan Ellis (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <568856052.31229.1326312098713.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <289213087.29222.1326274839252.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3727) Fix unit tests failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184335#comment-13184335 ] Jonathan Ellis commented on CASSANDRA-3727: ------------------------------------------- bq. RemoveTest: it fails, saying that '/127.0.0.1:7010 is in use by another process' (consistently). FWIW, I get a timeout instead (on Windows). > Fix unit tests failure > ---------------------- > > Key: CASSANDRA-3727 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3727 > Project: Cassandra > Issue Type: Bug > Components: Tests > Affects Versions: 1.0.7 > Reporter: Sylvain Lebresne > Priority: Blocker > Fix For: 1.0.7 > > Attachments: 3727.txt, CASSANDRA-3727-CliTest-timeout-fix.patch > > > On current 1.0 branch (and on my machine: Linux), I have the following unit test failures: > * CliTest and EmbeddedCassandraTest: they both first kind of pass (JUnit first prints a message with no failures in it), then hang until JUnit timeout and fails with a 'Timeout occurred'. In other word, the tests themselves are passing, but something they do prevents the process to exit cleanly leading to a JUnit timeout. I don't want to discard that as not a problem, because if something can make the process not exit cleanly, this can be a pain for restarts (and in particular upgrades) and hence would be basically a regression. I'm marking the ticket as blocker (for the release of 1.0.7) mostly because of this one. > * SystemTableTest: throws an assertionError. I haven't checked yet, so that could be an easy one to fix. > * RemoveTest: it fails, saying that '/127.0.0.1:7010 is in use by another process' (consistently). But I have no other process running on port 7010. It's likely just of problem of the test, but it's new and in the meantime removes are not tested. > * I also see a bunch of stack trace with errors like: > {noformat} > [junit] ERROR 10:01:59,007 Fatal exception in thread Thread[NonPeriodicTasks:1,5,main] > [junit] java.lang.RuntimeException: java.io.IOException: Unable to create hard link from build/test/cassandra/data/Keyspace1/Indexed1-hc-1-Index.db to /home/mcmanus/Git/cassandra/build/test/cassandra/data/Keyspace1/backups/Indexed1-hc-1-Index.db (errno 17) > {noformat} > (with SSTableReaderTest). This does not make the tests fail, but it is still worth investigating. It may be due to CASSANDRA-3101. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira