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

utf8 test failures after upgrading puppet pin

    XMLWordPrintable

Details

    • CI Blocker
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • platform puppetserver
    • Systems Engineering
    • 3
    • Server 2017-04-19, Server 2017-05-03
    • Not Needed
    • Needs Assessment

    Description

      After upgrading puppetserver's puppet pins to 8e8866b, we started experiencing failures for three Ruby Puppet acceptance tests:

      • language.binary_data_type.rb
      • utf8.utf8-in-catalog.rb
      • file.ticket_6448_file_with_utf8_source.rb

      See this CI job link.

      In each case, it seems that the agent is somehow having issues handling UTF-8 bytes returned from the server. For example, the following error appears in the agent output for the utf8-in-catalog.rb test:

      RuntimeError: PuppetAcceptance::DSL::Helpers.with_puppet_running_on failed (check backtrace for location) because: Host 'b1nf7ehap0olkfb.delivery.puppetlabs.net' exited with 1 running:
                   env LANG="en_US.UTF-8" puppet agent -t --vardir /tmp/agent_vardir.GoyIjI --server b1nf7ehap0olkfb.delivery.puppetlabs.net
                  Last 10 lines of output were:
                  	Info: Using configured environment 'production'
                  	Info: Retrieving pluginfacts
                  	Info: Retrieving plugin
                  	Error: Could not retrieve catalog from remote server: Could not intern from application/json: invalid byte sequence in UTF-8
      

      Attachments

        Issue Links

          Activity

            People

              jeremy.barlow Jeremy Barlow
              jeremy.barlow Jeremy Barlow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support