UnicodeDecodeError: 'ascii' codec can't decode outpit of lsblk command

Bug #1620330 reported by Alexey. Kalashnikov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Aleksei Stepanov

Bug Description

Swarm test:
https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.thread_1/50/testReport/(root)/check_nodes_disks/check_nodes_disks/

Failed on step "Verify hard drive sizes for deployed nodes" in function Checking disk sizes by calling "lsblk" on remote node.
Error message:
http://paste.openstack.org/show/566869/

output of command for this node:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 253:0 0 50G 0 disk
├─vda1 253:1 0 24M 0 part
├─vda2 253:2 0 200M 0 part
├─vda3 253:3 0 200M 0 part /boot
├─vda4 253:4 0 18.1G 0 part
│ ├─os-root (dm-0) 252:0 0 15G 0 lvm /
│ └─os-swap (dm-1) 252:1 0 3G 0 lvm [SWAP]
├─vda5 253:5 0 31.5G 0 part
└─vda6 253:6 0 20M 0 part
vdb 253:16 0 50G 0 disk
├─vdb1 253:17 0 24M 0 part
├─vdb2 253:18 0 200M 0 part
└─vdb3 253:19 0 49.5G 0 part
vdc 253:32 0 50G 0 disk
├─vdc1 253:33 0 24M 0 part
├─vdc2 253:34 0 200M 0 part
└─vdc3 253:35 0 49.5G 0 part

Steps to reproduce:
Execute test "Verify hard drive sizes for deployed nodes"

    Scenario:
        1. Revert snapshot "deploy_node_multiple_interfaces"
        2. Verify hard drive sizes for deployed nodes

expected results:
all steps passed

Actual results:
checking sizes failed with UnicodeDecodeError

Probably Workaround might be using command:
lsblk -i (from help of lsblk command: -i, --ascii use ascii chacters only)

summary: - UnicodeDecodeError: 'ascii' codec can't decode byte
+ UnicodeDecodeError: 'ascii' codec can't decode outpit of lsblk command
Changed in fuel:
milestone: none → 9.1
assignee: nobody → Fuel QA Team (fuel-qa)
importance: Undecided → High
tags: added: area-qa
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Alexey Stepanov (astepanov-m)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/365861

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/mitaka)

Reviewed: https://review.openstack.org/365861
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=5fb4f5d0bf88d7b34e1ea9de8eefc2ac1f18920f
Submitter: Jenkins
Branch: stable/mitaka

commit 5fb4f5d0bf88d7b34e1ea9de8eefc2ac1f18920f
Author: Alexey Stepanov <email address hidden>
Date: Tue Sep 6 08:11:19 2016 +0300

    ha one controller tests: make unicode

    Use repr in logwrap
    make unicode strings ha one controller tests
    get_cluster_block_devices -> make unicode output
      (method used 1 times in single test)

    Change-Id: Ia72f57b6be13c66edfcb4512f99f01f11da20f13
    Closes-bug: #1620330

tags: added: in-stable-mitaka
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/365955
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=dca635ef0ad4d2bf93f3b456aa04adb2569a794c
Submitter: Jenkins
Branch: master

commit dca635ef0ad4d2bf93f3b456aa04adb2569a794c
Author: Alexey Stepanov <email address hidden>
Date: Tue Sep 6 08:11:19 2016 +0300

    ha one controller tests: make unicode

    Use repr in logwrap
    make unicode strings ha one controller tests
    get_cluster_block_devices -> make unicode output
      (method used 1 times in single test)

    Change-Id: Ia72f57b6be13c66edfcb4512f99f01f11da20f13
    Closes-bug: #1620330
    (cherry picked from commit 5fb4f5d)

Changed in fuel:
status: Fix Committed → 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.