2025-12-11 12:11:42,003 - INFO - Domain Default found not creating 2025-12-11 12:11:42,188 - INFO - Project ctest-TestBasicPolicy-16286291 not found, creating it 2025-12-11 12:11:42,686 - INFO - Created Project:ctest-TestBasicPolicy-16286291, ID : 5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:11:44,256 - INFO - ================================================================================ 2025-12-11 12:11:44,256 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-11 12:11:44,257 - 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-12-11 12:11:44,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-11 12:11:44,515 - INFO - Initial checks done. Running the testcase now 2025-12-11 12:11:44,516 - INFO - 2025-12-11 12:11:45,113 - DEBUG - Response for create_network : {'network': {'id': '1763d2c8-428c-41ad-99ab-cd4cfa5a1be8', 'name': 'ctest-vn-17910428', 'tenant_id': '5720f62c6a08449fa0abefbae9189ee2', 'project_id': '5720f62c6a08449fa0abefbae9189ee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-vn-17910428'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 12:11:45,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '202da6b2-1a5f-41b2-8bb3-1ec5597717b3', 'name': '', 'tenant_id': '5720f62c6a08449fa0abefbae9189ee2', 'network_id': '1763d2c8-428c-41ad-99ab-cd4cfa5a1be8', 'ip_version': 4, 'cidr': '148.119.250.0/26', 'allocation_pools': [{'start': '148.119.250.2', 'end': '148.119.250.62'}], 'gateway_ip': '148.119.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.119.250.2', 'tags': [], 'project_id': '5720f62c6a08449fa0abefbae9189ee2'}} 2025-12-11 12:11:45,345 - INFO - Created VN ctest-vn-17910428 2025-12-11 12:11:45,398 - DEBUG - VN ctest-vn-17910428 UUID is 1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:45,681 - DEBUG - Response for create_network : {'network': {'id': '9773d0fd-90ba-4001-b92e-a0f15c11da3b', 'name': 'ctest-vn-30025777', 'tenant_id': '5720f62c6a08449fa0abefbae9189ee2', 'project_id': '5720f62c6a08449fa0abefbae9189ee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-vn-30025777'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 12:11:45,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e4b64cf-da19-456f-a2c4-e75fd47213f4', 'name': '', 'tenant_id': '5720f62c6a08449fa0abefbae9189ee2', 'network_id': '9773d0fd-90ba-4001-b92e-a0f15c11da3b', 'ip_version': 4, 'cidr': '208.14.69.64/26', 'allocation_pools': [{'start': '208.14.69.66', 'end': '208.14.69.126'}], 'gateway_ip': '208.14.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.14.69.66', 'tags': [], 'project_id': '5720f62c6a08449fa0abefbae9189ee2'}} 2025-12-11 12:11:45,896 - INFO - Created VN ctest-vn-30025777 2025-12-11 12:11:45,950 - DEBUG - VN ctest-vn-30025777 UUID is 9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:46,063 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-17910428, 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-16286291:ctest-vn-30025777, 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-12-11 12:11:46,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1763d2c8-428c-41ad-99ab-cd4cfa5a1be8', 'name': 'ctest-vn-17910428', 'tenant_id': '5720f62c6a08449fa0abefbae9189ee2', 'project_id': '5720f62c6a08449fa0abefbae9189ee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['202da6b2-1a5f-41b2-8bb3-1ec5597717b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-vn-17910428'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-policy-allow-all-30642531']], 'subnet_ipam': [{'subnet_cidr': '148.119.250.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 12:11:46,625 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9773d0fd-90ba-4001-b92e-a0f15c11da3b', 'name': 'ctest-vn-30025777', 'tenant_id': '5720f62c6a08449fa0abefbae9189ee2', 'project_id': '5720f62c6a08449fa0abefbae9189ee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e4b64cf-da19-456f-a2c4-e75fd47213f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-vn-30025777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-policy-allow-all-30642531']], 'subnet_ipam': [{'subnet_cidr': '208.14.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 12:11:46,774 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:11:47,072 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:11:47,103 - DEBUG - Requesting: http://10.0.0.38:8082/domain/92f18d04-bd1e-447f-ac2b-801bbe6b883c 2025-12-11 12:11:47,115 - DEBUG - Requesting: http://10.0.0.38:8082/project/5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:11:47,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:47,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:47,205 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfa9e70e-f0cd-4608-a38e-bb2a7e213062 2025-12-11 12:11:47,213 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfa9e70e-f0cd-4608-a38e-bb2a7e213062 2025-12-11 12:11:47,220 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2ed8d916-2058-4457-aff6-d9db9b0edfbd 2025-12-11 12:11:47,226 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 12:11:47,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:47,236 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfa9e70e-f0cd-4608-a38e-bb2a7e213062 2025-12-11 12:11:47,252 - INFO - Verified VN network id 11 for VN 1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:47,252 - INFO - Verifications in API Server for VN ctest-vn-17910428 passed 2025-12-11 12:11:47,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:47,262 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfa9e70e-f0cd-4608-a38e-bb2a7e213062 2025-12-11 12:11:47,270 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfa9e70e-f0cd-4608-a38e-bb2a7e213062 2025-12-11 12:11:47,277 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2ed8d916-2058-4457-aff6-d9db9b0edfbd 2025-12-11 12:11:47,290 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-17910428', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16286291', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1685422443118477741', 'uuid-lslong': '11073169839321914344'}, 'enable': 'true', 'created': '2025-12-11T12:11:45', 'last-modified': '2025-12-11T12:11:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952471'} 2025-12-11 12:11:47,296 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 12:11:47,296 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17910428 passed 2025-12-11 12:11:47,296 - DEBUG - ====Verifying policy data for ctest-vn-17910428 in API_Server ====== 2025-12-11 12:11:47,296 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:11:47,302 - DEBUG - Requesting: http://10.0.0.38:8082/domain/92f18d04-bd1e-447f-ac2b-801bbe6b883c 2025-12-11 12:11:47,315 - DEBUG - Requesting: http://10.0.0.38:8082/project/5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:11:47,389 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1763d2c8-428c-41ad-99ab-cd4cfa5a1be8 2025-12-11 12:11:47,409 - DEBUG - ==>Verifying data for policy with id: 7a944550-8ca8-4c5c-969b-6927e3402ab2, fqn: ['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-policy-allow-all-30642531'] 2025-12-11 12:11:47,409 - INFO - VN ctest-vn-17910428 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 12:11:47,409 - DEBUG - Verifying the vn in opserver 2025-12-11 12:11:47,409 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-17910428 virtual network link through opserver 10.0.0.38 2025-12-11 12:11:47,409 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 12:11:47,704 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 12:11:47,769 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-17910428', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-17910428?flat'} 2025-12-11 12:11:47,769 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-17910428 is found in opserver 2025-12-11 12:11:47,778 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 12:11:47,783 - DEBUG - VRF ids for VN ctest-vn-17910428: {} 2025-12-11 12:11:47,783 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:11:47,789 - DEBUG - Requesting: http://10.0.0.38:8082/domain/92f18d04-bd1e-447f-ac2b-801bbe6b883c 2025-12-11 12:11:47,800 - DEBUG - Requesting: http://10.0.0.38:8082/project/5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:11:47,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:47,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:47,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3e44472-951a-4a13-9bad-efffcc2b835f 2025-12-11 12:11:47,902 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3e44472-951a-4a13-9bad-efffcc2b835f 2025-12-11 12:11:47,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64e9c2da-ffc3-4d28-8dc8-6f57dec89be6 2025-12-11 12:11:47,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 12:11:47,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:47,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3e44472-951a-4a13-9bad-efffcc2b835f 2025-12-11 12:11:47,942 - INFO - Verified VN network id 12 for VN 9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:47,942 - INFO - Verifications in API Server for VN ctest-vn-30025777 passed 2025-12-11 12:11:47,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:47,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3e44472-951a-4a13-9bad-efffcc2b835f 2025-12-11 12:11:47,961 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3e44472-951a-4a13-9bad-efffcc2b835f 2025-12-11 12:11:47,968 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64e9c2da-ffc3-4d28-8dc8-6f57dec89be6 2025-12-11 12:11:47,981 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-30025777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16286291', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10913296109522272257', 'uuid-lslong': '13343779704437594683'}, 'enable': 'true', 'created': '2025-12-11T12:11:45', 'last-modified': '2025-12-11T12:11:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422273'} 2025-12-11 12:11:47,987 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 12:11:47,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30025777 passed 2025-12-11 12:11:47,988 - DEBUG - ====Verifying policy data for ctest-vn-30025777 in API_Server ====== 2025-12-11 12:11:47,988 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:11:47,994 - DEBUG - Requesting: http://10.0.0.38:8082/domain/92f18d04-bd1e-447f-ac2b-801bbe6b883c 2025-12-11 12:11:48,004 - DEBUG - Requesting: http://10.0.0.38:8082/project/5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:11:48,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9773d0fd-90ba-4001-b92e-a0f15c11da3b 2025-12-11 12:11:48,086 - DEBUG - ==>Verifying data for policy with id: 7a944550-8ca8-4c5c-969b-6927e3402ab2, fqn: ['default-domain', 'ctest-TestBasicPolicy-16286291', 'ctest-policy-allow-all-30642531'] 2025-12-11 12:11:48,086 - INFO - VN ctest-vn-30025777 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 12:11:48,087 - DEBUG - Verifying the vn in opserver 2025-12-11 12:11:48,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-30025777 virtual network link through opserver 10.0.0.38 2025-12-11 12:11:48,087 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 12:11:48,097 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-30025777', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-30025777?flat'} 2025-12-11 12:11:48,097 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16286291:ctest-vn-30025777 is found in opserver 2025-12-11 12:11:48,106 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 12:11:48,111 - DEBUG - VRF ids for VN ctest-vn-30025777: {} 2025-12-11 12:11:48,227 - DEBUG - Services list from nova: [, , ] 2025-12-11 12:11:49,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4885-1) 2025-12-11 12:11:50,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4885-1) 2025-12-11 12:11:50,605 - INFO - Waiting for VM ctest-TestBasicPolicy-16286291-84062869 to be up.. 2025-12-11 12:11:50,662 - DEBUG - VM is in ERROR state now 2025-12-11 12:11:50,662 - ERROR - VM in error state. 2025-12-11 12:11:50,662 - ERROR - VM is not in ACTIVE state 2025-12-11 12:11:50,747 - ERROR - Fatal Nova Exception while getting VM detail 2025-12-11 12:11:50,747 - DEBUG - None 2025-12-11 12:11:50,747 - INFO - Waiting for VM ctest-TestBasicPolicy-16286291-20585055 to be up.. 2025-12-11 12:11:50,802 - DEBUG - VM is in ERROR state now 2025-12-11 12:11:50,803 - ERROR - VM in error state. 2025-12-11 12:11:50,803 - ERROR - VM is not in ACTIVE state 2025-12-11 12:11:50,885 - ERROR - Fatal Nova Exception while getting VM detail 2025-12-11 12:11:50,885 - DEBUG - None 2025-12-11 12:11:50,886 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:11:50,941 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:11:56,009 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:01,074 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:06,134 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:11,199 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:16,258 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:16,258 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:12:18,259 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:12:18,318 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:23,379 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:28,438 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:33,497 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:38,557 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:43,619 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:43,619 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:12:45,620 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:12:45,679 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:50,739 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:12:55,799 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:00,858 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:05,924 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:10,984 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:10,984 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:13:12,985 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:13:13,047 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:18,112 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:23,171 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:28,233 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:33,290 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:38,353 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:38,353 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:13:40,354 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:13:40,410 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:45,470 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:50,530 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:13:55,590 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:00,700 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:05,760 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:05,760 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:14:07,761 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:14:07,818 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:12,882 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:17,942 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:23,005 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:28,062 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:33,122 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:33,122 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:14:33,123 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:14:33,179 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:38,241 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:43,303 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:48,363 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:53,422 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:58,483 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:14:58,483 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:15:00,484 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:15:00,541 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:05,601 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:10,661 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:15,720 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:20,807 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:25,869 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:25,869 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:15:27,870 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:15:27,927 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:32,983 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:38,049 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:43,109 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:48,175 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:53,236 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:15:53,236 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:15:55,237 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:15:55,295 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:00,357 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:05,414 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:10,475 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:15,533 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:20,593 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:20,593 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:16:22,594 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:16:22,653 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:27,718 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:32,777 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:37,834 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:42,901 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:48,016 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:48,016 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:16:50,017 - INFO - VM name : ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:16:50,074 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:16:55,133 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:17:00,189 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:17:05,249 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:17:10,310 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:17:15,371 - DEBUG - VM ctest-TestBasicPolicy-16286291-20585055 : Status=ERROR, Addresses : {} 2025-12-11 12:17:15,371 - ERROR - VM bb6ad60b-6350-487c-a850-e08c9be05d64 is not launched yet 2025-12-11 12:17:15,371 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-16286291-20585055 in state ERROR 2025-12-11 12:17:15,371 - INFO - Deleting VM ctest-TestBasicPolicy-16286291-20585055 2025-12-11 12:17:15,392 - ERROR - VM ctest-TestBasicPolicy-16286291-20585055 has failed to come up 2025-12-11 12:17:15,392 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-12-11T12:11:50Z', '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-12-11 12:17:15,392 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-16286291-84062869 in state ERROR 2025-12-11 12:17:15,392 - INFO - Deleting VM ctest-TestBasicPolicy-16286291-84062869 2025-12-11 12:17:15,392 - ERROR - VM ctest-TestBasicPolicy-16286291-84062869 has failed to come up 2025-12-11 12:17:15,392 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-12-11T12:11:49Z', '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-12-11 12:17:15,669 - INFO - Deleted policy ctest-policy-allow-all-30642531 2025-12-11 12:17:15,669 - INFO - Deleting VN ctest-vn-30025777 2025-12-11 12:17:15,781 - DEBUG - Response for deleting network () 2025-12-11 12:17:15,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3e44472-951a-4a13-9bad-efffcc2b835f 2025-12-11 12:17:15,809 - DEBUG - Response Code: 404 2025-12-11 12:17:15,809 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:17:15,814 - DEBUG - Requesting: http://10.0.0.38:8082/domain/92f18d04-bd1e-447f-ac2b-801bbe6b883c 2025-12-11 12:17:15,825 - DEBUG - Requesting: http://10.0.0.38:8082/project/5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:17:15,892 - INFO - Validated that VN ctest-vn-30025777 is not found in API Server 2025-12-11 12:17:15,902 - DEBUG - VN ctest-vn-30025777 is not present in Agent 10.0.0.38 2025-12-11 12:17:15,902 - INFO - Validated that VN ctest-vn-30025777 is not in any agent 2025-12-11 12:17:15,916 - DEBUG - Control-node config DB still has VN ctest-vn-30025777 2025-12-11 12:17:20,928 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30025777 info 2025-12-11 12:17:20,928 - INFO - Deleting VN ctest-vn-17910428 2025-12-11 12:17:21,026 - DEBUG - Response for deleting network () 2025-12-11 12:17:21,027 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfa9e70e-f0cd-4608-a38e-bb2a7e213062 2025-12-11 12:17:21,036 - DEBUG - Response Code: 404 2025-12-11 12:17:21,036 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 12:17:21,043 - DEBUG - Requesting: http://10.0.0.38:8082/domain/92f18d04-bd1e-447f-ac2b-801bbe6b883c 2025-12-11 12:17:21,094 - DEBUG - Requesting: http://10.0.0.38:8082/project/5720f62c-6a08-449f-a0ab-efbae9189ee2 2025-12-11 12:17:21,165 - INFO - Validated that VN ctest-vn-17910428 is not found in API Server 2025-12-11 12:17:21,174 - DEBUG - VN ctest-vn-17910428 is not present in Agent 10.0.0.38 2025-12-11 12:17:21,174 - INFO - Validated that VN ctest-vn-17910428 is not in any agent 2025-12-11 12:17:21,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17910428 info 2025-12-11 12:17:21,437 - 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 354, in vm_ip
    assert self.verify_vm_launched()
AssertionError
2025-12-11 12:17:21,443 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 12:17:21,443 - INFO - 2025-12-11 12:17:21,443 - INFO - END TEST : test_basic_policy_allow_deny : FAILED[0:05:37] 2025-12-11 12:17:21,443 - INFO - -------------------------------------------------------------------------------- 2025-12-11 12:17:22,169 - INFO - Deleted project: ctest-TestBasicPolicy-16286291, ID : 5720f62c-6a08-449f-a0ab-efbae9189ee2