Return-Path: X-Original-To: apmail-sqoop-dev-archive@www.apache.org Delivered-To: apmail-sqoop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9030F10445 for ; Wed, 3 Dec 2014 19:24:13 +0000 (UTC) Received: (qmail 81669 invoked by uid 500); 3 Dec 2014 19:24:13 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 81632 invoked by uid 500); 3 Dec 2014 19:24:13 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 81614 invoked by uid 99); 3 Dec 2014 19:24:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 19:24:13 +0000 Date: Wed, 3 Dec 2014 19:24:13 +0000 (UTC) From: "Sqoop QA bot (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SQOOP-1837) Sqoop2: Verify that executing job has been successful in ConnectorTestCase 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/SQOOP-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233390#comment-14233390 ] Sqoop QA bot commented on SQOOP-1837: ------------------------------------- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12684935/SQOOP-1837.patch against branch sqoop2. {color:green}Overall:{color} +1 all checks pass {color:green}SUCCESS:{color} Clean was successful {color:green}SUCCESS:{color} Patch applied correctly {color:green}SUCCESS:{color} Patch add/modify test case {color:green}SUCCESS:{color} Patch compiled {color:green}SUCCESS:{color} All unit tests passed {color:green}SUCCESS:{color} All integration tests passed Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/697/console This message is automatically generated. > Sqoop2: Verify that executing job has been successful in ConnectorTestCase > -------------------------------------------------------------------------- > > Key: SQOOP-1837 > URL: https://issues.apache.org/jira/browse/SQOOP-1837 > Project: Sqoop > Issue Type: Bug > Affects Versions: 1.99.4 > Reporter: Jarek Jarcec Cecho > Assignee: Jarek Jarcec Cecho > Fix For: 1.99.5 > > Attachments: SQOOP-1837.patch > > > While investigating SQOOP-1815 we've spent a lot of time with [~vybs] trying to see why we are not getting data that we are expecting. We finally realized that the submission itself is failing and that is why we don't see any data. It seems that our [util classes|https://github.com/apache/sqoop/blob/sqoop2/test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java#L244] for executing job are running the job without checking whether it was successful or not. Hence the test didn't noticed that the job failed and move to the stage for checking job outputs that haven't been there. -- This message was sent by Atlassian JIRA (v6.3.4#6332)