Bug 1259111

Summary: tempest subunit call fails, ValueError: Not a text type application/octet-stream
Product: Red Hat OpenStack Reporter: wes hayutin <whayutin>
Component: python-rdomanager-oscpluginAssignee: Imre Farkas <ifarkas>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: athomas, calfonso, hrosnet, jslagle, mburns, rhel-osp-director-maint, srevivo, whayutin
Target Milestone: y1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-03 16:24:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wes hayutin 2015-09-02 01:03:48 UTC
Description of problem:

{0} setUpClass (tempest.api.volume.test_volumes_negative.VolumesV1NegativeTest) [0.000000s] ... FAILED
{0} setUpClass (tempest.api.volume.test_volumes_negative.VolumesV2NegativeTest) [0.000000s] ... FAILED
{0} setUpClass (tempest.api.volume.test_volumes_snapshots.VolumesV1SnapshotTestJSON) [0.000000s] ... FAILED
{0} setUpClass (tempest.api.volume.test_volumes_snapshots.VolumesV2SnapshotTestJSON) [0.000000s] ... FAILED
{0} setUpClass (tempest.api.volume.test_volumes_snapshots_negative.VolumesV1SnapshotNegativeTestJSON) [0.000000s] ... FAILED
{0} setUpClass (tempest.api.volume.test_volumes_snapshots_negative.VolumesV2SnapshotNegativeTestJSON) [0.000000s] ... FAILED
{0} setUpClass (tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestJSON) [0.000000s] ... FAILED

==============================
Failed 58 tests - output below:
==============================

subunit.parser
--------------
Traceback (most recent call last):
  File "/usr/bin/subunit-trace", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/tempest_lib/cmd/subunit_trace.py", line 275, in main
    print_fails(sys.stdout)
  File "/usr/lib/python2.7/site-packages/tempest_lib/cmd/subunit_trace.py", line 173, in print_fails
    print_attachments(stream, f, all_channels=True)
  File "/usr/lib/python2.7/site-packages/tempest_lib/cmd/subunit_trace.py", line 108, in print_attachments
    if (all_channels or name in channels) and detail.as_text():
  File "/usr/lib/python2.7/site-packages/testtools/content.py", line 94, in as_text
    return _u('').join(self.iter_text())
  File "/usr/lib/python2.7/site-packages/testtools/content.py", line 110, in iter_text
    raise ValueError("Not a text type %r" % self.content_type)
ValueError: Not a text type application/octet-stream

Comment 4 wes hayutin 2015-09-02 19:07:16 UTC
ack.. we're updating the CI right now

Comment 5 Mike Burns 2015-09-03 16:24:04 UTC
closing notabug per comment 4