maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SUREFIRE-1451) Surefire Booter compatibility with NetBSD ps(1) output
Date Sat, 16 Dec 2017 11:08:00 GMT

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

Tibor Digana resolved SUREFIRE-1451.
------------------------------------
    Resolution: Fixed

https://git1-us-west.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=d7592d670f98b08d336a8a04bf1f2c55bbc7e858

> 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)

Mime
View raw message