Gem::RuntimeRequirementNotMetError: pathspec requires Ruby version >= 2.6.0

Bug #1940444 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-openstack-spec-helper
Invalid
Undecided
Unassigned
tripleo
Invalid
High
Unassigned

Bug Description

https://e9531aeca7f4a601dcba-98861b5cdb7542212187af9468d43e6d.ssl.cf5.rackcdn.com/730878/2/check/puppet-openstack-unit-6.21-centos-8-stream/2243c49/job-output.txt fail with:

2021-08-18 12:26:20.741600 | centos-8-stream | Gem::RuntimeRequirementNotMetError: pathspec requires Ruby version >= 2.6.0. The
2021-08-18 12:26:20.741713 | centos-8-stream | current ruby version is 2.5.0.
2021-08-18 12:26:20.741746 | centos-8-stream | An error occurred while installing pathspec (1.0.0), and Bundler cannot
2021-08-18 12:26:20.741776 | centos-8-stream | continue.
2021-08-18 12:26:20.741809 | centos-8-stream | Make sure that `gem install pathspec -v '1.0.0' --source
2021-08-18 12:26:20.741829 | centos-8-stream | 'https://rubygems.org/'` succeeds before bundling.
2021-08-18 12:26:20.741844 | centos-8-stream |
2021-08-18 12:26:20.741860 | centos-8-stream | In Gemfile:
2021-08-18 12:26:20.741875 | centos-8-stream | puppet-openstack_spec_helper was resolved to 18.0.0, which depends on
2021-08-18 12:26:20.741890 | centos-8-stream | puppet_litmus was resolved to 0.28.0, which depends on
2021-08-18 12:26:20.741905 | centos-8-stream | puppet-modulebuilder was resolved to 0.3.0, which depends on
2021-08-18 12:26:20.741920 | centos-8-stream | pathspec
2021-08-18 12:26:21.185091 | centos-8-stream | bundler: failed to load command: rake (/home/zuul/workspace/.bundled_gems/bin/rake)
2021-08-18 12:26:21.185230 | centos-8-stream | /home/zuul/workspace/.bundled_gems/gems/bundler-2.2.11/lib/bundler/resolver.rb:63:in `rescue in start': Bundler could not find compatible versions for gem "puppetlabs_spec_helper": (Bundler::VersionConflict)
2021-08-18 12:26:21.185255 | centos-8-stream | In Gemfile:
2021-08-18 12:26:21.185279 | centos-8-stream | puppet-openstack_spec_helper was resolved to 18.0.0, which depends on
2021-08-18 12:26:21.185313 | centos-8-stream | puppetlabs_spec_helper
2021-08-18 12:26:21.185351 | centos-8-stream |
2021-08-18 12:26:21.185384 | centos-8-stream | Could not find gem 'puppetlabs_spec_helper', which is required by gem 'puppet-openstack_spec_helper', in any of the sources.

Tags: alert
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

logstash shows 5 hits for patches 730878 and 804728

Changed in tripleo:
importance: High → Critical
tags: added: alert
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
Alex Schultz (alex-schultz) wrote :

It appears that it may be related to gem fetching as we've had successes and failures at the same time.

success:
https://d577db2ea57b9d8a736d-81f5bdc305f07952152aeb2bf24e3c59.ssl.cf1.rackcdn.com/804825/1/gate/puppet-openstack-unit-7.5-centos-8-stream/a6b578e/job-output.txt

fail:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_574/730878/2/check/puppet-openstack-unit-7.5-centos-8-stream/574ba66/job-output.txt

2021-08-18 12:24:13.541836 | centos-8-stream | Retrying download gem from https://rubygems.org/ due to error (2/4): Gem::RemoteFetcher::UnknownHostError timed out (https://rubygems.org/gems/little-plugger-1.1.4.gem)

it's resolving pathspec 1.0.0 which doesn't work on ruby 2.5

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

actually, the problem seems in flaky connections to rubyjems

Changed in tripleo:
importance: Critical → High
Revision history for this message
Takashi Kajinami (kajinamit) wrote :

pathspec 1.0 was released on Jan 5 but we have never seen this issue.
 https://rubygems.org/gems/pathspec.

As Alex pointed out, the problem is not consistent and I guess this is a temporal issue caused by unstable connection to rubygems.

Revision history for this message
Michele Baldessari (michele) wrote :

Ack, thanks folks. A bit unexpected that a network timeout would drive the dep decision, but it's okay if it's just a network glitch.

Closing

Changed in tripleo:
status: Triaged → Invalid
Changed in puppet-openstack-spec-helper:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.