[neon-notifications] Build failed in Jenkins: mgmt_digital-ocean #2452
Neon CI
noreply at kde.org
Fri Jul 21 16:08:17 BST 2023
See <https://build.neon.kde.org/job/mgmt_digital-ocean/2452/display/redirect>
Changes:
------------------------------------------
[...truncated 90.54 KB...]
- openssh (2.10.9)
- pangea-ruby (0.1.0)
- htop (2.0.0)
- jenkins-slave (0.1.0)
- systemd (3.2.5)
- apt (7.5.5)
- cron (1.7.6)
- hostsfile (3.0.1)
- yum-epel (4.5.0)
- yum-repoforge (3.0.0)
- iptables (8.0.0)
- ruby_build (1.1.0)
- user (0.7.0)
- kernel_module (1.0.1)
- docker (10.3.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-07-21T15:07:45+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-07-21T15:07:45+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 52 resources
Recipe: server-common::default
* file[/etc/apt/apt.conf.d/99translations] action create
- create new file /etc/apt/apt.conf.d/99translations
- update content in file /etc/apt/apt.conf.d/99translations from none to 2444e7
--- /etc/apt/apt.conf.d/99translations 2023-07-21 15:07:45.709419496 +0000
+++ /etc/apt/apt.conf.d/.chef-99translations20230721-23795-q68xfo 2023-07-21 15:07:45.705419412 +0000
@@ -1 +1,2 @@
+Acquire::Languages "none";
* 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
- create new directory /etc/systemd/journald.conf.d
* 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
- create new file /etc/systemd/journald.conf.d/enable-peristence-without-syslog.conf
- update content in file /etc/systemd/journald.conf.d/enable-peristence-without-syslog.conf from none to 6d880c
--- /etc/systemd/journald.conf.d/enable-peristence-without-syslog.conf 2023-07-21 15:07:45.745420252 +0000
+++ /etc/systemd/journald.conf.d/.chef-enable-peristence-without-syslog20230721-23795-tfdaac.conf 2023-07-21 15:07:45.745420252 +0000
@@ -1 +1,4 @@
+[Journal]
+Storage=persistent
+ForwardToSyslog=no
* apt_package[ubuntu-advantage-tools] action purge
- purge package ubuntu-advantage-tools
* file[/etc/update-motd.d/10-help-text] action delete
- delete file /etc/update-motd.d/10-help-text
* file[/etc/update-motd.d/50-landscape-sysinfo] action delete[2023-07-21T15:07:52+00:00] WARN: File /etc/update-motd.d/50-landscape-sysinfo managed by file[/etc/update-motd.d/50-landscape-sysinfo] is really a symlink (to /usr/share/landscape/landscape-sysinfo.wrapper). Managing the source file instead.
[2023-07-21T15:07:52+00:00] WARN: Disable this warning by setting `manage_symlink_source true` on the resource
[2023-07-21T15:07:52+00:00] WARN: In a future release, 'manage_symlink_source' will not be enabled by default
- delete file /etc/update-motd.d/50-landscape-sysinfo
* file[/etc/update-motd.d/50-motd-news] action delete
- delete file /etc/update-motd.d/50-motd-news
* 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
- delete file /var/lib/man-db/auto-update
* apt_package[crap purge] action purge
- purge package ["plymouth", "packagekit", "accountsservice", "rsyslog", "policykit-1"]
* 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.54.6 of package update-notifier-common
- install version 249.11-0ubuntu3.9 of package systemd-container
* chef_gem[ruby-shadow] action install
================================================================================
Error executing action `install` on resource 'chef_gem[ruby-shadow]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/chef-workstation/embedded/bin/gem install ruby-shadow -q --no-document -v "2.5.1" --source=https://rubygems.org ----
STDOUT: Building native extensions. This could take a while...
STDERR: WARNING: You don't have /root/.chef/gem/ruby/3.1.0/bin in your PATH,
gem executables will not run.
ERROR: Error installing ruby-shadow:
ERROR: Failed to build gem native extension.
current directory: /root/.chef/gem/ruby/3.1.0/gems/ruby-shadow-2.5.1
/opt/chef-workstation/embedded/bin/ruby -I /opt/chef-workstation/embedded/lib/ruby/3.1.0 -r ./siteconf20230721-29243-5vls1l.rb extconf.rb
checking for getspent() in -lshadow... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/chef-workstation/embedded/bin/$(RUBY_BASE_NAME)
--with-shadow-dir
--without-shadow-dir
--with-shadow-include
--without-shadow-include=${shadow-dir}/include
--with-shadow-lib
--without-shadow-lib=${shadow-dir}/lib
--with-shadowlib
--without-shadowlib
/opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:509:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:602:in `try_link0'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:620:in `try_link'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:841:in `try_func'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1076:in `block in have_library'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1018:in `block in checking_for'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:362:in `block (2 levels) in postpone'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:332:in `open'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:362:in `block in postpone'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:332:in `open'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:358:in `postpone'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1017:in `checking_for'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1071:in `have_library'
from extconf.rb:32:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/root/.chef/gem/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ruby-shadow-2.5.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /root/.chef/gem/ruby/3.1.0/gems/ruby-shadow-2.5.1 for inspection.
Results logged to /root/.chef/gem/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ruby-shadow-2.5.1/gem_make.out
---- End output of /opt/chef-workstation/embedded/bin/gem install ruby-shadow -q --no-document -v "2.5.1" --source=https://rubygems.org ----
Ran /opt/chef-workstation/embedded/bin/gem install ruby-shadow -q --no-document -v "2.5.1" --source=https://rubygems.org returned 1
Resource Declaration:
---------------------
# In /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/server-common/recipes/default.rb
80: chef_gem 'ruby-shadow' do
81: action :install
82: end
Compiled Resource:
------------------
# Declared in /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/server-common/recipes/default.rb:80:in `from_file'
chef_gem("ruby-shadow") do
package_name "ruby-shadow"
action [:install]
default_guard_interpreter :default
declared_type :chef_gem
cookbook_name "server-common"
recipe_name "default"
gem_binary "/opt/chef-workstation/embedded/bin/gem"
end
System Info:
------------
chef_version=18.2.7
platform=ubuntu
platform_version=22.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
* service[systemd-journald-enable-peristence] action restart
- restart service service[systemd-journald-enable-peristence]
Running handlers:
[2023-07-21T15:08:16+00:00] ERROR: Running exception handlers
Running handlers complete
[2023-07-21T15:08:16+00:00] ERROR: Exception handlers complete
Infra Phase failed. 13 resources updated in 37 seconds
[2023-07-21T15:08:16+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/.chef/local-mode-cache/cache/chef-stacktrace.out
[2023-07-21T15:08:16+00:00] FATAL: ---------------------------------------------------------------------------------------
[2023-07-21T15:08:16+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2023-07-21T15:08:16+00:00] FATAL: ---------------------------------------------------------------------------------------
[2023-07-21T15:08:16+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: chef_gem[ruby-shadow] (server-common::default line 80) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/chef-workstation/embedded/bin/gem install ruby-shadow -q --no-document -v "2.5.1" --source=https://rubygems.org ----
STDOUT: Building native extensions. This could take a while...
STDERR: WARNING: You don't have /root/.chef/gem/ruby/3.1.0/bin in your PATH,
gem executables will not run.
ERROR: Error installing ruby-shadow:
ERROR: Failed to build gem native extension.
current directory: /root/.chef/gem/ruby/3.1.0/gems/ruby-shadow-2.5.1
/opt/chef-workstation/embedded/bin/ruby -I /opt/chef-workstation/embedded/lib/ruby/3.1.0 -r ./siteconf20230721-29243-5vls1l.rb extconf.rb
checking for getspent() in -lshadow... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/chef-workstation/embedded/bin/$(RUBY_BASE_NAME)
--with-shadow-dir
--without-shadow-dir
--with-shadow-include
--without-shadow-include=${shadow-dir}/include
--with-shadow-lib
--without-shadow-lib=${shadow-dir}/lib
--with-shadowlib
--without-shadowlib
/opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:509:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:602:in `try_link0'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:620:in `try_link'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:841:in `try_func'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1076:in `block in have_library'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1018:in `block in checking_for'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:362:in `block (2 levels) in postpone'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:332:in `open'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:362:in `block in postpone'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:332:in `open'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:358:in `postpone'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1017:in `checking_for'
from /opt/chef-workstation/embedded/lib/ruby/3.1.0/mkmf.rb:1071:in `have_library'
from extconf.rb:32:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/root/.chef/gem/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ruby-shadow-2.5.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /root/.chef/gem/ruby/3.1.0/gems/ruby-shadow-2.5.1 for inspection.
Results logged to /root/.chef/gem/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ruby-shadow-2.5.1/gem_make.out
---- End output of /opt/chef-workstation/embedded/bin/gem install ruby-shadow -q --no-document -v "2.5.1" --source=https://rubygems.org ----
Ran /opt/chef-workstation/embedded/bin/gem install ruby-shadow -q --no-document -v "2.5.1" --source=https://rubygems.org returned 1
[1;33mW, [2023-07-21T15:08:16.743914 #1393419] WARN -- : deleting droplet
[0;0m:delete
[]
{:id=>366325941}
/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