Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14087

Assertion `!is_arena_for_set_stmt()' failed.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.1.22
    • N/A
    • OTHER
    • ubuntu 16.04, boulder

    Description

      I have been building LetsEncrypt server Boulder https://github.com/letsencrypt/boulder from source, which uses Mariadb 10.1. So I have built Mariadb 10.1.22 from source. However, when I performed the testing in Boulder, I have encountered the following errors from Mariadb logs:

      mysqld: /root/lei-letsencrypt/server-mariadb-10.1.22/sql/sql_lex.h:2734: void LEX::free_set_stmt_mem_root(): Assertion `!is_arena_for_set_stmt()' failed.
      171018 12:37:20 [ERROR] mysqld got signal 6 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed,
      something is definitely wrong and this may fail.
       
      Server version: 10.1.22-MariaDB-debug
      key_buffer_size=134217728
      ....
      

      This leads to the failure in Boulder testing:

      I120518 cert-checker.test loading hostname policy, sha256: a65bc468612a3debb78e6bbd377020cf892c305a369fa83bf00c48c88883a9ad
      [mysql] 2017/10/12 12:05:19 packets.go:33: read tcp 127.0.0.1:58356->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:19 packets.go:130: write tcp 127.0.0.1:58356->127.0.0.1:3306: write: broken pipe
      	main_test.go:210: Couldn't add certificate: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      [mysql] 2017/10/12 12:05:19 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:19 packets.go:130: write tcp 127.0.0.1:58358->127.0.0.1:3306: write: broken pipe
      --- FAIL: TestGetAndProcessCerts (0.49s)
      	db.go:47: Failed to truncate tables after the test: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	main_test.go:267: Couldn't connect to database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetCertsEmptyResults (0.00s)
      {
        "good-certs": 2,
        "bad-certs": 1,
        "entries": {
          "020000000000004b475da49b91da5c17": {
            "valid": true
          },
          "020000000000004d1613e581432cba7e": {
            "valid": true
          },
          "020000000000004e402bc21035c6634a": {
            "valid": false,
            "problems": [
              "None really..."
            ]
          }
        }
      }
      FAIL
      FAIL	github.com/letsencrypt/boulder/cmd/cert-checker	0.634s
      --- FAIL: TestFindContacts (0.00s)
      	main_test.go:328: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      [{"id":1},{"id":2},{"id":3}]
      FAIL
      FAIL	github.com/letsencrypt/boulder/cmd/contact-exporter	0.035s
      [mysql] 2017/10/12 12:05:22 packets.go:33: read tcp 127.0.0.1:58368->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:22 packets.go:130: write tcp 127.0.0.1:58368->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:22 packets.go:33: read tcp 127.0.0.1:58372->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:22 packets.go:130: write tcp 127.0.0.1:58372->127.0.0.1:3306: write: broken pipe
      --- FAIL: TestProcessCerts (0.46s)
      	main_test.go:289: Couldn't store regB: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFindExpiringCertificates (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFindCertsAtCapacity (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCertIsRenewed (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestLifetimeOfACert (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestDontFindRevokedCert (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestDedupOnRegistration (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestSendEarliestCertInfo (0.00s)
      	main_test.go:856: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      FAIL
      FAIL	github.com/letsencrypt/boulder/cmd/expiration-mailer	0.479s
      --- FAIL: TestPurgeAuthzs (0.00s)
      	main_test.go:22: Couldn't connect the database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      FAIL
      FAIL	github.com/letsencrypt/boulder/cmd/expired-authz-purger	0.008s
      ?   	github.com/letsencrypt/boulder/cmd/notafter-backfill	[no test files]
      ok  	github.com/letsencrypt/boulder/cmd/notify-mailer	0.016s
      ok  	github.com/letsencrypt/boulder/cmd/ocsp-responder	0.019s
      [mysql] 2017/10/12 12:05:28 packets.go:33: read tcp 127.0.0.1:58392->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:28 packets.go:130: write tcp 127.0.0.1:58392->127.0.0.1:3306: write: broken pipe
      	main_test.go:178: Couldn't add test-cert.pem: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      [mysql] 2017/10/12 12:05:28 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:28 packets.go:130: write tcp 127.0.0.1:58394->127.0.0.1:3306: write: broken pipe
      --- FAIL: TestGenerateAndStoreOCSPResponse (0.45s)
      	db.go:47: Failed to truncate tables after the test: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGenerateOCSPResponses (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFindStaleOCSPResponses (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFindStaleOCSPResponsesStaleMaxAge (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetCertificatesWithMissingResponses (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFindRevokedCertificatesToUpdate (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewCertificateTick (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestOldOCSPResponsesTick (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestOldOCSPResponsesTickIsExpired (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestMissingReceiptsTick (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestMissingOnlyReceiptsTick (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestMissingReceiptsTickTerminate (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestRevokedCertificatesTick (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestStoreResponseGuard (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetSubmittedReceipts (0.00s)
      	main_test.go:120: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestMissingLogs (0.00s)
      FAIL
      FAIL	github.com/letsencrypt/boulder/cmd/ocsp-updater	0.455s
      ok  	github.com/letsencrypt/boulder/cmd/orphan-finder	0.010s
      ?   	github.com/letsencrypt/boulder/cmd/rabbitmq-setup	[no test files]
      ok  	github.com/letsencrypt/boulder/cmd/single-ocsp	0.016s [no tests to run]
      ok  	github.com/letsencrypt/boulder/core	3.541s
      ?   	github.com/letsencrypt/boulder/core/proto	[no test files]
      ok  	github.com/letsencrypt/boulder/csr	0.427s
      ok  	github.com/letsencrypt/boulder/features	0.007s
      ok  	github.com/letsencrypt/boulder/goodkey	8.279s
      2017/10/12 12:05:48 transport: http2Server.HandleStreams failed to read frame: read tcp [::1]:41545->[::1]:37996: use of closed network connection
      2017/10/12 12:05:48 transport: http2Client.notifyError got notified that the client transport was broken EOF.
      2017/10/12 12:05:48 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::]:41545: getsockopt: connection refused"; Reconnecting to {[::]:41545 <nil>}
      2017/10/12 12:05:48 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:19000: getsockopt: connection refused"; Reconnecting to {localhost:19000 <nil>}
      2017/10/12 12:05:48 Failed to dial localhost:19000: context canceled; please retry.
      	pb-marshalling_test.go:245: [{ID:1 Key:0xc42023c900 Contact:0xc420248640 Agreement:yup InitialIP:1.1.1.1 CreatedAt:2017-10-12 12:05:48.277683039 -0400 EDT m=+0.617911598 Status:valid}] !(deep)= [{ID:1 Key:0xc42023ca20 Contact:0xc4201beec0 Agreement:yup InitialIP:1.1.1.1 CreatedAt:2017-10-12 12:05:48.277683039 -0400 EDT Status:valid}]
      --- FAIL: TestRegistration (0.00s)
      	pb-marshalling_test.go:331: [{RegistrationID:1 Serial:serial Digest:digest DER:[255] Issued:2017-10-12 12:05:48.277924094 -0400 EDT m=+0.618152641 Expires:2017-10-12 13:05:48.277924094 -0400 EDT m=+3600.618152641}] !(deep)= [{RegistrationID:1 Serial:serial Digest:digest DER:[255] Issued:2017-10-12 12:05:48.277924094 -0400 EDT Expires:2017-10-12 13:05:48.277924094 -0400 EDT}]
      --- FAIL: TestCert (0.00s)
      FAIL
      FAIL	github.com/letsencrypt/boulder/grpc	0.621s
      ok  	github.com/letsencrypt/boulder/grpc/creds	0.060s
      ?   	github.com/letsencrypt/boulder/grpc/test_proto	[no test files]
      ok  	github.com/letsencrypt/boulder/log	0.103s
      ok  	github.com/letsencrypt/boulder/mail	0.027s
      ok  	github.com/letsencrypt/boulder/metrics	0.008s
      ?   	github.com/letsencrypt/boulder/metrics/mock_metrics	[no test files]
      ?   	github.com/letsencrypt/boulder/mocks	[no test files]
      ok  	github.com/letsencrypt/boulder/nonce	0.011s
      ok  	github.com/letsencrypt/boulder/policy	0.024s
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58476->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58476->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58472->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58472->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58490->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58490->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58492->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58492->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58494->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58494->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58496->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58496->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58498->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58498->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58500->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58500->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:05:52 packets.go:33: read tcp 127.0.0.1:58502->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:05:52 packets.go:130: write tcp 127.0.0.1:58502->127.0.0.1:3306: write: broken pipe
      --- FAIL: TestPrefixing (0.24s)
      	db_test.go:29: Expected to get Error 1969 (timeout), got dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	db_test.go:29: Expected to get Error 1969 (timeout), got dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	db_test.go:29: Expected to get Error 1969 (timeout), got dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	db_test.go:29: Expected to get Error 1969 (timeout), got dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	db_test.go:29: Expected to get Error 1969 (timeout), got driver: bad connection
      	db_test.go:29: Expected to get Error 1969 (timeout), got dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	db_test.go:29: Expected to get Error 1969 (timeout), got driver: bad connection
      FAIL
      FAIL	github.com/letsencrypt/boulder/prefixdb	0.239s
      ok  	github.com/letsencrypt/boulder/probs	0.006s
      ok  	github.com/letsencrypt/boulder/publisher	5.065s
      ?   	github.com/letsencrypt/boulder/publisher/mock_publisher	[no test files]
      ?   	github.com/letsencrypt/boulder/publisher/proto	[no test files]
      [mysql] 2017/10/12 12:06:01 packets.go:33: read tcp 127.0.0.1:58546->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:06:01 packets.go:130: write tcp 127.0.0.1:58546->127.0.0.1:3306: write: broken pipe
      [mysql] 2017/10/12 12:06:01 packets.go:33: unexpected EOF
      [mysql] 2017/10/12 12:06:01 packets.go:130: write tcp 127.0.0.1:58548->127.0.0.1:3306: write: broken pipe
      --- FAIL: TestNewRegistration (0.17s)
      	ra_test.go:372: could not create new registration: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      	db.go:47: Failed to truncate tables after the test: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewRegistrationNoFieldOverwrite (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewRegistrationBadKey (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestUpdateRegistrationSame (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewAuthorization (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestReuseAuthorization (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestReuseAuthorizationFaultySA (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestReuseAuthorizationDisabled (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestReuseExpiringAuthorization (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewAuthorizationCapitalLetters (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewAuthorizationInvalidName (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestUpdateAuthorization (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestUpdateAuthorizationExpired (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestUpdateAuthorizationNewRPC (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCertificateKeyNotEqualAccountKey (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestAuthorizationRequired (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNewCertificate (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestTotalCertRateLimit (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestAuthzRateLimiting (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestRateLimitLiveReload (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCheckCertificatesPerNameLimit (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCheckFQDNSetRateLimitOverride (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestDeactivateAuthorization (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestDeactivateRegistration (0.00s)
      	ra_test.go:215: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      FAIL
      FAIL	github.com/letsencrypt/boulder/ra	0.457s
      ?   	github.com/letsencrypt/boulder/ra/proto	[no test files]
      ok  	github.com/letsencrypt/boulder/ratelimit	0.012s
      ok  	github.com/letsencrypt/boulder/reloader	2.005s
      ?   	github.com/letsencrypt/boulder/revocation	[no test files]
      ok  	github.com/letsencrypt/boulder/rpc	0.020s
      [mysql] 2017/10/12 12:06:07 packets.go:33: read tcp 127.0.0.1:58606->127.0.0.1:3306: read: connection reset by peer
      [mysql] 2017/10/12 12:06:07 packets.go:130: write tcp 127.0.0.1:58606->127.0.0.1:3306: write: broken pipe
      --- FAIL: TestAddRegistration (0.11s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestNoSuchRegistrationErrors (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCountPendingAuthorizations (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestAddAuthorization (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetValidAuthorizationsBasic (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCountInvalidAuthorizations (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetValidAuthorizationsDuplicate (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetValidAuthorizationsMultiple (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestAddCertificate (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCountCertificatesByNames (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestAddSCTReceipt (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestGetSCTReceipt (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestMarkCertificateRevoked (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCountCertificates (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestCountRegistrationsByIP (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestRevokeAuthorizationsByDomain (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFQDNSets (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestFQDNSetsExists (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestDeactivateAuthorization (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      --- FAIL: TestDeactivateAccount (0.00s)
      	sa_test.go:41: Failed to create dbMap: dial tcp 127.0.0.1:3306: getsockopt: connection refused
      FAIL
      FAIL	github.com/letsencrypt/boulder/sa	0.240s
      ?   	github.com/letsencrypt/boulder/sa/proto	[no test files]
      ?   	github.com/letsencrypt/boulder/sa/satest	[no test files]
      ?   	github.com/letsencrypt/boulder/test	[no test files]
      ?   	github.com/letsencrypt/boulder/test/ct-test-srv	[no test files]
      ?   	github.com/letsencrypt/boulder/test/dns-test-srv	[no test files]
      ?   	github.com/letsencrypt/boulder/test/gsb-test-srv	[no test files]
      ?   	github.com/letsencrypt/boulder/test/gsb-test-srv/proto	[no test files]
      ok  	github.com/letsencrypt/boulder/test/mail-test-srv	0.005s
      ?   	github.com/letsencrypt/boulder/test/vars	[no test files]
      	va_test.go:373: "Invalid response from http://localhost:35206/.well-known/acme-challenge/re-to-failing-url: \"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p\"" != "Could not connect to other.valid"
      --- FAIL: TestHTTPRedirectLookup (0.00s)
      	va_test.go:105: HTTPSRV: Got a 301 redirect req
      	va_test.go:146: HTTPSRV: Got a valid req
      	va_test.go:147: HTTPSRV: Path = /.well-known/acme-challenge/valid
      	va_test.go:151: HTTPSRV: Key Authz = '5J4FIMrWNfmvHZo-QpKZngmuhqZGwRm21-oEgUDstJM.9jg46WB3rR_AHD-EBXdN7cBkH1WOu0tA3M9fm21mqTI\n\r \t'
      	va_test.go:111: HTTPSRV: Got a 302 redirect req
      	va_test.go:105: HTTPSRV: Got a 301 redirect req
      	va_test.go:146: HTTPSRV: Got a valid req
      	va_test.go:147: HTTPSRV: Path = /.well-known/acme-challenge/valid
      	va_test.go:151: HTTPSRV: Key Authz = 'GBq8SwWq3JsbREFdCamk5IX3KLsxW5ULeGs98Ajl_UM.9jg46WB3rR_AHD-EBXdN7cBkH1WOu0tA3M9fm21mqTI\n\r \t'
      	va_test.go:131: HTTPSRV: Got a redirect req to an invalid hostname
      	va_test.go:123: HTTPSRV: Got a redirect req to a valid hostname
      	va_test.go:146: HTTPSRV: Got a valid req
      	va_test.go:147: HTTPSRV: Path = /path
      	va_test.go:151: HTTPSRV: Key Authz = '7e-P57coLM7D3woNTp_xbJrtlkDYy6PWf3mSSbLwCr4.9jg46WB3rR_AHD-EBXdN7cBkH1WOu0tA3M9fm21mqTI\n\r \t'
      	va_test.go:140: HTTPSRV: Got a port redirect req
      	va_test.go:134: HTTPSRV: Redirecting to a URL that will fail
      2017/10/12 12:06:25 http: TLS handshake error from 127.0.0.1:44904: EOF
      2017/10/12 12:06:25 http: TLS handshake error from 127.0.0.1:59468: Failing on purpose
      FAIL
      FAIL	github.com/letsencrypt/boulder/va	15.218s
      ?   	github.com/letsencrypt/boulder/va/proto	[no test files]
      ok  	github.com/letsencrypt/boulder/wfe	0.452s
      [!] FAILURE: go test -p 1 github.com/letsencrypt/boulder/akamai github.com/letsencrypt/boulder/bdns github.com/letsencrypt/boulder/ca github.com/letsencrypt/boulder/ca/proto github.com/letsencrypt/boulder/cdr github.com/letsencrypt/boulder/cmd github.com/letsencrypt/boulder/cmd/admin-revoker github.com/letsencrypt/boulder/cmd/boulder-ca github.com/letsencrypt/boulder/cmd/boulder-publisher github.com/letsencrypt/boulder/cmd/boulder-ra github.com/letsencrypt/boulder/cmd/boulder-sa github.com/letsencrypt/boulder/cmd/boulder-va github.com/letsencrypt/boulder/cmd/boulder-va/mock_gsb github.com/letsencrypt/boulder/cmd/boulder-wfe github.com/letsencrypt/boulder/cmd/cert-checker github.com/letsencrypt/boulder/cmd/contact-exporter github.com/letsencrypt/boulder/cmd/expiration-mailer github.com/letsencrypt/boulder/cmd/expired-authz-purger github.com/letsencrypt/boulder/cmd/notafter-backfill github.com/letsencrypt/boulder/cmd/notify-mailer github.com/letsencrypt/boulder/cmd/ocsp-responder github.com/letsencrypt/boulder/cmd/ocsp-updater github.com/letsencrypt/boulder/cmd/orphan-finder github.com/letsencrypt/boulder/cmd/rabbitmq-setup github.com/letsencrypt/boulder/cmd/single-ocsp github.com/letsencrypt/boulder/core github.com/letsencrypt/boulder/core/proto github.com/letsencrypt/boulder/csr github.com/letsencrypt/boulder/features github.com/letsencrypt/boulder/goodkey github.com/letsencrypt/boulder/grpc github.com/letsencrypt/boulder/grpc/creds github.com/letsencrypt/boulder/grpc/test_proto github.com/letsencrypt/boulder/log github.com/letsencrypt/boulder/mail github.com/letsencrypt/boulder/metrics github.com/letsencrypt/boulder/metrics/mock_metrics github.com/letsencrypt/boulder/mocks github.com/letsencrypt/boulder/nonce github.com/letsencrypt/boulder/policy github.com/letsencrypt/boulder/prefixdb github.com/letsencrypt/boulder/probs github.com/letsencrypt/boulder/publisher github.com/letsencrypt/boulder/publisher/mock_publisher github.com/letsencrypt/boulder/publisher/proto github.com/letsencrypt/boulder/ra github.com/letsencrypt/boulder/ra/proto github.com/letsencrypt/boulder/ratelimit github.com/letsencrypt/boulder/reloader github.com/letsencrypt/boulder/revocation github.com/letsencrypt/boulder/rpc github.com/letsencrypt/boulder/sa github.com/letsencrypt/boulder/sa/proto github.com/letsencrypt/boulder/sa/satest github.com/letsencrypt/boulder/test github.com/letsencrypt/boulder/test/ct-test-srv github.com/letsencrypt/boulder/test/dns-test-srv github.com/letsencrypt/boulder/test/gsb-test-srv github.com/letsencrypt/boulder/test/gsb-test-srv/proto github.com/letsencrypt/boulder/test/mail-test-srv github.com/letsencrypt/boulder/test/vars github.com/letsencrypt/boulder/va github.com/letsencrypt/boulder/va/proto github.com/letsencrypt/boulder/wfe
      --------------------------------------------------
      ---        A unit test or tool failed.         ---
      --- Stopping before running integration tests. ---
      --------------------------------------------------
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            levivic Lei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.