subunit2html fails to run in TripleO CI

Bug #1729403 reported by Emilien Macchi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Arx Cruz

Bug Description

See http://logs.openstack.org/94/516994/1/check/legacy-tripleo-ci-centos-7-containers-multinode/63b9368/logs/ara_oooq/result/a8edbb2b-569d-409d-8608-fb47b476337e/

TripleO Quickstart fails to generate HTML results of Tempest tests:

subunit2html $(find /home/zuul/tempest/.testrepository -name [0-9] | head -1) /home/zuul/tempest/tempest.html 2>&1 >> tempest_output.log

Traceback (most recent call last):
  File "/usr/bin/subunit2html", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/os_testr/subunit2html.py", line 740, in main
    stream = open(subunit_file, 'rb')
IOError: [Errno 2] No such file or directory: '/home/zuul/tempest/tempest.html'

Tags: ci
wes hayutin (weshayutin)
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/517906

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/517906
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=3dab05c257f971fd6d52ff10bf28158775677244
Submitter: Zuul
Branch: master

commit 3dab05c257f971fd6d52ff10bf28158775677244
Author: Arx Cruz <email address hidden>
Date: Mon Nov 6 11:26:55 2017 +0100

    Fix tempest html generation file

    In the latest version of tempest, the testr was replaced by
    stestr, and so, the path where these results were stored changed
    as well from .testrepository to .stestr. This patch verify which
    directory was generated, and execute the subunit2html in the
    proper directory.

    Change-Id: Ic5a04781f830597a2c5fe9516a704ff5a9b5ff24
    Closes-Bug: #1729403

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.