[Fuel CI][python-fuelclient] Job verify-python-fuelclient failed with fuelclient.tests.functional.v1.test_client.TestFiles.test_file_creation

Bug #1570234 reported by Sergey Kulanov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Bulat Gaifullin

Bug Description

Job verify-python-fuelclient [1] failed with fuelclient.tests.functional.v1.test_client.TestFiles.test_file_creation:

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "fuelclient/tests/functional/v1/test_client.py", line 385, in test_file_creation
        self.check_if_files_created(command, files)
      File "fuelclient/tests/functional/v1/test_client.py", line 389, in check_if_files_created
        self.run_cli_command(command_in_dir)
      File "fuelclient/tests/functional/base.py", line 113, in run_cli_command
        self.fail(err)
      File "/home/jenkins/workspace/verify-python-fuelclient/.tox/functional/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
        raise self.failureException(msg)
    AssertionError: Traceback (most recent call last):
      File "/home/jenkins/workspace/verify-python-fuelclient/.tox/functional/bin/fuel", line 10, in <module>
        sys.exit(main())
      File "/home/jenkins/workspace/verify-python-fuelclient/fuelclient/cli/error.py", line 121, in wrapper
        return func(*args, **kwargs)
      File "/home/jenkins/workspace/verify-python-fuelclient/fuelclient/cli/parser.py", line 247, in main
        parser.parse()
      File "/home/jenkins/workspace/verify-python-fuelclient/fuelclient/cli/parser.py", line 150, in parse
        actions[parsed_params.action].action_func(parsed_params)
      File "/home/jenkins/workspace/verify-python-fuelclient/fuelclient/cli/actions/base.py", line 56, in action_func
        method(params)
      File "/home/jenkins/workspace/verify-python-fuelclient/fuelclient/cli/actions/fact.py", line 71, in default
        serializer=self.serializer
      File "/home/jenkins/workspace/verify-python-fuelclient/fuelclient/objects/environment.py", line 365, in write_facts_to_dir
        name_template.format(**_fact)
    KeyError: 'role'

The same issue with https://ci.fuel-infra.org/job/verify-python-fuelclient-on-fuel-web/4110/console

https://ci.fuel-infra.org/job/verify-python-fuelclient/1795/console

description: updated
Changed in fuel:
status: New → Confirmed
assignee: Fuel Python Team (fuel-python) → Roman Prykhodchenko (romcheg)
Changed in fuel:
assignee: Roman Prykhodchenko (romcheg) → Bulat Gaifullin (bgaifullin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/305672
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=499ec3235433cbdefabcc86930d08ec94426c9ea
Submitter: Jenkins
Branch: master

commit 499ec3235433cbdefabcc86930d08ec94426c9ea
Author: Bulat Gaifullin <email address hidden>
Date: Thu Apr 14 11:52:05 2016 +0300

    Fixed building patch for saving deployment info

    Since 9.0 the deployment info is serialized only per node.

    Change-Id: I15dc8d8d7685043b33ae891380dc1de2002e1139
    Closes-Bug: 1570234

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Folks, we also have the same issue for stable/mitaka branch, please check [1]

[1]. https://ci.fuel-infra.org/job/verify-python-fuelclient/1815/

Revision history for this message
Sergey Kulanov (skulanov) wrote :

but probably the correct job should be https://ci.fuel-infra.org/job/verify-python-fuelclient/1813/

since it fixes fuel-web stable/mitaka branch usage

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (stable/mitaka)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (stable/mitaka)

Reviewed: https://review.openstack.org/306251
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=4816aefa49e4d0ca39cb3d6bf38617a351c0ef79
Submitter: Jenkins
Branch: stable/mitaka

commit 4816aefa49e4d0ca39cb3d6bf38617a351c0ef79
Author: Bulat Gaifullin <email address hidden>
Date: Thu Apr 14 11:52:05 2016 +0300

    Fixed building patch for saving deployment info

    Since 9.0 the deployment info is serialized only per node.

    Change-Id: I15dc8d8d7685043b33ae891380dc1de2002e1139
    Closes-Bug: 1570234
    (cherry picked from commit 499ec3235433cbdefabcc86930d08ec94426c9ea)

tags: added: in-stable-mitaka
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.