Comment 2 for bug 1496448

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

Reviewed: https://review.openstack.org/224205
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=2123640a11db81588086f6df1cf343a81c4800f2
Submitter: Jenkins
Branch: master

commit 2123640a11db81588086f6df1cf343a81c4800f2
Author: Igor Kalnitsky <email address hidden>
Date: Wed Sep 16 18:22:09 2015 +0300

    Make Nailgun tests independed from PYTHONHASHSEED

    test_vlan_range
      The test has been failing because JSON schema validates restriction in
      order that depends on PYTHOHASHSEED. So the fix is to use proper
      values with only one incorrect value.

    test_non_default_bridge_mapping
      The test has been failing because we have a suffix generation for
      bridges implemented via counter. We generate a bridge name with a
      suffix iterating over networks, and PYTHONHASHSEED affects order of
      iteration. So the fix is to do not test bridge names strictly, but
      just most important limits.

    test_update_networks_meta
      The test has been failing because dictionarie's .update() method do
      not perform recursive update, and removes some needed keys
      (such as 'name') so next network lookup may fail.

    TestDeleteIBPImagesTask
      The test has been failing because CMD line has files to remove, and
      their order depend on PYTHONHASHSEED (since they are extracted as
      .keys() from some dictionary structure). So the fix is to perform
      smart check for the command line, not strict one.

    Closes-Bug: #1496448

    Change-Id: I882bbf53f48c842070cb336b1185c40a3dfacc6b
    Signed-off-by: Igor Kalnitsky <email address hidden>