sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gwen Shapira (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-2436) Sqoop2: PreCommit script crashes when testing a patch that was already committed
Date Mon, 27 Jul 2015 21:34:05 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gwen Shapira updated SQOOP-2436:
--------------------------------
    Summary: Sqoop2: PreCommit script crashes when testing a patch that was already committed
 (was: PreCommit script crashes when testing a patch that was already committed)

> Sqoop2: PreCommit script crashes when testing a patch that was already committed
> --------------------------------------------------------------------------------
>
>                 Key: SQOOP-2436
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2436
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Gwen Shapira
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.7
>
>         Attachments: SQOOP-2436.patch
>
>
> Test: Apply a patch that was committed.
> Expected: Nice message saying "already committed" or "can't apply"
> Actual:
> {code}
> gshapira-MBP:sqoop2 gshapira$ dev-support/test-patch.py --defect SQOOP-2428 --output
patch-process --run-integration-tests
> Defect: SQOOP-2428
> INFO: URL = https://issues.apache.org/jira/rest/api/2/issue/SQOOP-2428, Username = flumeqa,
data = None, headers = {}
> INFO: URL = https://issues.apache.org/jira/browse/SQOOP-2428, Username = flumeqa, data
= None, headers = {}
> INFO: URL = https://issues.apache.org/jira/secure/attachment/12747186/SQOOP-2428.patch,
Username = flumeqa, data = None, headers = {}
> INFO: Executing mvn clean 1>patch-process/clean.txt 2>&1
> INFO: Executing git checkout sqoop2
> Already on 'sqoop2'
> Your branch is up-to-date with 'origin/sqoop2'.
> INFO: Executing git clean -d -f
> INFO: Executing git reset --hard HEAD
> HEAD is now at 7e63724 SQOOP-2428: Sqoop2: Precommit: Print actions in order they've
been executed
> INFO: Executing git fetch origin
> INFO: Executing git merge --ff-only origin/sqoop2
> Already up-to-date.
> INFO: Executing git apply -p1 < patch-process/SQOOP-2428.patch 1>patch-process/apply.txt
2>&1
> Traceback (most recent call last):
>   File "dev-support/test-patch.py", line 486, in <module>
>     git_apply(result, patch_cmd, patch_file, strip, output_dir)
>   File "dev-support/test-patch.py", line 222, in git_apply
>     result.fatal("Failed to apply patch (exit code %d):\n{code}%s{code}\n" % (rc, output))
>   File "dev-support/test-patch.py", line 355, in fatal
>     self._items.append(ResultItem(ResultsIem.FATAL, msg, bullets))
> NameError: global name 'ResultsIem' is not defined
> {code}



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

Mime
View raw message