zuul reproducer fails at uc upgrade job for queens

Bug #1823688 reported by Quique Llorente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Quique Llorente

Bug Description

Running the following reproducer definition fails at composing queens DLRN url, it's not adding subdirs:

repo-setup-queens.sh.txt.gz

rdo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-queens/8bf6b16f26954f810e4975ff3943d83900332aa6_15fc9723/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
tripleo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-queens/a22a2014fdd17cf0b0eb042a9f581f9041e7bff4_15fc9723/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`

Reproducer definition:

- hosts: localhost
  vars:
    launch_job_branch: stable/queens
    depends_on:
      - https://review.openstack.org/648331

    zuul_yaml: >-
      - project:
          check:
            jobs:
              - tripleo-ci-centos-7-undercloud-upgrades-dlrn-hash-tag

      - job:
          name: tripleo-ci-centos-7-undercloud-upgrades-dlrn-hash-tag
          parent: tripleo-ci-centos-7-undercloud-upgrades
          vars:
            ready_releases_file: |
              #!/bin/env bash
              export UNDERCLOUD_INSTALL_RELEASE="pike"
              export UNDERCLOUD_INSTALL_HASH="a22a2014fdd17cf0b0eb042a9f581f9041e7bff4_15fc9723"
              export UNDERCLOUD_TARGET_RELEASE="queens"
              export UNDERCLOUD_TARGET_HASH="1cf12dfd388d6f7feaac0b524f69459d2d309807_50caea24"
              export OVERCLOUD_DEPLOY_RELEASE="queens"
              export OVERCLOUD_DEPLOY_HASH="1cf12dfd388d6f7feaac0b524f69459d2d309807_50caea24"
              export OVERCLOUD_TARGET_RELEASE="queens"
              export OVERCLOUD_TARGET_HASH="1cf12dfd388d6f7feaac0b524f69459d2d309807_50caea24"
              export STANDALONE_DEPLOY_RELEASE="queens"
              export STANDALONE_DEPLOY_HASH="1cf12dfd388d6f7feaac0b524f69459d2d309807_50caea24"
              export STANDALONE_DEPLOY_NEWEST_HASH="f1554d1b527bbf09229273508ce1fb234caf6a66_ae4ccfcb"
              export STANDALONE_TARGET_RELEASE="queens"
              export STANDALONE_TARGET_NEWEST_HASH="f1554d1b527bbf09229273508ce1fb234caf6a66_ae4ccfcb"
              export STANDALONE_TARGET_HASH="1cf12dfd388d6f7feaac0b524f69459d2d309807_50caea24"
            featureset_override:
              dlrn_hash_tag:
                a22a2014fdd17cf0b0eb042a9f581f9041e7bff4_15fc9723
              dlrn_hash_tag_newest:
                8bf6b16f26954f810e4975ff3943d83900332aa6_15fc9723
  tasks:
    - include_role:
        name: master/ansible-role-tripleo-ci-reproducer

tags: added: zuul-reproducer
removed: ci
Changed in tripleo:
milestone: stein-rc1 → train-1
Changed in tripleo:
importance: Critical → High
Revision history for this message
Quique Llorente (quiquell) wrote :

Wrong repo prepared for update to queens

Revision history for this message
Quique Llorente (quiquell) wrote :

So the right repo-setup-queens.sh script does not add the dlrn hash just uses the default in the setup since it's running with stable/queens

http://logs.openstack.org/10/651710/1/check/tripleo-ci-centos-7-undercloud-upgrades/a54a588/logs/undercloud/home/zuul/repo-setup-queens.sh.txt.gz
rdo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-queens/current/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
tripleo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-queens/current-tripleo/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
if [[ -z "$rdo_dlrn" || -z "$tripleo_dlrn" ]]; then

Revision history for this message
Quique Llorente (quiquell) wrote :

After removing featureset_override job is working fine, so this has to be excluded from jobs that uses emit releases.

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.opendev.org/654436

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

Reviewed: https://review.opendev.org/654436
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=55bbfbb684243d947fbfae5ab98ee8c00be6d060
Submitter: Zuul
Branch: master

commit 55bbfbb684243d947fbfae5ab98ee8c00be6d060
Author: Quique Llorente <email address hidden>
Date: Mon Apr 22 14:18:52 2019 +0200

    Use just release file at reproducer if present

    In case the job that we want to reproduce is using the output from emit
    releases script, reproducer has to use just that otherwise upgrade jobs
    will fail.

    Change-Id: I8c144b6dab59fba2b10e190c8b0afd7580bfffba
    Closes-Bug: #1823688

Changed in tripleo:
status: In Progress → 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.