Return-Path: X-Original-To: apmail-oodt-commits-archive@www.apache.org Delivered-To: apmail-oodt-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 96C417AA7 for ; Tue, 23 Aug 2011 17:50:51 +0000 (UTC) Received: (qmail 43226 invoked by uid 500); 23 Aug 2011 17:50:51 -0000 Delivered-To: apmail-oodt-commits-archive@oodt.apache.org Received: (qmail 43193 invoked by uid 500); 23 Aug 2011 17:50:51 -0000 Mailing-List: contact commits-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oodt.apache.org Delivered-To: mailing list commits@oodt.apache.org Received: (qmail 43180 invoked by uid 99); 23 Aug 2011 17:50:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 17:50:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Tue, 23 Aug 2011 17:50:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 17BFDCC60D for ; Tue, 23 Aug 2011 17:50:29 +0000 (UTC) Date: Tue, 23 Aug 2011 17:50:29 +0000 (UTC) From: "Rishi Verma (JIRA)" To: commits@oodt.apache.org Message-ID: <1302475551.5979.1314121829093.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <432290632.5809.1314119429139.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OODT-311) Test failing related to workflow tasks and the DataSourceWorkflowRepository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OODT-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089617#comment-13089617 ] Rishi Verma commented on OODT-311: ---------------------------------- I can confirm the fix - now able to successfully build and test the latest WM. Thanks Chris! > Test failing related to workflow tasks and the DataSourceWorkflowRepository > --------------------------------------------------------------------------- > > Key: OODT-311 > URL: https://issues.apache.org/jira/browse/OODT-311 > Project: OODT > Issue Type: Bug > Components: workflow manager > Environment: 0.4-SNAPSHOT > Reporter: Rishi Verma > Assignee: Chris A. Mattmann > Fix For: 0.4 > > > As reported on the mailing list: http://s.apache.org/zIe and replicated by [~chrismattmann]: > {noformat} > [chipotle:~/src/oodt/trunk] mattmann% more workflow/target/surefire-reports/org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository.txt > ------------------------------------------------------------------------------- > Test set: org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository > ------------------------------------------------------------------------------- > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec <<< FAILURE! > testWorkflowConditions(org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository) Time elapsed: 0.282 sec <<< FAILURE! > junit.framework.AssertionFailedError: Attempt to insert null into a non-nullable column: column: WORKFLOW_TASK_ID table: WORKFLOW_TASKS > at junit.framework.Assert.fail(Assert.java:47) > at org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository.testWorkflowConditions(TestWorkflowDataSourceRepository.java:117) > [chipotle:~/src/oodt/trunk] mattmann% more workflow/target/surefire-reports/org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository-output.txt > java.sql.SQLException: Attempt to insert null into a non-nullable column: column: WORKFLOW_TASK_ID table: WORKFLOW_TASKS > at org.hsqldb.jdbc.Util.sqlException(Unknown Source) > at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) > at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source) > at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:261) > at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.commitTask(DataSourceWorkflowRepository.java:1393) > at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.getGlobalWorkflowConditionsTask(DataSourceWorkflowRepository.java:1587) > at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.handleGlobalWorkflowConditions(DataSourceWorkflowRepository.java:1572) > at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.getWorkflowById(DataSourceWorkflowRepository.java:195) > at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.getWorkflowById(DataSourceWorkflowRepository.java:165) > at org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository.testWorkflowConditions(TestWorkflowDataSourceRepository.java:114) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > {noformat} > We're seeing a test error in the DataSourceWorkflowRepository. It appears since OODT-205. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira