You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Marco Zühlke (JIRA)" <ji...@apache.org> on 2015/12/11 17:29:11 UTC

[jira] [Updated] (YETUS-76) Docker mode doesn't work for a local patch file

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

Marco Zühlke updated YETUS-76:
------------------------------
    Component/s: Test Patch

> Docker mode doesn't work for a local patch file
> -----------------------------------------------
>
>                 Key: YETUS-76
>                 URL: https://issues.apache.org/jira/browse/YETUS-76
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>            Reporter: Kengo Seki
>
> Docker mode works for the issue #:
> {code}
> [sekikn@mobile yetus]$ dev-support/test-patch.sh --basedir=../hadoop --debug --docker --patch-dir=/Users/sekikn/p --project=hadoop --resetrepo HADOOP-12070
> (snip)
> ============================================================================
> ============================================================================
>                           Re-execing under Docker
> ============================================================================
> ============================================================================
> (snip)
> [Wed Oct 14 04:33:51 UTC 2015 DEBUG]: locate patch: HADOOP-12070
> [Wed Oct 14 04:33:51 UTC 2015 DEBUG]: github: HADOOP-12070 is not a pull request #
> [Wed Oct 14 04:33:51 UTC 2015 DEBUG]: jira_locate_patch: trying https://issues.apache.org/jira/browse/HADOOP-12070
> HADOOP-12070 patch is being downloaded at Wed Oct 14 04:33:54 UTC 2015 from
> https://issues.apache.org/jira/secure/attachment/12738174/HADOOP-12070.001.patch
> (snip)
> || Subsystem || Report/Notes ||
> ============================================================================
> | Docker | Client=1.7.1 Server=1.7.1 Image:test-patch-base-hadoop-2340c55 |
> | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12738174/HADOOP-12070.001.patch |
> | JIRA Issue | HADOOP-12070 |
> | Optional Tests | asflicense unit  |
> | uname | Linux 4587e4d616ad 4.0.7-boot2docker #1 SMP Wed Jul 15 00:01:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux |
> | Build tool | maven |
> | Personality | /testptch/patchprocess/precommit/personality/hadoop.sh |
> | git revision | trunk / 40cac59 |
> | Default Java | 1.7.0_79 |
> | Max memory used | 30MB |
> | Powered by | Apache Yetus   http://yetus.apache.org |
> ============================================================================
> ============================================================================
>                               Finished build.
> ============================================================================
> ============================================================================
> {code}
> But it fails for the downloaded patch file:
> {code}
> [sekikn@mobile yetus]$ wget https://issues.apache.org/jira/secure/attachment/12738174/HADOOP-12070.001.patch -O /tmp/HADOOP-12070.001.patch
> --2015-10-14 13:46:41--  https://issues.apache.org/jira/secure/attachment/12738174/HADOOP-12070.001.patch
> Resolving issues.apache.org... 140.211.11.138
> Connecting to issues.apache.org|140.211.11.138|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 2742 (2.7K) [text/x-patch]
> Saving to: '/tmp/HADOOP-12070.001.patch'
> /tmp/HADOOP-12070.001.patch      100%[==========================================================>]   2.68K  --.-KB/s   in 0.02s  
> 2015-10-14 13:46:43 (118 KB/s) - '/tmp/HADOOP-12070.001.patch' saved [2742/2742]
> [sekikn@mobile yetus]$ rm -rf /Users/sekikn/p
> [sekikn@mobile yetus]$ dev-support/test-patch.sh --basedir=../hadoop --debug --docker --patch-dir=/Users/sekikn/p --project=hadoop --resetrepo /tmp/HADOOP-12070.001.patch 
> (snip)
> ============================================================================
> ============================================================================
>                           Re-execing under Docker
> ============================================================================
> ============================================================================
> (snip)
> [Wed Oct 14 04:47:52 UTC 2015 DEBUG]: locate patch: /tmp/HADOOP-12070.001.patch
> [Wed Oct 14 04:47:52 UTC 2015 DEBUG]: github: /tmp/HADOOP-12070.001.patch is not a pull request #
> [Wed Oct 14 04:47:52 UTC 2015 DEBUG]: jira_locate_patch: trying https://issues.apache.org/jira/browse//tmp/HADOOP-12070.001.patch
> [Wed Oct 14 04:47:55 UTC 2015 DEBUG]: jira_locate_patch: not a JIRA.
> [Wed Oct 14 04:47:55 UTC 2015 DEBUG]: generic_locate_patch: failed to download the patch.
> ERROR: Unsure how to process /tmp/HADOOP-12070.001.patch.
> {code}



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