[10.0][swarm] UnicodeEncodeError

Bug #1652030 reported by Dmitry Belyaninov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Belyaninov

Bug Description

There is fixed devops bug
https://bugs.launchpad.net/fuel/+bug/1631986

but problem was reproduced again
https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.thread_1/164/testReport/fuel_tests.tests.test_discovery_slave/TestNodeDiskSizes/test_check_nodes_disks/

        for node_name in self.cluster_config['nodes']:
            str_block_devices = fuel_web.get_cluster_block_devices(
                node_name)

> logger.debug("Block device:\n{}".format(str_block_devices))
E UnicodeEncodeError: 'ascii' codec can't encode characters in position 88-89: ordinal not in range(128)

fuel_tests/tests/test_discovery_slave.py:125: UnicodeEncodeError

root@node-1:~# /bin/lsblk
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

tags: added: swarm-fail
Changed in fuel:
assignee: Fuel CI (fuel-ci) → Fuel QA Team (fuel-qa)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :
tags: added: swarm-blocker
removed: swarm-fail
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Belyaninov (dbelyaninov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/429904

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/newton)

Reviewed: https://review.openstack.org/429904
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=0eb080905b9c96dd00d9e08ba7a308208cd29657
Submitter: Jenkins
Branch: stable/newton

commit 0eb080905b9c96dd00d9e08ba7a308208cd29657
Author: Dmitry Belyaninov <email address hidden>
Date: Mon Feb 6 22:23:11 2017 +0000

    Stdout for remote call fix

    Wrong property used for the stdout analysis .
    Also steps order fixed.

    Change-Id: I56f465facdd3e3e4fd6b4e7aa61690214f3b254c
    Partial-Bug: 1652030

tags: added: in-stable-newton
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/430219

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

The original test passed on 10.0 iso #1328

                                                       <<< 6. Verify hard drive sizes for deployed nodes >>>
2017-02-07 23:03:03 - INFO fuel_web_client.py:1111 -- Get slave-02 node block devices (lsblk)
2017-02-07 23:03:03 - INFO fuel_web_client.py:1111 -- Get slave-03 node block devices (lsblk)
2017-02-07 23:03:04 - INFO fuel_web_client.py:1111 -- Get slave-01 node block devices (lsblk)
2017-02-07 23:03:05 - INFO manager.py:315 --
                                                       <<< 7. Run network verify >>>

Other failed tests will be fixed by new 2.9.24 devops release with cherry-pic of https://review.openstack.org/#/c/384837/1

Changed in fuel:
status: In Progress → Fix Released
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

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

commit b3db3e1f6474c08e211e42ff426521caf33adf24
Author: Dmitry Belyaninov <email address hidden>
Date: Mon Feb 6 22:23:11 2017 +0000

    Stdout for remote call fix

    Wrong property used for the stdout analysis .
    Also steps order fixed.

    Change-Id: I56f465facdd3e3e4fd6b4e7aa61690214f3b254c
    Partial-Bug: 1652030
    (cherry picked from commit 0eb080905b9c96dd00d9e08ba7a308208cd29657)

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.