quickstart tries the build the wrong package if the repo name is similar

Bug #1691579 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

We hit this in the puppet-* oooq version of the jobs. The zuul_changes included puppet-watcher:

2017-05-17 20:20:59.749436 | ok: [undercloud] => {"ansible_facts": {"artg_change_list": [], "gerrit_host": "", "zuul_changes": "openstack/puppet-nova:master:refs/changes/18/465618/1^openstack/puppet-designate:master:refs/changes/04/465604/1^openstack/puppet-aodh:master:refs/changes/96/465596/1^openstack/puppet-watcher:master:refs/changes/52/465652/1^openstack/puppet-panko:master:refs/changes/41/465641/1"}, "changed": false}

but there is no puppet-watcher package. So it tried to build openstack-watcher because findpkg returned openstack-watcher

<apevec> rdopkg findpkg puppet-watcher
<apevec> name: openstack-watcher

findpkg should use -s for strict mode.

Tags: ci quickstart
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/465751
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=d688b8652a68249fcc10c725622727472a5b162c
Submitter: Jenkins
Branch: master

commit d688b8652a68249fcc10c725622727472a5b162c
Author: Alex Schultz <email address hidden>
Date: Wed May 17 16:17:54 2017 -0600

    Use strict for findpkg

    We hit an issue where the change list included puppet-watcher but it
    tried to build the actual watcher package using the puppet-watcher
    versions. This resulted in failed CI runs on the puppet openstack
    modules that include oooq jobs in the gate.

    Change-Id: I7e360f2a3fb10c230ee2078cc8935e9982580731
    Closes-Bug: #1691579

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :
Changed in tripleo:
status: Fix Released → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart-extras (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/468041

Revision history for this message
Alex Schultz (alex-schultz) wrote :

So technically it did fix it because it stops building the wrong package. The issue is that quickstart attempts to build a package even if there isn't one to build. I'll create a different bug for that. the zuul_change_list isn't always what is necessary for the change as in the gate it can include other changes from the puppet openstack modules that are currently in the process to be merged (they end up in the same zuul queue)

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/468041
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=98e0f9f51a36da865c864d9012669d3f62df55a4
Submitter: Jenkins
Branch: master

commit 98e0f9f51a36da865c864d9012669d3f62df55a4
Author: Sagi Shnaidman <email address hidden>
Date: Thu May 25 16:53:56 2017 +0300

    Exclude puppet-watcher from building role

    When jobs run in the gate, it may include a lot of unrelated
    changes in ZUUL, for example puppet-watcher, which can not be
    built using building package role. It fails and gate job fails too

    Change-Id: I87acf6f707b43afea68a9799624e9da8d235e71f
    Related-Bug: #1691579

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.0

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 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.