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 254A8200D62 for ; Sat, 16 Dec 2017 13:08:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 240B4160C11; Sat, 16 Dec 2017 12:08: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 66C6F160BFB for ; Sat, 16 Dec 2017 13:08:03 +0100 (CET) Received: (qmail 24672 invoked by uid 500); 16 Dec 2017 12:08:02 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 24661 invoked by uid 99); 16 Dec 2017 12:08:02 -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; Sat, 16 Dec 2017 12:08:02 +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 DDC73180780 for ; Sat, 16 Dec 2017 12:08:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Gh183I823Whp for ; Sat, 16 Dec 2017 12:08: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 DB5F65F29A for ; Sat, 16 Dec 2017 12:08: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 6D337E00A3 for ; Sat, 16 Dec 2017 12:08: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 28651212F8 for ; Sat, 16 Dec 2017 12:08:00 +0000 (UTC) Date: Sat, 16 Dec 2017 12:08:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1451) Surefire Booter compatibility with NetBSD ps(1) output 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 12:08:04 -0000 [ https://issues.apache.org/jira/browse/SUREFIRE-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293782#comment-16293782 ] Hudson commented on SUREFIRE-1451: ---------------------------------- SUCCESS: Integrated in Jenkins build maven-surefire #1812 (See [https://builds.apache.org/job/maven-surefire/1812/]) [SUREFIRE-1451] Surefire Booter compatibility with NetBSD ps(1) output (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=d7592d670f98b08d336a8a04bf1f2c55bbc7e858]) * (edit) surefire-booter/src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java * (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/PpidChecker.java > Surefire Booter compatibility with NetBSD ps(1) output > ------------------------------------------------------ > > Key: SUREFIRE-1451 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1451 > Project: Maven Surefire > Issue Type: Bug > Components: process forking > Affects Versions: 2.20.1 > Environment: NetBSD > Reporter: Tobias Nygren > Assignee: Tibor Digana > Priority: Minor > Fix For: 2.21.0.Jigsaw > > > On NetBSD The /bin/ps command reports time as 0:01 rather than 00:01 for intervals shorter than 10 minutes. > The pattern as used [here in SureFire Booter|https://github.com/apache/maven-surefire/commit/c343cc412b986fd9da839696c709542d03679d68#diff-33826e7c2cc48fb008e88914fd841d10R71] to parse ps(1) output does not take this into account. > printf(3) logic for ps(1) can be found in the [ps source|https://github.com/NetBSD/src/blob/9160f3e067c6f959b9ecb4296771d8a6ae9b3ee6/bin/ps/print.c#L832]. > The following patterns are possible and need to be accounted for: > * m:ss > * mm:ss > * h:mm:ss > * hh:mm:ss > * d-hh:mm:ss > * dd-hh:mm:ss -- This message was sent by Atlassian JIRA (v6.4.14#64029)