subunit 1.0 support is broken

Bug #1720859 reported by Gonéri Le Bouder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
John Trowbridge

Bug Description

Hi,

OSP 11 and below use subunit 1.0 however the following commit https://github.com/openstack/tripleo-quickstart-extras/commit/6d316c6bcc9b9622de88d90abb02bda2ed41c852 assumes subunit 1.2 is available.

The current subunit accepts the following syntax:

  subunit2junitxml foo bar

whereas the previous version was using:

  subunit2junitxml foo --output-to=bar

Tags: quickstart
Changed in tripleo:
milestone: none → queens-1
importance: Undecided → Medium
status: New → Triaged
Changed in tripleo:
milestone: queens-1 → queens-2
Arx Cruz (arxcruz)
Changed in tripleo:
assignee: nobody → Arx Cruz (arxcruz)
Changed in tripleo:
milestone: queens-2 → queens-3
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/521650

Changed in tripleo:
assignee: Arx Cruz (arxcruz) → John Trowbridge (trown)
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/521650
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=9e4495770c001581eb05d040e0a2d5950c2dc04a
Submitter: Zuul
Branch: master

commit 9e4495770c001581eb05d040e0a2d5950c2dc04a
Author: John Trowbridge <email address hidden>
Date: Mon Nov 20 15:24:13 2017 -0500

    Allow support for subunit2junitxml < 1.2

    Versions of subunit2junitxml less than 1.2 do not support the
    syntax we have in the validate tempest role. Namely:

      subunit2junitxml foo bar

    Instead they need the destination file specified with '--output-to'

      subunit2junitxml foo --output-to=bar

    As far as I can tell, the newer versions of subunit still support
    the '--output-to' syntax. As such, we should use the syntax that
    supports all versions.

    Closes-Bug: 1720859

    Change-Id: I3b52db71bb1b1b1f0faf241038348e6dedca943f

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