ci breaks on rainbow gem

Bug #1805868 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-pacemaker
Fix Released
Undecided
Michele Baldessari

Bug Description

All puppet CI jobs are broken after the upgrade to bionic. For example:
http://logs.openstack.org/92/620892/2/check/puppet-openstack-lint/95d9076/job-output.txt.gz#_2018-11-29_15_05_37_005160

2018-11-29 15:09:59.606042 | ubuntu-bionic | current directory:
2018-11-29 15:09:59.606240 | ubuntu-bionic | /home/zuul/workspace/openstack-pacemaker/.bundled_gems/gems/rainbow-2.2.2/ext
2018-11-29 15:09:59.606343 | ubuntu-bionic | /usr/bin/ruby2.5 mkrf_conf.rb
2018-11-29 15:09:59.606385 | ubuntu-bionic |
2018-11-29 15:09:59.606534 | ubuntu-bionic | current directory:
2018-11-29 15:09:59.606765 | ubuntu-bionic | /home/zuul/workspace/openstack-pacemaker/.bundled_gems/gems/rainbow-2.2.2/ext
2018-11-29 15:09:59.606866 | ubuntu-bionic | /usr/bin/ruby2.5 -rrubygems
2018-11-29 15:09:59.607031 | ubuntu-bionic | /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake
2018-11-29 15:09:59.607300 | ubuntu-bionic | RUBYARCHDIR=/home/zuul/workspace/openstack-pacemaker/.bundled_gems/extensions/x86_64-linux/2.5.0/rainbow-2.2.2
2018-11-29 15:09:59.607568 | ubuntu-bionic | RUBYLIBDIR=/home/zuul/workspace/openstack-pacemaker/.bundled_gems/extensions/x86_64-linux/2.5.0/rainbow-2.2.2
2018-11-29 15:09:59.607706 | ubuntu-bionic | /usr/bin/ruby2.5: No such file or directory --
2018-11-29 15:09:59.607899 | ubuntu-bionic | /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake (LoadError)
2018-11-29 15:09:59.607942 | ubuntu-bionic |
2018-11-29 15:09:59.608098 | ubuntu-bionic | rake failed, exit code 1

I can reproduce this inside an ubuntu 18.04 container and I can fix it by simply doing a:
export rake="/usr/bin/rake"

Also see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895946

Not yet sure what the proper fix is in the openstack CI context

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-pacemaker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/620955

Changed in puppet-pacemaker:
assignee: nobody → Michele Baldessari (michele)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-pacemaker (master)

Reviewed: https://review.openstack.org/619892
Committed: https://git.openstack.org/cgit/openstack/puppet-pacemaker/commit/?id=5800e93e176c5c4365f933b5883e7bf2db7a5ac5
Submitter: Zuul
Branch: master

commit 5800e93e176c5c4365f933b5883e7bf2db7a5ac5
Author: Tobias Urdin <email address hidden>
Date: Sat Nov 24 15:39:13 2018 +0100

    Remove unneeded spec testing file

    Also fix up a couple of failing tests in the pacemaker::new module
    and remove one very artificial test that is not working on puppet 4 any
    longer (NB: the pacemaker;:new module has been fundamentally unmaintained
    for years now, this is mainly to keep CI running)

    Closes-Bug: #1805868
    Change-Id: I4102b204f303b0ada697f0ad9d9a24279473e046

Changed in puppet-pacemaker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-pacemaker (master)

Change abandoned by Michele Baldessari (<email address hidden>) on branch: master
Review: https://review.openstack.org/620955

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-pacemaker 0.7.2

This issue was fixed in the openstack/puppet-pacemaker 0.7.2 release.

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.