Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D9F9200C41 for ; Thu, 9 Mar 2017 20:35:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C2DD160B75; Thu, 9 Mar 2017 19:35:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 88137160B87 for ; Thu, 9 Mar 2017 20:35:05 +0100 (CET) Received: (qmail 39282 invoked by uid 500); 9 Mar 2017 19:35:04 -0000 Mailing-List: contact notifications-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list notifications@yetus.apache.org Received: (qmail 38952 invoked by uid 99); 9 Mar 2017 19:35:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 19:35:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 564F818F1B9 for ; Thu, 9 Mar 2017 19:29:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.452 X-Spam-Level: * X-Spam-Status: No, score=1.452 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6na-cKTnY6OV for ; Thu, 9 Mar 2017 19:29:39 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0D1A15F39F for ; Thu, 9 Mar 2017 19:29:39 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4C389E043B for ; Thu, 9 Mar 2017 19:29:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0337A243AA for ; Thu, 9 Mar 2017 19:29:38 +0000 (UTC) Date: Thu, 9 Mar 2017 19:29:38 +0000 (UTC) From: "Yetus QA (JIRA)" To: notifications@yetus.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YETUS-494) smart-apply-patch fails if there is the corresponding PR but the patch URL is not written MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Mar 2017 19:35:06 -0000 [ https://issues.apache.org/jira/browse/YETUS-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903696#comment-15903696 ] Yetus QA commented on YETUS-494: -------------------------------- (!) A patch to the testing environment has been detected. Re-executing against the patched versions to perform further tests. The console is at https://builds.apache.org/job/PreCommit-YETUS-Build/545/console in case of problems. > smart-apply-patch fails if there is the corresponding PR but the patch URL is not written > ----------------------------------------------------------------------------------------- > > Key: YETUS-494 > URL: https://issues.apache.org/jira/browse/YETUS-494 > Project: Yetus > Issue Type: Bug > Components: Test Patch > Affects Versions: 0.4.0 > Reporter: Akira Ajisaka > Assignee: Akira Ajisaka > Priority: Minor > Attachments: YETUS-494.01.patch > > > {{github_jira_bridge}} searches the patch URL as follows: > {code:title=github.sh} > urlfromjira=$(${AWK} "match(\$0,\"${GITHUB_BASE_URL}/[^ ]*patch[ &\\\"]\"){url=substr(\$0,RSTART,RLENGTH-1)} > END{if (url) print url}" "${PATCH_DIR}/jira" ) > {code} > It would be better the function searches the PR URL (ex. https://github.com/apache/hadoop/pull/<# of the PR>) as well. If a jira is created after the corresponding PR, ASF GitHub bot does not comment the patch URL to the jira. In this case, the search fails. HADOOP-14156 is an example. -- This message was sent by Atlassian JIRA (v6.3.15#6346)