Skip to content

Instantly share code, notes, and snippets.

@Magisus
Created May 19, 2017 20:31
Show Gist options
  • Save Magisus/eeac5c14e563182660d98aeeed0bfd10 to your computer and use it in GitHub Desktop.
Save Magisus/eeac5c14e563182660d98aeeed0bfd10 to your computer and use it in GitHub Desktop.
Failed Tests Cases:
Test Case ./tests/ensure_puppet-agent_paths.rb reported: #<Beaker::DSL::Outcomes::FailTest:
Failed to find expected binary '/usr/bin/mco.bat' on agent 'q4sfil251ilvy5w.delivery.puppetlabs.net'
>
Test line: ./tests/ensure_puppet-agent_paths.rb:167:in `block (3 levels) in run_test'
Test Case ./tests/language/server_set_facts.rb reported: #<Minitest::Assertion: q4sfil251ilvy5w.delivery.puppetlabs.net: $server_facts should error if overwritten.
Expected /Error.*Attempt to assign to a reserved variable name: 'server_facts'/ to match "C:/cygwin64/lib/ruby/gems/2.4.0/gems/CFPropertyList-2.2.8/lib/cfpropertylist/rbCFTypes.rb:24: warning: constant ::Fixnum is deprecated\n\e[1;33mWarning: Unable to fetch my node definition, but the agent run will continue:\e[0m\n\e[1;33mWarning: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n\e[1;31mError: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n\e[1;31mError: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n\e[1;31mError: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n\e[1;31mError: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n\e[1;31mError: Could not retrieve catalog from remote server: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n\e[1;33mWarning: Not using cache on failed catalog\e[0m\n\e[1;31mError: Could not retrieve catalog; skipping run\e[0m\n\e[1;31mError: Could not send report: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for \"kwxi9pym3xm9s6e.delivery.puppetlabs.net\" port 8140)\e[0m\n".>
Test line: ./tests/language/server_set_facts.rb:31:in `block (5 levels) in run_test'
Test Case ./tests/lookup/config5_interpolation.rb reported: #<Beaker::DSL::Outcomes::FailTest:
agent lookup didn't exit properly: (1)
>
Test line: ./tests/lookup/config5_interpolation.rb:88:in `block (2 levels) in run_test'
Test Case ./tests/lookup/v3_config_and_data.rb reported: #<Minitest::Assertion: 4: lookup subcommand didn't exit properly: (1)>
Test line: ./tests/lookup/v3_config_and_data.rb:94:in `block (4 levels) in run_test'
Test Case ./tests/lookup/v4_hieradata_with_v5_configs.rb reported: #<Minitest::Assertion: 1: lookup subcommand didn't exit properly: (1)>
Test line: ./tests/lookup/v4_hieradata_with_v5_configs.rb:88:in `block (4 levels) in run_test'
Test Case ./tests/windows/env_windows_installdir_fact.rb reported: #<Minitest::Assertion: env_windows_installdir fact did not match expected output.
--- expected
+++ actual
@@ -1 +1 @@
-"C:\\Program Files\\Puppet Labs\\Puppet"
+nil
>
Test line: ./tests/windows/env_windows_installdir_fact.rb:22:in `block (5 levels) in run_test'
Errored Tests Cases:
Test Case ./tests/agent/agent_parses_json_catalog.rb reported: #<Beaker::Host::CommandFailure: Host 'q4sfil251ilvy5w.delivery.puppetlabs.net' exited with 1 running:
cmd.exe /c puppet agent --test --server kwxi9pym3xm9s6e.delivery.puppetlabs.net
Last 10 lines of output were:
Warning: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)
Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)
Info: Retrieving plugin
Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)
Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)
Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)
Error: Could not retrieve catalog from remote server: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Failed to open TCP connection to kwxi9pym3xm9s6e.delivery.puppetlabs.net:8140 (No connection could be made because the target machine actively refused it. - connect(2) for "kwxi9pym3xm9s6e.delivery.puppetlabs.net" port 8140)>
Test line: ./tests/agent/agent_parses_json_catalog.rb:13:in `block (3 levels) in run_test'
Test Case ./tests/lookup/hiera3_custom_backend.rb reported: #<Beaker::Host::CommandFailure: Host 'kwxi9pym3xm9s6e.delivery.puppetlabs.net' exited with 1 running:
cat /etc/puppetserver/conf.d/puppetserver.conf
Last 10 lines of output were:
cat: /etc/puppetserver/conf.d/puppetserver.conf: No such file or directory>
Test line: ./tests/lookup/hiera3_custom_backend.rb:11:in `block (2 levels) in run_test'
Test Case ./tests/node/check_woy_cache_works.rb reported: #<Beaker::Host::CommandFailure: Host 'kwxi9pym3xm9s6e.delivery.puppetlabs.net' exited with 1 running:
chmod 644 /tmp/check_woy_cache_works.x3NTIT/auth.conf
Last 10 lines of output were:
chmod: cannot access '/tmp/check_woy_cache_works.x3NTIT/auth.conf': No such file or directory>
Test line: ./tests/node/check_woy_cache_works.rb:115:in `block (2 levels) in run_test'
Test Case ./tests/resource/file/ticket_6448_file_with_utf8_source.rb reported: #<RuntimeError: PuppetAcceptance::DSL::Helpers.with_puppet_running_on failed (check backtrace for location) because: Host 'q4sfil251ilvy5w.delivery.puppetlabs.net' exited with 4 running:
cmd.exe /c puppet agent -t --environment ticket_6448_file_with_utf8_source_60u72yqi --server kwxi9pym3xm9s6e.delivery.puppetlabs.net
Last 10 lines of output were:
C:/cygwin64/lib/ruby/gems/2.4.0/gems/CFPropertyList-2.2.8/lib/cfpropertylist/rbCFTypes.rb:24: warning: constant ::Fixnum is deprecated
Info: Using configured environment 'ticket_6448_file_with_utf8_source_60u72yqi'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for q4sfil251ilvy5w.delivery.puppetlabs.net
Info: Applying configuration version '1495224559'
Error: /Stage[main]/Main/File[C:/cygwin64/tmp/ticket_6448_file_with_utf8_source_60u72yqi.G0dxPM/イァフル]: Could not evaluate: Could not retrieve file metadata for puppet:///modules/utf8_file_module/静的: Error 500 on SERVER: Server Error: Could not render to Puppet::Network::Format[json]: "\xE9" from ASCII-8BIT to UTF-8
Notice: Applied catalog in 0.25 seconds
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/host.rb:373:in `exec'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
./tests/resource/file/ticket_6448_file_with_utf8_source.rb:73:in `block (5 levels) in run_test'
./tests/resource/file/ticket_6448_file_with_utf8_source.rb:71:in `each'
./tests/resource/file/ticket_6448_file_with_utf8_source.rb:71:in `block (4 levels) in run_test'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/dsl/helpers/puppet_helpers.rb:188:in `with_puppet_running_on'
./tests/resource/file/ticket_6448_file_with_utf8_source.rb:70:in `block (3 levels) in run_test'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/dsl/structure.rb:43:in `step'
./tests/resource/file/ticket_6448_file_with_utf8_source.rb:64:in `block (2 levels) in run_test'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/dsl/structure.rb:58:in `test_name'
./tests/resource/file/ticket_6448_file_with_utf8_source.rb:4:in `block in run_test'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_case.rb:133:in `eval'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_case.rb:133:in `block in run_test'
/Users/aileen/.rbenv/versions/2.3.3/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_case.rb:130:in `run_test'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_suite.rb:325:in `block in run'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_suite.rb:322:in `each'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_suite.rb:322:in `run'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/test_suite.rb:371:in `run_and_raise_on_failure'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/cli.rb:205:in `run_suite'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/lib/beaker/cli.rb:131:in `execute!'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/gems/beaker-3.15.0/bin/beaker:9:in `<top (required)>'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/bin/beaker:22:in `load'
/Users/aileen/code/puppet/acceptance/.bundle/ruby/2.3.0/bin/beaker:22:in `<main>'
>
Test line: ./tests/resource/file/ticket_6448_file_with_utf8_source.rb:70:in `block (3 levels) in run_test'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment