2024-02-29 15:04:30 |
Ayumu Ueha |
description |
The gate job failure by the following error.
=================================================================
tacker.tests.functional.sol.vnflcm.test_vnf_instance_with_user_data.VnfLcmWithUserDataTest.test_inst_chgextconn_term
--------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py", line 2497, in test_inst_chgextconn_term
self.assert_subscription_show(resp, body)
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/base.py", line 1490, in assert_subscription_show
self.assertIsNotNone(_filter)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 419, in assertIsNotNone
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 482, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: None matches Is(None)
=================================================================
In my investigation, this error occurred because can't get vnflcm subsc's filter attribute after upgrade oslo.db to v15.0.0 [1].
[oslo.db v14.1.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25
+--------------+------------------------------------------------------------------------+
| Field | Value |
+--------------+------------------------------------------------------------------------+
| Callback URI | http://127.0.0.1:9990/notification/callbackuri/test |
| Filter | { |
| | "operationTypes": [ |
| | "INSTANTIATE", |
| | "SCALE", |
------------ omit ------------
| | } |
| ID | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 |
| Links | { |
| | "self": { |
| | "href": "http://localhost:9890/vnflcm/v1/subscriptions/
| | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25" |
| | } |
| | } |
+--------------+------------------------------------------------------------------------+
[oslo.db v15.0.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25
+--------------+------------------------------------------------------------------------+
| Field | Value |
+--------------+------------------------------------------------------------------------+
| Callback URI | http://127.0.0.1:9990/notification/callbackuri/test |
| Filter | | ***** can't retrieve the filter value *****
| ID | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 |
| Links | { |
| | "self": { |
| | "href": "http://localhost:9890/vnflcm/v1/subscriptions/
| | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25" |
| | } |
| | } |
+--------------+------------------------------------------------------------------------+
[1] https://review.opendev.org/c/openstack/requirements/+/909930 |
The gate job failure by like the following error.
=================================================================
tacker.tests.functional.sol.vnflcm.test_vnf_instance_with_user_data.VnfLcmWithUserDataTest.test_inst_chgextconn_term
--------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py", line 2497, in test_inst_chgextconn_term
self.assert_subscription_show(resp, body)
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/base.py", line 1490, in assert_subscription_show
self.assertIsNotNone(_filter)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 419, in assertIsNotNone
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 482, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: None matches Is(None)
=================================================================
In my investigation, this error occurred because can't get vnflcm subsc's filter attribute after upgrade oslo.db to v15.0.0 [1].
[oslo.db v14.1.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25
+--------------+--------------------------------------------------------------+
| Field | Value |
+--------------+--------------------------------------------------------------+
| Callback URI | http://127.0.0.1:9990/notification/callbackuri/test |
| Filter | { |
| | "operationTypes": [ |
| | "INSTANTIATE", |
| | "SCALE", |
------------ omit ------------
| | } |
| ID | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 |
| Links | { |
| | "self": { |
| | "href": "http://localhost:9890/vnflcm/v1/subscriptio |
| | ns/a4dcacf1-b050-443e-8de7-7fe8d3ff3e25" |
| | } |
| | } |
+--------------+--------------------------------------------------------------+
[oslo.db v15.0.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25
+--------------+--------------------------------------------------------------+
| Field | Value |
+--------------+--------------------------------------------------------------+
| Callback URI | http://127.0.0.1:9990/notification/callbackuri/test |
| Filter | | ***** can't retrieve the filter value *****
| ID | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 |
| Links | { |
| | "self": { |
| | "href": "http://localhost:9890/vnflcm/v1/subscriptio |
| | ns/a4dcacf1-b050-443e-8de7-7fe8d3ff3e25" |
| | } |
| | } |
+--------------+--------------------------------------------------------------+
[1] https://review.opendev.org/c/openstack/requirements/+/909930 |
|
2024-02-29 15:09:28 |
Ayumu Ueha |
description |
The gate job failure by like the following error.
=================================================================
tacker.tests.functional.sol.vnflcm.test_vnf_instance_with_user_data.VnfLcmWithUserDataTest.test_inst_chgextconn_term
--------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py", line 2497, in test_inst_chgextconn_term
self.assert_subscription_show(resp, body)
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/base.py", line 1490, in assert_subscription_show
self.assertIsNotNone(_filter)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 419, in assertIsNotNone
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 482, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: None matches Is(None)
=================================================================
In my investigation, this error occurred because can't get vnflcm subsc's filter attribute after upgrade oslo.db to v15.0.0 [1].
[oslo.db v14.1.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25
+--------------+--------------------------------------------------------------+
| Field | Value |
+--------------+--------------------------------------------------------------+
| Callback URI | http://127.0.0.1:9990/notification/callbackuri/test |
| Filter | { |
| | "operationTypes": [ |
| | "INSTANTIATE", |
| | "SCALE", |
------------ omit ------------
| | } |
| ID | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 |
| Links | { |
| | "self": { |
| | "href": "http://localhost:9890/vnflcm/v1/subscriptio |
| | ns/a4dcacf1-b050-443e-8de7-7fe8d3ff3e25" |
| | } |
| | } |
+--------------+--------------------------------------------------------------+
[oslo.db v15.0.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25
+--------------+--------------------------------------------------------------+
| Field | Value |
+--------------+--------------------------------------------------------------+
| Callback URI | http://127.0.0.1:9990/notification/callbackuri/test |
| Filter | | ***** can't retrieve the filter value *****
| ID | a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 |
| Links | { |
| | "self": { |
| | "href": "http://localhost:9890/vnflcm/v1/subscriptio |
| | ns/a4dcacf1-b050-443e-8de7-7fe8d3ff3e25" |
| | } |
| | } |
+--------------+--------------------------------------------------------------+
[1] https://review.opendev.org/c/openstack/requirements/+/909930 |
The gate job failure by like the following error.
=================================================================
tacker.tests.functional.sol.vnflcm.test_vnf_instance_with_user_data.VnfLcmWithUserDataTest.test_inst_chgextconn_term
--------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py", line 2497, in test_inst_chgextconn_term
self.assert_subscription_show(resp, body)
File "/home/zuul/src/opendev.org/openstack/tacker/tacker/tests/functional/sol/vnflcm/base.py", line 1490, in assert_subscription_show
self.assertIsNotNone(_filter)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 419, in assertIsNotNone
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/tacker/.tox/dsvm-functional-sol/lib/python3.10/site-packages/testtools/testcase.py", line 482, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: None matches Is(None)
=================================================================
In my investigation, this error occurred because can't get vnflcm subsc's filter attribute after upgrade oslo.db to v15.0.0 [1].
[oslo.db v14.1.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 -f json
{
"Callback URI": "http://127.0.0.1:9990/notification/callbackuri/test",
"Filter": {
"operationTypes": [
"INSTANTIATE",
"SCALE",
"TERMINATE",
"HEAL",
"MODIFY_INFO",
"CHANGE_EXT_CONN"
],
... omit ...
},
"ID": "c6ee98ea-d376-4924-8f39-64dd3c5b0a64",
"Links": {
"self": {
"href": "http://localhost:9890/vnflcm/v1/subscriptions/c6ee98ea-d376-4924-8f39-64dd3c5b0a64"
}
}
}
[oslo.db v15.0.0]
stack@openstack:~/work$ openstack vnflcm subsc show a4dcacf1-b050-443e-8de7-7fe8d3ff3e25 -f json
{
"Callback URI": "http://127.0.0.1:9990/notification/callbackuri/test",
"Filter": "", ** can't get filter value **
"ID": "c6ee98ea-d376-4924-8f39-64dd3c5b0a64",
"Links": {
"self": {
"href": "http://localhost:9890/vnflcm/v1/subscriptions/c6ee98ea-d376-4924-8f39-64dd3c5b0a64"
}
}
}
[1] https://review.opendev.org/c/openstack/requirements/+/909930 |
|