[neon-notifications] Build failed in Jenkins: mgmt_digital-ocean #2833

Neon CI noreply at kde.org
Tue May 28 15:22:34 BST 2024


See <https://build.neon.kde.org/job/mgmt_digital-ocean/2833/display/redirect>

Changes:


------------------------------------------
[...truncated 135.75 KiB...]
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.3.0
Patents: https://www.chef.io/patents
Infra Phase starting
opening connection to 169.254.169.254:80...
opened
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)
  - fail2ban (7.0.11)
  - htop (2.0.0)
  - jenkins-java (0.1.0)
  - openssh (2.10.9)
  - jenkins-slave (0.1.0)
  - pangea-ruby (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)
  - docker (10.3.0)
  - git (11.2.2)
  - kernel_module (1.0.1)
  - ark (6.0.15)
  - seven_zip (4.2.6)
Installing cookbook gem dependencies:

Running handlers:
[2024-05-28T14:22:31+00:00] ERROR: Running exception handlers
Running handlers complete
[2024-05-28T14:22:31+00:00] ERROR: Exception handlers complete
Infra Phase failed. 0 resources updated in 07 seconds
[2024-05-28T14:22:32+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/.chef/local-mode-cache/cache/chef-stacktrace.out
[2024-05-28T14:22:32+00:00] FATAL: ---------------------------------------------------------------------------------------
[2024-05-28T14:22:32+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2024-05-28T14:22:32+00:00] FATAL: ---------------------------------------------------------------------------------------
[2024-05-28T14:22:32+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '5'
---- Begin output of ["bundle", "install"] ----
STDOUT: Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Using bundler 2.3.7
Fetching strscan 3.1.0
Fetching excon 0.110.0
Installing strscan 3.1.0 with native extensions
Installing excon 0.110.0
Using multi_json 1.15.0
Using docker-api 2.2.0
STDERR: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/strscan-3.1.0/ext/strscan
/opt/chef-workstation/embedded/bin/ruby -I
/opt/chef-workstation/embedded/lib/ruby/3.1.0 -r
./siteconf20240528-27885-k5cz6a.rb extconf.rb
checking for onig_region_memsize() in ruby.h... *** 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)
/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:1130:in `block in
have_func'
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:1129:in `have_func'
	from extconf.rb:5:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can
be found here:

/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/strscan-3.1.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/strscan-3.1.0 for
inspection.
Results logged to
/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/strscan-3.1.0/gem_make.out

/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in
`run'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in
`block in build'
  /opt/chef-workstation/embedded/lib/ruby/3.1.0/tempfile.rb:317:in `open'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in
`build'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in
`build_extension'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in
`block in build_extensions'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in
`each'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in
`build_extensions'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/installer.rb:853:in
`build_extensions'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/rubygems_gem_installer.rb:71:in
`build_extensions'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/rubygems_gem_installer.rb:28:in
`install'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/source/rubygems.rb:204:in
`install'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/installer/gem_installer.rb:54:in
`install'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/installer/parallel_installer.rb:186:in
`do_install'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/worker.rb:62:in
`apply_func'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/worker.rb:57:in `block
in process_queue'
  /opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/worker.rb:54:in `loop'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/worker.rb:54:in
`process_queue'
/opt/chef-workstation/embedded/lib/ruby/3.1.0/bundler/worker.rb:91:in `block
(2 levels) in create_threads'

An error occurred while installing strscan (3.1.0), and Bundler cannot continue.

In Gemfile:
  dbus-systemd was resolved to 1.1.2, which depends on
    ruby-dbus was resolved to 0.23.1, which depends on
      rexml was resolved to 3.2.8, which depends on
        strscan
---- End output of ["bundle", "install"] ----
Ran ["bundle", "install"] returned 5
May 28 14:20:30 jenkins-slave-deploy systemd-journald[352]: Received SIGTERM from PID 1 (systemd).
May 28 14:20:30 jenkins-slave-deploy systemd[1]: Stopping Journal Service...
May 28 14:20:30 jenkins-slave-deploy systemd[1]: systemd-journald.service: Deactivated successfully.
May 28 14:20:30 jenkins-slave-deploy systemd[1]: Stopped Journal Service.
May 28 14:20:30 jenkins-slave-deploy systemd[1]: Starting Journal Service...
May 28 14:20:30 jenkins-slave-deploy systemd-journald[16821]: Journal started
May 28 14:20:30 jenkins-slave-deploy systemd-journald[16821]: System Journal (/var/log/journal/422d51e91e88d2d46c70dcd76655e7ae) is 8.0M, max 2.4G, 2.3G free.
May 28 14:20:30 jenkins-slave-deploy systemd[1]: Started Journal Service.
May 28 14:20:31 jenkins-slave-deploy dbus-daemon[719]: [system] Reloaded configuration
May 28 14:20:32 jenkins-slave-deploy systemd[1]: Reloading.
May 28 14:20:32 jenkins-slave-deploy systemd[1]: Condition check resulted in Process error reports when automatic reporting is enabled (file watch) being skipped.
May 28 14:20:32 jenkins-slave-deploy systemd[1]: Condition check resulted in Process error reports when automatic reporting is enabled (timer based) being skipped.
May 28 14:20:32 jenkins-slave-deploy systemd[1]: Condition check resulted in Unix socket for apport crash forwarding being skipped.
May 28 14:20:32 jenkins-slave-deploy systemd[1]: Reloading.
May 28 14:20:33 jenkins-slave-deploy systemd[1]: Stopping LSB: automatic crash report generation...
May 28 14:20:33 jenkins-slave-deploy apport[16978]:  * Stopping automatic crash report generation: apport
May 28 14:20:33 jenkins-slave-deploy apport[16978]:    ...done.
May 28 14:20:33 jenkins-slave-deploy systemd[1]: apport.service: Deactivated successfully.
May 28 14:20:33 jenkins-slave-deploy systemd[1]: Stopped LSB: automatic crash report generation.
May 28 14:20:33 jenkins-slave-deploy systemd[1]: Starting LSB: automatic crash report generation...
May 28 14:20:33 jenkins-slave-deploy apport[16984]:  * Starting automatic crash report generation: apport
May 28 14:20:33 jenkins-slave-deploy apport[16984]:    ...done.
May 28 14:20:33 jenkins-slave-deploy systemd[1]: Started LSB: automatic crash report generation.
May 28 14:20:35 jenkins-slave-deploy systemd[1]: Reloading.
May 28 14:20:35 jenkins-slave-deploy systemd[1]: Stopping Network Time Synchronization...
May 28 14:20:35 jenkins-slave-deploy systemd[1]: systemd-timesyncd.service: Deactivated successfully.
May 28 14:20:35 jenkins-slave-deploy systemd[1]: Stopped Network Time Synchronization.
May 28 14:20:35 jenkins-slave-deploy systemd[1]: Starting Network Time Synchronization...
May 28 14:20:35 jenkins-slave-deploy systemd[1]: Started Network Time Synchronization.
May 28 14:20:35 jenkins-slave-deploy systemd-timesyncd[17717]: Initial synchronization to time server 185.125.190.57:123 (ntp.ubuntu.com).
May 28 14:20:39 jenkins-slave-deploy sshd[16770]: Connection closed by 167.99.119.168 port 47582 [preauth]
May 28 14:20:41 jenkins-slave-deploy multipathd[393]: exit (signal)
May 28 14:20:41 jenkins-slave-deploy multipathd[393]: --------shut down-------
May 28 14:20:41 jenkins-slave-deploy systemd[1]: Stopping Device-Mapper Multipath Device Controller...
May 28 14:20:41 jenkins-slave-deploy systemd[1]: multipathd.service: Deactivated successfully.
May 28 14:20:41 jenkins-slave-deploy systemd[1]: Stopped Device-Mapper Multipath Device Controller.
May 28 14:20:41 jenkins-slave-deploy systemd[1]: Reloading.
May 28 14:20:41 jenkins-slave-deploy systemd[1]: Starting Device-Mapper Multipath Device Controller...
May 28 14:20:41 jenkins-slave-deploy systemd[1]: multipathd.socket: Socket service multipathd.service already active, refusing.
May 28 14:20:41 jenkins-slave-deploy systemd[1]: Failed to listen on multipathd control socket.
May 28 14:20:41 jenkins-slave-deploy multipathd[18025]: --------start up--------
May 28 14:20:41 jenkins-slave-deploy multipathd[18025]: read /etc/multipath.conf
May 28 14:20:41 jenkins-slave-deploy multipathd[18025]: path checkers start up
May 28 14:20:41 jenkins-slave-deploy systemd[1]: Started Device-Mapper Multipath Device Controller.
May 28 14:20:42 jenkins-slave-deploy systemd[1]: Finished Wait for Network to be Configured.
May 28 14:20:45 jenkins-slave-deploy dbus-daemon[719]: [system] Reloaded configuration
May 28 14:20:45 jenkins-slave-deploy rsyslogd[729]: [origin software="rsyslogd" swVersion="8.2112.0" x-pid="729" x-info="https://www.rsyslog.com"] exiting on signal 15.
May 28 14:20:45 jenkins-slave-deploy systemd[1]: Stopping System Logging Service...
May 28 14:20:45 jenkins-slave-deploy systemd[1]: rsyslog.service: Deactivated successfully.
May 28 14:20:45 jenkins-slave-deploy systemd[1]: Stopped System Logging Service.
May 28 14:20:45 jenkins-slave-deploy systemd[1]: Starting System Logging Service...
May 28 14:20:45 jenkins-slave-deploy rsyslogd[18139]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.2112.0]
May 28 14:20:45 jenkins-slave-deploy rsyslogd[18139]: rsyslogd's groupid changed to 111
May 28 14:20:45 jenkins-slave-deploy rsyslogd[18139]: rsyslogd's userid changed to 104
May 28 14:20:45 jenkins-slave-deploy rsyslogd[18139]: [origin software="rsyslogd" swVersion="8.2112.0" x-pid="18139" x-info="https://www.rsyslog.com"] start
May 28 14:20:45 jenkins-slave-deploy systemd[1]: Started System Logging Service.
May 28 14:21:32 jenkins-slave-deploy sshd[27656]: Invalid user fansheng from 164.92.218.252 port 58924
May 28 14:21:32 jenkins-slave-deploy sshd[27656]: Connection closed by invalid user fansheng 164.92.218.252 port 58924 [preauth]
May 28 14:22:25 jenkins-slave-deploy dbus-daemon[719]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.42' (uid=0 pid=27866 comm="/usr/bin/hostnamectl " label="unconfined")
May 28 14:22:25 jenkins-slave-deploy systemd[1]: Starting Hostname Service...
May 28 14:22:25 jenkins-slave-deploy dbus-daemon[719]: [system] Successfully activated service 'org.freedesktop.hostname1'
May 28 14:22:25 jenkins-slave-deploy systemd[1]: Started Hostname Service.
May 28 14:22:32 jenkins-slave-deploy sshd[1042]: Received disconnect from 138.201.132.177 port 42690:11: disconnected by user
May 28 14:22:32 jenkins-slave-deploy sshd[1042]: Disconnected from user root 138.201.132.177 port 42690
May 28 14:22:32 jenkins-slave-deploy sshd[1042]: pam_unix(sshd:session): session closed for user root
May 28 14:22:32 jenkins-slave-deploy systemd[1]: session-4.scope: Deactivated successfully.
May 28 14:22:32 jenkins-slave-deploy systemd[1]: session-4.scope: Consumed 2min 52.370s CPU time.
May 28 14:22:32 jenkins-slave-deploy systemd-logind[733]: Session 4 logged out. Waiting for processes to exit.
May 28 14:22:32 jenkins-slave-deploy systemd-logind[733]: Removed session 4.
May 28 14:22:33 jenkins-slave-deploy sshd[27896]: Accepted publickey for root from 138.201.132.177 port 58028 ssh2: RSA SHA256:XnNbGFp5llM4N/Hc1aD4VA9d8tc8IawL9bnSXRmFsAE
May 28 14:22:33 jenkins-slave-deploy sshd[27896]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
May 28 14:22:33 jenkins-slave-deploy systemd-logind[733]: New session 5 of user root.
May 28 14:22:33 jenkins-slave-deploy systemd[1]: Started Session 5 of User root.
W, [2024-05-28T14:22:34.161459 #4077554]  WARN -- : deleting droplet
:delete
[]
{:id=>421826243}
/home/neonjenkins/tooling/mgmt/digital_ocean.rb:103:in `<main>': unhandled exception
Build step 'Execute shell' marked build as failure


More information about the neon-notifications mailing list