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

Neon CI noreply at kde.org
Fri May 26 21:45:17 BST 2023


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

Changes:


------------------------------------------
[...truncated 3.41 MB...]
{ubuntu-jammy} HTTP GET https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.3.gemspec.rz
{ubuntu-jammy} HTTP 200 OK https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.3.gemspec.rz
{ubuntu-jammy} HTTP GET https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.4.gemspec.rz
{ubuntu-jammy} HTTP 200 OK https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.4.gemspec.rz
{ubuntu-jammy} HTTP GET https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.5.gemspec.rz
{ubuntu-jammy} HTTP 200 OK https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.5.gemspec.rz
{ubuntu-jammy} HTTP GET https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.6.gemspec.rz
{ubuntu-jammy} HTTP 200 OK https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.6.gemspec.rz
{ubuntu-jammy} HTTP GET https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.7.gemspec.rz
{ubuntu-jammy} HTTP 200 OK https://gem.cache.pangea.pub/quick/Marshal.4.8/excon-0.7.7.gemspec.rz
{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.4.13/lib/bundler.rb:609:in `load'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler.rb:609:in `load_marshal'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler.rb:517:in `safe_load_marshal'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/fetcher.rb:109:in `fetch_spec'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/remote_specification.rb:103:in `_remote_specification'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/remote_specification.rb:109:in `method_missing'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/remote_specification.rb:80:in `dependencies'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:41:in `block (2 levels) in setup_solver'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:40:in `reject'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:40:in `block in setup_solver'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:232:in `all_versions_for'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:49:in `block in setup_solver'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:151:in `versions_for'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:112:in `block in next_package_to_try'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:109:in `each'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:109:in `min_by'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:109:in `next_package_to_try'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:125:in `choose_package_version'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:41:in `work'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:58:in `solve'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:73:in `solve_versions'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/resolver.rb:32:in `start'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/definition.rb:554:in `start_resolution'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/definition.rb:289:in `resolve'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/definition.rb:507:in `materialize'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/definition.rb:197:in `specs'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/installer.rb:231:in `ensure_specs_are_compatible!'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/installer.rb:83:in `block in run'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/process_lock.rb:12:in `block in lock'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/process_lock.rb:9:in `open'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/process_lock.rb:9:in `lock'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/installer.rb:71:in `run'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/installer.rb:23:in `install'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/install.rb:62:in `run'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:261:in `block in install'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/settings.rb:131:in `temporary'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:260:in `install'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/exe/bundle:45:in `block in <top (required)>'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
  /var/lib/gems/3.0.0/gems/bundler-2.4.13/exe/bundle:33:in `<top (required)>'
  /usr/local/bin/bundle:25:in `load'
  /usr/local/bin/bundle:25:in `<main>'

```

## Environment

```
Bundler       2.4.13
  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          2023-05-10
Git SHA           26eb456c6c
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', '=5.18.0'
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.

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!
Command failed (pid 5672 exit 1) ["bundle", "install", "--jobs=1", "--verbose"]
{ubuntu-jammy} /tooling-pending/lib/rake/bundle.rb:42:in `bundle'
/tooling-pending/deploy_in_container.rake:156:in `bundle_install'
/tooling-pending/deploy_in_container.rake:326:in `block (2 levels) in <top (required)>'
/tooling-pending/deploy_in_container.rake:281:in `chdir'
/tooling-pending/deploy_in_container.rake:281: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-26T20:45:16.281988 #10551] DEBUG -- : #<Docker::Event:0x00007f6ef7bfba68 @Type="network", @Action="disconnect", @Actor=#<Docker::Event::Actor:0x00007f6ef7bfb860 @ID="dbb693bc6ad7b5deda47625f8b44695f0e079adfd3c87f6e9303cafdd4dcfec7", @Attributes={"container"=>"aacb8f515248360c9a065b1021fe238bead52d2bd6d3931918138a83e04b30c0", "name"=>"bridge", "type"=>"bridge"}>, @time=1685133916, @timeNano=1685133916281475047, @status=nil, @from=nil>
D, [2023-05-26T20:45:16.419776 #10551] DEBUG -- : #<Docker::Event:0x00007f6ef7bfa460 @Type="volume", @Action="unmount", @Actor=#<Docker::Event::Actor:0x00007f6ef7bfa2a8 @ID="93badab6dc707befa23e22da2245bf3ca7891a747a2d70709d218460616b1345", @Attributes={"container"=>"aacb8f515248360c9a065b1021fe238bead52d2bd6d3931918138a83e04b30c0", "driver"=>"local"}>, @time=1685133916, @timeNano=1685133916419385929, @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-26T20:45:16.448399 #2490983]  WARN -- : deleting droplet
:delete
[]
{:id=>357371769}
/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