2025-05-13 12:27:47,507 - INFO - Domain Default found not creating 2025-05-13 12:27:47,708 - INFO - Project ctest-TestBasicPolicy-68079522 not found, creating it 2025-05-13 12:27:48,221 - INFO - Created Project:ctest-TestBasicPolicy-68079522, ID : 6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:27:49,975 - INFO - ================================================================================ 2025-05-13 12:27:49,976 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-13 12:27:49,976 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-05-13 12:27:50,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-05-13 12:27:50,249 - INFO - Initial checks done. Running the testcase now 2025-05-13 12:27:50,249 - INFO - 2025-05-13 12:27:50,965 - DEBUG - Response for create_network : {'network': {'id': '02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd', 'name': 'ctest-vn-60715700', 'tenant_id': '6ddfe338fab14126a348266b1e3ce7d8', 'project_id': '6ddfe338fab14126a348266b1e3ce7d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-vn-60715700'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:27:51,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f55fb940-90e4-4d97-a8b2-0f558ae4877c', 'name': '', 'tenant_id': '6ddfe338fab14126a348266b1e3ce7d8', 'network_id': '02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd', 'ip_version': 4, 'cidr': '139.101.32.128/26', 'allocation_pools': [{'start': '139.101.32.130', 'end': '139.101.32.190'}], 'gateway_ip': '139.101.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.101.32.130', 'tags': [], 'project_id': '6ddfe338fab14126a348266b1e3ce7d8'}} 2025-05-13 12:27:51,190 - INFO - Created VN ctest-vn-60715700 2025-05-13 12:27:51,251 - DEBUG - VN ctest-vn-60715700 UUID is 02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:51,611 - DEBUG - Response for create_network : {'network': {'id': 'cf6b1054-dd7e-407c-baa6-6dd345dce164', 'name': 'ctest-vn-10167751', 'tenant_id': '6ddfe338fab14126a348266b1e3ce7d8', 'project_id': '6ddfe338fab14126a348266b1e3ce7d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-vn-10167751'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:27:51,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '79bae1ba-28ae-438d-b90d-f01aca120867', 'name': '', 'tenant_id': '6ddfe338fab14126a348266b1e3ce7d8', 'network_id': 'cf6b1054-dd7e-407c-baa6-6dd345dce164', 'ip_version': 4, 'cidr': '186.242.72.192/26', 'allocation_pools': [{'start': '186.242.72.194', 'end': '186.242.72.254'}], 'gateway_ip': '186.242.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.242.72.194', 'tags': [], 'project_id': '6ddfe338fab14126a348266b1e3ce7d8'}} 2025-05-13 12:27:51,876 - INFO - Created VN ctest-vn-10167751 2025-05-13 12:27:51,931 - DEBUG - VN ctest-vn-10167751 UUID is cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:52,068 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-60715700, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-10167751, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-05-13 12:27:52,428 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd', 'name': 'ctest-vn-60715700', 'tenant_id': '6ddfe338fab14126a348266b1e3ce7d8', 'project_id': '6ddfe338fab14126a348266b1e3ce7d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f55fb940-90e4-4d97-a8b2-0f558ae4877c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-vn-60715700'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-policy-allow-all-26624962']], 'subnet_ipam': [{'subnet_cidr': '139.101.32.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:27:52,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf6b1054-dd7e-407c-baa6-6dd345dce164', 'name': 'ctest-vn-10167751', 'tenant_id': '6ddfe338fab14126a348266b1e3ce7d8', 'project_id': '6ddfe338fab14126a348266b1e3ce7d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79bae1ba-28ae-438d-b90d-f01aca120867'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-vn-10167751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-policy-allow-all-26624962']], 'subnet_ipam': [{'subnet_cidr': '186.242.72.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:27:52,859 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:27:53,203 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:27:53,240 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:27:53,260 - DEBUG - Requesting: http://10.0.0.33:8082/project/6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:27:53,344 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:53,363 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:53,380 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1e12b89-05f0-4793-a51d-95686878d1eb 2025-05-13 12:27:53,391 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1e12b89-05f0-4793-a51d-95686878d1eb 2025-05-13 12:27:53,402 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/422518f5-00a0-4a7b-a1d2-d79d8355e586 2025-05-13 12:27:53,413 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 12:27:53,413 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:53,426 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1e12b89-05f0-4793-a51d-95686878d1eb 2025-05-13 12:27:53,445 - INFO - Verified VN network id 7 for VN 02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:53,445 - INFO - Verifications in API Server for VN ctest-vn-60715700 passed 2025-05-13 12:27:53,445 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:53,460 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1e12b89-05f0-4793-a51d-95686878d1eb 2025-05-13 12:27:53,472 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1e12b89-05f0-4793-a51d-95686878d1eb 2025-05-13 12:27:53,482 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/422518f5-00a0-4a7b-a1d2-d79d8355e586 2025-05-13 12:27:53,499 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-60715700', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68079522', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '196447425696713211', 'uuid-lslong': '13255424992856671421'}, 'enable': 'true', 'created': '2025-05-13T12:27:50', 'last-modified': '2025-05-13T12:27:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.111835'} 2025-05-13 12:27:53,509 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 12:27:53,509 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60715700 passed 2025-05-13 12:27:53,510 - DEBUG - ====Verifying policy data for ctest-vn-60715700 in API_Server ====== 2025-05-13 12:27:53,510 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:27:53,518 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:27:53,534 - DEBUG - Requesting: http://10.0.0.33:8082/project/6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:27:53,622 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02b9ebe4-91b1-49fb-b7f4-baccfe0e84bd 2025-05-13 12:27:53,635 - DEBUG - ==>Verifying data for policy with id: e4972048-3d07-4a36-897e-4d4646632631, fqn: ['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-policy-allow-all-26624962'] 2025-05-13 12:27:53,635 - INFO - VN ctest-vn-60715700 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 12:27:53,635 - DEBUG - Verifying the vn in opserver 2025-05-13 12:27:53,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-60715700 virtual network link through opserver 10.0.0.33 2025-05-13 12:27:53,636 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 12:27:53,978 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 12:27:54,063 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-60715700', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-60715700?flat'} 2025-05-13 12:27:54,063 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-60715700 is found in opserver 2025-05-13 12:27:54,076 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 12:27:54,083 - DEBUG - VRF ids for VN ctest-vn-60715700: {} 2025-05-13 12:27:54,083 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:27:54,091 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:27:54,108 - DEBUG - Requesting: http://10.0.0.33:8082/project/6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:27:54,190 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:54,209 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:54,222 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93a085e3-fcff-4d4c-ac86-9968c96cc815 2025-05-13 12:27:54,236 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93a085e3-fcff-4d4c-ac86-9968c96cc815 2025-05-13 12:27:54,246 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9e2d53bb-de21-44f1-a78c-aed1c0e435e8 2025-05-13 12:27:54,256 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 12:27:54,256 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:54,270 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93a085e3-fcff-4d4c-ac86-9968c96cc815 2025-05-13 12:27:54,292 - INFO - Verified VN network id 8 for VN cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:54,292 - INFO - Verifications in API Server for VN ctest-vn-10167751 passed 2025-05-13 12:27:54,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:54,306 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93a085e3-fcff-4d4c-ac86-9968c96cc815 2025-05-13 12:27:54,317 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93a085e3-fcff-4d4c-ac86-9968c96cc815 2025-05-13 12:27:54,328 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9e2d53bb-de21-44f1-a78c-aed1c0e435e8 2025-05-13 12:27:54,346 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-10167751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68079522', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14946057745038459004', 'uuid-lslong': '13449558091366195556'}, 'enable': 'true', 'created': '2025-05-13T12:27:51', 'last-modified': '2025-05-13T12:27:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686010'} 2025-05-13 12:27:54,354 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 12:27:54,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10167751 passed 2025-05-13 12:27:54,354 - DEBUG - ====Verifying policy data for ctest-vn-10167751 in API_Server ====== 2025-05-13 12:27:54,354 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:27:54,363 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:27:54,379 - DEBUG - Requesting: http://10.0.0.33:8082/project/6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:27:54,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cf6b1054-dd7e-407c-baa6-6dd345dce164 2025-05-13 12:27:54,480 - DEBUG - ==>Verifying data for policy with id: e4972048-3d07-4a36-897e-4d4646632631, fqn: ['default-domain', 'ctest-TestBasicPolicy-68079522', 'ctest-policy-allow-all-26624962'] 2025-05-13 12:27:54,480 - INFO - VN ctest-vn-10167751 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 12:27:54,481 - DEBUG - Verifying the vn in opserver 2025-05-13 12:27:54,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-10167751 virtual network link through opserver 10.0.0.33 2025-05-13 12:27:54,481 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 12:27:54,494 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-10167751', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-10167751?flat'} 2025-05-13 12:27:54,494 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68079522:ctest-vn-10167751 is found in opserver 2025-05-13 12:27:54,511 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 12:27:54,519 - DEBUG - VRF ids for VN ctest-vn-10167751: {} 2025-05-13 12:27:54,644 - DEBUG - Services list from nova: [, , ] 2025-05-13 12:27:56,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:27:57,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:27:57,472 - INFO - Waiting for VM ctest-TestBasicPolicy-68079522-07619241 to be up.. 2025-05-13 12:27:57,544 - DEBUG - VM is in ERROR state now 2025-05-13 12:27:57,544 - ERROR - VM in error state. 2025-05-13 12:27:57,544 - ERROR - VM is not in ACTIVE state 2025-05-13 12:27:57,650 - ERROR - Fatal Nova Exception while getting VM detail 2025-05-13 12:27:57,650 - DEBUG - None 2025-05-13 12:27:57,650 - INFO - Waiting for VM ctest-TestBasicPolicy-68079522-65970360 to be up.. 2025-05-13 12:27:57,723 - DEBUG - VM is in ERROR state now 2025-05-13 12:27:57,723 - ERROR - VM in error state. 2025-05-13 12:27:57,723 - ERROR - VM is not in ACTIVE state 2025-05-13 12:27:57,823 - ERROR - Fatal Nova Exception while getting VM detail 2025-05-13 12:27:57,823 - DEBUG - None 2025-05-13 12:27:57,823 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:27:57,896 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:02,974 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:08,043 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:13,120 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:18,189 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:23,258 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:23,258 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:28:25,259 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:28:25,327 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:30,420 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:35,493 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:40,573 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:45,647 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:50,717 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:50,717 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:28:52,719 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:28:52,787 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:28:57,865 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:02,942 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:08,009 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:13,087 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:18,154 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:18,155 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:29:20,156 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:29:20,232 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:25,306 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:30,377 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:35,451 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:40,536 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:45,624 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:45,624 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:29:47,625 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:29:47,700 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:52,779 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:29:57,854 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:02,927 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:08,011 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:13,092 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:13,094 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:30:15,095 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:30:15,169 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:20,246 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:25,316 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:30,387 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:35,466 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:40,532 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:40,532 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:30:40,533 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:30:40,598 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:45,670 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:50,750 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:30:55,884 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:00,966 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:06,043 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:06,043 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:31:08,044 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:31:08,119 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:13,194 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:18,265 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:23,339 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:28,416 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:33,495 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:33,495 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:31:35,496 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:31:35,567 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:40,642 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:45,717 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:50,784 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:31:55,853 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:00,925 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:00,925 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:32:02,926 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:32:03,006 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:08,079 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:13,159 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:18,237 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:23,311 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:28,389 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:28,389 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:32:30,390 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:32:30,477 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:35,553 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:40,639 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:45,724 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:50,855 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:55,939 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:32:55,939 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:32:57,940 - INFO - VM name : ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:32:58,008 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:33:03,079 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:33:08,149 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:33:13,234 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:33:18,311 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:33:23,388 - DEBUG - VM ctest-TestBasicPolicy-68079522-65970360 : Status=ERROR, Addresses : {} 2025-05-13 12:33:23,388 - ERROR - VM b1acdc75-5790-47c4-86a7-a3ee463f70f2 is not launched yet 2025-05-13 12:33:23,389 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-68079522-65970360 in state ERROR 2025-05-13 12:33:23,389 - INFO - Deleting VM ctest-TestBasicPolicy-68079522-65970360 2025-05-13 12:33:23,415 - ERROR - VM ctest-TestBasicPolicy-68079522-65970360 has failed to come up 2025-05-13 12:33:23,415 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-05-13T12:27:57Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-05-13 12:33:23,416 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-68079522-07619241 in state ERROR 2025-05-13 12:33:23,416 - INFO - Deleting VM ctest-TestBasicPolicy-68079522-07619241 2025-05-13 12:33:23,416 - ERROR - VM ctest-TestBasicPolicy-68079522-07619241 has failed to come up 2025-05-13 12:33:23,416 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-05-13T12:27:56Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-05-13 12:33:23,795 - INFO - Deleted policy ctest-policy-allow-all-26624962 2025-05-13 12:33:23,796 - INFO - Deleting VN ctest-vn-10167751 2025-05-13 12:33:23,953 - DEBUG - Response for deleting network () 2025-05-13 12:33:23,953 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93a085e3-fcff-4d4c-ac86-9968c96cc815 2025-05-13 12:33:23,988 - DEBUG - Response Code: 404 2025-05-13 12:33:23,988 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:33:23,997 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:33:24,014 - DEBUG - Requesting: http://10.0.0.33:8082/project/6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:33:24,103 - INFO - Validated that VN ctest-vn-10167751 is not found in API Server 2025-05-13 12:33:24,118 - DEBUG - VN ctest-vn-10167751 is not present in Agent 10.0.0.33 2025-05-13 12:33:24,119 - INFO - Validated that VN ctest-vn-10167751 is not in any agent 2025-05-13 12:33:24,139 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10167751 info 2025-05-13 12:33:24,139 - INFO - Deleting VN ctest-vn-60715700 2025-05-13 12:33:24,304 - DEBUG - Response for deleting network () 2025-05-13 12:33:24,305 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1e12b89-05f0-4793-a51d-95686878d1eb 2025-05-13 12:33:24,312 - DEBUG - Response Code: 404 2025-05-13 12:33:24,312 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:33:24,320 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:33:24,383 - DEBUG - Requesting: http://10.0.0.33:8082/project/6ddfe338-fab1-4126-a348-266b1e3ce7d8 2025-05-13 12:33:24,464 - INFO - Validated that VN ctest-vn-60715700 is not found in API Server 2025-05-13 12:33:24,480 - DEBUG - VN ctest-vn-60715700 is not present in Agent 10.0.0.33 2025-05-13 12:33:24,480 - INFO - Validated that VN ctest-vn-60715700 is not in any agent 2025-05-13 12:33:24,504 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60715700 info 2025-05-13 12:33:24,773 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/scripts/policy/test_policy_basic.py", line 118, in test_basic_policy_allow_deny
    assert vm1_fixture.ping_with_certainty(vm2_fixture.vm_ip), (
  File "/contrail-test/fixtures/vm_test.py", line 349, in vm_ip
    assert self.verify_vm_launched()
AssertionError
2025-05-13 12:33:24,781 - DEBUG - No XMPP flaps were noticed during the test 2025-05-13 12:33:24,782 - INFO -
2025-05-13 12:33:24,782 - INFO - END TEST : test_basic_policy_allow_deny : FAILED[0:05:35]
2025-05-13 12:33:24,782 - INFO - -------------------------------------------------------------------------------- 2025-05-13 12:33:25,578 - INFO - Deleted project: ctest-TestBasicPolicy-68079522, ID : 6ddfe338-fab1-4126-a348-266b1e3ce7d8