TestProviderOperations.test_get_allocation_candidates randomly fails AssertionError because of hash seed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
High
|
Matt Riedemann |
Bug Description
Seen here:
2018-02-02 17:02:50.361819 | ubuntu-xenial | nova.tests.
2018-02-02 17:02:50.361939 | ubuntu-xenial | -------
2018-02-02 17:02:50.361957 | ubuntu-xenial |
2018-02-02 17:02:50.361998 | ubuntu-xenial | Captured pythonlogging:
2018-02-02 17:02:50.362069 | ubuntu-xenial | ~~~~~~~
2018-02-02 17:02:50.362259 | ubuntu-xenial | b'2018-02-02 17:00:28,797 WARNING [oslo_config.cfg] Config option key_manager.
2018-02-02 17:02:50.362423 | ubuntu-xenial | b"2018-02-02 17:00:28,811 WARNING [nova.scheduler
2018-02-02 17:02:50.362478 | ubuntu-xenial | b''
2018-02-02 17:02:50.362502 | ubuntu-xenial |
2018-02-02 17:02:50.362546 | ubuntu-xenial | Captured traceback:
2018-02-02 17:02:50.362584 | ubuntu-xenial | ~~~~~~~~~~~~~~~~~~~
2018-02-02 17:02:50.362643 | ubuntu-xenial | b'Traceback (most recent call last):'
2018-02-02 17:02:50.362821 | ubuntu-xenial | b' File "/home/
2018-02-02 17:02:50.362919 | ubuntu-xenial | b" expected_url, raise_exc=False, microversion=
2018-02-02 17:02:50.363092 | ubuntu-xenial | b' File "/home/
2018-02-02 17:02:50.363179 | ubuntu-xenial | b' return self.assert_
2018-02-02 17:02:50.363368 | ubuntu-xenial | b' File "/home/
2018-02-02 17:02:50.363461 | ubuntu-xenial | b' six.raise_
2018-02-02 17:02:50.363536 | ubuntu-xenial | b' File "<string>", line 3, in raise_from'
2018-02-02 17:02:50.363742 | ubuntu-xenial | b"AssertionError: Expected call: get('/allocatio
2018-02-02 17:02:50.363922 | ubuntu-xenial | b"Actual call: get('/allocatio
2018-02-02 17:02:50.363947 | ubuntu-xenial | b''
It's failing because we're getting random results of the entries in the query string params.
http:// logstash. openstack. org/#dashboard/ file/logstash. json?query= message% 3A%5C%22Expecte d%20call% 3A%20get( '%2Fallocation_ candidates% 3F%5C%22% 20AND%20tags% 3A%5C%22console %5C%22& from=7d
16 hits in the last 48 hours, check and gate, all failures.