[PKG-Openstack-devel] Bug#846229: salt-formula-heat: FTBFS (KeyError: 'VERSION_ID')

Santiago Vila sanvila at debian.org
Tue Nov 29 11:57:01 UTC 2016


Package: src:salt-formula-heat
Version: 2016.4.1-3
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   dh_auto_build -i
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make install - Install into DESTDIR
make test    - Run tests

[... snipped ...]

    salt_call()
  File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 372, in salt_call
    client.run()
  File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 48, in run
    caller = salt.cli.caller.Caller.factory(self.config)
  File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 79, in factory
    return ZeroMQCaller(opts, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 274, in __init__
    super(ZeroMQCaller, self).__init__(opts)
  File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 102, in __init__
    self.minion = salt.minion.SMinion(opts)
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 605, in __init__
    opts['grains'] = salt.loader.grains(opts)
  File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 705, in grains
    ret = fun()
  File "/usr/lib/python2.7/dist-packages/salt/grains/core.py", line 1308, in os_data
    if os_release['VERSION_ID'] == "7":
KeyError: 'VERSION_ID'
Traceback (most recent call last):
  File "/usr/bin/salt-call", line 11, in <module>
    salt_call()
  File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 372, in salt_call
    client.run()
  File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 48, in run
    caller = salt.cli.caller.Caller.factory(self.config)
  File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 79, in factory
    return ZeroMQCaller(opts, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 274, in __init__
    super(ZeroMQCaller, self).__init__(opts)
  File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 102, in __init__
    self.minion = salt.minion.SMinion(opts)
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 605, in __init__
    opts['grains'] = salt.loader.grains(opts)
  File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 705, in grains
    ret = fun()
  File "/usr/lib/python2.7/dist-packages/salt/grains/core.py", line 1308, in os_data
    if os_release['VERSION_ID'] == "7":
KeyError: 'VERSION_ID'
[ERROR] Execution of heat.server_cluster failed
[ERROR] Execution failed
Makefile:22: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test returned exit code 2
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

A similar failure may be found here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/salt-formula-heat.html

This is probably triggered by some build-dependency which changed behaviour.
In case it helps, I'm building on stretch and this is my build history:

[ every build before is successful ]
Status: successful  salt-formula-heat_2016.4.1-3_amd64-20161123T092142Z
Status: failed      salt-formula-heat_2016.4.1-3_amd64-20161129T021816Z
[ every build after fails ]

Thanks.



More information about the Openstack-devel mailing list