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

Neon CI noreply at kde.org
Sat May 20 21:42:44 BST 2023


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

Changes:


------------------------------------------
[...truncated 31.51 KB...]

Chef Workstation ships with a toolbar application, the Chef Workstation App.
To run this application some additional dependencies must be installed.
Using your platform's package manager to install the 'electron' package is 
the easiest way to meet the dependency requirements.

You can then launch the App by running 'chef-workstation-app'.
The App will then be available in the system tray.

Thank you for installing Chef Workstation!
You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/

+ export NO_CUPBOARD=1
+ NO_CUPBOARD=1
+ git clone --depth 1 https://github.com/pangea-project/pangea-kitchen.git /tmp/kitchen
Cloning into '/tmp/kitchen'...
+ cd /tmp/kitchen
+ git pull --rebase
Already up to date.
Current branch master is up to date.
+ berks install
Resolving cookbook dependencies...
Using apache2 (3.3.1)
Using apt-cacher-ng (0.1.0) from https://github.com/markolson/chef-apt-cacher-ng.git (at master)
Using aptly (3.1.3)
Using apt (7.5.5)
Using ark (6.0.15)
Using chef-unattended-upgrades (1.0.1) from https://github.com/firstbanco/chef-unattended-upgrades (at master)
Using bsw_gpg (0.2.4)
Using chef_gem (0.1.0)
Using cron (1.7.6)
Using compat_resource (12.19.1) from https://github.com/chef-boneyard/compat_resource (at master)
Using docker (10.3.0)
Using fail2ban (7.0.11)
Using dpkg_autostart (0.4.6)
Using filesystem (0.10.6)
Using hostsfile (3.0.1)
Using git (11.2.2)
Using htop (2.0.0)
Using iptables (8.0.0)
Using java (11.1.6)
Using kernel_module (1.0.1)
Using jenkins (9.5.10)
Using line (4.5.7)
Using ohai (5.3.1)
Using lvm (1.6.1)
Using resolvconf (0.4.0)
Using openssh (2.10.9)
Using rvm (0.9.4)
Using ruby_build (1.1.0)
Using swap (2.1.0)
Using seven_zip (4.2.6)
Using sysctl (0.8.1)
Using swap_tuning (0.1.1)
Using system (0.11.3)
Using user (0.7.0)
Using systemd (3.2.5)
Using yum-repoforge (3.0.0)
Using yum-epel (4.5.0)
+ berks vendor
Resolving cookbook dependencies...
Using apache2 (3.3.1)
Using apt-cacher-ng (0.1.0) from https://github.com/markolson/chef-apt-cacher-ng.git (at master)
Using aptly (3.1.3)
Using ark (6.0.15)
Using bsw_gpg (0.2.4)
Using chef-unattended-upgrades (1.0.1) from https://github.com/firstbanco/chef-unattended-upgrades (at master)
Using chef_gem (0.1.0)
Using apt (7.5.5)
Using compat_resource (12.19.1) from https://github.com/chef-boneyard/compat_resource (at master)
Using cron (1.7.6)
Using dpkg_autostart (0.4.6)
Using docker (10.3.0)
Using fail2ban (7.0.11)
Using git (11.2.2)
Using filesystem (0.10.6)
Using htop (2.0.0)
Using hostsfile (3.0.1)
Using java (11.1.6)
Using iptables (8.0.0)
Using jenkins (9.5.10)
Using line (4.5.7)
Using kernel_module (1.0.1)
Using ohai (5.3.1)
Using lvm (1.6.1)
Using openssh (2.10.9)
Using ruby_build (1.1.0)
Using resolvconf (0.4.0)
Using seven_zip (4.2.6)
Using rvm (0.9.4)
Using swap (2.1.0)
Using swap_tuning (0.1.1)
Using system (0.11.3)
Using sysctl (0.8.1)
Using user (0.7.0)
Using systemd (3.2.5)
Using yum-repoforge (3.0.0)
Using yum-epel (4.5.0)
Vendoring apache2 (3.3.1) to /tmp/kitchen/berks-cookbooks/apache2
Vendoring apt (7.5.5) to /tmp/kitchen/berks-cookbooks/apt
Vendoring apt-cacher-ng (0.1.0) to /tmp/kitchen/berks-cookbooks/apt-cacher-ng
Vendoring aptly (3.1.3) to /tmp/kitchen/berks-cookbooks/aptly
Vendoring ark (6.0.15) to /tmp/kitchen/berks-cookbooks/ark
Vendoring bsw_gpg (0.2.4) to /tmp/kitchen/berks-cookbooks/bsw_gpg
Vendoring chef-unattended-upgrades (1.0.1) to /tmp/kitchen/berks-cookbooks/chef-unattended-upgrades
Vendoring chef_gem (0.1.0) to /tmp/kitchen/berks-cookbooks/chef_gem
Vendoring compat_resource (12.19.1) to /tmp/kitchen/berks-cookbooks/compat_resource
Vendoring cron (1.7.6) to /tmp/kitchen/berks-cookbooks/cron
Vendoring docker (10.3.0) to /tmp/kitchen/berks-cookbooks/docker
Vendoring dpkg_autostart (0.4.6) to /tmp/kitchen/berks-cookbooks/dpkg_autostart
Vendoring fail2ban (7.0.11) to /tmp/kitchen/berks-cookbooks/fail2ban
Vendoring filesystem (0.10.6) to /tmp/kitchen/berks-cookbooks/filesystem
Vendoring git (11.2.2) to /tmp/kitchen/berks-cookbooks/git
Vendoring hostsfile (3.0.1) to /tmp/kitchen/berks-cookbooks/hostsfile
Vendoring htop (2.0.0) to /tmp/kitchen/berks-cookbooks/htop
Vendoring iptables (8.0.0) to /tmp/kitchen/berks-cookbooks/iptables
Vendoring java (11.1.6) to /tmp/kitchen/berks-cookbooks/java
Vendoring jenkins (9.5.10) to /tmp/kitchen/berks-cookbooks/jenkins
Vendoring kernel_module (1.0.1) to /tmp/kitchen/berks-cookbooks/kernel_module
Vendoring line (4.5.7) to /tmp/kitchen/berks-cookbooks/line
Vendoring lvm (1.6.1) to /tmp/kitchen/berks-cookbooks/lvm
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)
  - htop (2.0.0)
  - system (0.11.3)
  - fail2ban (7.0.11)
  - jenkins-slave (0.1.0)
  - jenkins-java (0.1.0)
  - openssh (2.10.9)
  - pangea-ruby (0.1.0)
  - systemd (3.2.5)
  - cron (1.7.6)
  - hostsfile (3.0.1)
  - apt (7.5.5)
  - yum-epel (4.5.0)
  - yum-repoforge (3.0.0)
  - ruby_build (1.1.0)
  - iptables (8.0.0)
  - user (0.7.0)
  - docker (10.3.0)
  - kernel_module (1.0.1)
  - 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-20T20:42:43+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-20T20:42:43+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 (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
    
    ================================================================================
    Error executing action `purge` on resource 'apt_package[ubuntu-advantage-tools]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '100'
    ---- Begin output of ["apt-get", "-q", "-y", "purge", "ubuntu-advantage-tools"] ----
    STDOUT: 
    STDERR: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3423 (apt-get)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
    ---- End output of ["apt-get", "-q", "-y", "purge", "ubuntu-advantage-tools"] ----
    Ran ["apt-get", "-q", "-y", "purge", "ubuntu-advantage-tools"] returned 100
    
    Resource Declaration:
    ---------------------
    # In /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/server-common/recipes/default.rb
    
     34: package 'ubuntu-advantage-tools' do
     35:   action :purge
     36: end
     37: 
    
    Compiled Resource:
    ------------------
    # Declared in /tmp/kitchen/.chef/local-mode-cache/cache/cookbooks/server-common/recipes/default.rb:34:in `from_file'
    
    apt_package("ubuntu-advantage-tools") do
      package_name "ubuntu-advantage-tools"
      action [:purge]
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "server-common"
      recipe_name "default"
    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-20T20:42:43+00:00] ERROR: Running exception handlers
Running handlers complete
[2023-05-20T20:42:43+00:00] ERROR: Exception handlers complete
Infra Phase failed. 0 resources updated in 10 seconds
[2023-05-20T20:42:43+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/.chef/local-mode-cache/cache/chef-stacktrace.out
[2023-05-20T20:42:43+00:00] FATAL: ---------------------------------------------------------------------------------------
[2023-05-20T20:42:43+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2023-05-20T20:42:43+00:00] FATAL: ---------------------------------------------------------------------------------------
[2023-05-20T20:42:43+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: apt_package[ubuntu-advantage-tools] (server-common::default line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of ["apt-get", "-q", "-y", "purge", "ubuntu-advantage-tools"] ----
STDOUT: 
STDERR: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3423 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
---- End output of ["apt-get", "-q", "-y", "purge", "ubuntu-advantage-tools"] ----
Ran ["apt-get", "-q", "-y", "purge", "ubuntu-advantage-tools"] returned 100
W, [2023-05-20T20:42:43.512071 #1495226]  WARN -- : deleting droplet
:delete
[]
{:id=>356350847}
/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