bifrost/bindep.txt
Markos Chandras adc20dc59d bindep.txt: Add explicit and missing dependencies
bindep does not understand rpm capabilities yet so the package names
in bindep.txt must match the exact package names. As such, we make them
a bit more explicit to avoid problems like this:

2017-06-23 08:33:01.971410 | ++ /usr/bindep-env/bin/bindep -b -f bindep.txt test
2017-06-23 08:33:02.417209 | + sudo PATH=/usr/sbin:/sbin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/bin:/usr/games zypper --non-interactive install libffi-devel mariadb-server
2017-06-23 08:33:02.520362 | Loading repository data...
2017-06-23 08:33:02.646234 | Reading installed packages...
2017-06-23 08:33:02.942119 | 'libffi-devel' not found in package names. Trying capabilities.
2017-06-23 08:33:02.942198 | 'libffi-devel-gcc5' providing 'libffi-devel' is already installed.
2017-06-23 08:33:02.942221 | 'mariadb-server' not found in package names. Trying capabilities.
2017-06-23 08:33:02.942241 | 'mariadb' providing 'mariadb-server' is already installed.
2017-06-23 08:33:02.942256 | Resolving package dependencies...
[...]
2017-06-23 08:33:03.027481 | + /usr/bindep-env/bin/bindep -b -f bindep.txt test
2017-06-23 08:33:03.482616 | libffi-devel
2017-06-23 08:33:03.482673 | mariadb-server
2017-06-23 08:33:03.504533 | + '[' 3 -gt 2 ']'
2017-06-23 08:33:03.504580 | + set +x
2017-06-23 08:33:03.985539 |
2017-06-23 08:33:03.985622 | ERROR: These requested packages were not installed:
2017-06-23 08:33:03.985633 |
2017-06-23 08:33:03.985644 | libffi-devel
2017-06-23 08:33:03.985655 | mariadb-server

libffi-devel and mariadb-server are capabilities in openSUSE Leap 42.2
but bindep does not realize that the respective packages are already
installed.

Furthermore, when running in OpenStack CI, the scripts/test-bifrost.sh script
performs a DB setup. However, that fails since the mariadb packages
are not installed in time resulting to the following failures:

2017-06-23 08:14:50.227095 | + sudo service mysql start
2017-06-23 08:14:50.247996 | Redirecting to /bin/systemctl start  mysql.service
2017-06-23 08:14:50.258852 | Failed to start mysql.service: Unit not found.
2017-06-23 08:14:50.260464 | + sudo service mysqld start
2017-06-23 08:14:50.276637 | Redirecting to /bin/systemctl start  mysqld.service
2017-06-23 08:14:50.281428 | Failed to start mysqld.service: Unit not found.
2017-06-23 08:14:50.282917 | + sudo service mariadb start
2017-06-23 08:14:50.298320 | Redirecting to /bin/systemctl start  mariadb.service
2017-06-23 08:14:50.301860 | Failed to start mariadb.service: Unit not found.
2017-06-23 08:14:50.303234 | [Zuul] Task exit code: 5

Change-Id: I6e171cf057ccd68bfdcd672df61fa3e55094db19
2017-06-23 11:50:23 +01:00

23 lines
686 B
Plaintext

epel-release [platform:centos platform:rhel]
gcc
git
libffi-devel [platform:redhat]
libffi-devel-gcc5 [platform:opensuseproject-42]
libffi-dev [platform:dpkg]
libopenssl-devel [platform:suse]
openssl-devel [platform:redhat]
libssl-dev [platform:dpkg]
lsb-release [platform:suse platform:dpkg]
redhat-lsb [platform:redhat]
make
mariadb [platform:opensuseproject-42]
mariadb-server [platform:redhat]
mysql-server [platform:dpkg]
net-tools
python [platform:rpm]
python-minimal [platform:dpkg]
python-devel [platform:rpm]
python-dev [platform:dpkg]
python-virtualenv
wget