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 AC651200C78 for ; Thu, 4 May 2017 02:05:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A9ECD160BB5; Thu, 4 May 2017 00:05:07 +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 02646160BBA for ; Thu, 4 May 2017 02:05:06 +0200 (CEST) Received: (qmail 50278 invoked by uid 500); 4 May 2017 00:05:06 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 50267 invoked by uid 99); 4 May 2017 00:05:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2017 00:05:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9DB61C7DD8 for ; Thu, 4 May 2017 00:05:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id DHq2-l8QtYvc for ; Thu, 4 May 2017 00:05:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B8BBA5F3BB for ; Thu, 4 May 2017 00:05:04 +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 4DEAFE01A8 for ; Thu, 4 May 2017 00:05:04 +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 05FC221B53 for ; Thu, 4 May 2017 00:05:04 +0000 (UTC) Date: Thu, 4 May 2017 00:05:04 +0000 (UTC) From: "Mark Liu (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (BEAM-2164) Build beam-sdks-java-maven-archetypes-examples Failed If Dir Contains Space MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 May 2017 00:05:07 -0000 Mark Liu created BEAM-2164: ------------------------------ Summary: Build beam-sdks-java-maven-archetypes-examples Failed If Dir Contains Space Key: BEAM-2164 URL: https://issues.apache.org/jira/browse/BEAM-2164 Project: Beam Issue Type: Bug Components: build-system, sdk-java-extensions Reporter: Mark Liu Error log from [Jenkins console log|https://builds.apache.org/job/beam_PostCommit_Java_JDK_Versions_Test/jdk=JDK%201.8%20(latest),label=beam/6/console]: {code} rsync: change_dir "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_JDK_Versions_Test/jdk\#012.\#012(latest)/label/beam/sdks/java/maven-archetypes/examples/../../../../examples/java/src/main/java/org/apache/beam/examples" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0] 2017-05-03\T\19:20:56.905 [ERROR] Command execution failed. {code} beam-sdks-java-maven-archetypes-examples execute a bash script through exec-maven-plugin. Looks like it fails to create a directory which contains space in [previous step|https://github.com/apache/beam/blob/master/sdks/java/maven-archetypes/examples/generate-sources.sh#L32]. The root directory of above build is "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_JDK_Versions_Test/jdk/JDK 1.8 (latest)/label/beam/...". Similar error also happens in [JDK1.7|https://builds.apache.org/job/beam_PostCommit_Java_JDK_Versions_Test/jdk=JDK%201.7%20(latest),label=beam/8/] and [OpenJDK7|https://builds.apache.org/job/beam_PostCommit_Java_JDK_Versions_Test/jdk=OpenJDK%207%20(on%20Ubuntu%20only),label=beam/8/]. I simply run [generate-sources.sh|https://github.com/apache/beam/blob/master/sdks/java/maven-archetypes/examples/generate-sources.sh] from my Linux machine in JDK1.8 under contain-space directory and it works perfectly. I guess exec-maven-plugin works differently when handling bash commands that contains space, but I failed to solve this problem by modifying commands in script. -- This message was sent by Atlassian JIRA (v6.3.15#6346)