• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

letsencrypt / boulder / 13198 / 13
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: ocsp-fail-stops-issuances
DEFAULT BRANCH: master
Ran 13 Nov 2020 12:02AM UTC
Files 114
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2020 11:46PM UTC coverage: 65.352% (+0.02%) from 65.336%
TESTFLAGS="--coverage" CONTAINER="netaccess"

push

travis-pro

web-flow
Truncate order expiry values before storage (#5178)

The database stores order expiry values as type DATETIME, which only
supports values with second-level accuracy. (Contrast with type
DATETIME(6), which allows microsecond accuracy.) But the order object
being written to the database does not have its expiry value rewritten
by the insert process. This leads to Boulder returning different
values for `expires` depending on whether the order was created fresh
(nanosecond accuracy) or retrieved from the db (second accuracy).

There appears to be only one codepath which suffers from this
discrepancy. Although Authorization objects also have an `expires`
field, they are never returned to the client immediately upon creation;
they are first exposed to the user as URLs within an Order object, and
so are always retrieved from the database.

Fixes #5166

13292 of 20339 relevant lines covered (65.35%)

0.73 hits per line

Source Files on job 13198.13 (TESTFLAGS="--coverage" CONTAINER="netaccess")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11598
  • Travis Job 13198.13
  • bcca7c2d on github
  • Prev Job for TESTFLAGS="--coverage" CONTAINER="netaccess" on main (#13196.13)
  • Next Job for TESTFLAGS="--coverage" CONTAINER="netaccess" on main (#13199.13)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc