train weirdo jobs failing on gem install puppet_forge

Bug #1859045 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
yatin

Bug Description

--verbose\nERROR: Error installing puppet_forge:\n\tgettext requires Ruby version >= 2.5.0.", "stderr_lines": ["+++ dirname ./run_tests.sh", "++ cd .", "++ pwd -P", "+ export SCRIPT_DIR=/tmp/puppet-openstack", "+ SCRIPT_DIR=/tmp/puppet-openstack", "+ source /tmp/puppet-openstack/functions", "++ BASE_PUPPETFILE=Puppetfile", "++ source /etc/os-release", "+++ NAME='CentOS Linux'", "+++ VERSION='7 (Core)'", "+++ ID=centos", "+++ ID_LIKE='rhel fedora'", "+++ VERSION_ID=7", "+++ PRETTY_NAME='CentOS Linux 7 (Core)'", "+++ ANSI_COLOR='0;31'", "+++ CPE_NAME=cpe:/o:centos:centos:7", "+++ HOME_URL=https://w

https://ci.centos.org/job/weirdo-train-promote-puppet-openstack-scenario001/68/consoleFull

Revision history for this message
yatin (yatinkarel) wrote :

Should be fixed with https://review.opendev.org/#/c/701689/, the issue affected all releases, similar patch is posted in all releases and all merged now.

Revision history for this message
yatin (yatinkarel) wrote :

So earlier error was:-
+ gem install puppet_forge -v '= 2.2.6' --verbose
ERROR: Error installing puppet_forge:
 gettext requires Ruby version >= 2.5.0.

And after the fix with https://review.opendev.org/#/c/701689/ new error is:-
+ r10k -v DEBUG puppetfile install
/tmp/puppet-openstack/.bundled_gems/gems/gettext-setup-0.32/lib/gettext-setup/gettext_setup.rb:28:in `initialize': private method `include' called for Object:Class (NoMethodError)
 from /tmp/puppet-openstack/.bundled_gems/gems/r10k-2.6.4/lib/r10k.rb:4:in `<module:R10K>'
 from /tmp/puppet-openstack/.bundled_gems/gems/r10k-2.6.4/lib/r10k.rb:3:in `<top (required)>'
 from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /tmp/puppet-openstack/.bundled_gems/gems/r10k-2.6.4/lib/r10k/cli.rb:1:in `<top (required)>'
 from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /tmp/puppet-openstack/.bundled_gems/gems/r10k-2.6.4/bin/r10k:3:in `<top (required)>'
 from /tmp/puppet-openstack/.bundled_gems/bin/r10k:23:in `load'
 from /tmp/puppet-openstack/.bundled_gems/bin/r10k:23:in `<main>'

Seems to be happening due to gettext-setup-0.32 gem release(specifically with https://github.com/puppetlabs/gettext-setup-gem/commit/78f786ae8ac3c7c19e8d439f4a4241997a81f3a8) recently https://rubygems.org/gems/gettext-setup/versions/0.32, and this should affect all releases. Will report issue against gettext-setup and patch against puppet-openstack-integration.

Revision history for this message
yatin (yatinkarel) wrote :

Posted issue at gettext-setup-gem https://github.com/puppetlabs/gettext-setup-gem/issues/77
Which is now fixed after 0.34 get released.
Train passing now after 0.34 get released https://ci.centos.org/view/rdo/view/promotion-pipeline/job/rdo_trunk-promote-train-current-tripleo/95/

Revision history for this message
yatin (yatinkarel) wrote :

This can be closed now.

Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Fix Released
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.