19 Commits
Author SHA1 Message Date
Jeff Hodges d3806a926c use boulder's integration-test.py
This prevents the integration tests from getting run before the boulder
processes have finished booting in most cases. There's still some small
races with debug ports going up before RPC ports, but this flushes the
big ones (specifically, the WFE ports), and the boulder devs going to
fix the rest in integration-test.py over time.

This also makes boulder-start.sh a blocking operation. Now the TravisCI
integration tests no longer requires boulder-start.sh, we can let the
other priority of being easier for users to control (that is, basically,
make it easy to Ctrl-C) take over. That plus the idea that
self-daemonizing code is tricky to get right, especially over multiple
platforms led me to not trying to get start.py to make itself
asynchronous.

Most of this change is code movement in order to allow developers to run
boulder-start.sh once and boulder-integration.sh many times while also
not duplicating that code in order to run the tests in TravisCI.

I'm not a huge fan of both the letsencrypt's shell scripts and boulder's
integration-test.py having hard-coded file dependencies in the other's
repo.

This, however, seemed like the smallest path to code that would
spuriously break less. All the designs I was able to come up that were
maybe smaller changes either had the "starts tests before the servers
are up" problem or with a "each repo uses another repo's test code file"
problem. Those problem on top of the "it's a bigger change" problem led
me here.
2015-11-13 12:39:29 -08:00
Brad Warren 6906f293e5 Install listenbuddy 2015-10-27 22:35:17 -07:00
Jacob Hoffman-Andrews 22b8446efb Get precompiled Goose from GithHub.
Rather than fetching from bitbucket and building. Bitbucket is often down, and
building from scratch is slow. Github is sometimes down, but at least now we
have our eggs in one basket.
2015-10-15 14:32:52 -07:00
Brandon Kreisel b6bbc9e0a2 Add inline Mac comment 2015-09-28 17:39:01 -04:00
Brandon Kreisel cbfdae88fc Add Mac compatibility to boulder-start
The version of sort that ships with OS X does not support the -V
version flag. Emulate that functionality with some sed-fu
2015-09-27 14:44:00 -04:00
James Kasten 5cc9061413 Merge pull request #780 from letsencrypt/integration
Make boulder-start.sh more robust & helpful
2015-09-23 14:18:06 -04:00
Peter Eckersley 740f516561 Make boulder-start.sh more robust & helpful 2015-09-16 19:09:04 -07:00
Jakub Warmuz 03e2f043df Address #726 review comments 2015-09-16 06:49:04 +00:00
Brad Warren 3fed72f9ce Installs goose for boulder's create_db.sh 2015-08-27 11:22:38 -04:00
Jakub Warmuz 667ee132f4 boulder-start.sh: revert -e (fail faast) 2015-08-22 09:22:35 +00:00
Jakub Warmuz cdb9c8b964 boulder-start.sh: go get with ... 2015-08-22 09:22:35 +00:00
Brad Warren bda953a2cb Removed conditional around create_db 2015-08-13 12:31:13 -07:00
Brad Warren f39e6c672d Create databases in travis 2015-08-13 12:24:34 -07:00
Brad Warren 283ccbfc45 Removed -e 2015-08-05 17:28:08 -07:00
Brad Warren ffd0d6d148 Removed go get 2015-08-05 17:13:10 -07:00
Brad Warren 62ea10cd6c Fixed travis issues? 2015-08-05 16:38:09 -07:00
Jacob Hoffman-Andrews 06e21d3578 Fix path for integration test. 2015-07-29 15:53:09 -07:00
Jakub Warmuz fe3c3be675 Travis: run Boulder in AMQP mode (fixes #620). 2015-07-18 19:31:56 +00:00
Jakub Warmuz e0bc6aeb50 Travis CI setup for integration testing (fixes #530).
Candidate issues to be addressed:

- race condition: start.sh might fail to start Boulder WFE before
  ./tests/boulder-integration.sh is run (unlikely, but possible,
  leading to flaky tests)

- intertwined build logs (./start.sh boostraps in the background,
  integration test debug logs on server and client side)
2015-06-25 09:50:23 +00:00