2026-06-15 15:03:02,742 - INFO - Domain Default found not creating 2026-06-15 15:03:02,903 - INFO - Project ctest-TestBasicPolicy-80748250 not found, creating it 2026-06-15 15:03:03,361 - INFO - Created Project:ctest-TestBasicPolicy-80748250, ID : f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:05,660 - INFO - ================================================================================ 2026-06-15 15:03:05,660 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 15:03:05,660 - 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 2026-06-15 15:03:05,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-15 15:03:05,916 - INFO - Initial checks done. Running the testcase now 2026-06-15 15:03:05,916 - INFO - 2026-06-15 15:03:06,493 - DEBUG - Response for create_network : {'network': {'id': '7d4b218b-c7de-481f-9c87-e5896fc77915', 'name': 'ctest-vn-29188888', 'tenant_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'project_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-vn-29188888'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:03:06,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '509b0680-d2e3-4bbe-b206-17c6cea5df71', 'name': '', 'tenant_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'network_id': '7d4b218b-c7de-481f-9c87-e5896fc77915', 'ip_version': 4, 'cidr': '34.59.198.0/26', 'allocation_pools': [{'start': '34.59.198.2', 'end': '34.59.198.62'}], 'gateway_ip': '34.59.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.59.198.2', 'tags': [], 'project_id': 'f4e4230788d2422d95e3ebd662bc6f7c'}} 2026-06-15 15:03:06,743 - INFO - Created VN ctest-vn-29188888 2026-06-15 15:03:06,798 - DEBUG - VN ctest-vn-29188888 UUID is 7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:07,143 - DEBUG - Response for create_network : {'network': {'id': '302de68d-63d4-410b-b939-5dd1904e9d7e', 'name': 'ctest-vn-05663800', 'tenant_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'project_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-vn-05663800'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:03:07,323 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1007b9b-1789-4586-ada8-ea8d1f8e3755', 'name': '', 'tenant_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'network_id': '302de68d-63d4-410b-b939-5dd1904e9d7e', 'ip_version': 4, 'cidr': '18.122.225.64/26', 'allocation_pools': [{'start': '18.122.225.66', 'end': '18.122.225.126'}], 'gateway_ip': '18.122.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.122.225.66', 'tags': [], 'project_id': 'f4e4230788d2422d95e3ebd662bc6f7c'}} 2026-06-15 15:03:07,339 - INFO - Created VN ctest-vn-05663800 2026-06-15 15:03:07,394 - DEBUG - VN ctest-vn-05663800 UUID is 302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:07,542 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888, 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-80748250:ctest-vn-05663800, 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] 2026-06-15 15:03:07,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d4b218b-c7de-481f-9c87-e5896fc77915', 'name': 'ctest-vn-29188888', 'tenant_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'project_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['509b0680-d2e3-4bbe-b206-17c6cea5df71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-vn-29188888'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-policy-allow-all-52215731']], 'subnet_ipam': [{'subnet_cidr': '34.59.198.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:03:08,097 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '302de68d-63d4-410b-b939-5dd1904e9d7e', 'name': 'ctest-vn-05663800', 'tenant_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'project_id': 'f4e4230788d2422d95e3ebd662bc6f7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a1007b9b-1789-4586-ada8-ea8d1f8e3755'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-vn-05663800'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-policy-allow-all-52215731']], 'subnet_ipam': [{'subnet_cidr': '18.122.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:03:08,266 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:08,589 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:08,617 - DEBUG - Requesting: http://10.0.0.33:8082/domain/082228e4-2e28-4052-9943-a3ba51798b4d 2026-06-15 15:03:08,631 - DEBUG - Requesting: http://10.0.0.33:8082/project/f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:08,706 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:08,724 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:08,734 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8469c074-1ce6-4cbe-86fe-3c559a66d1eb 2026-06-15 15:03:08,741 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8469c074-1ce6-4cbe-86fe-3c559a66d1eb 2026-06-15 15:03:08,748 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/70c601fa-0766-47ed-a59f-675278d8c014 2026-06-15 15:03:08,754 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 15:03:08,754 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:08,763 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8469c074-1ce6-4cbe-86fe-3c559a66d1eb 2026-06-15 15:03:08,779 - INFO - Verified VN network id 12 for VN 7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:08,779 - INFO - Verifications in API Server for VN ctest-vn-29188888 passed 2026-06-15 15:03:08,779 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:08,790 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8469c074-1ce6-4cbe-86fe-3c559a66d1eb 2026-06-15 15:03:08,800 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8469c074-1ce6-4cbe-86fe-3c559a66d1eb 2026-06-15 15:03:08,809 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/70c601fa-0766-47ed-a59f-675278d8c014 2026-06-15 15:03:08,824 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80748250', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9028346762231695391', 'uuid-lslong': '11279236170221320469'}, 'enable': 'true', 'created': '2026-06-15T15:03:06', 'last-modified': '2026-06-15T15:03:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990840'} 2026-06-15 15:03:08,832 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 15:03:08,832 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29188888 passed 2026-06-15 15:03:08,833 - DEBUG - ====Verifying policy data for ctest-vn-29188888 in API_Server ====== 2026-06-15 15:03:08,833 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:08,839 - DEBUG - Requesting: http://10.0.0.33:8082/domain/082228e4-2e28-4052-9943-a3ba51798b4d 2026-06-15 15:03:08,851 - DEBUG - Requesting: http://10.0.0.33:8082/project/f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:08,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7d4b218b-c7de-481f-9c87-e5896fc77915 2026-06-15 15:03:08,935 - DEBUG - ==>Verifying data for policy with id: 27daba9c-3af4-4447-bbeb-c4125b73ea06, fqn: ['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-policy-allow-all-52215731'] 2026-06-15 15:03:08,935 - INFO - VN ctest-vn-29188888 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 15:03:08,935 - DEBUG - Verifying the vn in opserver 2026-06-15 15:03:08,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888 virtual network link through opserver 10.0.0.33 2026-06-15 15:03:08,936 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-15 15:03:09,257 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-15 15:03:09,304 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888?flat'} 2026-06-15 15:03:09,304 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888 is found in opserver 2026-06-15 15:03:09,317 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 15:03:09,321 - DEBUG - VRF ids for VN ctest-vn-29188888: {} 2026-06-15 15:03:09,322 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:09,327 - DEBUG - Requesting: http://10.0.0.33:8082/domain/082228e4-2e28-4052-9943-a3ba51798b4d 2026-06-15 15:03:09,337 - DEBUG - Requesting: http://10.0.0.33:8082/project/f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:09,408 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:09,420 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:09,429 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67465303-409b-4068-b7db-19259e4d5499 2026-06-15 15:03:09,436 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67465303-409b-4068-b7db-19259e4d5499 2026-06-15 15:03:09,442 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f537845a-f197-4590-a59c-c1a62c8f9ce1 2026-06-15 15:03:09,449 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 15:03:09,449 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:09,459 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67465303-409b-4068-b7db-19259e4d5499 2026-06-15 15:03:09,475 - INFO - Verified VN network id 13 for VN 302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:09,475 - INFO - Verifications in API Server for VN ctest-vn-05663800 passed 2026-06-15 15:03:09,475 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:09,484 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67465303-409b-4068-b7db-19259e4d5499 2026-06-15 15:03:09,492 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67465303-409b-4068-b7db-19259e4d5499 2026-06-15 15:03:09,499 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f537845a-f197-4590-a59c-c1a62c8f9ce1 2026-06-15 15:03:09,512 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-05663800', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80748250', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3471684382712152331', 'uuid-lslong': '13346802125339794814'}, 'enable': 'true', 'created': '2026-06-15T15:03:07', 'last-modified': '2026-06-15T15:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432807'} 2026-06-15 15:03:09,518 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 15:03:09,518 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05663800 passed 2026-06-15 15:03:09,519 - DEBUG - ====Verifying policy data for ctest-vn-05663800 in API_Server ====== 2026-06-15 15:03:09,519 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:09,526 - DEBUG - Requesting: http://10.0.0.33:8082/domain/082228e4-2e28-4052-9943-a3ba51798b4d 2026-06-15 15:03:09,538 - DEBUG - Requesting: http://10.0.0.33:8082/project/f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:09,610 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/302de68d-63d4-410b-b939-5dd1904e9d7e 2026-06-15 15:03:09,619 - DEBUG - ==>Verifying data for policy with id: 27daba9c-3af4-4447-bbeb-c4125b73ea06, fqn: ['default-domain', 'ctest-TestBasicPolicy-80748250', 'ctest-policy-allow-all-52215731'] 2026-06-15 15:03:09,619 - INFO - VN ctest-vn-05663800 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 15:03:09,619 - DEBUG - Verifying the vn in opserver 2026-06-15 15:03:09,619 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-05663800 virtual network link through opserver 10.0.0.33 2026-06-15 15:03:09,619 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-15 15:03:09,630 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-05663800', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-05663800?flat'} 2026-06-15 15:03:09,630 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-05663800 is found in opserver 2026-06-15 15:03:09,639 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 15:03:09,644 - DEBUG - VRF ids for VN ctest-vn-05663800: {} 2026-06-15 15:03:09,704 - DEBUG - Services list from nova: [, , ] 2026-06-15 15:03:10,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5945-1) 2026-06-15 15:03:11,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5945-1) 2026-06-15 15:03:11,851 - INFO - Waiting for VM ctest-TestBasicPolicy-80748250-77175148 to be up.. 2026-06-15 15:03:11,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 15:03:16,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 15:03:22,047 - DEBUG - VM is in ACTIVE state now 2026-06-15 15:03:22,047 - INFO - VM name : ctest-TestBasicPolicy-80748250-77175148 2026-06-15 15:03:22,116 - DEBUG - VM ctest-TestBasicPolicy-80748250-77175148 ID is 0c839de6-ed69-482b-9090-d7b15f074d72 2026-06-15 15:03:22,136 - DEBUG - VM ctest-TestBasicPolicy-80748250-77175148 launched on Node cn-jenkins-deploy-platform-ansible-os-5945-1 2026-06-15 15:03:22,209 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0c839de6-ed69-482b-9090-d7b15f074d72 2026-06-15 15:03:22,217 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ef1c2994-515e-4cbe-b2bb-8eb1b90c99d5 2026-06-15 15:03:25,489 - 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 1029ms') 2026-06-15 15:03:25,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80748250-77175148 failed! 2026-06-15 15:03:25,542 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80748250:ctest-vn-29188888 is 34.59.198.1 and allocation pool is NOT set 2026-06-15 15:03:29,611 - 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=2 ttl=63 time=6.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.033/6.033/6.033/0.000 ms') 2026-06-15 15:03:29,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80748250-77175148 passed 2026-06-15 15:03:29,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:03:29,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80748250-77175148, IP 34.59.198.3, Port 22 2026-06-15 15:03:29,918 - DEBUG - VM ctest-TestBasicPolicy-80748250-77175148 is ready for SSH connections 2026-06-15 15:03:29,918 - INFO - Waiting for VM ctest-TestBasicPolicy-80748250-91040583 to be up.. 2026-06-15 15:03:29,990 - DEBUG - VM is in ACTIVE state now 2026-06-15 15:03:29,990 - INFO - VM name : ctest-TestBasicPolicy-80748250-91040583 2026-06-15 15:03:30,065 - DEBUG - VM ctest-TestBasicPolicy-80748250-91040583 ID is dcb12868-f9c8-4999-a165-0ffbb3b03a29 2026-06-15 15:03:30,065 - DEBUG - VM ctest-TestBasicPolicy-80748250-91040583 launched on Node cn-jenkins-deploy-platform-ansible-os-5945-1 2026-06-15 15:03:30,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dcb12868-f9c8-4999-a165-0ffbb3b03a29 2026-06-15 15:03:30,148 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c7a551e4-e9d0-4450-abc3-0b27736629dd 2026-06-15 15:03:31,388 - 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=3.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.470/1.979/3.488/1.509 ms') 2026-06-15 15:03:31,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80748250-91040583 passed 2026-06-15 15:03:31,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:03:31,539 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80748250-91040583, IP 18.122.225.67, Port 22 2026-06-15 15:03:31,694 - DEBUG - VM ctest-TestBasicPolicy-80748250-91040583 is ready for SSH connections 2026-06-15 15:03:31,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:03:31,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.122.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-15 15:03:31,694 - DEBUG - ping -s 56 -c 3 -W 1 18.122.225.67 2026-06-15 15:03:35,652 - DEBUG - PING 18.122.225.67 (18.122.225.67): 56 data bytes 64 bytes from 18.122.225.67: seq=0 ttl=63 time=3.691 ms 64 bytes from 18.122.225.67: seq=1 ttl=63 time=0.827 ms 64 bytes from 18.122.225.67: seq=2 ttl=63 time=0.774 ms --- 18.122.225.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.764/3.691 ms 2026-06-15 15:03:35,652 - INFO - Ping to IP 18.122.225.67 from VM ctest-TestBasicPolicy-80748250-77175148 passed 2026-06-15 15:03:35,826 - DEBUG - Policy Update Response {"network-policy": {"uuid": "27daba9c-3af4-4447-bbeb-c4125b73ea06", "href": "http://10.0.0.33:8082/network-policy/27daba9c-3af4-4447-bbeb-c4125b73ea06"}} 2026-06-15 15:03:35,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:03:35,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.122.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-15 15:03:35,827 - DEBUG - ping -s 56 -c 3 -W 1 18.122.225.67 2026-06-15 15:03:38,959 - DEBUG - PING 18.122.225.67 (18.122.225.67): 56 data bytes --- 18.122.225.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-15 15:03:38,959 - WARNING - Ping to IP 18.122.225.67 from VM ctest-TestBasicPolicy-80748250-77175148 failed 2026-06-15 15:03:38,959 - INFO - Deleting VM ctest-TestBasicPolicy-80748250-91040583 2026-06-15 15:03:39,039 - INFO - Deleting VM ctest-TestBasicPolicy-80748250-77175148 2026-06-15 15:03:39,395 - INFO - Deleted policy ctest-policy-allow-all-52215731 2026-06-15 15:03:39,395 - INFO - Deleting VN ctest-vn-05663800 2026-06-15 15:03:39,430 - DEBUG - VN 302de68d-63d4-410b-b939-5dd1904e9d7e still in use: Unable to complete operation on network 302de68d-63d4-410b-b939-5dd1904e9d7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea6763a7-2532-4b5f-8c54-c6e64e2d4679'] 2026-06-15 15:03:39,430 - WARNING - Deleting VN ctest-vn-05663800 failed..Will retry 2026-06-15 15:03:41,525 - DEBUG - Response for deleting network () 2026-06-15 15:03:41,525 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67465303-409b-4068-b7db-19259e4d5499 2026-06-15 15:03:41,530 - DEBUG - Response Code: 404 2026-06-15 15:03:41,530 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:41,536 - DEBUG - Requesting: http://10.0.0.33:8082/domain/082228e4-2e28-4052-9943-a3ba51798b4d 2026-06-15 15:03:41,591 - DEBUG - Requesting: http://10.0.0.33:8082/project/f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:41,664 - INFO - Validated that VN ctest-vn-05663800 is not found in API Server 2026-06-15 15:03:41,673 - DEBUG - VN ctest-vn-05663800 is not present in Agent 10.0.0.33 2026-06-15 15:03:41,673 - INFO - Validated that VN ctest-vn-05663800 is not in any agent 2026-06-15 15:03:41,688 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05663800 info 2026-06-15 15:03:41,688 - INFO - Deleting VN ctest-vn-29188888 2026-06-15 15:03:41,806 - DEBUG - Response for deleting network () 2026-06-15 15:03:41,806 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8469c074-1ce6-4cbe-86fe-3c559a66d1eb 2026-06-15 15:03:41,815 - DEBUG - Response Code: 404 2026-06-15 15:03:41,815 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-15 15:03:41,820 - DEBUG - Requesting: http://10.0.0.33:8082/domain/082228e4-2e28-4052-9943-a3ba51798b4d 2026-06-15 15:03:41,871 - DEBUG - Requesting: http://10.0.0.33:8082/project/f4e42307-88d2-422d-95e3-ebd662bc6f7c 2026-06-15 15:03:41,939 - INFO - Validated that VN ctest-vn-29188888 is not found in API Server 2026-06-15 15:03:41,949 - DEBUG - VN ctest-vn-29188888 is not present in Agent 10.0.0.33 2026-06-15 15:03:41,949 - INFO - Validated that VN ctest-vn-29188888 is not in any agent 2026-06-15 15:03:41,963 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29188888 info 2026-06-15 15:03:42,224 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 15:03:42,224 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-06-15 15:03:42,224 - INFO - -------------------------------------------------------------------------------- 2026-06-15 15:03:42,920 - INFO - Deleted project: ctest-TestBasicPolicy-80748250, ID : f4e42307-88d2-422d-95e3-ebd662bc6f7c