Upstream Check/Gate jobs failing during python-tripleoclient rpm build with error - No matching package to install: 'validations-common'

Bug #1889045 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Upstream Check/Gate jobs failing during python-tripleoclient rpm build with below error:-

https://576ac7b00c599052767e-7651d79ea360a4aa04fbe96029f7a5e2.ssl.cf5.rackcdn.com/742998/1/check/tripleo-ci-centos-8-undercloud-containers/b2fc943/job-output.txt
~~~
2020-07-25 21:30:57.742826 | primary | TASK [build-test-packages : Run DLRN] ******************************************
2020-07-25 21:30:57.743135 | primary | Saturday 25 July 2020 21:30:57 +0000 (0:00:02.275) 0:06:01.461 *********
2020-07-25 21:33:43.972666 | primary | fatal: [undercloud]: FAILED! => {
2020-07-25 21:33:43.972733 | primary | "changed": true,
2020-07-25 21:33:43.972752 | primary | "cmd": "set -o pipefail && /home/zuul/run_dlrn.sh 2>&1 | awk '{ print strftime(\"%Y-%m-%d %H:%M:%S |\"), $0; fflush(); }' >> /home/zuul/dlrn.log\n",
2020-07-25 21:33:43.972779 | primary | "delta": "0:02:45.717105",
2020-07-25 21:33:43.972794 | primary | "end": "2020-07-25 21:33:43.942993",
2020-07-25 21:33:43.972808 | primary | "rc": 1,
2020-07-25 21:33:43.972821 | primary | "start": "2020-07-25 21:30:58.225888"
2020-07-25 21:33:43.972834 | primary | }
~~~

https://576ac7b00c599052767e-7651d79ea360a4aa04fbe96029f7a5e2.ssl.cf5.rackcdn.com/742998/1/check/tripleo-ci-centos-8-undercloud-containers/b2fc943/logs/undercloud/home/zuul/dlrn.log

~~~
2020-07-25 21:33:41 | STDERR:
2020-07-25 21:33:41 |
2020-07-25 21:33:41 | 2020-07-25 21:33:41,275 ERROR:dlrn:Received exception Error in build_rpm_wrapper for python-tripleoclient:
2020-07-25 21:33:41 |
2020-07-25 21:33:41 | RAN: /usr/bin/env /usr/bin/mock -v -r /home/zuul/DLRN/data/dlrn-1.cfg --resultdir /home/zuul/DLRN/data/repos/component/tripleo/c9/af/c9afd24dbcf8f2aeb6991413a72cad483dc5a08a_dev --rebuild /home/zuul/DLRN/data/repos/component/tripleo/c9/af/c9afd24dbcf8f2aeb6991413a72cad483dc5a08a_dev/python-tripleoclient-13.4.0-0.20200725213247.c9afd24.el8.src.rpm
~~~

https://576ac7b00c599052767e-7651d79ea360a4aa04fbe96029f7a5e2.ssl.cf5.rackcdn.com/742998/1/check/tripleo-ci-centos-8-undercloud-containers/b2fc943/logs/delorean_logs/component/tripleo/c9/af/c9afd24dbcf8f2aeb6991413a72cad483dc5a08a_dev/rpmbuild.log.txt.gz

~~~
ERROR: Command failed:
 # /usr/bin/dnf builddep --installroot /var/lib/mock/dlrn-centos8-x86_64-1/root/ --releasever 8 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=local --disableplugin=spacewalk /var/lib/mock/dlrn-centos8-x86_64-1/root//builddir/build/SRPMS/python-tripleoclient-13.4.0-0.20200725213247.c9afd24.el8.src.rpm --setopt=tsflags=nocontexts
No matches found for the following disable plugin patterns: local, spacewalk
Last metadata expiration check: 0:00:03 ago on Sat 25 Jul 2020 09:33:32 PM UTC.
Package git-2.18.4-2.el8_2.x86_64 is already installed.
Package openstack-macros-2019.2.3-0.20191218095051.ce6a105.el8.noarch is already installed.
Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed.
Package python3-pbr-5.4.3-2.el8.noarch is already installed.
Package python3-setuptools-41.6.0-1.el8.noarch is already installed.
No matching package to install: 'validations-common'
Not all dependencies satisfied
Error: Some packages could not be found.
~~~

This seems to be caused by recent component movement in rdoinfo:-

"Create validation component for validation framework" , Patch - https://review.rdoproject.org/r/#/c/28511/

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Snippet of comment from https://review.rdoproject.org/r/#/c/28511/
~~~
Please note that, after this is merged, we will need the following to happen in order to get the repos in a consistent state:

One commit (source or distgit) for one package in the tripleo component must be merged
One commit (source or distgit) for one package in the new validations component must be merged
Once both happen (and it happens for all branches using components), everything will get back to normal.

So, TL;DR for this warning: if you see any inconsistency, just make sure we get a dummy distgit commit merged for some of the tripleo and validations specs, and then we'll be happy.
~~~

we created - Dummy commit to force rebuild first repo with all validation packages

https://review.rdoproject.org/r/#/c/28711/ - master
https://review.rdoproject.org/r/#/c/28713/ - ussuri
https://review.rdoproject.org/r/#/c/28714/ - train

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hi,

We have recently created a new component(validation) and moved the validation framework repos to the validation component in patch[1].

We need the creation of the first repo under the validation component with all validation packages.

Repos are successfully created under validation component using Patches[2][3][4] - "Dummy distgit commits to force build first repo with all validation packages"

https://trunk.rdoproject.org/centos8-master/component/validation/current/
https://trunk.rdoproject.org/centos8-ussuri/component/validation/current/
https://trunk.rdoproject.org/centos8-train/component/validation/current/
[1] https://review.rdoproject.org/r/#/c/28511/
[2] https://review.rdoproject.org/r/#/c/28711/ - master
[3] https://review.rdoproject.org/r/#/c/28713/ - ussuri
[4] https://review.rdoproject.org/r/#/c/28714/ - train

Rerunning jobs to confirm the issue is resolved.

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hi,

Issue is fixed.

https://review.opendev.org/#/c/742600/ passed (which earlier hit issue while creating python-tripleoclient rpm due to missing validation-common). Upstream jobs are now pulling needed delorean-component-validation.

https://trunk.rdoproject.org/centos8-master/component/validation/current/rpmbuild.log :-

~~~
[delorean-component-validation]
name=delorean-python-validations-libs-21a722adac9c844d33a07323d111d0fe7a888ab3
baseurl=https://trunk.rdoproject.org/centos8/component/validation/21/a7/21a722adac9c844d33a07323d111d0fe7a888ab3_159f4d19
enabled=1
gpgcheck=0
priority=1
~~~

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.