system_test.ubuntu.fuel_plugin_reboot failed due to not changes timestamp

Bug #1573490 reported by Artem Hrechanychenko
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Volodymyr Shypyguzov
Mitaka
Fix Released
High
Volodymyr Shypyguzov

Bug Description

Detailed bug description:
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/9.0.system_test.ubuntu.fuel_plugin_reboot/fuelweb_test/helpers/decorators.py", line 120, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/9.0.system_test.ubuntu.fuel_plugin_reboot/fuelweb_test/tests/plugins/plugin_reboot/test_plugin_reboot_task.py", line 156, in deploy_cluster_with_reboot_plugin
    .format(new_timestamp, old_timestamps[node], node)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/asserts.py", line 163, in assert_true
    raise ASSERTION_ERROR(message)
AssertionError: The new timestamp 1461279541 is not greater than old one 1461279541 but it should for node slave-04

Steps to reproduce:
Scenario:
1. Revert snapshot with 5 nodes
2. Download and install fuel-plugin-builder
3. Create plugin with reboot task
4. Build and copy plugin from container nailgun
5. Install plugin to fuel
6. Create cluster and enable plugin
7. Provision nodes
8. Collect timestamps from nodes
9. Deploy cluster
10. Check if timestamps are changed <<<<<failed here

Expected results:
 Timestamps changed

Actual result:
 The new timestamp 1461279541 is not greater than old one 1461279541 but it should for node slave-04

Reproducibility:
 https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.fuel_plugin_reboot/85/testReport/%28root%29/deploy_cluster_with_reboot_plugin/deploy_cluster_with_reboot_plugin/

Workaround:
-
Impact:
swarm

Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :
tags: added: area-qa
removed: area-build
Changed in fuel:
status: New → Confirmed
Changed in fuel:
milestone: 9.0 → 10.0
tags: added: swarm-fail
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/329585

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Volodymyr Shypyguzov (vshypyguzov)
status: Confirmed → In Progress
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/330579

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

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

commit 251bae4d1a1c783241b9559ca953a048dcee6a07
Author: Volodymyr Shypyguzov <email address hidden>
Date: Tue Jun 14 20:18:06 2016 +0300

    Fix reboot plugin test

    Since tasks.yaml is not supported we need to move our tasks to
    deployment_tasks.yaml

    + create task in the new format
    + refactor code to use ssh_manager

    Change-Id: I7b431b6a5dbcdadf68c064e9f29e919e2c2aabdc
    CLoses-Bug: #1573490

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

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

commit b1c34f657e7afa23b1ed48403c9d02c368cca171
Author: Volodymyr Shypyguzov <email address hidden>
Date: Tue Jun 14 20:18:06 2016 +0300

    Fix reboot plugin test

    Since tasks.yaml is not supported we need to move our tasks to
    deployment_tasks.yaml

    + create task in the new format
    + refactor code to use ssh_manager

    Change-Id: I7b431b6a5dbcdadf68c064e9f29e919e2c2aabdc
    CLoses-Bug: #1573490

Revision history for this message
Volodymyr Shypyguzov (vshypyguzov) wrote :

Verified by SWARM on 9.0 iso #495 and 10.0 iso #363

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