[Letsencrypt-devel] Bug#817865: RFS: acmetool/0.0.49 [ITP] -- automatic certificate acquisition tool for Let's Encrypt

Mattia Rizzolo mattia at debian.org
Sun May 15 15:55:04 UTC 2016


control: owner -1 !
control: tag -1 moreinfo

On Sat, May 14, 2016 at 03:23:56PM -0400, Peter Colberg wrote:
> Would you do the honour of uploading acmetool?
> 
>   git clone https://anonscm.debian.org/git/letsencrypt/acmetool.git
>   cd acmetool && pristine-tar checkout ../acmetool_0.0.49.orig.tar.gz
> 
> For verification, these are the current branch heads:
> 
>   git show-ref --heads
>   771996def6abc5fe64718e5a0aedb4c8608a1579 refs/heads/master
>   7ebb219ff2f4fe4cabc603ef2f4e5155b041c772 refs/heads/pristine-tar
>   1d8a3d99536b3472709a4b184afbdc8b10ebc2f6 refs/heads/upstream
> 
> I will push the release tag after the package has been uploaded.

So, I was about to upload, but it failed to build:

   dh_auto_test -O--buildsystem=golang
	cd obj-x86_64-linux-gnu
	go test -v github.com/hlandau/acme/acmeapi github.com/hlandau/acme/acmeapi/acmeendpoints github.com/hlandau/acme/acmeapi/acmeutils github.com/hlandau/acme/cmd/acmetool github.com/hlandau/acme/fdb github.com/hlandau/acme/hooks github.com/hlandau/acme/interaction github.com/hlandau/acme/redirector github.com/hlandau/acme/responder github.com/hlandau/acme/solver github.com/hlandau/acme/storage github.com/hlandau/acme/storageops
=== RUN   TestAPI
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/cert/some-certificate
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/pkix-cert] Link:[</acme/issuer-cert>; rel="up"]] 0xc8200bf260 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/issuer-cert
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/pkix-cert] Link:[</acme/root-cert>; rel="up"]] 0xc8200bf680 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/root-cert
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/pkix-cert] Replay-Nonce:[some-nonce-root]] 0xc8200bf8e0 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/authz/some-authz
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/json]] 0xc8200bfa60 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/challenge/some-challenge
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/json]] 0xc8200bfd40 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/directory
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/json] Replay-Nonce:[foo-nonce]] 0xc820138540 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/new-cert
20160515155055 [DEBUG] acme.api: response: &{ 201  0 0 map[Location:[https://boulder.test/acme/cert/some-certificate]] 0xc8201390c0 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/cert/some-certificate
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/pkix-cert] Link:[</acme/issuer-cert>; rel="up"]] 0xc820139200 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/issuer-cert
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/pkix-cert] Link:[</acme/root-cert>; rel="up"]] 0xc8201394a0 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/root-cert
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Content-Type:[application/pkix-cert] Replay-Nonce:[some-nonce-root]] 0xc820139700 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/new-reg
20160515155055 [DEBUG] acme.api: response: &{ 409  0 0 map[Replay-Nonce:[nonce0] Location:[https://boulder.test/acme/reg/1]] 0xc8201e4060 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/reg/1
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Replay-Nonce:[nonce1] Content-Type:[application/json] Link:[<urn:some:boulder:terms/of/service>; rel="terms-of-service"]] 0xc8201e4880 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/reg/1
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Replay-Nonce:[nonce2] Content-Type:[application/json] Link:[<urn:some:boulder:terms/of/service>; rel="terms-of-service"]] 0xc8201e5100 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/reg/1
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Replay-Nonce:[nonce3] Content-Type:[application/json] Link:[<urn:some:boulder:terms/of/service>; rel="terms-of-service"]] 0xc8201e5900 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/new-authz
20160515155055 [DEBUG] acme.api: response: &{ 201  0 0 map[Location:[https://boulder.test/acme/authz/1] Replay-Nonce:[nonce4] Content-Type:[application/json]] 0xc820208300 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/challenge/some-challenge2
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Replay-Nonce:[nonce5] Content-Type:[application/json]] 0xc820208b80 0 [] false map[] <nil> <nil>} <nil>
20160515155055 [DEBUG] acme.api: request: https://boulder.test/acme/revoke-cert
20160515155055 [DEBUG] acme.api: response: &{ 200  0 0 map[Replay-Nonce:[nonce6] Content-Type:[application/json]] 0xc8202093c0 0 [] false map[] <nil> <nil>} <nil>
--- PASS: TestAPI (0.04s)
	api_test.go:185: &{https://boulder.test/acme/cert/some-certificate  [99 101 114 116 45 100 97 116 97] [[105 115 115 117 101 114 45 99 101 114 116 45 100 97 116 97] [114 111 111 116 45 99 101 114 116 45 100 97 116 97]] [] {63598924265 136473173 0xa728c0}}
=== RUN   TestNonce
--- PASS: TestNonce (0.00s)
=== RUN   TestOCSP
--- FAIL: TestOCSP (0.00s)
	ocsp_test.go:80: ocsp error: Get http://ocsp.staging-x1.letsencrypt.org//MFQwUjBQME4wTDAJBgUrDgMCGgUABBQ55F6w46hhx/o6OXOHa+Yfe32YhgQU+3hPEvlgFYMsnxd/NBmzLjbqQYkCEwD69zi1DRRe9pEhERQvpXm9NBw=: dial tcp: lookup ocsp.staging-x1.letsencrypt.org on [::1]:53: read udp [::1]:39826->[::1]:53: read: connection refused
=== RUN   TestStatus
--- PASS: TestStatus (0.00s)
=== RUN   TestRetryAfter
--- PASS: TestRetryAfter (0.00s)
=== RUN   TestRetryAfterDefault
--- PASS: TestRetryAfterDefault (0.00s)
=== RUN   TestWaitUntil
--- PASS: TestWaitUntil (0.01s)
FAIL
FAIL	github.com/hlandau/acme/acmeapi	0.060s
=== RUN   TestVisit
--- PASS: TestVisit (0.00s)
=== RUN   TestURL
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [http://ocsp.staging-x1.letsencrypt.org/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) http://ocsp.staging-x1.letsencrypt.org/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [http://ocsp.staging-x1.letsencrypt.org/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) http://ocsp.staging-x1.letsencrypt.org/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [http://ocsp.staging-x1.letsencrypt.org/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) http://ocsp.staging-x1.letsencrypt.org/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [http://ocsp.staging-x1.letsencrypt.org/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) http://ocsp.staging-x1.letsencrypt.org/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [http://ocsp.int-x1.letsencrypt.org/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) http://ocsp.int-x1.letsencrypt.org/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [http://ocsp.int-x1.letsencrypt.org/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) http://ocsp.int-x1.letsencrypt.org/
--- PASS: TestURL (0.00s)
=== RUN   TestGuess
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cannot find any endpoints for certificate
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder3.test/) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder4.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder3.test/) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder4.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder3.test/) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder4.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder3.test/) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder4.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-v01.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://acme-staging.api.letsencrypt.org/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder.test/directory) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder3.test/) https://example.com/
20160515155055 [DEBUG] acme.endpoints: cert has OCSP [https://example.com/]
20160515155055 [DEBUG] acme.endpoints: Endpoint(https://unknown-boulder4.test/directory) https://example.com/
--- PASS: TestGuess (0.05s)
PASS
ok  	github.com/hlandau/acme/acmeapi/acmeendpoints	0.072s
=== RUN   TestKeyAuthorization
--- PASS: TestKeyAuthorization (0.04s)
=== RUN   TestLoadCertificates
--- PASS: TestLoadCertificates (0.00s)
=== RUN   TestLoadKey
--- PASS: TestLoadKey (0.00s)
=== RUN   TestLoadCSR
--- PASS: TestLoadCSR (0.00s)
PASS
ok  	github.com/hlandau/acme/acmeapi/acmeutils	0.046s
?   	github.com/hlandau/acme/cmd/acmetool	[no test files]
=== RUN   TestFDB
20160515155054 [WARN] fdb: "." has wrong mode -rwx------, changing to -rwxr-xr-x
20160515155054 [DEBUG] fdb: enforce permissions: alpha/foo/x/xyz 1234/1234 1234/1234
20160515155054 [DEBUG] fdb: enforce permissions: alpha/nak 1234/1234 1234/1234
20160515155054 [DEBUG] fdb: enforce permissions: alpha/foo/x/xyz1 1234/1234 1234/1234
20160515155054 [DEBUG] fdb: enforce permissions: tmp/symlink.470142106 1234/1234 1234/1234
20160515155054 [WARN] fdb: broken symlink, removing: /tmp/acmefdbtest079374095/alpha/foo/x/lnk -> xyz
--- PASS: TestFDB (0.00s)
=== RUN   TestParsePerm
--- PASS: TestParsePerm (0.00s)
PASS
ok  	github.com/hlandau/acme/fdb	0.007s
=== RUN   TestNotify
20160515155053 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test665400134/notify/alpha
20160515155053 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test665400134/notify/beta
20160515155053 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test665400134/notify/alpha
20160515155053 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test665400134/notify/beta
--- PASS: TestNotify (0.02s)
PASS
ok  	github.com/hlandau/acme/hooks	0.042s
?   	github.com/hlandau/acme/interaction	[no test files]
=== RUN   TestRedirector
20160515155056 [DEBUG] acme.redirector: redirector running
--- PASS: TestRedirector (0.10s)
PASS
ok  	github.com/hlandau/acme/redirector	0.105s
?   	github.com/hlandau/acme/responder	[no test files]
?   	github.com/hlandau/acme/solver	[no test files]
=== RUN   TestKeyID
--- PASS: TestKeyID (0.46s)
PASS
ok  	github.com/hlandau/acme/storage	0.463s
?   	github.com/hlandau/acme/storageops	[no test files]
	cd /build/acmetool-0.0.49
dh_auto_test: go test -v github.com/hlandau/acme/acmeapi github.com/hlandau/acme/acmeapi/acmeendpoints github.com/hlandau/acme/acmeapi/acmeutils github.com/hlandau/acme/cmd/acmetool github.com/hlandau/acme/fdb github.com/hlandau/acme/hooks github.com/hlandau/acme/interaction github.com/hlandau/acme/redirector github.com/hlandau/acme/responder github.com/hlandau/acme/solver github.com/hlandau/acme/storage github.com/hlandau/acme/storageops returned exit code 1
debian/rules:11: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2




In the meantime I did 3 more trivial commits, that I pushed.

(hope you don't mind the extra commits, but imho that's the main
advantage of keeping packages in a team, have the team mates being able
to do such sillyness! ;))

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/letsencrypt-devel/attachments/20160515/b7b42def/attachment.sig>


More information about the Letsencrypt-devel mailing list