You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/10/11 01:10:00 UTC

[jira] [Updated] (YETUS-555) Docker may give an invalid UNIX date

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

Allen Wittenauer updated YETUS-555:
-----------------------------------
    Attachment: YETUS-555.00.patch

> Docker may give an invalid UNIX date
> ------------------------------------
>
>                 Key: YETUS-555
>                 URL: https://issues.apache.org/jira/browse/YETUS-555
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Test Patch
>    Affects Versions: 0.6.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Critical
>             Fix For: 0.6.0
>
>         Attachments: YETUS-555.00.patch
>
>
> Docker may set a timestamp of "0001-01-01T00:00:00Z" either during a build or if a build crashes.  This is an invalid date for the UNIX date command to convert into seconds since epoch since the year is prior to 1970.  We should catch that date and treat it as epoch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)