2026-04-29 19:07:21,931 - INFO - Domain Default found not creating 2026-04-29 19:07:22,107 - INFO - Project ctest-TestBasicPolicy-73987826 not found, creating it 2026-04-29 19:07:22,558 - INFO - Created Project:ctest-TestBasicPolicy-73987826, ID : cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:24,032 - INFO - ================================================================================ 2026-04-29 19:07:24,032 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 19:07:24,032 - 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-04-29 19:07:24,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-29 19:07:24,286 - INFO - Initial checks done. Running the testcase now 2026-04-29 19:07:24,286 - INFO - 2026-04-29 19:07:24,834 - DEBUG - Response for create_network : {'network': {'id': 'cf558603-4d89-4fb1-9114-520c5210315d', 'name': 'ctest-vn-42641063', 'tenant_id': 'cf9f4a82230b4194808922775faa8887', 'project_id': 'cf9f4a82230b4194808922775faa8887', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-vn-42641063'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:07:25,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f3ecf57-1708-4c03-8f1f-54d82ce2d585', 'name': '', 'tenant_id': 'cf9f4a82230b4194808922775faa8887', 'network_id': 'cf558603-4d89-4fb1-9114-520c5210315d', 'ip_version': 4, 'cidr': '103.98.21.64/26', 'allocation_pools': [{'start': '103.98.21.66', 'end': '103.98.21.126'}], 'gateway_ip': '103.98.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.98.21.66', 'tags': [], 'project_id': 'cf9f4a82230b4194808922775faa8887'}} 2026-04-29 19:07:25,028 - INFO - Created VN ctest-vn-42641063 2026-04-29 19:07:25,080 - DEBUG - VN ctest-vn-42641063 UUID is cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:25,399 - DEBUG - Response for create_network : {'network': {'id': 'a579236f-fa72-4725-a00a-d5d053b6ed68', 'name': 'ctest-vn-17527927', 'tenant_id': 'cf9f4a82230b4194808922775faa8887', 'project_id': 'cf9f4a82230b4194808922775faa8887', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-vn-17527927'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:07:25,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '96b6c8a9-bcae-4c64-ba65-6d337e0cb5ee', 'name': '', 'tenant_id': 'cf9f4a82230b4194808922775faa8887', 'network_id': 'a579236f-fa72-4725-a00a-d5d053b6ed68', 'ip_version': 4, 'cidr': '35.102.202.192/26', 'allocation_pools': [{'start': '35.102.202.194', 'end': '35.102.202.254'}], 'gateway_ip': '35.102.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.102.202.194', 'tags': [], 'project_id': 'cf9f4a82230b4194808922775faa8887'}} 2026-04-29 19:07:25,639 - INFO - Created VN ctest-vn-17527927 2026-04-29 19:07:25,692 - DEBUG - VN ctest-vn-17527927 UUID is a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:25,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063, 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-73987826:ctest-vn-17527927, 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-04-29 19:07:26,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf558603-4d89-4fb1-9114-520c5210315d', 'name': 'ctest-vn-42641063', 'tenant_id': 'cf9f4a82230b4194808922775faa8887', 'project_id': 'cf9f4a82230b4194808922775faa8887', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3f3ecf57-1708-4c03-8f1f-54d82ce2d585'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-vn-42641063'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-policy-allow-all-35740806']], 'subnet_ipam': [{'subnet_cidr': '103.98.21.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:07:26,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a579236f-fa72-4725-a00a-d5d053b6ed68', 'name': 'ctest-vn-17527927', 'tenant_id': 'cf9f4a82230b4194808922775faa8887', 'project_id': 'cf9f4a82230b4194808922775faa8887', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96b6c8a9-bcae-4c64-ba65-6d337e0cb5ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-vn-17527927'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-policy-allow-all-35740806']], 'subnet_ipam': [{'subnet_cidr': '35.102.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:07:26,528 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:26,823 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:26,856 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3eb7dd65-15c1-4633-ac5f-d5ec47edd8f8 2026-04-29 19:07:26,868 - DEBUG - Requesting: http://10.0.0.38:8082/project/cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:26,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:26,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:26,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9d57a2-d22b-46f3-a128-995258e9ab02 2026-04-29 19:07:26,969 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9d57a2-d22b-46f3-a128-995258e9ab02 2026-04-29 19:07:26,976 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/287dac40-439b-482e-af9c-83635f854887 2026-04-29 19:07:26,983 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:07:26,983 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:26,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9d57a2-d22b-46f3-a128-995258e9ab02 2026-04-29 19:07:27,007 - INFO - Verified VN network id 11 for VN cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:27,007 - INFO - Verifications in API Server for VN ctest-vn-42641063 passed 2026-04-29 19:07:27,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:27,017 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9d57a2-d22b-46f3-a128-995258e9ab02 2026-04-29 19:07:27,025 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9d57a2-d22b-46f3-a128-995258e9ab02 2026-04-29 19:07:27,033 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/287dac40-439b-482e-af9c-83635f854887 2026-04-29 19:07:27,047 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73987826', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14939994687615356849', 'uuid-lslong': '10454070847903641949'}, 'enable': 'true', 'created': '2026-04-29T19:07:24', 'last-modified': '2026-04-29T19:07:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934439'} 2026-04-29 19:07:27,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:07:27,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42641063 passed 2026-04-29 19:07:27,053 - DEBUG - ====Verifying policy data for ctest-vn-42641063 in API_Server ====== 2026-04-29 19:07:27,053 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:27,059 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3eb7dd65-15c1-4633-ac5f-d5ec47edd8f8 2026-04-29 19:07:27,071 - DEBUG - Requesting: http://10.0.0.38:8082/project/cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:27,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf558603-4d89-4fb1-9114-520c5210315d 2026-04-29 19:07:27,150 - DEBUG - ==>Verifying data for policy with id: 0de82c67-4ea6-48d7-8c12-bc13314a686b, fqn: ['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-policy-allow-all-35740806'] 2026-04-29 19:07:27,150 - INFO - VN ctest-vn-42641063 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:07:27,150 - DEBUG - Verifying the vn in opserver 2026-04-29 19:07:27,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063 virtual network link through opserver 10.0.0.38 2026-04-29 19:07:27,150 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 19:07:27,443 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 19:07:27,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063?flat'} 2026-04-29 19:07:27,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063 is found in opserver 2026-04-29 19:07:27,514 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:07:27,519 - DEBUG - VRF ids for VN ctest-vn-42641063: {} 2026-04-29 19:07:27,519 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:27,524 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3eb7dd65-15c1-4633-ac5f-d5ec47edd8f8 2026-04-29 19:07:27,534 - DEBUG - Requesting: http://10.0.0.38:8082/project/cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:27,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:27,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:27,623 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91208076-5822-4c76-a1de-c3a7da1d02f4 2026-04-29 19:07:27,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91208076-5822-4c76-a1de-c3a7da1d02f4 2026-04-29 19:07:27,638 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3623ce7-881a-4686-a487-adc19eb3e100 2026-04-29 19:07:27,645 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:07:27,645 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:27,654 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91208076-5822-4c76-a1de-c3a7da1d02f4 2026-04-29 19:07:27,668 - INFO - Verified VN network id 12 for VN a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:27,668 - INFO - Verifications in API Server for VN ctest-vn-17527927 passed 2026-04-29 19:07:27,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:27,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91208076-5822-4c76-a1de-c3a7da1d02f4 2026-04-29 19:07:27,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91208076-5822-4c76-a1de-c3a7da1d02f4 2026-04-29 19:07:27,693 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3623ce7-881a-4686-a487-adc19eb3e100 2026-04-29 19:07:27,705 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-17527927', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73987826', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11923600452290234149', 'uuid-lslong': '11532264886569987432'}, 'enable': 'true', 'created': '2026-04-29T19:07:25', 'last-modified': '2026-04-29T19:07:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.365446'} 2026-04-29 19:07:27,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:07:27,711 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17527927 passed 2026-04-29 19:07:27,711 - DEBUG - ====Verifying policy data for ctest-vn-17527927 in API_Server ====== 2026-04-29 19:07:27,711 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:27,716 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3eb7dd65-15c1-4633-ac5f-d5ec47edd8f8 2026-04-29 19:07:27,727 - DEBUG - Requesting: http://10.0.0.38:8082/project/cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:27,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a579236f-fa72-4725-a00a-d5d053b6ed68 2026-04-29 19:07:27,820 - DEBUG - ==>Verifying data for policy with id: 0de82c67-4ea6-48d7-8c12-bc13314a686b, fqn: ['default-domain', 'ctest-TestBasicPolicy-73987826', 'ctest-policy-allow-all-35740806'] 2026-04-29 19:07:27,820 - INFO - VN ctest-vn-17527927 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:07:27,820 - DEBUG - Verifying the vn in opserver 2026-04-29 19:07:27,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-17527927 virtual network link through opserver 10.0.0.38 2026-04-29 19:07:27,820 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 19:07:27,829 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-17527927', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-17527927?flat'} 2026-04-29 19:07:27,829 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-17527927 is found in opserver 2026-04-29 19:07:27,839 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:07:27,843 - DEBUG - VRF ids for VN ctest-vn-17527927: {} 2026-04-29 19:07:27,902 - DEBUG - Services list from nova: [, , ] 2026-04-29 19:07:28,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5714-1) 2026-04-29 19:07:30,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5714-1) 2026-04-29 19:07:30,086 - INFO - Waiting for VM ctest-TestBasicPolicy-73987826-36043833 to be up.. 2026-04-29 19:07:30,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 19:07:35,249 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:07:35,249 - INFO - VM name : ctest-TestBasicPolicy-73987826-36043833 2026-04-29 19:07:35,328 - DEBUG - VM ctest-TestBasicPolicy-73987826-36043833 ID is 6fdd6d2e-4aeb-49c8-b5a4-c5335d195acf 2026-04-29 19:07:35,349 - DEBUG - VM ctest-TestBasicPolicy-73987826-36043833 launched on Node cn-jenkins-deploy-platform-ansible-os-5714-1 2026-04-29 19:07:35,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6fdd6d2e-4aeb-49c8-b5a4-c5335d195acf 2026-04-29 19:07:35,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3c1b1e14-2d8f-4579-b90e-c79fc866206e 2026-04-29 19:07:38,677 - 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 1003ms') 2026-04-29 19:07:38,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73987826-36043833 failed! 2026-04-29 19:07:38,736 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73987826:ctest-vn-42641063 is 103.98.21.65 and allocation pool is NOT set 2026-04-29 19:07:40,806 - 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=8.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.537/4.588/8.640/4.051 ms') 2026-04-29 19:07:40,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73987826-36043833 passed 2026-04-29 19:07:40,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:07:40,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73987826-36043833, IP 103.98.21.67, Port 22 2026-04-29 19:07:41,111 - DEBUG - VM ctest-TestBasicPolicy-73987826-36043833 is ready for SSH connections 2026-04-29 19:07:41,112 - INFO - Waiting for VM ctest-TestBasicPolicy-73987826-27018435 to be up.. 2026-04-29 19:07:41,199 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:07:41,200 - INFO - VM name : ctest-TestBasicPolicy-73987826-27018435 2026-04-29 19:07:41,273 - DEBUG - VM ctest-TestBasicPolicy-73987826-27018435 ID is bdafe9be-63ec-4445-8c27-e731095b6fa0 2026-04-29 19:07:41,273 - DEBUG - VM ctest-TestBasicPolicy-73987826-27018435 launched on Node cn-jenkins-deploy-platform-ansible-os-5714-1 2026-04-29 19:07:41,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bdafe9be-63ec-4445-8c27-e731095b6fa0 2026-04-29 19:07:41,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8bddf250-1e6a-40b0-ad88-b2979fc51c6f 2026-04-29 19:07:42,591 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/1.754/2.952/1.198 ms') 2026-04-29 19:07:42,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73987826-27018435 passed 2026-04-29 19:07:42,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:07:42,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73987826-27018435, IP 35.102.202.195, Port 22 2026-04-29 19:07:42,896 - DEBUG - VM ctest-TestBasicPolicy-73987826-27018435 is ready for SSH connections 2026-04-29 19:07:42,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:07:42,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.102.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-29 19:07:42,897 - DEBUG - ping -s 56 -c 3 -W 1 35.102.202.195 2026-04-29 19:07:46,933 - DEBUG - PING 35.102.202.195 (35.102.202.195): 56 data bytes 64 bytes from 35.102.202.195: seq=0 ttl=63 time=3.342 ms 64 bytes from 35.102.202.195: seq=1 ttl=63 time=0.800 ms 64 bytes from 35.102.202.195: seq=2 ttl=63 time=0.923 ms --- 35.102.202.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/1.688/3.342 ms 2026-04-29 19:07:46,933 - INFO - Ping to IP 35.102.202.195 from VM ctest-TestBasicPolicy-73987826-36043833 passed 2026-04-29 19:07:47,116 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0de82c67-4ea6-48d7-8c12-bc13314a686b", "href": "http://10.0.0.38:8082/network-policy/0de82c67-4ea6-48d7-8c12-bc13314a686b"}} 2026-04-29 19:07:47,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:07:47,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.102.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-29 19:07:47,116 - DEBUG - ping -s 56 -c 3 -W 1 35.102.202.195 2026-04-29 19:07:50,330 - DEBUG - PING 35.102.202.195 (35.102.202.195): 56 data bytes --- 35.102.202.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 19:07:50,330 - WARNING - Ping to IP 35.102.202.195 from VM ctest-TestBasicPolicy-73987826-36043833 failed 2026-04-29 19:07:50,330 - INFO - Deleting VM ctest-TestBasicPolicy-73987826-27018435 2026-04-29 19:07:50,397 - INFO - Deleting VM ctest-TestBasicPolicy-73987826-36043833 2026-04-29 19:07:50,778 - INFO - Deleted policy ctest-policy-allow-all-35740806 2026-04-29 19:07:50,778 - INFO - Deleting VN ctest-vn-17527927 2026-04-29 19:07:50,814 - DEBUG - VN a579236f-fa72-4725-a00a-d5d053b6ed68 still in use: Unable to complete operation on network a579236f-fa72-4725-a00a-d5d053b6ed68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fec7cfab-bdd5-414c-a0c2-693a0a15c623'] 2026-04-29 19:07:50,814 - WARNING - Deleting VN ctest-vn-17527927 failed..Will retry 2026-04-29 19:07:52,911 - DEBUG - Response for deleting network () 2026-04-29 19:07:52,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91208076-5822-4c76-a1de-c3a7da1d02f4 2026-04-29 19:07:52,917 - DEBUG - Response Code: 404 2026-04-29 19:07:52,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:52,922 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3eb7dd65-15c1-4633-ac5f-d5ec47edd8f8 2026-04-29 19:07:52,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:53,040 - INFO - Validated that VN ctest-vn-17527927 is not found in API Server 2026-04-29 19:07:53,049 - DEBUG - VN ctest-vn-17527927 is not present in Agent 10.0.0.38 2026-04-29 19:07:53,050 - INFO - Validated that VN ctest-vn-17527927 is not in any agent 2026-04-29 19:07:53,062 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17527927 info 2026-04-29 19:07:53,062 - INFO - Deleting VN ctest-vn-42641063 2026-04-29 19:07:53,160 - DEBUG - Response for deleting network () 2026-04-29 19:07:53,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9d57a2-d22b-46f3-a128-995258e9ab02 2026-04-29 19:07:53,165 - DEBUG - Response Code: 404 2026-04-29 19:07:53,165 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:07:53,176 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3eb7dd65-15c1-4633-ac5f-d5ec47edd8f8 2026-04-29 19:07:53,229 - DEBUG - Requesting: http://10.0.0.38:8082/project/cf9f4a82-230b-4194-8089-22775faa8887 2026-04-29 19:07:53,304 - INFO - Validated that VN ctest-vn-42641063 is not found in API Server 2026-04-29 19:07:53,313 - DEBUG - VN ctest-vn-42641063 is not present in Agent 10.0.0.38 2026-04-29 19:07:53,313 - INFO - Validated that VN ctest-vn-42641063 is not in any agent 2026-04-29 19:07:53,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42641063 info 2026-04-29 19:07:53,581 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 19:07:53,581 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-29 19:07:53,581 - INFO - -------------------------------------------------------------------------------- 2026-04-29 19:07:54,268 - INFO - Deleted project: ctest-TestBasicPolicy-73987826, ID : cf9f4a82-230b-4194-8089-22775faa8887