Slackbot
06/22/2023, 10:44 AMYury Bushmelev
06/22/2023, 11:28 AMJulien Godin
06/22/2023, 11:39 AMpdk (INFO): Using Ruby 2.7.7
pdk (INFO): Using Puppet 7.25.0
Building '/home/jgodin/Code/gitrepo/camptocamp/puppet-modules/monitoring' into '/home/jgodin/Code/gitrepo/camptocamp/puppet-modules/monitoring/pkg'
Built '/home/jgodin/Code/gitrepo/camptocamp/puppet-modules/monitoring/pkg/jgodin-monitoring-0.1.0.tar.gz'
rake aborted!
Installation of package jgodin-monitoring-0.1.0.tar.gz failed.
Results:
0f527046320e: {"stdout"=>"\e[mNotice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...\e[0m\n\e[mNotice: Downloading from <https://forgeapi.puppet.com> ...\e[0m\n", "stderr"=>"\e[1;31mError: Could not install module 'jgodin-monitoring' (v0.1.0)\n The requested version cannot satisfy all dependencies\n Use `puppet module install 'jgodin-monitoring' --ignore-dependencies` to install only this module\e[0m\n", "merged_output"=>"\e[mNotice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...\e[0m\n\e[mNotice: Downloading from <https://forgeapi.puppet.com> ...\e[0m\n\e[1;31mError: Could not install module 'jgodin-monitoring' (v0.1.0)\n The requested version cannot satisfy all dependencies\n Use `puppet module install 'jgodin-monitoring' --ignore-dependencies` to install only this module\e[0m\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/puppet_litmus-0.36.2/lib/puppet_litmus/rake_helper.rb:424:in `raise_bolt_errors'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/puppet_litmus-0.36.2/lib/puppet_litmus/rake_helper.rb:325:in `block in install_module'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/honeycomb-beeline-3.0.0/lib/honeycomb/client.rb:65:in `start_span'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/forwardable-1.3.3/lib/forwardable.rb:240:in `start_span'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/puppet_litmus-0.36.2/lib/puppet_litmus/rake_helper.rb:302:in `install_module'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/puppet_litmus-0.36.2/lib/puppet_litmus/rake_tasks.rb:209:in `block (2 levels) in <top (required)>'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/honeycomb-beeline-3.0.0/lib/honeycomb/integrations/rake.rb:21:in `block in execute'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/honeycomb-beeline-3.0.0/lib/honeycomb/client.rb:65:in `start_span'
/home/jgodin/.pdk/cache/ruby/2.7.0/gems/honeycomb-beeline-3.0.0/lib/honeycomb/integrations/rake.rb:16:in `execute'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/opt/puppetlabs/pdk/private/ruby/2.7.7/bin/bundle:23:in `load'
/opt/puppetlabs/pdk/private/ruby/2.7.7/bin/bundle:23:in `<main>'
Tasks: TOP => litmus:install_module
(See full trace by running task with --trace)Julien Godin
06/22/2023, 11:40 AMJulien Godin
06/22/2023, 11:56 AMJulien Godin
06/22/2023, 11:56 AMJulien Godin
06/22/2023, 11:57 AMpdk bundle exec rake 'litmus:provision[docker_exp, litmusimage/centos:stream8]'
pdk bundle exec rake 'litmus:install_agent'
pdk bundle exec rake 'litmus:install_module'Yury Bushmelev
06/22/2023, 12:01 PMDownloading from https://forgeapi.puppet.com ...\e[0m\n\e[1;31mError: Could not install module ‘jgodin-monitoring’ (v0.1.0)\n The requested version cannot satisfy all dependencies\nI guess your module is not available on forge yet, right?
Julien Godin
06/22/2023, 12:02 PMJulien Godin
06/22/2023, 12:02 PMYury Bushmelev
06/22/2023, 12:04 PMYury Bushmelev
06/22/2023, 12:04 PMJulien Godin
06/22/2023, 12:05 PMYury Bushmelev
06/22/2023, 12:11 PMYury Bushmelev
06/22/2023, 12:12 PMprovision module in .fixtures.ymlYury Bushmelev
06/22/2023, 12:12 PMJulien Godin
06/22/2023, 12:19 PMYury Bushmelev
06/22/2023, 12:29 PMDavid Sandilands
06/22/2023, 12:31 PMCraig Gumbley
06/22/2023, 12:47 PMCraig Gumbley
06/22/2023, 12:48 PMJulien Godin
06/22/2023, 12:48 PMCraig Gumbley
06/22/2023, 12:48 PMCraig Gumbley
06/22/2023, 12:48 PMCraig Gumbley
06/22/2023, 12:48 PMCraig Gumbley
06/22/2023, 12:49 PMJulien Godin
06/22/2023, 12:50 PMJulien Godin
06/22/2023, 12:50 PMCraig Gumbley
06/22/2023, 1:02 PMCraig Gumbley
06/22/2023, 1:02 PMJulien Godin
06/22/2023, 1:03 PM./spec/fixtures/modules/ seems to be populatedCraig Gumbley
06/22/2023, 1:04 PMJulien Godin
06/22/2023, 1:05 PMdrwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:27:11 2023 apache
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 concat
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 facts
lrwxrwxrwx jgodin jgodin 73 B Thu Jun 22 15:03:19 2023 monitoring ⇒ /home/jgodin/Code/camptocamp/puppet-modules/monitoring
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 portage
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 provision
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 puppet_agent
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 stdlib
drwxrwxr-x jgodin jgodin 4.0 KB Thu Jun 22 14:25:47 2023 yumrepo_coreCraig Gumbley
06/22/2023, 1:05 PMCraig Gumbley
06/22/2023, 1:06 PMCraig Gumbley
06/22/2023, 1:06 PMJulien Godin
06/22/2023, 1:06 PMCraig Gumbley
06/22/2023, 1:06 PMJulien Godin
06/22/2023, 1:07 PM./spec/fixtures/modules/ directory ?Julien Godin
06/22/2023, 1:07 PMJulien Godin
06/22/2023, 1:07 PMCraig Gumbley
06/22/2023, 1:08 PMJulien Godin
06/22/2023, 1:08 PMCraig Gumbley
06/22/2023, 1:12 PMpdk bundle exec rake spec_cleanCraig Gumbley
06/22/2023, 1:12 PMJulien Godin
06/22/2023, 1:13 PMJulien Godin
06/22/2023, 1:14 PMCraig Gumbley
06/22/2023, 1:15 PMCraig Gumbley
06/22/2023, 1:15 PMCraig Gumbley
06/22/2023, 1:15 PMCraig Gumbley
06/22/2023, 1:15 PMJordan Breen
06/22/2023, 1:15 PMJulien Godin
06/22/2023, 1:16 PMJordan Breen
06/22/2023, 1:16 PMJulien Godin
06/22/2023, 1:16 PMYury Bushmelev
06/22/2023, 1:17 PMJordan Breen
06/22/2023, 1:17 PMJulien Godin
06/22/2023, 1:18 PMJordan Breen
06/22/2023, 1:19 PMJordan Breen
06/22/2023, 1:21 PMJulien Godin
06/22/2023, 1:25 PMpdk --version
2.7.1Julien Godin
06/22/2023, 1:26 PMmonitoring 50db098 △ ◒ → ruby --version
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
monitoring 50db098 △ ◒ → bundle --version
Bundler version 2.3.10AlsYury Bushmelev
06/22/2023, 1:31 PMpdk bundle execJulien Godin
06/22/2023, 1:32 PMmonitoring 50db098 △ ◒ → pdk bundle exec
pdk (INFO): Using Ruby 2.7.7
pdk (INFO): Using Puppet 7.25.0Jordan Breen
06/22/2023, 1:37 PMJulien Godin
06/22/2023, 1:37 PMJordan Breen
06/22/2023, 1:37 PMJordan Breen
06/22/2023, 1:37 PMJulien Godin
06/22/2023, 1:37 PMJordan Breen
06/22/2023, 1:38 PMYury Bushmelev
06/22/2023, 1:38 PMJulien Godin
06/22/2023, 1:40 PMJordan Breen
06/22/2023, 1:40 PMJulien Godin
06/22/2023, 1:42 PMJordan Breen
06/22/2023, 1:42 PMYury Bushmelev
06/22/2023, 1:43 PMJordan Breen
06/22/2023, 1:46 PMInstalling from a release tarballTo install a module from a release tarball, specify the path to the tarball instead of the module name.
If you cannot connect to the Forge, or you are installing modules that have not yet been published to the Forge, use the --ignore-dependencies option and manually install any dependencies.Jordan Breen
06/22/2023, 1:46 PMJordan Breen
06/22/2023, 1:46 PMpuppet module install ~/puppetlabs-apache-0.10.0.tar.gz --ignore-dependenciesDr Bunsen Honeydew
06/22/2023, 1:47 PMpuppetlabs-apache module at https://forge.puppet.com/puppetlabs/apache?src=slack&channel=puppetJordan Breen
06/22/2023, 1:48 PMJordan Breen
06/22/2023, 1:54 PMpdk build
pdk bundle exec bolt file upload ./pkg/<your_tarball_here> <destination_on_container> --targets docker_nodes --inventoryfile spec/fixtures/litmus_inventory.yaml
pdk bundle exec bolt command run 'puppet module install /path/to/tarball.tar.gz --ignore-dependencies' --targets docker_nodes --inventoryfile spec/fixtures/litmus_inventory.yaml
Once manually installed along with the dependencies you should be able to run your acceptance suite with
pdk bundle exec rake 'litmus:acceptance:parallel'Jordan Breen
06/22/2023, 1:54 PMJulien Godin
06/22/2023, 1:57 PMJordan Breen
06/22/2023, 1:57 PMJordan Breen
06/22/2023, 1:57 PMJordan Breen
06/22/2023, 1:57 PMYury Bushmelev
06/22/2023, 1:58 PMJulien Godin
06/22/2023, 1:59 PMJordan Breen
06/22/2023, 1:59 PMJordan Breen
06/22/2023, 1:59 PMYury Bushmelev
06/22/2023, 1:59 PMJulien Godin
06/22/2023, 1:59 PMJulien Godin
06/22/2023, 2:00 PMJordan Breen
06/22/2023, 2:00 PMJordan Breen
06/22/2023, 2:00 PMYury Bushmelev
06/22/2023, 2:01 PMJulien Godin
06/22/2023, 2:01 PMJordan Breen
06/22/2023, 2:02 PMYury Bushmelev
06/22/2023, 2:03 PMYury Bushmelev
06/22/2023, 2:03 PMbastelfreak
06/22/2023, 2:04 PMJordan Breen
06/22/2023, 2:04 PMJordan Breen
06/22/2023, 2:04 PMYury Bushmelev
06/22/2023, 2:04 PMbastelfreak
06/22/2023, 2:04 PMJulien Godin
06/22/2023, 2:05 PMJordan Breen
06/22/2023, 2:24 PMJordan Breen
06/22/2023, 2:24 PMJulien Godin
06/22/2023, 2:24 PMJulien Godin
06/22/2023, 2:24 PMJordan Breen
06/22/2023, 2:28 PMJordan Breen
06/22/2023, 2:29 PMJulien Godin
06/22/2023, 2:30 PMYury Bushmelev
06/22/2023, 2:33 PMYury Bushmelev
06/22/2023, 2:33 PMYury Bushmelev
06/22/2023, 2:33 PMJordan Breen
06/22/2023, 2:33 PMJulien Godin
06/22/2023, 2:33 PMJulien Godin
06/22/2023, 2:37 PM/etc/puppetlabs/code/environments/production/modules ?Jordan Breen
06/22/2023, 2:38 PMJordan Breen
06/22/2023, 2:38 PMJulien Godin
06/22/2023, 2:39 PMYury Bushmelev
06/22/2023, 2:40 PM/path/to/tarball.tar.gz in the next command should match itJordan Breen
06/22/2023, 2:40 PMJulien Godin
06/22/2023, 2:40 PMJulien Godin
06/22/2023, 2:43 PMJulien Godin
06/22/2023, 2:45 PMJulien Godin
06/22/2023, 2:45 PMJordan Breen
06/22/2023, 2:46 PMJulien Godin
06/22/2023, 3:01 PMJordan Breen
06/22/2023, 3:01 PM