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 0E78E200D6A for ; Sat, 16 Dec 2017 03:32:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0CAE1160C28; Sat, 16 Dec 2017 02:32:04 +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 52FA8160C14 for ; Sat, 16 Dec 2017 03:32:03 +0100 (CET) Received: (qmail 39870 invoked by uid 500); 16 Dec 2017 02:32:02 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 39854 invoked by uid 99); 16 Dec 2017 02:32:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Dec 2017 02:32:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EDDC91A0676 for ; Sat, 16 Dec 2017 02:32:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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=[RCVD_IN_DNSWL_NONE=-0.0001, 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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TyRybQg2gara for ; Sat, 16 Dec 2017 02:32:01 +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 E380A5F395 for ; Sat, 16 Dec 2017 02:32:00 +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 6F6E1E129D for ; Sat, 16 Dec 2017 02:32:00 +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 260D12740A for ; Sat, 16 Dec 2017 02:32:00 +0000 (UTC) Date: Sat, 16 Dec 2017 02:32:00 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SPARK-22813) run-tests.py fails when /usr/sbin/lsof does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 16 Dec 2017 02:32:04 -0000 [ https://issues.apache.org/jira/browse/SPARK-22813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-22813: ------------------------------------ Assignee: (was: Apache Spark) > run-tests.py fails when /usr/sbin/lsof does not exist > ----------------------------------------------------- > > Key: SPARK-22813 > URL: https://issues.apache.org/jira/browse/SPARK-22813 > Project: Spark > Issue Type: Bug > Components: Tests > Affects Versions: 2.2.1, 2.3.0 > Reporter: Kazuaki Ishizaki > Priority: Minor > > Running ./dev/run-tests.py for mvn on OS that does not have /usr/sbin/lsof (e.g. /usr/bin/lsof) gives the error > {code} > /bin/sh: 1: /usr/sbin/lsof: not found > Usage: > kill [options] [...] > Options: > [...] send signal to every listed > -, -s, --signal > specify the to be sent > -l, --list=[] list all signal names, or convert one to a name > -L, --table list all signal names in a nice table > -h, --help display this help and exit > -V, --version output version information and exit > For more details see kill(1). > Traceback (most recent call last): > File "./dev/run-tests.py", line 626, in > main() > File "./dev/run-tests.py", line 597, in main > build_apache_spark(build_tool, hadoop_version) > File "./dev/run-tests.py", line 389, in build_apache_spark > build_spark_maven(hadoop_version) > File "./dev/run-tests.py", line 329, in build_spark_maven > exec_maven(profiles_and_goals) > File "./dev/run-tests.py", line 270, in exec_maven > kill_zinc_on_port(zinc_port) > File "./dev/run-tests.py", line 258, in kill_zinc_on_port > subprocess.check_call(cmd, shell=True) > File "/usr/lib/python2.7/subprocess.py", line 541, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '/usr/sbin/lsof -P |grep 3156 | grep LISTEN | awk '{ print $2; }' | xargs kill' returned non-zero exit status 123 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org