[neon-notifications] Build failed in Jenkins: mgmt_digital-ocean #2324
Neon CI
noreply at kde.org
Tue May 2 13:16:00 BST 2023
See <https://build.neon.kde.org/job/mgmt_digital-ocean/2324/display/redirect>
Changes:
------------------------------------------
[...truncated 35.87 KB...]
Vendoring ohai (5.3.1) to /tmp/kitchen/berks-cookbooks/ohai
Vendoring openssh (2.10.9) to /tmp/kitchen/berks-cookbooks/openssh
Vendoring resolvconf (0.4.0) to /tmp/kitchen/berks-cookbooks/resolvconf
Vendoring ruby_build (1.1.0) to /tmp/kitchen/berks-cookbooks/ruby_build
Vendoring rvm (0.9.4) to /tmp/kitchen/berks-cookbooks/rvm
Vendoring seven_zip (4.2.6) to /tmp/kitchen/berks-cookbooks/seven_zip
Vendoring swap (2.1.0) to /tmp/kitchen/berks-cookbooks/swap
Vendoring swap_tuning (0.1.1) to /tmp/kitchen/berks-cookbooks/swap_tuning
Vendoring sysctl (0.8.1) to /tmp/kitchen/berks-cookbooks/sysctl
Vendoring system (0.11.3) to /tmp/kitchen/berks-cookbooks/system
Vendoring systemd (3.2.5) to /tmp/kitchen/berks-cookbooks/systemd
Vendoring user (0.7.0) to /tmp/kitchen/berks-cookbooks/user
Vendoring yum-epel (4.5.0) to /tmp/kitchen/berks-cookbooks/yum-epel
Vendoring yum-repoforge (3.0.0) to /tmp/kitchen/berks-cookbooks/yum-repoforge
+ chef-client --local-mode --enable-reporting --chef-license accept-silent
Chef Infra Client, version 18.2.7
Patents: https://www.chef.io/patents
Infra Phase starting
Resolving cookbooks for run list: ["server-common", "system::timezone", "fail2ban", "htop", "openssh", "jenkins-java", "jenkins-slave", "pangea-ruby::install", "pangea-ruby::user_home_gems"]
Synchronizing cookbooks:
- server-common (0.1.0)
- system (0.11.3)
- jenkins-slave (0.1.0)
- jenkins-java (0.1.0)
- openssh (2.10.9)
- htop (2.0.0)
- pangea-ruby (0.1.0)
- fail2ban (7.0.11)
- cron (1.7.6)
- systemd (3.2.5)
- apt (7.5.5)
- yum-repoforge (3.0.0)
- hostsfile (3.0.1)
- yum-epel (4.5.0)
- iptables (8.0.0)
- kernel_module (1.0.1)
- user (0.7.0)
- docker (10.3.0)
- ruby_build (1.1.0)
- git (11.2.2)
- ark (6.0.15)
- seven_zip (4.2.6)
Installing cookbook gem dependencies:
Compiling cookbooks...
Loading Chef InSpec profile files:
Loading Chef InSpec input files:
Loading Chef InSpec waiver files:
[2023-05-02T12:15:41+00:00] WARN: Resource cron_d built into Chef Infra Client is being overridden by the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
[2023-05-02T12:15:41+00:00] WARN: Resource kernel_module built into Chef Infra Client is being overridden by the resource from a cookbook. Please upgrade your cookbook or remove the cookbook from your run_list.
Converging 51 resources
Recipe: server-common::default
* file[/etc/apt/apt.conf.d/99translations] action create (up to date)
* service[systemd-journald-enable-peristence] action nothing (skipped due to action :nothing)
* systemd_journald[enable-peristence-without-syslog] action create
* directory[/etc/systemd/journald.conf.d] action create (up to date)
* systemd_unit[journald-enable-peristence-without-syslog] action nothing (skipped due to action :nothing)
* file[/etc/systemd/journald.conf.d/enable-peristence-without-syslog.conf] action create (up to date)
(up to date)
* apt_package[ubuntu-advantage-tools] action purge
- purge package ubuntu-advantage-tools
* file[/etc/update-motd.d/10-help-text] action delete (up to date)
* file[/etc/update-motd.d/50-landscape-sysinfo] action delete (up to date)
* file[/etc/update-motd.d/50-motd-news] action delete (up to date)
* file[/etc/update-motd.d/51-cloudguest] action delete (up to date)
* execute[disable-man-db-auto-update] action run
- execute echo "man-db man-db/auto-update boolean false" | debconf-set-selections
* file[/var/lib/man-db/auto-update] action delete (up to date)
* apt_package[crap purge] action purge (up to date)
* apt_update[update_for_tzdata] action periodic (up to date)
* apt_package[tzdata, gnupg2, update-notifier-common, systemd-container] action install
- install version 3.192.30.17 of package update-notifier-common
Recipe: cron::default
* apt_package[cron] action install
- install version 3.0pl1-136ubuntu1 of package cron
* service[cron] action enable (up to date)
* service[cron] action start (up to date)
Recipe: system::timezone
* system_timezone[Etc/UTC] action set
* apt_package[cron] action install (up to date)
* service[cron] action enable (up to date)
* service[cron] action start (up to date)
* log[tz-info (before set): +0000 UTC] action write (skipped due to only_if)
* apt_package[tzdata] action install (up to date)
* bash[dpkg-reconfigure tzdata] action nothing (skipped due to action :nothing)
* file[/etc/timezone] action create (up to date)
* execute[timedatectl set-timezone Etc/UTC] action run (skipped due to not_if)
* link[/etc/localtime] action create (skipped due to not_if)
* ruby_block[verify newly-linked timezone] action nothing (skipped due to action :nothing)
(up to date)
Recipe: fail2ban::default
* apt_package[fail2ban] action install (up to date)
* ohai[reload package list] action nothing (skipped due to action :nothing)
* template[/etc/fail2ban/fail2ban.conf] action create (up to date)
* template[/etc/fail2ban/jail.local] action create (up to date)
* file[/etc/fail2ban/jail.d/defaults-debian.conf] action delete (up to date)
* file[/etc/fail2ban/jail.d/00-firewalld.conf] action delete (skipped due to only_if)
* service[fail2ban] action enable (up to date)
Recipe: htop::default
* apt_package[htop] action install (up to date)
Recipe: openssh::default
* apt_package[openssh-client, openssh-server] action install (up to date)
* template[/etc/ssh/ssh_config] action create (up to date)
* template[sshd_ca_keys_file] action create (up to date)
* template[sshd_revoked_keys_file] action create (up to date)
* directory[/run/sshd] action create (up to date)
* template[/etc/ssh/sshd_config] action create (up to date)
* service[ssh] action enable (up to date)
* service[ssh] action start (up to date)
Recipe: jenkins-java::default
* apt_package[jenkins-java purge] action purge (up to date)
* apt_package[jenkins-java install] action install (up to date)
Recipe: jenkins-slave::default
* apt_repository[ubuntu-updates] action add (skipped due to only_if)
* user_account[jenkins-slave] action create
* directory[/home/jenkins-slave parent directory] action nothing (skipped due to action :nothing)
* directory[/home/jenkins-slave parent directory] action create (up to date)
* linux_user[jenkins-slave] action nothing (skipped due to action :nothing)
* linux_user[jenkins-slave] action create
* You must have ruby-shadow installed for password support!
================================================================================
Error executing action `create` on resource 'linux_user[jenkins-slave]'
================================================================================
Chef::Exceptions::MissingLibrary
--------------------------------
You must have ruby-shadow installed for password support!
Cookbook Trace: (most recent call first)
----------------------------------------
/tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/user/providers/account.rb:155:in `user_resource'
/tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/user/providers/account.rb:40:in `block in class_from_file'
Resource Declaration:
---------------------
# In /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/user/providers/account.rb
143: r = user new_resource.username do
144: comment new_resource.comment if new_resource.comment
145: uid new_resource.uid if new_resource.uid
146: gid new_resource.gid if new_resource.gid
147: home my_home if my_home
148: shell my_shell if my_shell
149: password new_resource.password if new_resource.password
150: system new_resource.system_user # ~FC048: Prefer Mixlib::ShellOut
151: non_unique non_unique
152: manage_home true
153: action :nothing
154: end
155: r.run_action(exec_action)
Compiled Resource:
------------------
# Declared in /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/user/providers/account.rb:143:in `user_resource'
linux_user("jenkins-slave") do
action [:nothing]
default_guard_interpreter :default
declared_type :user
cookbook_name "jenkins-slave"
recipe_name "default"
uid 100000
home "/home/jenkins-slave"
shell "/bin/bash"
manage_home true
username "jenkins-slave"
end
System Info:
------------
chef_version=18.2.7
platform=ubuntu
platform_version=20.04
ruby=ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
program_name=/usr/bin/chef-client
executable=/opt/chef-workstation/bin/chef-client
================================================================================
Error executing action `create` on resource 'user_account[jenkins-slave]'
================================================================================
Chef::Exceptions::MissingLibrary
--------------------------------
linux_user[jenkins-slave] (jenkins-slave::default line 143) had an error: Chef::Exceptions::MissingLibrary: You must have ruby-shadow installed for password support!
Cookbook Trace: (most recent call first)
----------------------------------------
/tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/user/providers/account.rb:155:in `user_resource'
/tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/user/providers/account.rb:40:in `block in class_from_file'
Resource Declaration:
---------------------
# In /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/jenkins-slave/recipes/default.rb
21: user_account 'jenkins-slave' do
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nJhs8fOdUiWuJfYEFkdmSK4xLVHBy48HCHm1YhoJIpdCgEJRb7DJzh9oM+cT9rt2g+1ESCJJs3FNLVjsE9r3As1sPbkPiwhNwJCVqY7PvaEUF2nDqtUegW9KGEP7TJ7HKEikzVwyO/faloWdD/iYdBH03h92Qgcv0+5EbQFvG77p7z43n4S89dKQOeOTJyVTAveFc88wNA5DbInx9WS/aMVqHZUI/+rLXniqpdiq5Jglbopw1W+MEfqhNOizQYc1X3HGS6Jcy9rzMHLfk1unvZyJu+ZwsMfre3TMzyct3ViSNuduK1/ky/7aqPpkFirs2vFB8MZAGLnnal2NcpYNHF2oML9V+FjSOsfLMfcWJUqF3yAPomvjRaivtJep+5MoBnnvND1uoMh6RKf2hmFbf9ZOGIXi/8vhUfz+AkLiSeLPq4qLivO7uPa2rV3m6tWm3YFXuQ== neon-builders at 20190528',
26: ]
27: home slave_home
28: ssh_keygen false
29: create_group false
30: uid 100_000
31: end
32:
Compiled Resource:
------------------
# Declared in /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/jenkins-slave/recipes/default.rb:21:in `from_file'
user_account("jenkins-slave") do
action :create
default_guard_interpreter :default
declared_type :user_account
cookbook_name "jenkins-slave"
recipe_name "default"
ssh_keys ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiLBt3u8Ldo3/bwIYI3t4QZ8yW7lMdWLy92gOxk0er5Rb1baKvubFIfTRL18I4FCvYJyzchCGZhxFfCkO5FiKNhOlKWbPJRKgitj1y6t02Jlyw0Z+zQXKe1srpwwQa2iN1LuTINcRoun/+Ouq52uQeRaye9zV3ikT+53/GcsfJTgxkJN2IOpIaLdEA3epuqnStpXdGYvAjycUngbVJASHWXsZUCPtZK6acxoxHvFPdroEVs+rB3HdWFUoaFECRJ8LQo21p7qlFIeC03scUmYs2cDaBne8h0NhA9q/0o+HQqaf2zam8fJiMqKo3eTYUt6jRStzxT+tpg3zyDlKsipL/ jenkins at drax", "ssh-rsa AAAAB3NzaC1yc2E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LivO7uPa2rV3m6tWm3YFXuQ== neon-builders at 20190528"]
home "/home/jenkins-slave"
uid 100000
username "jenkins-slave"
end
System Info:
------------
chef_version=18.2.7
platform=ubuntu
platform_version=20.04
ruby=ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
program_name=/usr/bin/chef-client
executable=/opt/chef-workstation/bin/chef-client
Running handlers:
[2023-05-02T12:16:00+00:00] ERROR: Running exception handlers
Running handlers complete
[2023-05-02T12:16:00+00:00] ERROR: Exception handlers complete
Infra Phase failed. 4 resources updated in 26 seconds
[2023-05-02T12:16:00+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/.chef/local-mode-cache/cache/chef-stacktrace.out
[2023-05-02T12:16:00+00:00] FATAL: ---------------------------------------------------------------------------------------
[2023-05-02T12:16:00+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2023-05-02T12:16:00+00:00] FATAL: ---------------------------------------------------------------------------------------
[2023-05-02T12:16:00+00:00] FATAL: Chef::Exceptions::MissingLibrary: user_account[jenkins-slave] (jenkins-slave::default line 21) had an error: Chef::Exceptions::MissingLibrary: linux_user[jenkins-slave] (jenkins-slave::default line 143) had an error: Chef::Exceptions::MissingLibrary: You must have ruby-shadow installed for password support!
[1;33mW, [2023-05-02T12:16:00.069477 #2494379] WARN -- : deleting droplet
[0;0m:delete
[]
{:id=>353372270}
/home/neonjenkins/tooling/mgmt/digital_ocean.rb:100:in `<main>': unhandled exception
Build step 'Execute shell' marked build as failure
More information about the neon-notifications
mailing list