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

Neon CI noreply at kde.org
Fri Apr 22 21:42:28 BST 2022


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

Changes:


------------------------------------------
[...truncated 96.86 KB...]
+ chmod 755 /root/deploy_tooling.sh
+ cp -v /root/deploy_tooling.sh /tmp/
'/root/deploy_tooling.sh' -> '/tmp/deploy_tooling.sh'
+ sudo -u jenkins-slave -i /tmp/deploy_tooling.sh
+ export PANGEA_UBUNTU_ONLY=1
+ PANGEA_UBUNTU_ONLY=1
+ env
SHELL=/bin/bash
SUDO_GID=0
SUDO_COMMAND=/bin/bash -c /tmp/deploy_tooling.sh
SUDO_USER=root
PWD=/home/jenkins-slave
LOGNAME=jenkins-slave
HOME=/home/jenkins-slave
LANG=C.UTF-8
GEM_PATH=/home/jenkins-slave/.gem/ruby/2.7.0:/home/jenkins-slave/.gems/bundler
GEM_HOME=/home/jenkins-slave/.gem/ruby/2.7.0
TERM=unknown
USER=jenkins-slave
SHLVL=1
PATH=/home/jenkins-slave/.gem/ruby/2.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SUDO_UID=0
PANGEA_UBUNTU_ONLY=1
MAIL=/var/mail/jenkins-slave
_=/usr/bin/env
+ rm -rf /tmp/tooling
+ git clone --depth 1 https://github.com/pangea-project/pangea-tooling.git /tmp/tooling
Cloning into '/tmp/tooling'...
+ cd /tmp/tooling
+ rm -rv .bundle
rm: cannot remove '.bundle': No such file or directory
+ true
+ gem install --no-document bundler
Successfully installed bundler-2.3.12
1 gem installed
++ nproc
+ bundle install --jobs=2 --system
[DEPRECATED] The `--system` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local system 'true'`, and stop using this flag
Fetching gem metadata from https://gem.cache.pangea.pub/......
Resolving dependencies..........
--- ERROR REPORT TEMPLATE -------------------------------------------------------

```
NoMethodError: undefined method `none?' for nil:NilClass
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver/spec_group.rb:103:in `metadata_dependencies'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver/spec_group.rb:83:in `block in dependencies_for'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver/spec_group.rb:82:in `map'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver/spec_group.rb:82:in `dependencies_for'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver/spec_group.rb:26:in `block in initialize'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver/spec_group.rb:50:in `dependencies_for_activated_platforms'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver.rb:104:in `dependencies_for'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb:18:in `block in dependencies_for'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb:17:in `dependencies_for'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:809:in `block in group_possibilities'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:808:in `reverse_each'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:808:in `group_possibilities'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:779:in `possibilities_for_requirement'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:761:in `push_state_for_requirements'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:744:in `require_nested_dependencies_for'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:727:in `activate_new_spec'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:254:in `process_topmost_state'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb:182:in `resolve'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb:43:in `resolve'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver.rb:49:in `start'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/resolver.rb:23:in `resolve'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/definition.rb:269:in `resolve'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/definition.rb:180:in `resolve_remotely!'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/installer.rb:280:in `resolve_if_needed'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/installer.rb:82:in `block in run'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/process_lock.rb:12:in `block in lock'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/process_lock.rb:9:in `open'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/process_lock.rb:9:in `lock'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/installer.rb:71:in `run'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/installer.rb:23:in `install'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/cli/install.rb:62:in `run'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/cli.rb:255:in `block in install'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/settings.rb:131:in `temporary'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/cli.rb:254:in `install'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/cli.rb:31:in `dispatch'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/cli.rb:25:in `start'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/exe/bundle:48:in `block in <top (required)>'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
  /home/jenkins-slave/.gem/ruby/2.7.0/gems/bundler-2.3.12/exe/bundle:36:in `<top (required)>'
  /home/jenkins-slave/.gem/ruby/2.7.0/bin/bundle:23:in `load'
  /home/jenkins-slave/.gem/ruby/2.7.0/bin/bundle:23:in `<main>'
```

## Environment

```
Bundler       2.3.12
  Platforms   ruby, x86_64-linux
Ruby          2.7.0p0 (2019-12-25 revision 647ee6f091eafcce70ffb75ddf7e121e192ab217) [x86_64-linux]
  Full Path   /usr/bin/ruby2.7
  Config Dir  /etc
RubyGems      3.1.2
  Gem Home    /home/jenkins-slave/.gem/ruby/2.7.0
  Gem Path    /home/jenkins-slave/.gem/ruby/2.7.0:/home/jenkins-slave/.gems/bundler
  User Home   /home/jenkins-slave
  User Path   /home/jenkins-slave/.gem/ruby/2.7.0
  Bin Dir     /home/jenkins-slave/.gem/ruby/2.7.0/bin
OpenSSL       
  Compiled    OpenSSL 1.1.1f  31 Mar 2020
  Loaded      OpenSSL 1.1.1f  31 Mar 2020
  Cert File   /usr/lib/ssl/cert.pem
  Cert Dir    /usr/lib/ssl/certs
Tools         
  Git         2.25.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed
```

## Bundler Build Metadata

```
Built At          2022-04-20
Git SHA           75031e03f4
Released Version  true
```

## Bundler settings

```
jobs
  Set for your local app (/tmp/tooling/.bundle/config): 2
```

## 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.
source 'https://gem.cache.pangea.pub' do
  gem 'releaseme' # Not released as gem at all
end

gem 'activesupport', '6.1.4.4'
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 'jenkins_junit_builder', '~> 0.0.6' # Don't pickup v0.0.1
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'

# 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 /tmp/tooling/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+method+%60none%3F%27+for+nil+NilClass&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.
W, [2022-04-22T20:42:27.639638 #1882]  WARN -- : deleting droplet
:delete
[]
{:id=>296619932}
/home/neon/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