Commit graph

205 commits

Author SHA1 Message Date
Brad Warren
f3a556d68b Set pipefail 2017-01-06 16:11:34 -08:00
Brad Warren
5c4fcc02fe Add release test script 2017-01-06 15:48:24 -08:00
Brad Warren
112de425ed Add fake offline signing keys 2017-01-04 18:28:22 -08:00
Brad Warren
c2acb509b7 Add fake release key 2017-01-04 15:07:19 -08:00
Brad Warren
39f5551305 Merge the manual and script plugins (#3890)
* Start of combined manual/script plugin

* Return str from hooks.execute, not bytes

* finish manual/script rewrite

* delete old manual and script plugins

* manually specify we want chall.token

* use consistent quotes

* specify chall for uri

* s/script/hook

* fix spacing on instructions

* remove unneeded response argument

* make achall more helpful

* simplify perform

* remove old test files

* add start of manual_tests

* fix ParseTest.test_help

* stop using manual_test_mode in cli tests

* Revert "make achall more helpful"

This reverts commit 54b01cea30.

* use bad response/validation methods on achalls

* simplify perform and cleanup environment

* finish manual tests

* Add HTTP manual hook integration test

* add manual http scripts

* Add manual DNS script integration test

* remove references to the script plugin

* they're hooks, not scripts

* add --manual-public-ip-logging-ok to integration tests

* use --pref-chall for dns integration

* does dns work?

* validate hooks

* test hook validation

* Revert "does dns work?"

This reverts commit 1224cc2961.

* busy wait in manual-http-auth

* remove DNS script test for now

* Fix challenge prefix and add trailing .

* Add comment about universal_newlines

* Fix typo from 0464ba2c4

* fix nits and typos

* Generalize HookCOmmandNotFound error

* Add verify_exe_exists

* Don't duplicate code in hooks.py

* Revert changes to hooks.py

* Use consistent hook error messages
2016-12-22 08:24:08 -08:00
Brad Warren
ae379568b1 Mitigate problems for people who run without -n (#3916)
* CLI flag for forcing interactivity

* add --force-interactive

* Add force_interactive error checking and tests

* Add force_interactive parameter to FileDisplay

* add _can_interact

* Add _return_default

* Add **unused_kwargs to NoninteractiveDisplay

* improve _return_default assertion

* Change IDisplay calls and write tests

* Document force_interactive in interfaces.py

* Don't force_interactive with a new prompt

* Warn when skipping an interaction for the first time

* add specific logger.debug message
2016-12-19 12:45:40 -08:00
Peter Eckersley
93f0846fa4 Testfarm test new leauto (#3845)
Test farm tests should test the version of letsencrypt-auto that's in the git tree, not the one from the previous release.


* Test the new leauto, not the previously released one
2016-12-05 09:09:43 -08:00
Amjad Mashaal
88a2c5a8f6 Testing the output of build.py against lea-source/lea (#3460)
* Testing the output of build.py against lea-source/lea

* Replacing realpath with readlink
2016-10-28 10:50:07 -07:00
Jacob Hoffman-Andrews
88076e46c7 Improve debug logs. (#3126)
Print request and response bodies with newlines, rather than all on one line.
Remove "Omitted empty field" log, which gets logged meaninglessly for every JSON
serialization.
Remove duplicated logging of responses.
Log the base64 version of the nonce, rather than turning it into bytes and
logging the backslash-escaped version of those bytes.
Only pass -vv in tests.
2016-10-26 18:07:33 -07:00
Erica Portnoy
d54cb76432 Remove the curses dialog, thereby deprecating the --help and --dialog command line options (#3665)
* Remove the curses dialog, thereby deprecating the --help and --dialog command line options

* Deprecate --dialog and suppress --text
2016-10-21 15:45:57 -07:00
Brad Warren
91deb6ec53 Add test_tests.sh (#3633) 2016-10-17 13:11:24 -07:00
Brad Warren
a5df9e5a0e Only verify required ports are available (#3608)
* only verify port is available when you actually need it

* refactor code to create achalls

* Test port checks are based on achall

* test that only the port for the requested challenge is checked in standalone
2016-10-10 18:44:39 -07:00
Peter Eckersley
3c85ecbfee Test farm test fixes (#3582) 2016-10-04 16:45:24 -07:00
Brad Warren
a54d9061ba Merge pull request #3342 from TheNavigat/test-modification
Adding modification check against the current /letsencrypt-auto
2016-08-29 10:16:20 -07:00
Amjad Mashaal
cd5b91e4ae Adding root certbot-auto to modification check 2016-08-27 19:14:42 +02:00
Brad Warren
fd1629e347 Make letstest docker ip more robust 2016-08-10 11:51:12 -07:00
Brad Warren
dd1de2bc9e Fix travis 2016-08-10 11:49:55 -07:00
Amjad Mashaal
1fdf41e636 Adding modification check against the current /letsencrypt-auto 2016-08-04 14:22:20 +02:00
Ben Irving
61b77766c2 Add integration test cases for must staple and ECDSA (#3158) 2016-06-14 11:28:29 -07:00
Jacob Hoffman-Andrews
0fb3704dce Use a real branch name. 2016-05-25 15:43:54 -07:00
Jacob Hoffman-Andrews
94588b1a91 Check out a specific version of Boulder.
A recent Boulder change broke integration tests, this fixes it.
2016-05-25 15:23:56 -07:00
bmw
dda48b50b0 Merge pull request #3009 from sagi/fix_cert_path
certonly subcommand - If cert_path provided - do not uniquify  it
2016-05-25 12:47:56 -07:00
Jacob Hoffman-Andrews
c01e2c259a Check out Boulder master instead of branch. 2016-05-24 15:38:03 -07:00
sagi
b54497d814 Fix chain filename 2016-05-24 19:33:13 +00:00
Jacob Hoffman-Andrews
2cfcfd6988 Run Boulder via docker-compose in tests.
This removes a lot of setup code we used to need in order to get Boulder to run,
and should reduce brittleness of tests based on Boulder changes.

This also unblocks Boulder from upgrading to MariaDB 10.1 in integration tests,
since changing to 10.1 syntax for user creation would break the current certbot
integration tests (which run 10.0).
2016-05-23 18:40:25 -07:00
sagi
c0228ef1aa Boulder integration scripts provides a cert_path 2016-05-16 22:11:15 +00:00
Brad Warren
5c0eabcd76 Rename LETSENCRYPT_PATH to CERTBOT_PATH 2016-05-06 17:42:25 -07:00
Brad Warren
4627971dc6 s/--letsencrypt/--certbot 2016-05-06 17:30:18 -07:00
Brad Warren
3780d068d1 Fix test farm tests 2016-04-19 14:11:17 -04:00
Noah Swartz
842b609dad Merge pull request #2841 from letsencrypt/module-rename
Module rename
2016-04-14 17:35:09 -07:00
Brad Warren
e353f8fabc letstest is a Certbot integration test tool 2016-04-14 17:16:48 -07:00
Brad Warren
b4f6ed8470 rename letstest stuff 2016-04-14 17:10:27 -07:00
Brad Warren
75a1d81458 More stray ncrypt reference cleanup 2016-04-14 17:04:23 -07:00
Brad Warren
ae6f1c62f1 Rename misc files 2016-04-14 10:20:23 -07:00
Brad Warren
7228c0c9ed 'co' is not a git command 2016-04-14 08:57:34 -07:00
Brad Warren
a43fac3277 s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
Eric Engestrom
2f3035de0e Fix spelling mistakes 2016-04-02 15:50:09 +01:00
Kane York
902ab9afdf Work around leap day bug in parsedatetime 2016-02-29 10:58:14 -08:00
Peter Eckersley
f4c33656a2 Try to finally prevent dangling AWS volumes 2016-02-23 12:08:01 -08:00
Peter Eckersley
607c48d0a3 [test farm] Fix use of the newleauto in test_letsencrypt_auto_certonly_standalone.sh 2016-02-15 12:08:20 -08:00
Peter Eckersley
29737ab2ca More hacky fixes 2016-02-10 19:24:25 -08:00
Peter Eckersley
1f31cf1a30 Quick test farm fix 2016-02-10 19:09:05 -08:00
Peter Eckersley
0513af83f4 Test CLI flag setting from renewal integration tests
Closes: #2411
2016-02-09 16:09:02 -08:00
Peter Eckersley
3a3d778f3d Merge pull request #2383 from erikrose/replace-le-auto
Make the new letsencrypt-auto script the main one. [requires minor revision]
2016-02-09 09:21:49 -08:00
Brad Warren
0fa61f4192 Use common and add verb 2016-02-08 18:46:24 -08:00
Brad Warren
8b613eed8f Pass additional args to letsencrypt_test_no_force_renew 2016-02-08 18:39:59 -08:00
Brad Warren
2170c8d7d2 Move * outside of " 2016-02-08 18:35:44 -08:00
Brad Warren
e798b62d2e Testing cleanup 2016-02-08 18:18:48 -08:00
Brad Warren
7a902daa9f duplication-- 2016-02-08 18:14:29 -08:00
Brad Warren
70402790a3 Use --non-interactive instead of --text 2016-02-08 18:07:56 -08:00