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

letsencrypt / ct-woodpecker
69%
main: 68%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: main
Repo Added 04 Jun 2018 05:48PM UTC
Files 12
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

LAST BUILD ON BRANCH cpu-no-coord-omission
branch: cpu-no-coord-omission
CHANGE BRANCH
x
Reset
  • cpu-no-coord-omission
  • add-mysql
  • cpu-ci-fix
  • cpu-consistently-consistent
  • cpu-custom-domain
  • cpu-dashboard-tweaks
  • cpu-do-cycle-at-startup
  • cpu-docker-compose
  • cpu-eats-flakes-for-breakfast
  • cpu-errcheck-in-ci
  • cpu-fix-data-race
  • cpu-fix-golangci-nits
  • cpu-fix-inclusion-bug
  • cpu-fix-inclusion-checker-oom
  • cpu-fix-memory-store-args
  • cpu-fix-readrevision-master-break
  • cpu-get-entries-fixes
  • cpu-git-deploy
  • cpu-go12
  • cpu-goveralls
  • cpu-handle-stale-sth
  • cpu-integration-tests
  • cpu-jorts-not-coveralls
  • cpu-makefile-courtesy
  • cpu-no-mmd-config
  • cpu-realistic-cttestsrv
  • cpu-rename-log-start-to-minEntry
  • cpu-repo-normalize
  • cpu-skip-ahead-index
  • cpu-stderr-output
  • cpu-submit-precerts
  • cpu-systemd-it
  • cpu-test-flake-1
  • cpu-test-flake-10
  • cpu-test-flake-2
  • cpu-test-flake-3
  • cpu-test-flake-4
  • cpu-test-flake-5
  • cpu-test-flake-6
  • cpu-test-flake-7
  • cpu-test-flake-8
  • cpu-test-flake-9
  • cpu-touchups
  • cpu-unseen-stat
  • cpu-update-prometheus-1.2.1
  • cpu-vendor-deps
  • cpu-wire-inclusion-check
  • cpu-woodpecker-pprof
  • cpu-writes-long-overdue-docs
  • deploy-tweaks
  • dupes
  • fix-stop-chan
  • malformed-inputs
  • master
  • metrics-fatal
  • old-unincorporated
  • reviews
  • rm-fetchbatchsize
  • start-int
  • track-sct-inclusion
  • tree-size-minus-1
  • update-deps
  • v1.0.0
  • v2.0.0

pending completion
139

push

travis-ci

cpu
Process STH fetching and (pre)cert submission async.

Prior to this commit each log's monitor's `STHFetcher` or
`CertSubmitter` would block on the STH fetch or cert submission
completing or timing out, sleep for the cycle duration, and then repeat.

The problem with this approach is that if a log has high latency the
monitoring schedule will gradually skew and we end up performing less
STH fetches/cert submissions than intended.

This commit updates the `certSubmitter` and `sthFetcher` to perform the
STH fetching and cert submission in separate Go routines. This ensures
that every cycle tries to perform its work even if the work ends up
lagging.

To test this works as intended an integration tests configuring
a woodpecker to operate against two CT logs, one that is very slow and
one that is very fast, are included. These tests run the woodpecker for
the correct overall runtime based on the configured cycle time. The
standard out emitted by the woodpecker is checked to ensure the correct
number of STH fetches & cert submissions were attempted. Prior to
landing the changes in this branch these tests failed: only 1 operation
was performed against the slow log because subsequent cycles blocked.
With the changes in this branch applied the test passes and the correct
number of operations are attempted against the slow log.

Along the way I exposed the timeout for both STH fetching and cert
submission back through the configuration layers to allow setting
a sensible timeout for both operations per-log.

Similarly, I updated the `test/config.json` example - it had fallen out
of date and would not load.

384 of 559 relevant lines covered (68.69%)

10.36 hits per line

Relevant lines Covered
Build:
Build:
559 RELEVANT LINES 384 COVERED LINES
10.36 HITS PER LINE
Source Files on cpu-no-coord-omission
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
139 cpu-no-coord-omission Process STH fetching and (pre)cert submission async. Prior to this commit each log's monitor's `STHFetcher` or `CertSubmitter` would block on the STH fetch or cert submission completing or timing out, sleep for the cycle duration, and then repeat... push 14 Jun 2018 05:36PM UTC cpu travis-ci pending completion  
137 cpu-no-coord-omission Avoid coordinated omission in STH fetching. push 13 Jun 2018 07:26PM UTC cpu travis-ci pending completion  
See All Builds (1545)
  • Repo on GitHub
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

© 2025 Coveralls, Inc