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

Clojure unit test test-503-when-app-shuts-down in jruby-puppet-pool-int-test fails intermittently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: SERVER 2.4.0
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide

      N/a, not code

      Show
      N/a, not code
    • Sub-team:
    • Story Points:
      1
    • Sprint:
      Server Emerald 2016-07-27

      Description

      There appears to be an intermittent or transient failure in jruby-puppet-pool-int-test.rb. It fails thus (https://jenkins.puppetlabs.com/job/platform_puppetserver_unit-clj_master/JDK=openjdk7,label=unit/175/):

      02:50:44 lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/test-503-when-app-shuts-down
      02:50:44 
      02:50:44 FAIL in (test-503-when-app-shuts-down) (jruby_puppet_pool_int_test.clj:231)
      02:50:44 During a shutdown the agent requests result in a 503 response
      02:50:44 expected: (= 503 (:status (ping-environment)))
      02:50:44   actual: (not (= 503 200))
      

      Apparently some changes in the jruby pools code has resulted in a race condition in the test. Filing a bug so we can track the transience.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremy.barlow Jeremy Barlow
              Reporter:
              kurt.wall Kurt Wall
              QA Contact:
              Kurt Wall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support