diff -Nru r10k-3.7.0/debian/changelog r10k-3.7.0/debian/changelog --- r10k-3.7.0/debian/changelog 2021-02-03 18:51:26.000000000 +0000 +++ r10k-3.7.0/debian/changelog 2021-08-16 14:49:31.000000000 +0000 @@ -1,3 +1,11 @@ +r10k (3.7.0-2ubuntu1) impish; urgency=medium + + * d/p/20_disable_test_changing_proxy_settings: skip tests trying to change + the proxy settings, they are failing in the Ubuntu autopkgtest + infrastructure (LP: #1940104). + + -- Lucas Kanashiro Mon, 16 Aug 2021 11:49:31 -0300 + r10k (3.7.0-2) unstable; urgency=medium * d/upstream: Fix package name diff -Nru r10k-3.7.0/debian/control r10k-3.7.0/debian/control --- r10k-3.7.0/debian/control 2021-02-03 18:49:37.000000000 +0000 +++ r10k-3.7.0/debian/control 2021-08-16 14:49:31.000000000 +0000 @@ -1,7 +1,8 @@ Source: r10k Section: admin Priority: optional -Maintainer: Puppet Package Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Puppet Package Maintainers Uploaders: Sebastien Badia , Markus Frosch , Georg Faerber , diff -Nru r10k-3.7.0/debian/patches/20_disable_test_changing_proxy_settings r10k-3.7.0/debian/patches/20_disable_test_changing_proxy_settings --- r10k-3.7.0/debian/patches/20_disable_test_changing_proxy_settings 1970-01-01 00:00:00.000000000 +0000 +++ r10k-3.7.0/debian/patches/20_disable_test_changing_proxy_settings 2021-08-16 14:49:31.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Skip tests changing the proxy settings in autopkgtest environment + This test is failing in the Ubuntu autopkgtest infrastructure because it tries + to set the proxy variable which is already used by the infrastructure which + makes it fail. This is a Ubuntu specific change. + . + Even with this patch the tests will be executed during build time to make + sure the feature is still working. +Author: Lucas Kanashiro +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/r10k/+bug/1940104 +Forwarded: not-needed +Last-Updated: 2021-08-16 + +--- a/spec/unit/settings_spec.rb ++++ b/spec/unit/settings_spec.rb +@@ -232,9 +232,11 @@ + describe "setting a default value" do + %w[HTTPS_PROXY https_proxy HTTP_PROXY http_proxy].each do |env_var| + it "respects the #{env_var} environment variable" do +- R10K::Util::ExecEnv.withenv(env_var => "http://proxy.value/#{env_var}") do +- output = subject.evaluate({}) +- expect(output[:proxy]).to eq("http://proxy.value/#{env_var}") ++ if not ENV["AUTOPKGTEST_TMP"] ++ R10K::Util::ExecEnv.withenv(env_var => "http://proxy.value/#{env_var}") do ++ output = subject.evaluate({}) ++ expect(output[:proxy]).to eq("http://proxy.value/#{env_var}") ++ end + end + end + end diff -Nru r10k-3.7.0/debian/patches/series r10k-3.7.0/debian/patches/series --- r10k-3.7.0/debian/patches/series 2021-02-03 18:47:39.000000000 +0000 +++ r10k-3.7.0/debian/patches/series 2021-08-16 12:37:41.000000000 +0000 @@ -1,3 +1,4 @@ 10-gemspec-relax-deps.patch 11_locales_path 12_disable_test_with_network_access +20_disable_test_changing_proxy_settings