[Machinery] Checked out machinery - getting a test failure

James Mason JMason at suse.com
Tue Jun 14 09:44:36 MDT 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 2016-06-14 at 03:26 +0200, Cornelius Schumacher wrote:
> On Monday 13 June 2016 18:26:21 James Mason wrote:
> > On Fri, 2016-06-10 at 14:59 +0200, Mauro Morales wrote:
> > > On 06/09/2016 10:26 PM, James Mason wrote:
>> > Are there any plans to support `pennyworth` on _any_ of our current
> OS
> > offerings? 
> > I see it's not supported with SLES 12 SP1, SLES 11 SP4, openSUSE
> Leap
> > 42.1, or openSUSE Tumbleweed - only SLES 12 GA and openSUSE 13.2.
> 
> It actually should work on the current versions of our OS offering.
> That's 
> where we are developing and testing. 
> 
> Where do you get the support state from, from documentation or code?

Both:

https://github.com/SUSE/pennyworth#installation

https://github.com/SUSE/pennyworth/blob/master/lib/pennyworth/commands/
setup_command.rb#L45

My experience on Tumbleweed:

$ bin/pennyworth setup
Warning: Pennyworth is not tested upstream on this platform. Use at
your own risk.
Installing packages:
  * Installing curl...
  * Installing iptables...
  * Installing dnsmasq...
  * Installing libxml2-devel...
  * Installing libxslt-devel...
  * Installing libvirt-devel...
  * Installing libvirt...
  * Installing expect...
Reloading udev rules
Installing libvirt plugin for Vagrant...
Pennyworth experienced an unexpected error. Please file a bug report at
https://github.com/SUSE/pennyworth/issues/new.
Execution of "vagrant plugin install --plugin-version\=0.0.30 vagrant-
libvirt" failed with status 1: Bundler, the underlying system Vagrant
uses to install plugins, (...).

Error output:
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing ruby-libvirt (0.6.0), and Bundler
cannot continue.
Make sure that `gem install ruby-libvirt -v '0.6.0'` succeeds before
bundling.

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

    /opt/vagrant/embedded/bin/ruby extconf.rb 
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary
libraries and/or headers.  Check the mkmf.log file for more
details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/vagrant/embedded/bin/ruby
	--with-libvirt-include
	--without-libvirt-include
	--with-libvirt-lib
	--without-libvirt-lib
	--with-libvirt-config
	--without-libvirt-config
	--with-pkg-config
	--without-pkg-config
/opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': The
compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:519:in
`try_link0'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:534:in
`try_link'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:620:in `block
in try_ldflags'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:613:in
`with_ldflags'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:619:in
`try_ldflags'
	from /opt/vagrant/embedded/lib/ruby/2.0.0/mkmf.rb:1725:in
`pkg_config'
	from extconf.rb:72:in `<main>'


Gem files will remain installed in
/home/jmason/.vagrant.d/gems/gems/ruby-libvirt-0.6.0 for inspection.
Results logged to /home/jmason/.vagrant.d/gems/gems/ruby-libvirt-
0.6.0/ext/libvirt/gem_make.out

Standard output:
Installing the 'vagrant-libvirt --version '0.0.30'' plugin. This can
take a few minutes...


Backtrace:
/usr/lib64/ruby/gems/2.2.0/gems/cheetah-0.5.0/lib/cheetah.rb:641:in
`check_errors'
/usr/lib64/ruby/gems/2.2.0/gems/cheetah-0.5.0/lib/cheetah.rb:404:in
`run'
/home/jmason/projects/github/pennyworth/lib/pennyworth/commands/setup_c
ommand.rb:135:in `install_vagrant_plugin'
/home/jmason/projects/github/pennyworth/lib/pennyworth/commands/setup_c
ommand.rb:31:in `execute'
/home/jmason/projects/github/pennyworth/lib/pennyworth/cli.rb:118:in
`block (2 levels) in <class:Cli>'
/usr/lib64/ruby/gems/2.2.0/gems/gli-
2.14.0/lib/gli/command_support.rb:126:in `call'
/usr/lib64/ruby/gems/2.2.0/gems/gli-
2.14.0/lib/gli/command_support.rb:126:in `execute'
/usr/lib64/ruby/gems/2.2.0/gems/gli-
2.14.0/lib/gli/app_support.rb:296:in `block in call_command'
/usr/lib64/ruby/gems/2.2.0/gems/gli-
2.14.0/lib/gli/app_support.rb:309:in `call'
/usr/lib64/ruby/gems/2.2.0/gems/gli-
2.14.0/lib/gli/app_support.rb:309:in `call_command'
/usr/lib64/ruby/gems/2.2.0/gems/gli-2.14.0/lib/gli/app_support.rb:83:in 
`run'
bin/pennyworth:25:in `<main>'


- -- 
James Mason
Technical Architect, Public Cloud
openSUSE Member
SUSE
jmason at suse.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXYCZhAAoJEBs5UYhsRJAjO4wH/1ZtrCa6OIAIyc8A4UYYnBVy
T/uVJPFqIEbp/mbUBuQrMNECqbqubODc6wFpwf7l/dkkJMLaxo+lYpjHsbAObknz
GxKQBkf1fl3tR44geX+RXfuloHPe3ruE2dQgELKDNnmifI/tAp5wSFOIspJxzeHL
yD2O0RvDmEUaRqjxzkUiVJdRprUmkfFd/q9BRD7HQOELQ68TZOjWfB35Fl8Aqe2J
otWwY+xJPCDRcMe+MyrncCMUYxBOvtDmLPNCoTPxFy4uTniZ3gaejJOa5YgKi87/
9ODmPV0TCEyKfAUyun/eUmLP8U8FR5wZyYDBCHc7vhWKQuvoTCkkEQrEgLih7gs=
=f3J2
-----END PGP SIGNATURE-----


More information about the Machinery mailing list