2025-10-13 20:56:44,859 - INFO - Domain Default found not creating 2025-10-13 20:56:44,993 - INFO - Project ctest-TestBasicPolicy-91968875 not found, creating it 2025-10-13 20:56:45,437 - INFO - Created Project:ctest-TestBasicPolicy-91968875, ID : d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:56:46,788 - INFO - ================================================================================ 2025-10-13 20:56:46,788 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 20:56:46,788 - 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-10-13 20:56:47,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 20:56:47,039 - INFO - Initial checks done. Running the testcase now 2025-10-13 20:56:47,040 - INFO - 2025-10-13 20:56:47,564 - DEBUG - Response for create_network : {'network': {'id': 'c9ce86ef-f2d7-4e02-a88b-857983b29ccf', 'name': 'ctest-vn-24155477', 'tenant_id': 'd3651a2e90e24941ae3961593d1c5c60', 'project_id': 'd3651a2e90e24941ae3961593d1c5c60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-vn-24155477'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 20:56:47,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8bb0150-4f00-4b67-9e65-de72c38ea47d', 'name': '', 'tenant_id': 'd3651a2e90e24941ae3961593d1c5c60', 'network_id': 'c9ce86ef-f2d7-4e02-a88b-857983b29ccf', 'ip_version': 4, 'cidr': '58.163.238.64/26', 'allocation_pools': [{'start': '58.163.238.66', 'end': '58.163.238.126'}], 'gateway_ip': '58.163.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.163.238.66', 'tags': [], 'project_id': 'd3651a2e90e24941ae3961593d1c5c60'}} 2025-10-13 20:56:47,758 - INFO - Created VN ctest-vn-24155477 2025-10-13 20:56:47,810 - DEBUG - VN ctest-vn-24155477 UUID is c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:48,113 - DEBUG - Response for create_network : {'network': {'id': '5bd5504f-32bb-436c-a5d1-4acdea6fec62', 'name': 'ctest-vn-74946579', 'tenant_id': 'd3651a2e90e24941ae3961593d1c5c60', 'project_id': 'd3651a2e90e24941ae3961593d1c5c60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-vn-74946579'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 20:56:48,253 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a476bda4-83ac-4142-97ca-2ee3de9a1108', 'name': '', 'tenant_id': 'd3651a2e90e24941ae3961593d1c5c60', 'network_id': '5bd5504f-32bb-436c-a5d1-4acdea6fec62', 'ip_version': 4, 'cidr': '157.220.247.192/26', 'allocation_pools': [{'start': '157.220.247.194', 'end': '157.220.247.254'}], 'gateway_ip': '157.220.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.220.247.194', 'tags': [], 'project_id': 'd3651a2e90e24941ae3961593d1c5c60'}} 2025-10-13 20:56:48,272 - INFO - Created VN ctest-vn-74946579 2025-10-13 20:56:48,323 - DEBUG - VN ctest-vn-74946579 UUID is 5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:48,470 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477, 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-91968875:ctest-vn-74946579, 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-10-13 20:56:48,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9ce86ef-f2d7-4e02-a88b-857983b29ccf', 'name': 'ctest-vn-24155477', 'tenant_id': 'd3651a2e90e24941ae3961593d1c5c60', 'project_id': 'd3651a2e90e24941ae3961593d1c5c60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8bb0150-4f00-4b67-9e65-de72c38ea47d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-vn-24155477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-policy-allow-all-35599239']], 'subnet_ipam': [{'subnet_cidr': '58.163.238.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 20:56:48,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bd5504f-32bb-436c-a5d1-4acdea6fec62', 'name': 'ctest-vn-74946579', 'tenant_id': 'd3651a2e90e24941ae3961593d1c5c60', 'project_id': 'd3651a2e90e24941ae3961593d1c5c60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a476bda4-83ac-4142-97ca-2ee3de9a1108'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-vn-74946579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-policy-allow-all-35599239']], 'subnet_ipam': [{'subnet_cidr': '157.220.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 20:56:49,138 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:56:49,430 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:56:49,457 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d51c86b7-829c-4bd4-a0b8-0335f4678f98 2025-10-13 20:56:49,467 - DEBUG - Requesting: http://10.0.0.254:8082/project/d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:56:49,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:49,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:49,553 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41e7fdc9-74b3-4712-afb5-d3f620ec19e2 2025-10-13 20:56:49,559 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41e7fdc9-74b3-4712-afb5-d3f620ec19e2 2025-10-13 20:56:49,565 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b356b84f-0231-4e8f-8d5c-9eb94057b576 2025-10-13 20:56:49,571 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 20:56:49,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:49,578 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41e7fdc9-74b3-4712-afb5-d3f620ec19e2 2025-10-13 20:56:49,592 - INFO - Verified VN network id 12 for VN c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:49,593 - INFO - Verifications in API Server for VN ctest-vn-24155477 passed 2025-10-13 20:56:49,593 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:49,601 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41e7fdc9-74b3-4712-afb5-d3f620ec19e2 2025-10-13 20:56:49,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41e7fdc9-74b3-4712-afb5-d3f620ec19e2 2025-10-13 20:56:49,613 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b356b84f-0231-4e8f-8d5c-9eb94057b576 2025-10-13 20:56:49,624 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91968875', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14541708611955412482', 'uuid-lslong': '12144947577081732303'}, 'enable': 'true', 'created': '2025-10-13T20:56:47', 'last-modified': '2025-10-13T20:56:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886345'} 2025-10-13 20:56:49,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 20:56:49,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24155477 passed 2025-10-13 20:56:49,630 - DEBUG - ====Verifying policy data for ctest-vn-24155477 in API_Server ====== 2025-10-13 20:56:49,630 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:56:49,635 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d51c86b7-829c-4bd4-a0b8-0335f4678f98 2025-10-13 20:56:49,645 - DEBUG - Requesting: http://10.0.0.254:8082/project/d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:56:49,716 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c9ce86ef-f2d7-4e02-a88b-857983b29ccf 2025-10-13 20:56:49,724 - DEBUG - ==>Verifying data for policy with id: cac21a1f-5642-44f8-b6e7-dbbd4721f2c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-policy-allow-all-35599239'] 2025-10-13 20:56:49,724 - INFO - VN ctest-vn-24155477 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 20:56:49,724 - DEBUG - Verifying the vn in opserver 2025-10-13 20:56:49,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477 virtual network link through opserver 10.0.0.254 2025-10-13 20:56:49,724 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 20:56:50,011 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 20:56:50,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477?flat'} 2025-10-13 20:56:50,064 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477 is found in opserver 2025-10-13 20:56:50,073 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 20:56:50,077 - DEBUG - VRF ids for VN ctest-vn-24155477: {} 2025-10-13 20:56:50,077 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:56:50,082 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d51c86b7-829c-4bd4-a0b8-0335f4678f98 2025-10-13 20:56:50,092 - DEBUG - Requesting: http://10.0.0.254:8082/project/d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:56:50,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:50,165 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:50,173 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/01adf8ed-f504-4e2a-992f-0d6f02d67cf0 2025-10-13 20:56:50,179 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/01adf8ed-f504-4e2a-992f-0d6f02d67cf0 2025-10-13 20:56:50,185 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3f4905c4-1535-4f5c-99e9-50cb041decda 2025-10-13 20:56:50,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 20:56:50,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:50,198 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/01adf8ed-f504-4e2a-992f-0d6f02d67cf0 2025-10-13 20:56:50,208 - INFO - Verified VN network id 13 for VN 5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:50,209 - INFO - Verifications in API Server for VN ctest-vn-74946579 passed 2025-10-13 20:56:50,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:50,215 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/01adf8ed-f504-4e2a-992f-0d6f02d67cf0 2025-10-13 20:56:50,221 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/01adf8ed-f504-4e2a-992f-0d6f02d67cf0 2025-10-13 20:56:50,226 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3f4905c4-1535-4f5c-99e9-50cb041decda 2025-10-13 20:56:50,235 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-74946579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91968875', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6617283528574583660', 'uuid-lslong': '11948413534652591202'}, 'enable': 'true', 'created': '2025-10-13T20:56:48', 'last-modified': '2025-10-13T20:56:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284261'} 2025-10-13 20:56:50,240 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 20:56:50,240 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74946579 passed 2025-10-13 20:56:50,241 - DEBUG - ====Verifying policy data for ctest-vn-74946579 in API_Server ====== 2025-10-13 20:56:50,241 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:56:50,245 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d51c86b7-829c-4bd4-a0b8-0335f4678f98 2025-10-13 20:56:50,253 - DEBUG - Requesting: http://10.0.0.254:8082/project/d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:56:50,320 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd5504f-32bb-436c-a5d1-4acdea6fec62 2025-10-13 20:56:50,328 - DEBUG - ==>Verifying data for policy with id: cac21a1f-5642-44f8-b6e7-dbbd4721f2c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-91968875', 'ctest-policy-allow-all-35599239'] 2025-10-13 20:56:50,328 - INFO - VN ctest-vn-74946579 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 20:56:50,328 - DEBUG - Verifying the vn in opserver 2025-10-13 20:56:50,328 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-74946579 virtual network link through opserver 10.0.0.254 2025-10-13 20:56:50,328 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 20:56:50,336 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-74946579', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-74946579?flat'} 2025-10-13 20:56:50,336 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-74946579 is found in opserver 2025-10-13 20:56:50,343 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 20:56:50,347 - DEBUG - VRF ids for VN ctest-vn-74946579: {} 2025-10-13 20:56:50,400 - DEBUG - Services list from nova: [, , ] 2025-10-13 20:56:51,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4310-1) 2025-10-13 20:56:52,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4310-1) 2025-10-13 20:56:52,415 - INFO - Waiting for VM ctest-TestBasicPolicy-91968875-33761853 to be up.. 2025-10-13 20:56:52,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 20:56:57,556 - DEBUG - VM is in ACTIVE state now 2025-10-13 20:56:57,556 - INFO - VM name : ctest-TestBasicPolicy-91968875-33761853 2025-10-13 20:56:57,618 - DEBUG - VM ctest-TestBasicPolicy-91968875-33761853 ID is b0c1a8fe-1fb8-4a39-b078-4e7b9f7d82c3 2025-10-13 20:56:57,634 - DEBUG - VM ctest-TestBasicPolicy-91968875-33761853 launched on Node cn-jenkins-deploy-platform-ansible-os-4310-1 2025-10-13 20:56:57,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0c1a8fe-1fb8-4a39-b078-4e7b9f7d82c3 2025-10-13 20:56:57,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ef4faec0-71c9-44ca-8484-1d42faf9cbad 2025-10-13 20:57:00,929 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-10-13 20:57:00,929 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91968875-33761853 failed! 2025-10-13 20:57:00,987 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91968875:ctest-vn-24155477 is 58.163.238.65 and allocation pool is NOT set 2025-10-13 20:57:03,052 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.550 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.550/1.786/3.023/1.236 ms') 2025-10-13 20:57:03,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91968875-33761853 passed 2025-10-13 20:57:03,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:57:03,199 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91968875-33761853, IP 58.163.238.67, Port 22 2025-10-13 20:57:03,354 - DEBUG - VM ctest-TestBasicPolicy-91968875-33761853 is ready for SSH connections 2025-10-13 20:57:03,354 - INFO - Waiting for VM ctest-TestBasicPolicy-91968875-86340159 to be up.. 2025-10-13 20:57:03,427 - DEBUG - VM is in ACTIVE state now 2025-10-13 20:57:03,427 - INFO - VM name : ctest-TestBasicPolicy-91968875-86340159 2025-10-13 20:57:03,497 - DEBUG - VM ctest-TestBasicPolicy-91968875-86340159 ID is e9aed7f1-04bc-4252-9df7-e38bc7764719 2025-10-13 20:57:03,497 - DEBUG - VM ctest-TestBasicPolicy-91968875-86340159 launched on Node cn-jenkins-deploy-platform-ansible-os-4310-1 2025-10-13 20:57:03,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9aed7f1-04bc-4252-9df7-e38bc7764719 2025-10-13 20:57:03,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/47c8e3fc-1bff-4fd6-877f-38a2aa2a4601 2025-10-13 20:57:04,797 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.770 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.770/2.493/4.216/1.723 ms') 2025-10-13 20:57:04,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91968875-86340159 passed 2025-10-13 20:57:04,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:57:04,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91968875-86340159, IP 157.220.247.195, Port 22 2025-10-13 20:57:05,098 - DEBUG - VM ctest-TestBasicPolicy-91968875-86340159 is ready for SSH connections 2025-10-13 20:57:05,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:57:05,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.220.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 20:57:05,098 - DEBUG - ping -s 56 -c 3 -W 1 157.220.247.195 2025-10-13 20:57:09,124 - DEBUG - PING 157.220.247.195 (157.220.247.195): 56 data bytes 64 bytes from 157.220.247.195: seq=0 ttl=63 time=3.061 ms 64 bytes from 157.220.247.195: seq=1 ttl=63 time=0.893 ms 64 bytes from 157.220.247.195: seq=2 ttl=63 time=0.827 ms --- 157.220.247.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.593/3.061 ms 2025-10-13 20:57:09,124 - INFO - Ping to IP 157.220.247.195 from VM ctest-TestBasicPolicy-91968875-33761853 passed 2025-10-13 20:57:09,298 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cac21a1f-5642-44f8-b6e7-dbbd4721f2c0", "href": "http://10.0.0.254:8082/network-policy/cac21a1f-5642-44f8-b6e7-dbbd4721f2c0"}} 2025-10-13 20:57:09,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:57:09,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.220.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 20:57:09,299 - DEBUG - ping -s 56 -c 3 -W 1 157.220.247.195 2025-10-13 20:57:12,499 - DEBUG - PING 157.220.247.195 (157.220.247.195): 56 data bytes --- 157.220.247.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 20:57:12,499 - WARNING - Ping to IP 157.220.247.195 from VM ctest-TestBasicPolicy-91968875-33761853 failed 2025-10-13 20:57:12,499 - INFO - Deleting VM ctest-TestBasicPolicy-91968875-86340159 2025-10-13 20:57:12,560 - INFO - Deleting VM ctest-TestBasicPolicy-91968875-33761853 2025-10-13 20:57:12,907 - INFO - Deleted policy ctest-policy-allow-all-35599239 2025-10-13 20:57:12,907 - INFO - Deleting VN ctest-vn-74946579 2025-10-13 20:57:12,936 - DEBUG - VN 5bd5504f-32bb-436c-a5d1-4acdea6fec62 still in use: Unable to complete operation on network 5bd5504f-32bb-436c-a5d1-4acdea6fec62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4dd5063b-49b4-4b79-a80b-1d59c0ea1dc7'] 2025-10-13 20:57:12,936 - WARNING - Deleting VN ctest-vn-74946579 failed..Will retry 2025-10-13 20:57:15,034 - DEBUG - Response for deleting network () 2025-10-13 20:57:15,034 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/01adf8ed-f504-4e2a-992f-0d6f02d67cf0 2025-10-13 20:57:15,038 - DEBUG - Response Code: 404 2025-10-13 20:57:15,039 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:57:15,043 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d51c86b7-829c-4bd4-a0b8-0335f4678f98 2025-10-13 20:57:15,095 - DEBUG - Requesting: http://10.0.0.254:8082/project/d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:57:15,163 - INFO - Validated that VN ctest-vn-74946579 is not found in API Server 2025-10-13 20:57:15,172 - DEBUG - VN ctest-vn-74946579 is not present in Agent 10.0.0.254 2025-10-13 20:57:15,172 - INFO - Validated that VN ctest-vn-74946579 is not in any agent 2025-10-13 20:57:15,183 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74946579 info 2025-10-13 20:57:15,184 - INFO - Deleting VN ctest-vn-24155477 2025-10-13 20:57:15,276 - DEBUG - Response for deleting network () 2025-10-13 20:57:15,276 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41e7fdc9-74b3-4712-afb5-d3f620ec19e2 2025-10-13 20:57:15,281 - DEBUG - Response Code: 404 2025-10-13 20:57:15,281 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 20:57:15,287 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d51c86b7-829c-4bd4-a0b8-0335f4678f98 2025-10-13 20:57:15,340 - DEBUG - Requesting: http://10.0.0.254:8082/project/d3651a2e-90e2-4941-ae39-61593d1c5c60 2025-10-13 20:57:15,408 - INFO - Validated that VN ctest-vn-24155477 is not found in API Server 2025-10-13 20:57:15,416 - DEBUG - VN ctest-vn-24155477 is not present in Agent 10.0.0.254 2025-10-13 20:57:15,416 - INFO - Validated that VN ctest-vn-24155477 is not in any agent 2025-10-13 20:57:15,427 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24155477 info 2025-10-13 20:57:15,691 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 20:57:15,691 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-13 20:57:15,691 - INFO - -------------------------------------------------------------------------------- 2025-10-13 20:57:16,358 - INFO - Deleted project: ctest-TestBasicPolicy-91968875, ID : d3651a2e-90e2-4941-ae39-61593d1c5c60