Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper Release Notes: Not Needed Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.478063.167330118.5467.1681403040204%40Atlassian.JIRA.
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper commented on PUP-11698 Re: Test against Ruby 3.2 & OpenSSL 3 on Windows My PR passed the GH action, but then the action failed with: 1) Puppet::Util::Windows::Registry#values when reading values should return REG_MULTI_SZ values Failure/Error: expect(written).to eq(pair[:value]) expected: ["string1", "string2"] got: ["string1", "string2", "Ā"] (compared using ==) # ./spec/integration/util/windows/registry_spec.rb:202:in `block (6 levels) in ' # ./spec/integration/util/windows/registry_spec.rb:193:in `block (5 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' # util/rspec_runner:44:in `run' # util/rspec_runner:59:in `' Finished in 2 minutes 20.2 seconds (files took 51.18 seconds to load) Rekicking to see if it's a transient
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper Sprint: Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.478063.167330118.400.1673573100025%40Atlassian.JIRA.
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper Assignee: Josh Cooper Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.478063.167330118.394.1673571600057%40Atlassian.JIRA.
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper Story Points: 3 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.478063.167330118.72441.1673481360027%40Atlassian.JIRA.
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper This ticket is blocked on PUP-11699, to ensure rspec tests pass when using Ruby 3.2 and OpenSSL 3.0 on Ubuntu.For this ticket, add ruby 3.2.0 to the is resolved rspec GH action , Currently getting these test failures on puppet#main with Ruby 3.2.0 similar to what was done in https: / OpenSSL3 /github . 0 on Windows. com/puppetlabs/facter/commit/335d8757bf4bad08d1194a595108382b1a39bd91 Note the setup-ruby github action will automatically install OpenSSL3 when using Ruby 3.2, see https://github.com/ruby/setup-ruby/blob/319066216501fbd5e2d568f14b7d68c19fb67a5d/windows.js#L107-L111 For this ticket, resolve these There are likely some Windows-specific rspec failures and add ruby when running Ruby 3.2 to the GH action for Windows and OpenSSL , similar which will need to what was done in https://github be fixed . com/puppetlabs/facter/commit/335d8757bf4bad08d1194a595108382b1a39bd91 {noformat}C:\Users\Administrator\puppet>git rev-parse HEAD178ff2e2e0508edd90b577b0d79cbe55f172da1cC:\Users\Administrator\puppet>bundle exec rspec spec... 1) apply http report processor rejects an HTTPS report server whose root cert is not the puppet CA Failure/Error: expect { apply.command_line.args = ['-e', 'notify { "hi": }'] apply.run }.to exit_with(0).and output(/Applied catalog/).to_stdout.and output(/Report processor failed: certificate verify failed \[self signed certificate in certificate chain for CN=Unknown CA\]/).to_stderr expected block to output /Report processor failed: certificate verify failed \[self signed certificate in certificate chain for CN=Unknown CA\]/ to stderr, but output "\e[1;31mError: Report processor failed: certificate verify failed [self-signed certificate in certificate chain for CN=Unknown CA]\e[0m\n" # ./spec/integration/application/apply_spec.rb:627:in `block (4 levels) in ' # ./spec/lib/puppet_spec/https.rb:81:in `block in start_server' # ./spec/lib/puppet_spec/https.rb:41:in `pipe' # ./spec/lib/puppet_spec/https.rb:41:in `start_server' # ./spec/integration/application/apply_spec.rb:622:in `block (3 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' 2) Puppet::HTTP::Client when verifying an HTTPS server raises if the server's CA is unknown Failure/Error: expect { client.get(URI("https://127.0.0.1:#{port}"), options: {ssl_context: alt_context}) }.to raise_error(Puppet::SSL::CertVerifyError, %r{certificate verify failed.* .self signed certificate in certificate chain for CN=Test CA.}) expected Puppet::SSL::CertVerifyError with message matching /certificate verify failed.* .self signed certificate in certificate chain for CN=Test CA./, got # with backtrace: # ./lib/puppet/ssl/verifier.rb:65:in `handle_connection_error' # ./lib/puppet/http/pool.rb:66:in `rescue in start'
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper This ticket is blocked on PUP-11699, to ensure rspec tests pass when using Ruby 3.2 and OpenSSL 3.0 on Ubuntu.For this ticket, add ruby 3.2.0 to the is resolved, Currently getting these test failures on puppet#main with Ruby 3.2.0/OpenSSL3.0 on Windows. Note the setup-ruby github action will automatically install OpenSSL3 when using Ruby 3.2, see https://github.com/ruby/setup-ruby/blob/319066216501fbd5e2d568f14b7d68c19fb67a5d/windows.js#L107-L111For this ticket, resolve these failures and add ruby 3.2 to the GH action for Windows, similar to what was done in https://github.com/puppetlabs/facter/commit/335d8757bf4bad08d1194a595108382b1a39bd91{noformat}C:\Users\Administrator\puppet>git rev-parse HEAD178ff2e2e0508edd90b577b0d79cbe55f172da1cC:\Users\Administrator\puppet>bundle exec rspec spec... 1) apply http report processor rejects an HTTPS report server whose root cert is not the puppet CA Failure/Error: expect { apply.command_line.args = ['-e', 'notify { "hi": }'] apply.run }.to exit_with(0).and output(/Applied catalog/).to_stdout.and output(/Report processor failed: certificate verify failed \[self signed certificate in certificate chain for CN=Unknown CA\]/).to_stderr expected block to output /Report processor failed: certificate verify failed \[self signed certificate in certificate chain for CN=Unknown CA\]/ to stderr, but output "\e[1;31mError: Report processor failed: certificate verify failed [self-signed certificate in certificate chain for CN=Unknown CA]\e[0m\n" # ./spec/integration/application/apply_spec.rb:627:in `block (4 levels) in ' # ./spec/lib/puppet_spec/https.rb:81:in `block in start_server' # ./spec/lib/puppet_spec/https.rb:41:in `pipe' # ./spec/lib/puppet_spec/https.rb:41:in `start_server' # ./spec/integration/application/apply_spec.rb:622:in `block (3 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' 2) Puppet::HTTP::Client when verifying an HTTPS server raises if the server's CA is unknown Failure/Error: expect { client.get(URI("https://127.0.0.1:#{port}"), options: {ssl_context: alt_context}) }.to raise_error(Puppet::SSL::CertVerifyError, %r{certificate verify failed.* .self signed certificate in certificate chain for CN=Test CA.}) expected Puppet::SSL::CertVerifyError with message matching /certificate verify failed.* .self signed certificate in certificate chain for CN=Test CA./, got # with backtrace: # ./lib/puppet/ssl/verifier.rb:65:in `handle_connection_error' # ./lib/puppet/http/pool.rb:66:in `rescue in start' # ./lib/puppet/http/pool.rb:62:in `start' # ./lib/puppet/http/pool.rb:107:in `borrow' # ./lib/puppet/http/pool.rb:22:in `with_connection' # ./lib/puppet/http/client.rb:149:in `connect' # ./lib/puppet/http/client.rb:366:in
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper Currently getting these test failures on puppet#main with Ruby 3.2.0/OpenSSL3.0 on Windows.Note the setup-ruby github action will automatically install OpenSSL3 when using Ruby 3.2, see https://github.com/ruby/setup-ruby/blob/319066216501fbd5e2d568f14b7d68c19fb67a5d/windows.js#L107-L111 For this ticket, resolve these failures and add ruby 3.2 to the GH action for Windows, similar to what was done in https://github.com/puppetlabs/facter/commit/335d8757bf4bad08d1194a595108382b1a39bd91{noformat}C:\Users\Administrator\puppet>git rev-parse HEAD178ff2e2e0508edd90b577b0d79cbe55f172da1cC:\Users\Administrator\puppet>bundle exec rspec spec... 1) apply http report processor rejects an HTTPS report server whose root cert is not the puppet CA Failure/Error: expect { apply.command_line.args = ['-e', 'notify { "hi": }'] apply.run }.to exit_with(0).and output(/Applied catalog/).to_stdout.and output(/Report processor failed: certificate verify failed \[self signed certificate in certificate chain for CN=Unknown CA\]/).to_stderr expected block to output /Report processor failed: certificate verify failed \[self signed certificate in certificate chain for CN=Unknown CA\]/ to stderr, but output "\e[1;31mError: Report processor failed: certificate verify failed [self-signed certificate in certificate chain for CN=Unknown CA]\e[0m\n" # ./spec/integration/application/apply_spec.rb:627:in `block (4 levels) in ' # ./spec/lib/puppet_spec/https.rb:81:in `block in start_server' # ./spec/lib/puppet_spec/https.rb:41:in `pipe' # ./spec/lib/puppet_spec/https.rb:41:in `start_server' # ./spec/integration/application/apply_spec.rb:622:in `block (3 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' 2) Puppet::HTTP::Client when verifying an HTTPS server raises if the server's CA is unknown Failure/Error: expect { client.get(URI("https://127.0.0.1:#{port}"), options: {ssl_context: alt_context}) }.to raise_error(Puppet::SSL::CertVerifyError, %r{certificate verify failed.* .self signed certificate in certificate chain for CN=Test CA.}) expected Puppet::SSL::CertVerifyError with message matching /certificate verify failed.* .self signed certificate in certificate chain for CN=Test CA./, got # with backtrace: # ./lib/puppet/ssl/verifier.rb:65:in `handle_connection_error' # ./lib/puppet/http/pool.rb:66:in `rescue in start' # ./lib/puppet/http/pool.rb:62:in `start' # ./lib/puppet/http/pool.rb:107:in `borrow' # ./lib/puppet/http/pool.rb:22:in `with_connection' # ./lib/puppet/http/client.rb:149:in `connect' # ./lib/puppet/http/client.rb:366:in `execute_streaming' # ./lib/puppet/http/client.rb:203:in `get' # ./spec/integration/http/client_spec.rb:54:in `block (5 levels) in ' #
Jira (PUP-11698) Test against Ruby 3.2 & OpenSSL 3 on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11698 Test against Ruby 3.2 & OpenSSL 3 on Windows Change By: Josh Cooper Summary: Test against Ruby 3.2 & OpenSSL 3 on Windows Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.478063.167330118.71088.1673308140057%40Atlassian.JIRA.