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 00:33:04 UTC

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

Allen Wittenauer created YETUS-555:
--------------------------------------

             Summary: 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
            Priority: Critical
             Fix For: 0.6.0


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)