Reviewed: https://review.openstack.org/471508 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=11f4b627459cb68b199ad4f2f1738f07f27627bc Submitter: Jenkins Branch: master
commit 11f4b627459cb68b199ad4f2f1738f07f27627bc Author: Chris Dent <cd...@anticdent.org> Date: Tue Jun 6 22:47:49 2017 +0000 Reset the _TRAITS_SYNCED global in Traits tests The global is reset before and after tests because we don't know what other tests might have been messing with it (without even knowing) in this process. We want to start from a clean slate and leave the slate clean. Change-Id: I42b9a7973ec5c4f42578779dc6ad59274212113f Closes-Bug: #1696267 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1696267 Title: Functional test test_sync_standard_traits intermittently fails Status in OpenStack Compute (nova): Fix Released Bug description: http://logs.openstack.org/98/471498/1/check/gate-nova-tox-functional- ubuntu-xenial/c84dfef/console.html#_2017-06-06_22_23_07_594859 2017-06-06 22:23:07.594859 | nova.tests.functional.db.test_resource_provider.ResourceProviderTraitTestCase.test_sync_standard_traits 2017-06-06 22:23:07.594888 | ------------------------------------------------------------------------------------------------------- 2017-06-06 22:23:07.594894 | 2017-06-06 22:23:07.594904 | Captured traceback: 2017-06-06 22:23:07.594917 | ~~~~~~~~~~~~~~~~~~~ 2017-06-06 22:23:07.594934 | Traceback (most recent call last): 2017-06-06 22:23:07.594965 | File "nova/tests/functional/db/test_resource_provider.py", line 1768, in test_sync_standard_traits 2017-06-06 22:23:07.594988 | self.assertEqual(set(std_traits), set(all_traits)) 2017-06-06 22:23:07.595032 | File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual 2017-06-06 22:23:07.595053 | self.assertThat(observed, matcher, message) 2017-06-06 22:23:07.595095 | File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat 2017-06-06 22:23:07.595107 | raise mismatch_error 2017-06-06 22:23:07.595122 | testtools.matchers._impl.MismatchError: !=: 2017-06-06 22:23:07.595136 | reference = set(['HW_CPU_X86_3DNOW', 2017-06-06 22:23:07.595147 | 'HW_CPU_X86_ABM', 2017-06-06 22:23:07.595158 | 'HW_CPU_X86_AESNI', 2017-06-06 22:23:07.595169 | 'HW_CPU_X86_ASF', 2017-06-06 22:23:07.595198 | 'HW_CPU_X86_AVX', 2017-06-06 22:23:07.595211 | 'HW_CPU_X86_AVX2', 2017-06-06 22:23:07.595223 | 'HW_CPU_X86_AVX512BW', 2017-06-06 22:23:07.595234 | 'HW_CPU_X86_AVX512CD', 2017-06-06 22:23:07.595250 | 'HW_CPU_X86_AVX512DQ', 2017-06-06 22:23:07.595262 | 'HW_CPU_X86_AVX512ER', 2017-06-06 22:23:07.595274 | 'HW_CPU_X86_AVX512F', 2017-06-06 22:23:07.595286 | 'HW_CPU_X86_AVX512PF', 2017-06-06 22:23:07.595297 | 'HW_CPU_X86_AVX512VL', 2017-06-06 22:23:07.595308 | 'HW_CPU_X86_BMI', 2017-06-06 22:23:07.595319 | 'HW_CPU_X86_BMI2', 2017-06-06 22:23:07.595331 | 'HW_CPU_X86_CLMUL', 2017-06-06 22:23:07.595342 | 'HW_CPU_X86_F16C', 2017-06-06 22:23:07.595353 | 'HW_CPU_X86_FMA3', 2017-06-06 22:23:07.595364 | 'HW_CPU_X86_FMA4', 2017-06-06 22:23:07.595375 | 'HW_CPU_X86_MMX', 2017-06-06 22:23:07.595385 | 'HW_CPU_X86_MPX', 2017-06-06 22:23:07.595416 | 'HW_CPU_X86_SGX', 2017-06-06 22:23:07.595430 | 'HW_CPU_X86_SHA', 2017-06-06 22:23:07.595441 | 'HW_CPU_X86_SSE', 2017-06-06 22:23:07.595458 | 'HW_CPU_X86_SSE2', 2017-06-06 22:23:07.595469 | 'HW_CPU_X86_SSE3', 2017-06-06 22:23:07.595482 | 'HW_CPU_X86_SSE41', 2017-06-06 22:23:07.595494 | 'HW_CPU_X86_SSE42', 2017-06-06 22:23:07.595505 | 'HW_CPU_X86_SSE4A', 2017-06-06 22:23:07.595516 | 'HW_CPU_X86_SSSE3', 2017-06-06 22:23:07.595532 | 'HW_CPU_X86_SVM', 2017-06-06 22:23:07.595544 | 'HW_CPU_X86_TBM', 2017-06-06 22:23:07.595555 | 'HW_CPU_X86_TSX', 2017-06-06 22:23:07.595566 | 'HW_CPU_X86_VMX', 2017-06-06 22:23:07.595576 | 'HW_CPU_X86_XOP', 2017-06-06 22:23:07.595588 | 'HW_NIC_ACCEL_DEFLATE', 2017-06-06 22:23:07.595600 | 'HW_NIC_ACCEL_DIFFIEH', 2017-06-06 22:23:07.595612 | 'HW_NIC_ACCEL_ECC', 2017-06-06 22:23:07.595623 | 'HW_NIC_ACCEL_IPSEC', 2017-06-06 22:23:07.595634 | 'HW_NIC_ACCEL_LZS', 2017-06-06 22:23:07.595646 | 'HW_NIC_ACCEL_RSA', 2017-06-06 22:23:07.595657 | 'HW_NIC_ACCEL_SSL', 2017-06-06 22:23:07.595668 | 'HW_NIC_ACCEL_TLS', 2017-06-06 22:23:07.595679 | 'HW_NIC_DCB_ETS', 2017-06-06 22:23:07.595689 | 'HW_NIC_DCB_PFC', 2017-06-06 22:23:07.595700 | 'HW_NIC_DCB_QCN', 2017-06-06 22:23:07.595712 | 'HW_NIC_MULTIQUEUE', 2017-06-06 22:23:07.595723 | 'HW_NIC_OFFLOAD_FDF', 2017-06-06 22:23:07.595735 | 'HW_NIC_OFFLOAD_GENEVE', 2017-06-06 22:23:07.595747 | 'HW_NIC_OFFLOAD_GRE', 2017-06-06 22:23:07.595759 | 'HW_NIC_OFFLOAD_GRO', 2017-06-06 22:23:07.595770 | 'HW_NIC_OFFLOAD_GSO', 2017-06-06 22:23:07.595782 | 'HW_NIC_OFFLOAD_L2CRC', 2017-06-06 22:23:07.595794 | 'HW_NIC_OFFLOAD_LRO', 2017-06-06 22:23:07.595808 | 'HW_NIC_OFFLOAD_LSO', 2017-06-06 22:23:07.595820 | 'HW_NIC_OFFLOAD_QINQ', 2017-06-06 22:23:07.595832 | 'HW_NIC_OFFLOAD_RDMA', 2017-06-06 22:23:07.595845 | 'HW_NIC_OFFLOAD_RXHASH', 2017-06-06 22:23:07.595858 | 'HW_NIC_OFFLOAD_RXVLAN', 2017-06-06 22:23:07.595869 | 'HW_NIC_OFFLOAD_SCS', 2017-06-06 22:23:07.595881 | 'HW_NIC_OFFLOAD_TCS', 2017-06-06 22:23:07.595892 | 'HW_NIC_OFFLOAD_TSO', 2017-06-06 22:23:07.595904 | 'HW_NIC_OFFLOAD_TXUDP', 2017-06-06 22:23:07.595916 | 'HW_NIC_OFFLOAD_TXVLAN', 2017-06-06 22:23:07.595928 | 'HW_NIC_OFFLOAD_UCS', 2017-06-06 22:23:07.595939 | 'HW_NIC_OFFLOAD_UFO', 2017-06-06 22:23:07.595951 | 'HW_NIC_OFFLOAD_VXLAN', 2017-06-06 22:23:07.595965 | 'HW_NIC_PROGRAMMABLE_PIPELINE', 2017-06-06 22:23:07.595977 | 'HW_NIC_SRIOV', 2017-06-06 22:23:07.595994 | 'HW_NIC_SRIOV_MULTIQUEUE', 2017-06-06 22:23:07.596007 | 'HW_NIC_SRIOV_QOS_RX', 2017-06-06 22:23:07.596018 | 'HW_NIC_SRIOV_QOS_TX', 2017-06-06 22:23:07.596028 | 'HW_NIC_VMDQ', 2017-06-06 22:23:07.596046 | 'MISC_SHARES_VIA_AGGREGATE', 2017-06-06 22:23:07.596057 | 'STORAGE_DISK_HDD', 2017-06-06 22:23:07.596069 | 'STORAGE_DISK_SSD']) 2017-06-06 22:23:07.596079 | actual = set([]) To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1696267/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp