2025-08-31 06:42:19,697 - INFO - Domain Default found not creating 2025-08-31 06:42:19,858 - INFO - Project ctest-TestBasicPolicy-00349471 not found, creating it 2025-08-31 06:42:20,296 - INFO - Created Project:ctest-TestBasicPolicy-00349471, ID : d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:21,807 - INFO - ================================================================================ 2025-08-31 06:42:21,808 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-31 06:42:21,809 - 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-08-31 06:42:22,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 06:42:22,079 - INFO - Initial checks done. Running the testcase now 2025-08-31 06:42:22,079 - INFO - 2025-08-31 06:42:22,594 - DEBUG - Response for create_network : {'network': {'id': '5e261535-a0a3-41c6-97df-061b611e17dd', 'name': 'ctest-vn-21928333', 'tenant_id': 'd2fa7820366f49f68413cc9064cccabf', 'project_id': 'd2fa7820366f49f68413cc9064cccabf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-vn-21928333'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:42:22,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4c753cf-55f8-4b6f-bb4c-da03256455af', 'name': '', 'tenant_id': 'd2fa7820366f49f68413cc9064cccabf', 'network_id': '5e261535-a0a3-41c6-97df-061b611e17dd', 'ip_version': 4, 'cidr': '170.186.210.0/26', 'allocation_pools': [{'start': '170.186.210.2', 'end': '170.186.210.62'}], 'gateway_ip': '170.186.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.186.210.2', 'tags': [], 'project_id': 'd2fa7820366f49f68413cc9064cccabf'}} 2025-08-31 06:42:22,763 - INFO - Created VN ctest-vn-21928333 2025-08-31 06:42:22,813 - DEBUG - VN ctest-vn-21928333 UUID is 5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:23,135 - DEBUG - Response for create_network : {'network': {'id': '275c004d-8074-4401-a975-9a0ec7d5556d', 'name': 'ctest-vn-36689193', 'tenant_id': 'd2fa7820366f49f68413cc9064cccabf', 'project_id': 'd2fa7820366f49f68413cc9064cccabf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-vn-36689193'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:42:23,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cfbeb74-99e1-4052-918a-2a48cfdde25f', 'name': '', 'tenant_id': 'd2fa7820366f49f68413cc9064cccabf', 'network_id': '275c004d-8074-4401-a975-9a0ec7d5556d', 'ip_version': 4, 'cidr': '209.58.222.64/26', 'allocation_pools': [{'start': '209.58.222.66', 'end': '209.58.222.126'}], 'gateway_ip': '209.58.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.58.222.66', 'tags': [], 'project_id': 'd2fa7820366f49f68413cc9064cccabf'}} 2025-08-31 06:42:23,301 - INFO - Created VN ctest-vn-36689193 2025-08-31 06:42:23,353 - DEBUG - VN ctest-vn-36689193 UUID is 275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:23,505 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333, 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-00349471:ctest-vn-36689193, 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-08-31 06:42:23,799 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e261535-a0a3-41c6-97df-061b611e17dd', 'name': 'ctest-vn-21928333', 'tenant_id': 'd2fa7820366f49f68413cc9064cccabf', 'project_id': 'd2fa7820366f49f68413cc9064cccabf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4c753cf-55f8-4b6f-bb4c-da03256455af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-vn-21928333'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-policy-allow-all-11684173']], 'subnet_ipam': [{'subnet_cidr': '170.186.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:42:24,064 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '275c004d-8074-4401-a975-9a0ec7d5556d', 'name': 'ctest-vn-36689193', 'tenant_id': 'd2fa7820366f49f68413cc9064cccabf', 'project_id': 'd2fa7820366f49f68413cc9064cccabf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cfbeb74-99e1-4052-918a-2a48cfdde25f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-vn-36689193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-policy-allow-all-11684173']], 'subnet_ipam': [{'subnet_cidr': '209.58.222.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:42:24,213 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:24,520 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:24,548 - DEBUG - Requesting: http://10.0.0.33:8082/domain/63d3f03e-b5fb-422f-8732-e88dce41561a 2025-08-31 06:42:24,559 - DEBUG - Requesting: http://10.0.0.33:8082/project/d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:24,638 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:24,652 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:24,663 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8eaa2753-636d-4d16-bbe8-8bae86034702 2025-08-31 06:42:24,670 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8eaa2753-636d-4d16-bbe8-8bae86034702 2025-08-31 06:42:24,677 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/66a4462c-ed94-49c7-b244-785e85ac27a1 2025-08-31 06:42:24,683 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 06:42:24,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:24,691 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8eaa2753-636d-4d16-bbe8-8bae86034702 2025-08-31 06:42:24,705 - INFO - Verified VN network id 9 for VN 5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:24,705 - INFO - Verifications in API Server for VN ctest-vn-21928333 passed 2025-08-31 06:42:24,705 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:24,714 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8eaa2753-636d-4d16-bbe8-8bae86034702 2025-08-31 06:42:24,721 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8eaa2753-636d-4d16-bbe8-8bae86034702 2025-08-31 06:42:24,728 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/66a4462c-ed94-49c7-b244-785e85ac27a1 2025-08-31 06:42:24,739 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00349471', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6784133208752734662', 'uuid-lslong': '10943472334196840413'}, 'enable': 'true', 'created': '2025-08-31T06:42:22', 'last-modified': '2025-08-31T06:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965867'} 2025-08-31 06:42:24,745 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 06:42:24,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21928333 passed 2025-08-31 06:42:24,745 - DEBUG - ====Verifying policy data for ctest-vn-21928333 in API_Server ====== 2025-08-31 06:42:24,745 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:24,751 - DEBUG - Requesting: http://10.0.0.33:8082/domain/63d3f03e-b5fb-422f-8732-e88dce41561a 2025-08-31 06:42:24,764 - DEBUG - Requesting: http://10.0.0.33:8082/project/d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:24,837 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e261535-a0a3-41c6-97df-061b611e17dd 2025-08-31 06:42:24,846 - DEBUG - ==>Verifying data for policy with id: c5f75629-bebe-4f7e-808e-a71ce1829b9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-policy-allow-all-11684173'] 2025-08-31 06:42:24,846 - INFO - VN ctest-vn-21928333 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 06:42:24,846 - DEBUG - Verifying the vn in opserver 2025-08-31 06:42:24,846 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333 virtual network link through opserver 10.0.0.33 2025-08-31 06:42:24,846 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-31 06:42:25,138 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-31 06:42:25,193 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333?flat'} 2025-08-31 06:42:25,194 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333 is found in opserver 2025-08-31 06:42:25,204 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 06:42:25,209 - DEBUG - VRF ids for VN ctest-vn-21928333: {} 2025-08-31 06:42:25,209 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:25,215 - DEBUG - Requesting: http://10.0.0.33:8082/domain/63d3f03e-b5fb-422f-8732-e88dce41561a 2025-08-31 06:42:25,226 - DEBUG - Requesting: http://10.0.0.33:8082/project/d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:25,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:25,304 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:25,313 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a58ff812-f90f-4612-aac8-7980ca206310 2025-08-31 06:42:25,320 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a58ff812-f90f-4612-aac8-7980ca206310 2025-08-31 06:42:25,326 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/74d8a1cf-b7d8-4ad9-92cc-55458a98eff8 2025-08-31 06:42:25,331 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 06:42:25,331 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:25,341 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a58ff812-f90f-4612-aac8-7980ca206310 2025-08-31 06:42:25,353 - INFO - Verified VN network id 10 for VN 275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:25,353 - INFO - Verifications in API Server for VN ctest-vn-36689193 passed 2025-08-31 06:42:25,353 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:25,361 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a58ff812-f90f-4612-aac8-7980ca206310 2025-08-31 06:42:25,369 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a58ff812-f90f-4612-aac8-7980ca206310 2025-08-31 06:42:25,378 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/74d8a1cf-b7d8-4ad9-92cc-55458a98eff8 2025-08-31 06:42:25,389 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-36689193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00349471', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2836142198204154881', 'uuid-lslong': '12210835352957834605'}, 'enable': 'true', 'created': '2025-08-31T06:42:23', 'last-modified': '2025-08-31T06:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390664'} 2025-08-31 06:42:25,396 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 06:42:25,396 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36689193 passed 2025-08-31 06:42:25,396 - DEBUG - ====Verifying policy data for ctest-vn-36689193 in API_Server ====== 2025-08-31 06:42:25,396 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:25,402 - DEBUG - Requesting: http://10.0.0.33:8082/domain/63d3f03e-b5fb-422f-8732-e88dce41561a 2025-08-31 06:42:25,412 - DEBUG - Requesting: http://10.0.0.33:8082/project/d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:25,496 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/275c004d-8074-4401-a975-9a0ec7d5556d 2025-08-31 06:42:25,505 - DEBUG - ==>Verifying data for policy with id: c5f75629-bebe-4f7e-808e-a71ce1829b9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-00349471', 'ctest-policy-allow-all-11684173'] 2025-08-31 06:42:25,505 - INFO - VN ctest-vn-36689193 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 06:42:25,506 - DEBUG - Verifying the vn in opserver 2025-08-31 06:42:25,506 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-36689193 virtual network link through opserver 10.0.0.33 2025-08-31 06:42:25,506 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-31 06:42:25,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-36689193', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-36689193?flat'} 2025-08-31 06:42:25,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-36689193 is found in opserver 2025-08-31 06:42:25,524 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 06:42:25,528 - DEBUG - VRF ids for VN ctest-vn-36689193: {} 2025-08-31 06:42:25,584 - DEBUG - Services list from nova: [, , ] 2025-08-31 06:42:26,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:42:27,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:42:27,794 - INFO - Waiting for VM ctest-TestBasicPolicy-00349471-10303279 to be up.. 2025-08-31 06:42:27,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 06:42:32,952 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:42:32,952 - INFO - VM name : ctest-TestBasicPolicy-00349471-10303279 2025-08-31 06:42:33,025 - DEBUG - VM ctest-TestBasicPolicy-00349471-10303279 ID is 9e617029-25b8-45c3-8ca5-3937e14523db 2025-08-31 06:42:33,045 - DEBUG - VM ctest-TestBasicPolicy-00349471-10303279 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:42:33,125 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9e617029-25b8-45c3-8ca5-3937e14523db 2025-08-31 06:42:33,134 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/83c76e18-c877-414a-bcb2-7b42f00e7070 2025-08-31 06:42:36,383 - 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 1011ms') 2025-08-31 06:42:36,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00349471-10303279 failed! 2025-08-31 06:42:36,437 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00349471:ctest-vn-21928333 is 170.186.210.1 and allocation pool is NOT set 2025-08-31 06:42:38,501 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.961 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.961/2.150/3.340/1.189 ms') 2025-08-31 06:42:38,501 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00349471-10303279 passed 2025-08-31 06:42:38,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:42:38,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00349471-10303279, IP 170.186.210.3, Port 22 2025-08-31 06:42:38,820 - DEBUG - VM ctest-TestBasicPolicy-00349471-10303279 is ready for SSH connections 2025-08-31 06:42:38,820 - INFO - Waiting for VM ctest-TestBasicPolicy-00349471-88439869 to be up.. 2025-08-31 06:42:38,897 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:42:38,897 - INFO - VM name : ctest-TestBasicPolicy-00349471-88439869 2025-08-31 06:42:38,981 - DEBUG - VM ctest-TestBasicPolicy-00349471-88439869 ID is 3d7cc12f-8b22-4ec1-941d-e33d527d437f 2025-08-31 06:42:38,981 - DEBUG - VM ctest-TestBasicPolicy-00349471-88439869 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:42:39,058 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3d7cc12f-8b22-4ec1-941d-e33d527d437f 2025-08-31 06:42:39,067 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/03168db3-4a44-40e4-9f53-eb4bde269984 2025-08-31 06:42:40,315 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.633/2.818/1.184 ms') 2025-08-31 06:42:40,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00349471-88439869 passed 2025-08-31 06:42:40,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:42:40,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00349471-88439869, IP 209.58.222.67, Port 22 2025-08-31 06:42:40,622 - DEBUG - VM ctest-TestBasicPolicy-00349471-88439869 is ready for SSH connections 2025-08-31 06:42:40,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:42:40,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.58.222.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 06:42:40,622 - DEBUG - ping -s 56 -c 3 -W 1 209.58.222.67 2025-08-31 06:42:44,624 - DEBUG - PING 209.58.222.67 (209.58.222.67): 56 data bytes 64 bytes from 209.58.222.67: seq=0 ttl=63 time=3.899 ms 64 bytes from 209.58.222.67: seq=1 ttl=63 time=0.967 ms 64 bytes from 209.58.222.67: seq=2 ttl=63 time=0.823 ms --- 209.58.222.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.896/3.899 ms 2025-08-31 06:42:44,624 - INFO - Ping to IP 209.58.222.67 from VM ctest-TestBasicPolicy-00349471-10303279 passed 2025-08-31 06:42:44,809 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5f75629-bebe-4f7e-808e-a71ce1829b9b", "href": "http://10.0.0.33:8082/network-policy/c5f75629-bebe-4f7e-808e-a71ce1829b9b"}} 2025-08-31 06:42:44,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:42:44,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.58.222.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 06:42:44,809 - DEBUG - ping -s 56 -c 3 -W 1 209.58.222.67 2025-08-31 06:42:48,019 - DEBUG - PING 209.58.222.67 (209.58.222.67): 56 data bytes --- 209.58.222.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 06:42:48,019 - WARNING - Ping to IP 209.58.222.67 from VM ctest-TestBasicPolicy-00349471-10303279 failed 2025-08-31 06:42:48,019 - INFO - Deleting VM ctest-TestBasicPolicy-00349471-88439869 2025-08-31 06:42:48,088 - INFO - Deleting VM ctest-TestBasicPolicy-00349471-10303279 2025-08-31 06:42:48,490 - INFO - Deleted policy ctest-policy-allow-all-11684173 2025-08-31 06:42:48,490 - INFO - Deleting VN ctest-vn-36689193 2025-08-31 06:42:48,525 - DEBUG - VN 275c004d-8074-4401-a975-9a0ec7d5556d still in use: Unable to complete operation on network 275c004d-8074-4401-a975-9a0ec7d5556d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6afc4e11-c47e-439a-b5ef-48db44a14316'] 2025-08-31 06:42:48,525 - WARNING - Deleting VN ctest-vn-36689193 failed..Will retry 2025-08-31 06:42:50,624 - DEBUG - Response for deleting network () 2025-08-31 06:42:50,625 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a58ff812-f90f-4612-aac8-7980ca206310 2025-08-31 06:42:50,633 - DEBUG - Response Code: 404 2025-08-31 06:42:50,633 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:50,638 - DEBUG - Requesting: http://10.0.0.33:8082/domain/63d3f03e-b5fb-422f-8732-e88dce41561a 2025-08-31 06:42:50,695 - DEBUG - Requesting: http://10.0.0.33:8082/project/d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:50,761 - INFO - Validated that VN ctest-vn-36689193 is not found in API Server 2025-08-31 06:42:50,770 - DEBUG - VN ctest-vn-36689193 is not present in Agent 10.0.0.33 2025-08-31 06:42:50,770 - INFO - Validated that VN ctest-vn-36689193 is not in any agent 2025-08-31 06:42:50,784 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36689193 info 2025-08-31 06:42:50,785 - INFO - Deleting VN ctest-vn-21928333 2025-08-31 06:42:50,882 - DEBUG - Response for deleting network () 2025-08-31 06:42:50,882 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8eaa2753-636d-4d16-bbe8-8bae86034702 2025-08-31 06:42:50,890 - DEBUG - Response Code: 404 2025-08-31 06:42:50,891 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 06:42:50,897 - DEBUG - Requesting: http://10.0.0.33:8082/domain/63d3f03e-b5fb-422f-8732-e88dce41561a 2025-08-31 06:42:50,954 - DEBUG - Requesting: http://10.0.0.33:8082/project/d2fa7820-366f-49f6-8413-cc9064cccabf 2025-08-31 06:42:51,022 - INFO - Validated that VN ctest-vn-21928333 is not found in API Server 2025-08-31 06:42:51,032 - DEBUG - VN ctest-vn-21928333 is not present in Agent 10.0.0.33 2025-08-31 06:42:51,032 - INFO - Validated that VN ctest-vn-21928333 is not in any agent 2025-08-31 06:42:51,044 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21928333 info 2025-08-31 06:42:51,298 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 06:42:51,298 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-31 06:42:51,298 - INFO - -------------------------------------------------------------------------------- 2025-08-31 06:42:51,985 - INFO - Deleted project: ctest-TestBasicPolicy-00349471, ID : d2fa7820-366f-49f6-8413-cc9064cccabf