Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2614

{Running tests gets errors of "Connection refused" on x86_64-linux}

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: SERVER 6.5.0
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:
      None
    • Environment:

      x86-64 Linux, ubuntu 16.04

    • Template:
      PUP Bug Template
    • Team:
      Server
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      1) Following instruction `https://github.com/puppetlabs/puppetserver/blob/master/documentation/dev_running_from_source.markdown`

      run test "lein spec" and get errors as:

      " ...

      ...............2019-08-26 13:43:39,658 ERROR [main] [c.p.h.c.i.PersistentSyncHttpClient] Error executing http request
      java.net.ConnectException: Connection refused
              at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
              at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779)

      "
      The complete log see the attachment.
      The configuration is as the default, is there any special configuration that is not mentioned in the instruction?

      2) The test "lein test"  shows :
      "Ran 186 tests containing 2598 assertions.
      10 failures, 0 errors." 

      These 10 failures are as follows:
      "
      FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:324)
      FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:329)
      FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:339)
      FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:344)
      FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:345)
      FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:349)
      FAIL in (handle-put-certificate-request!-test) (certificate_authority_core_test.clj:242)
      FAIL in (handle-delete-certificate-request!-test) (certificate_authority_core_test.clj:217)
      FAIL in (handle-delete-certificate-request!-test) (certificate_authority_core_test.clj:218)
      FAIL in (handle-delete-certificate-request!-test) (certificate_authority_core_test.clj:220)
      "
      Is there any special configuration on  authority of SSL?

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                samding Sam Ding
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: