2025-10-07 15:49:06,500 - INFO - Domain Default found not creating 2025-10-07 15:49:06,681 - INFO - Project ctest-TestBasicPolicy-33437384 not found, creating it 2025-10-07 15:49:07,154 - INFO - Created Project:ctest-TestBasicPolicy-33437384, ID : a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:08,733 - INFO - ================================================================================ 2025-10-07 15:49:08,733 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-07 15:49:08,734 - 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-07 15:49:08,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 15:49:08,991 - INFO - Initial checks done. Running the testcase now 2025-10-07 15:49:08,991 - INFO - 2025-10-07 15:49:09,590 - DEBUG - Response for create_network : {'network': {'id': 'ba7ff6d6-35b5-470f-bb13-69a3ac908982', 'name': 'ctest-vn-89183173', 'tenant_id': 'a01d72cc3fbf45f1af40ed678351f387', 'project_id': 'a01d72cc3fbf45f1af40ed678351f387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-vn-89183173'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:49:09,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ca80d3f-b1ad-4a1a-a976-26d10d3e5aa5', 'name': '', 'tenant_id': 'a01d72cc3fbf45f1af40ed678351f387', 'network_id': 'ba7ff6d6-35b5-470f-bb13-69a3ac908982', 'ip_version': 4, 'cidr': '129.180.248.192/26', 'allocation_pools': [{'start': '129.180.248.194', 'end': '129.180.248.254'}], 'gateway_ip': '129.180.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.180.248.194', 'tags': [], 'project_id': 'a01d72cc3fbf45f1af40ed678351f387'}} 2025-10-07 15:49:09,815 - INFO - Created VN ctest-vn-89183173 2025-10-07 15:49:09,869 - DEBUG - VN ctest-vn-89183173 UUID is ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:10,179 - DEBUG - Response for create_network : {'network': {'id': 'bc05e623-def8-4ab8-863d-c1ad3d460139', 'name': 'ctest-vn-11355778', 'tenant_id': 'a01d72cc3fbf45f1af40ed678351f387', 'project_id': 'a01d72cc3fbf45f1af40ed678351f387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-vn-11355778'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:49:10,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fb70b45-312b-4504-bad8-bef74bb579fe', 'name': '', 'tenant_id': 'a01d72cc3fbf45f1af40ed678351f387', 'network_id': 'bc05e623-def8-4ab8-863d-c1ad3d460139', 'ip_version': 4, 'cidr': '206.54.155.128/26', 'allocation_pools': [{'start': '206.54.155.130', 'end': '206.54.155.190'}], 'gateway_ip': '206.54.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.54.155.130', 'tags': [], 'project_id': 'a01d72cc3fbf45f1af40ed678351f387'}} 2025-10-07 15:49:10,353 - INFO - Created VN ctest-vn-11355778 2025-10-07 15:49:10,405 - DEBUG - VN ctest-vn-11355778 UUID is bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:10,521 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173, 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-33437384:ctest-vn-11355778, 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-07 15:49:10,808 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba7ff6d6-35b5-470f-bb13-69a3ac908982', 'name': 'ctest-vn-89183173', 'tenant_id': 'a01d72cc3fbf45f1af40ed678351f387', 'project_id': 'a01d72cc3fbf45f1af40ed678351f387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ca80d3f-b1ad-4a1a-a976-26d10d3e5aa5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-vn-89183173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-policy-allow-all-17764683']], 'subnet_ipam': [{'subnet_cidr': '129.180.248.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:49:11,050 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc05e623-def8-4ab8-863d-c1ad3d460139', 'name': 'ctest-vn-11355778', 'tenant_id': 'a01d72cc3fbf45f1af40ed678351f387', 'project_id': 'a01d72cc3fbf45f1af40ed678351f387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fb70b45-312b-4504-bad8-bef74bb579fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-vn-11355778'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-policy-allow-all-17764683']], 'subnet_ipam': [{'subnet_cidr': '206.54.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:49:11,221 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:11,559 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:11,586 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dfa7a7b9-40e0-4046-a557-36da65b9b4a0 2025-10-07 15:49:11,599 - DEBUG - Requesting: http://10.0.0.254:8082/project/a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:11,671 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:11,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:11,694 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/92bd8a46-786b-4959-bf82-6a217eab2695 2025-10-07 15:49:11,702 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/92bd8a46-786b-4959-bf82-6a217eab2695 2025-10-07 15:49:11,709 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/87408d2b-8465-4e18-8f3a-ec341da1dd5e 2025-10-07 15:49:11,715 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-07 15:49:11,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:11,724 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/92bd8a46-786b-4959-bf82-6a217eab2695 2025-10-07 15:49:11,737 - INFO - Verified VN network id 11 for VN ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:11,737 - INFO - Verifications in API Server for VN ctest-vn-89183173 passed 2025-10-07 15:49:11,737 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:11,745 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/92bd8a46-786b-4959-bf82-6a217eab2695 2025-10-07 15:49:11,751 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/92bd8a46-786b-4959-bf82-6a217eab2695 2025-10-07 15:49:11,758 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/87408d2b-8465-4e18-8f3a-ec341da1dd5e 2025-10-07 15:49:11,768 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33437384', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13438731212981356303', 'uuid-lslong': '13480234261345765762'}, 'enable': 'true', 'created': '2025-10-07T15:49:09', 'last-modified': '2025-10-07T15:49:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986038'} 2025-10-07 15:49:11,777 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-07 15:49:11,777 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89183173 passed 2025-10-07 15:49:11,777 - DEBUG - ====Verifying policy data for ctest-vn-89183173 in API_Server ====== 2025-10-07 15:49:11,777 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:11,784 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dfa7a7b9-40e0-4046-a557-36da65b9b4a0 2025-10-07 15:49:11,797 - DEBUG - Requesting: http://10.0.0.254:8082/project/a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:11,867 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba7ff6d6-35b5-470f-bb13-69a3ac908982 2025-10-07 15:49:11,876 - DEBUG - ==>Verifying data for policy with id: 2c976712-15ac-4754-b3d5-53f9f216e3e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-policy-allow-all-17764683'] 2025-10-07 15:49:11,877 - INFO - VN ctest-vn-89183173 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-07 15:49:11,877 - DEBUG - Verifying the vn in opserver 2025-10-07 15:49:11,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173 virtual network link through opserver 10.0.0.254 2025-10-07 15:49:11,877 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-07 15:49:12,215 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-07 15:49:12,268 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173?flat'} 2025-10-07 15:49:12,268 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173 is found in opserver 2025-10-07 15:49:12,278 - DEBUG - Do not have enough data to verify VN in agent 2025-10-07 15:49:12,282 - DEBUG - VRF ids for VN ctest-vn-89183173: {} 2025-10-07 15:49:12,282 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:12,288 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dfa7a7b9-40e0-4046-a557-36da65b9b4a0 2025-10-07 15:49:12,299 - DEBUG - Requesting: http://10.0.0.254:8082/project/a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:12,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:12,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:12,390 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66efe848-b50a-42f4-adb4-8bdf36b81360 2025-10-07 15:49:12,398 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66efe848-b50a-42f4-adb4-8bdf36b81360 2025-10-07 15:49:12,404 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7e95457d-802a-44c1-b072-563a06642122 2025-10-07 15:49:12,410 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-07 15:49:12,411 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:12,422 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66efe848-b50a-42f4-adb4-8bdf36b81360 2025-10-07 15:49:12,436 - INFO - Verified VN network id 12 for VN bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:12,436 - INFO - Verifications in API Server for VN ctest-vn-11355778 passed 2025-10-07 15:49:12,436 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:12,445 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66efe848-b50a-42f4-adb4-8bdf36b81360 2025-10-07 15:49:12,452 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66efe848-b50a-42f4-adb4-8bdf36b81360 2025-10-07 15:49:12,458 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7e95457d-802a-44c1-b072-563a06642122 2025-10-07 15:49:12,469 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-11355778', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33437384', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13548488095753063096', 'uuid-lslong': '9673100524463194425'}, 'enable': 'true', 'created': '2025-10-07T15:49:10', 'last-modified': '2025-10-07T15:49:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.443750'} 2025-10-07 15:49:12,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-07 15:49:12,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11355778 passed 2025-10-07 15:49:12,476 - DEBUG - ====Verifying policy data for ctest-vn-11355778 in API_Server ====== 2025-10-07 15:49:12,476 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:12,481 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dfa7a7b9-40e0-4046-a557-36da65b9b4a0 2025-10-07 15:49:12,493 - DEBUG - Requesting: http://10.0.0.254:8082/project/a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:12,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc05e623-def8-4ab8-863d-c1ad3d460139 2025-10-07 15:49:12,575 - DEBUG - ==>Verifying data for policy with id: 2c976712-15ac-4754-b3d5-53f9f216e3e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-33437384', 'ctest-policy-allow-all-17764683'] 2025-10-07 15:49:12,575 - INFO - VN ctest-vn-11355778 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-07 15:49:12,575 - DEBUG - Verifying the vn in opserver 2025-10-07 15:49:12,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-11355778 virtual network link through opserver 10.0.0.254 2025-10-07 15:49:12,575 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-07 15:49:12,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-11355778', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-11355778?flat'} 2025-10-07 15:49:12,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-11355778 is found in opserver 2025-10-07 15:49:12,595 - DEBUG - Do not have enough data to verify VN in agent 2025-10-07 15:49:12,600 - DEBUG - VRF ids for VN ctest-vn-11355778: {} 2025-10-07 15:49:12,660 - DEBUG - Services list from nova: [, , ] 2025-10-07 15:49:13,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1) 2025-10-07 15:49:15,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1) 2025-10-07 15:49:15,042 - INFO - Waiting for VM ctest-TestBasicPolicy-33437384-13231107 to be up.. 2025-10-07 15:49:15,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 15:49:20,213 - DEBUG - VM is in ACTIVE state now 2025-10-07 15:49:20,213 - INFO - VM name : ctest-TestBasicPolicy-33437384-13231107 2025-10-07 15:49:20,294 - DEBUG - VM ctest-TestBasicPolicy-33437384-13231107 ID is db6ea316-2239-4d72-986c-3250d2fd7411 2025-10-07 15:49:20,315 - DEBUG - VM ctest-TestBasicPolicy-33437384-13231107 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1 2025-10-07 15:49:20,393 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db6ea316-2239-4d72-986c-3250d2fd7411 2025-10-07 15:49:20,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6f76d99e-dbd4-4628-aee7-1c3e81817b6a 2025-10-07 15:49:23,660 - 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 1026ms') 2025-10-07 15:49:23,660 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33437384-13231107 failed! 2025-10-07 15:49:23,717 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33437384:ctest-vn-89183173 is 129.180.248.193 and allocation pool is NOT set 2025-10-07 15:49:25,783 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/4.418/8.461/4.043 ms') 2025-10-07 15:49:25,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33437384-13231107 passed 2025-10-07 15:49:25,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:49:25,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33437384-13231107, IP 129.180.248.195, Port 22 2025-10-07 15:49:26,100 - DEBUG - VM ctest-TestBasicPolicy-33437384-13231107 is ready for SSH connections 2025-10-07 15:49:26,100 - INFO - Waiting for VM ctest-TestBasicPolicy-33437384-62322103 to be up.. 2025-10-07 15:49:26,179 - DEBUG - VM is in ACTIVE state now 2025-10-07 15:49:26,179 - INFO - VM name : ctest-TestBasicPolicy-33437384-62322103 2025-10-07 15:49:26,254 - DEBUG - VM ctest-TestBasicPolicy-33437384-62322103 ID is 4f53d4ad-1731-46cc-b231-2d9974e7e07b 2025-10-07 15:49:26,255 - DEBUG - VM ctest-TestBasicPolicy-33437384-62322103 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1 2025-10-07 15:49:26,333 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4f53d4ad-1731-46cc-b231-2d9974e7e07b 2025-10-07 15:49:26,341 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/da0c31a7-bf70-4a42-8fa7-0170b9700042 2025-10-07 15:49:27,580 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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 = 1.705/3.029/4.353/1.324 ms') 2025-10-07 15:49:27,581 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33437384-62322103 passed 2025-10-07 15:49:27,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:49:27,749 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33437384-62322103, IP 206.54.155.131, Port 22 2025-10-07 15:49:27,909 - DEBUG - VM ctest-TestBasicPolicy-33437384-62322103 is ready for SSH connections 2025-10-07 15:49:27,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:49:27,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.54.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:49:27,909 - DEBUG - ping -s 56 -c 3 -W 1 206.54.155.131 2025-10-07 15:49:32,014 - DEBUG - PING 206.54.155.131 (206.54.155.131): 56 data bytes 64 bytes from 206.54.155.131: seq=0 ttl=63 time=5.153 ms 64 bytes from 206.54.155.131: seq=1 ttl=63 time=1.030 ms 64 bytes from 206.54.155.131: seq=2 ttl=63 time=0.885 ms --- 206.54.155.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/2.356/5.153 ms 2025-10-07 15:49:32,015 - INFO - Ping to IP 206.54.155.131 from VM ctest-TestBasicPolicy-33437384-13231107 passed 2025-10-07 15:49:32,193 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2c976712-15ac-4754-b3d5-53f9f216e3e3", "href": "http://10.0.0.254:8082/network-policy/2c976712-15ac-4754-b3d5-53f9f216e3e3"}} 2025-10-07 15:49:32,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:49:32,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.54.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:49:32,193 - DEBUG - ping -s 56 -c 3 -W 1 206.54.155.131 2025-10-07 15:49:35,425 - DEBUG - PING 206.54.155.131 (206.54.155.131): 56 data bytes --- 206.54.155.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-07 15:49:35,426 - WARNING - Ping to IP 206.54.155.131 from VM ctest-TestBasicPolicy-33437384-13231107 failed 2025-10-07 15:49:35,426 - INFO - Deleting VM ctest-TestBasicPolicy-33437384-62322103 2025-10-07 15:49:35,508 - INFO - Deleting VM ctest-TestBasicPolicy-33437384-13231107 2025-10-07 15:49:35,913 - INFO - Deleted policy ctest-policy-allow-all-17764683 2025-10-07 15:49:35,913 - INFO - Deleting VN ctest-vn-11355778 2025-10-07 15:49:35,960 - DEBUG - VN bc05e623-def8-4ab8-863d-c1ad3d460139 still in use: Unable to complete operation on network bc05e623-def8-4ab8-863d-c1ad3d460139. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f526668-623c-4111-a958-d0bcbc1f84fc'] 2025-10-07 15:49:35,961 - WARNING - Deleting VN ctest-vn-11355778 failed..Will retry 2025-10-07 15:49:38,060 - DEBUG - Response for deleting network () 2025-10-07 15:49:38,060 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66efe848-b50a-42f4-adb4-8bdf36b81360 2025-10-07 15:49:38,065 - DEBUG - Response Code: 404 2025-10-07 15:49:38,065 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:38,075 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dfa7a7b9-40e0-4046-a557-36da65b9b4a0 2025-10-07 15:49:38,132 - DEBUG - Requesting: http://10.0.0.254:8082/project/a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:38,203 - INFO - Validated that VN ctest-vn-11355778 is not found in API Server 2025-10-07 15:49:38,213 - DEBUG - VN ctest-vn-11355778 is not present in Agent 10.0.0.254 2025-10-07 15:49:38,213 - INFO - Validated that VN ctest-vn-11355778 is not in any agent 2025-10-07 15:49:38,226 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11355778 info 2025-10-07 15:49:38,226 - INFO - Deleting VN ctest-vn-89183173 2025-10-07 15:49:38,332 - DEBUG - Response for deleting network () 2025-10-07 15:49:38,332 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/92bd8a46-786b-4959-bf82-6a217eab2695 2025-10-07 15:49:38,338 - DEBUG - Response Code: 404 2025-10-07 15:49:38,338 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 15:49:38,343 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dfa7a7b9-40e0-4046-a557-36da65b9b4a0 2025-10-07 15:49:38,394 - DEBUG - Requesting: http://10.0.0.254:8082/project/a01d72cc-3fbf-45f1-af40-ed678351f387 2025-10-07 15:49:38,464 - INFO - Validated that VN ctest-vn-89183173 is not found in API Server 2025-10-07 15:49:38,474 - DEBUG - VN ctest-vn-89183173 is not present in Agent 10.0.0.254 2025-10-07 15:49:38,474 - INFO - Validated that VN ctest-vn-89183173 is not in any agent 2025-10-07 15:49:38,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89183173 info 2025-10-07 15:49:38,751 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 15:49:38,752 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-07 15:49:38,752 - INFO - -------------------------------------------------------------------------------- 2025-10-07 15:49:39,490 - INFO - Deleted project: ctest-TestBasicPolicy-33437384, ID : a01d72cc-3fbf-45f1-af40-ed678351f387