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

Neon CI noreply at kde.org
Mon May 15 15:30:05 BST 2023


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

Changes:


------------------------------------------
[...truncated 2.33 MB...]
{ubuntu-jammy} .
{ubuntu-jammy} .
{ubuntu-jammy} 
{ubuntu-jammy} --- ERROR REPORT TEMPLATE -------------------------------------------------------

```
ArgumentError: undefined class/module YAML::
  /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1263:in `load'
  /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1263:in `_load'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler.rb:563:in `load'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler.rb:563:in `load_marshal'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/fetcher.rb:109:in `fetch_spec'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/remote_specification.rb:108:in `_remote_specification'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/remote_specification.rb:114:in `method_missing'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/remote_specification.rb:85:in `dependencies'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/gem_helpers.rb:102:in `same_deps'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/gem_helpers.rb:51:in `block in select_best_platform_match'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/gem_helpers.rb:51:in `take_while'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/gem_helpers.rb:51:in `select_best_platform_match'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:140:in `block (2 levels) in search_for'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver/spec_group.rb:10:in `create_for'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:148:in `block in search_for'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:135:in `each'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:135:in `reduce'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:135:in `search_for'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:212:in `block in sort_dependencies'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:203:in `each'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:203:in `sort_by'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:203:in `sort_dependencies'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:744:in `require_nested_dependencies_for'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:727:in `activate_new_spec'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:254:in `process_topmost_state'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:182:in `resolve'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb:43:in `resolve'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:49:in `start'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/resolver.rb:23:in `resolve'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/definition.rb:269:in `resolve'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/definition.rb:180:in `resolve_remotely!'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/installer.rb:280:in `resolve_if_needed'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/installer.rb:82:in `block in run'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/process_lock.rb:12:in `block in lock'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/process_lock.rb:9:in `open'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/process_lock.rb:9:in `lock'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/installer.rb:71:in `run'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/installer.rb:23:in `install'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/cli/install.rb:62:in `run'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/cli.rb:255:in `block in install'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/settings.rb:131:in `temporary'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/cli.rb:254:in `install'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/cli.rb:31:in `dispatch'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/cli.rb:25:in `start'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/exe/bundle:48:in `block in <top (required)>'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
  /var/lib/gems/3.0.0/gems/bundler-2.3.11/exe/bundle:36:in `<top (required)>'
  /usr/local/bin/bundle:25:in `load'
  /usr/local/bin/bundle:25:in `<main>'
```

## Environment

```
Bundler       2.3.11
  Platforms   ruby, x86_64-linux
Ruby          3.0.2p107 (2021-07-07 revision 0db68f023372b634603c74fca94588b457be084c) [x86_64-linux]
  Full Path   /usr/bin/ruby3.0
  Config Dir  /etc
RubyGems      3.3.5
  Gem Home    /var/lib/gems/3.0.0
  Gem Path    /root/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0
  User Home   /root
  User Path   /root/.local/share/gem/ruby/3.0.0
  Bin Dir     /usr/local/bin
OpenSSL       
  Compiled    OpenSSL 3.0.2 15 Mar 2022
  Loaded      OpenSSL 3.0.2 15 Mar 2022
  Cert File   /usr/lib/ssl/cert.pem
  Cert Dir    /usr/lib/ssl/certs
Tools         
  Git         2.34.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed
```

## Bundler Build Metadata

```
Built At          2022-04-07
Git SHA           9b6c5a801a
Released Version  true
```

## Bundler settings

```
jobs
  Set for your local app (/tooling-pending/.bundle/config): 1
```

## Gemfile

### Gemfile

```ruby
# frozen_string_literal: true
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: none

source 'https://gem.cache.pangea.pub'

# These are built by our geminabox tech
# https://github.com/pangea-project/pangea-geminabox
# and pushed into our gem cache for consumption. See Gemfile.git for info.
# These are actual gems in our cache, they mustn't have a git: argument.
gem 'releaseme' # Not released as gem at all
gem 'jenkins_junit_builder' # Forked because upstream depends on an ancient nokogiri that doesn't work with ruby3

gem 'activesupport', '>= 6.0.3.1'
gem 'aptly-api', '~> 0.10'
gem 'bencode' # for torrent generation
gem 'concurrent-ruby'
gem 'deep_merge', '~> 1.0'
gem 'docker-api', '~> 2.0' # Container.refresh! only introduced in 1.23
gem 'faraday' # implicit dep but also explicitly used in e.g. torrent tech
gem 'gir_ffi', '0.14.1'
gem 'git'
gem 'gitlab'
gem 'htmlentities'
gem 'insensitive_hash'
gem 'jenkins_api_client'
gem 'logger-colors'
gem 'net-ftp-list'
gem 'net-sftp'
gem 'net-ssh', '>= 6.1'
gem 'net-ssh-gateway'
gem 'nokogiri'
gem 'octokit'
gem 'rake', '~> 13.0'
gem 'rugged'
gem 'sigdump'
gem 'tty-command'
gem 'tty-pager'
gem 'tty-prompt'
gem 'tty-spinner'
gem 'webrick'
gem 'ed25519'
gem 'bcrypt_pbkdf'

# Git URI management
gem 'git_clone_url', '~> 2.0'
gem 'uri-ssh_git', '~> 2.0'

# Test logging as junit (also used at runtime for linting)
gem 'ci_reporter_minitest'
gem 'ci_reporter_test_unit'
gem 'minitest'
gem 'test-unit', '~> 3.0'

# Hack. jenkins_api_client depends on mixlib-shellout which depends on
# chef-utils and that has excessive version requirements for ruby because chef
# has an entire binary distro bundle that allows them to pick whichever ruby.
# Instead lock chef-utils at a low enough version that it will work for all our
# systems (currently that is at least bionic with ruby 2.5).
# jenkins_api_client literally just uses it as a glorified system() so the
# entire dep is incredibly questionable.
# Anyway, this lock should be fine to keep so long as the jenkins api client
# doesn't go belly up.
gem 'chef-utils', '<= 13'
# We are also locking this for now becuase this is a working version and
# the dep that pulls in chef-utils. This way we can ensure the version
# combination will work.
# NOTE: when either of the constraints conflict with another constraint
#   of one of the gems this needs revisiting. Either we can move to a newer
#   version because bionic is no longer used on any server or we need a more
#   creative solution.
gem 'mixlib-shellout', '~> 3.1.0'

group :development, :test do
  gem 'droplet_kit'
  gem 'equivalent-xml'
  gem 'mocha', '~> 1.9'
  gem 'parallel_tests'
  gem 'rake-notes'
  gem 'rubocop', '~> 1.10.0'
  gem 'rubocop-checkstyle_formatter'
  gem 'ruby-progressbar'
  gem 'simplecov'
  gem 'simplecov-rcov'
  gem 'terminal-table'
  gem 'tty-logger'
  gem 'vcr', '>= 3.0.1'
  gem 'webmock'
end
```

### Gemfile.lock

```
<No /tooling-pending/Gemfile.lock found>
```

--- TEMPLATE END ----------------------------------------------------------------

Unfortunately, an unexpected error occurred, and Bundler cannot continue.
{ubuntu-jammy} 
First, try this link to see if there are any existing issue reports for this error:
https://github.com/rubygems/rubygems/search?q=undefined+class%2Fmodule+YAML++&type=Issues

If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there.
{ubuntu-jammy} rake aborted!
{ubuntu-jammy} Command failed (pid 1448 exit 1) ["bundle", "install", "--jobs=1", "--system"]
/tooling-pending/lib/rake/bundle.rb:42:in `bundle'
/tooling-pending/deploy_in_container.rake:155:in `bundle_install'
/tooling-pending/deploy_in_container.rake:325:in `block (2 levels) in <top (required)>'
/tooling-pending/deploy_in_container.rake:280:in `chdir'
/tooling-pending/deploy_in_container.rake:280:in `block in <top (required)>'
/var/lib/gems/3.0.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => deploy_in_container
(See full trace by running task with --trace)
{ubuntu-jammy} cp /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/ffi-1.15.5/mkmf.log /tooling-pending/jammy_/ffi-1.15.5
cp /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/json-2.6.3/mkmf.log /tooling-pending/jammy_/json-2.6.3
cp /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/racc-1.6.2/mkmf.log /tooling-pending/jammy_/racc-1.6.2
cp /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/rugged-1.6.3/mkmf.log /tooling-pending/jammy_/rugged-1.6.3
chown -Rf 100000:120 /tooling-pending
D, [2023-05-15T14:30:05.161617 #9410] DEBUG -- : #<Docker::Event:0x000055d867275818 @Type="network", @Action="disconnect", @Actor=#<Docker::Event::Actor:0x000055d867275430 @ID="54fac9fa2823754c18bd1b142947744791ecf03b6411111f61f84c107de98f78", @Attributes={"container"=>"0ce005103ab97f7ca4b688a6e1e3d0782cfdd336d4676bd2e4d4ff51e775bb53", "name"=>"bridge", "type"=>"bridge"}>, @time=1684161005, @timeNano=1684161005160397848, @status=nil, @from=nil>
D, [2023-05-15T14:30:05.260997 #9410] DEBUG -- : #<Docker::Event:0x000055d86726db18 @Type="volume", @Action="unmount", @Actor=#<Docker::Event::Actor:0x000055d86726d7d0 @ID="58a00c3b9cc584a8666374be33599a6e1ca210068adf222bb77ab56d559bebd1", @Attributes={"container"=>"0ce005103ab97f7ca4b688a6e1e3d0782cfdd336d4676bd2e4d4ff51e775bb53", "driver"=>"local"}>, @time=1684161005, @timeNano=1684161005260520964, @status=nil, @from=nil>
{ubuntu-jammy} /tmp/tooling/lib/mgmt/deployer.rb:148:in `deploy_inside_container'{ubuntu-jammy} : {ubuntu-jammy} Bad return {"StatusCode"=>1}{ubuntu-jammy}  ({ubuntu-jammy} RuntimeError{ubuntu-jammy} ){ubuntu-jammy} 
{ubuntu-jammy} 	from /tmp/tooling/lib/mgmt/deployer.rb:157:in `run!'
{ubuntu-jammy} 	from mgmt/docker.rb:53:in `block (2 levels) in <main>'
{ubuntu-jammy} 	from mgmt/docker.rb:50:in `fork'
{ubuntu-jammy} 	from mgmt/docker.rb:50:in `block in <main>'
{ubuntu-jammy} 	from mgmt/docker.rb:45:in `each_index'
{ubuntu-jammy} 	from mgmt/docker.rb:45:in `<main>'
ERROR: Creating container for ubuntu-jammy failed
W, [2023-05-15T14:30:05.317677 #438612]  WARN -- : deleting droplet
:delete
[]
{:id=>355465071}
/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