2025-10-13 12:52:25,303 - INFO - Domain Default found not creating 2025-10-13 12:52:25,440 - INFO - Project ctest-TestBasicPolicy-72359301 not found, creating it 2025-10-13 12:52:25,872 - INFO - Created Project:ctest-TestBasicPolicy-72359301, ID : 71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:27,220 - INFO - ================================================================================ 2025-10-13 12:52:27,220 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 12:52:27,220 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-13 12:52:27,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-10-13 12:52:27,475 - INFO - Initial checks done. Running the testcase now 2025-10-13 12:52:27,475 - INFO - 2025-10-13 12:52:27,993 - DEBUG - Response for create_network : {'network': {'id': '0409ee12-c389-40f2-8d1f-935a528582dd', 'name': 'ctest-vn-97138886', 'tenant_id': '71da95b3f05a4de3940605b76ad119cb', 'project_id': '71da95b3f05a4de3940605b76ad119cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-vn-97138886'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:52:28,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '01e3a11a-bbf8-474d-a217-f39ab64e0065', 'name': '', 'tenant_id': '71da95b3f05a4de3940605b76ad119cb', 'network_id': '0409ee12-c389-40f2-8d1f-935a528582dd', 'ip_version': 4, 'cidr': '20.76.145.0/26', 'allocation_pools': [{'start': '20.76.145.2', 'end': '20.76.145.62'}], 'gateway_ip': '20.76.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.76.145.2', 'tags': [], 'project_id': '71da95b3f05a4de3940605b76ad119cb'}} 2025-10-13 12:52:28,148 - INFO - Created VN ctest-vn-97138886 2025-10-13 12:52:28,201 - DEBUG - VN ctest-vn-97138886 UUID is 0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:28,495 - DEBUG - Response for create_network : {'network': {'id': '30f532ec-84f8-482f-92af-b83f27fc274e', 'name': 'ctest-vn-38978922', 'tenant_id': '71da95b3f05a4de3940605b76ad119cb', 'project_id': '71da95b3f05a4de3940605b76ad119cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-vn-38978922'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:52:28,689 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a12216fd-eb72-4a4b-9beb-b68280e05b60', 'name': '', 'tenant_id': '71da95b3f05a4de3940605b76ad119cb', 'network_id': '30f532ec-84f8-482f-92af-b83f27fc274e', 'ip_version': 4, 'cidr': '56.96.50.64/26', 'allocation_pools': [{'start': '56.96.50.66', 'end': '56.96.50.126'}], 'gateway_ip': '56.96.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.96.50.66', 'tags': [], 'project_id': '71da95b3f05a4de3940605b76ad119cb'}} 2025-10-13 12:52:28,705 - INFO - Created VN ctest-vn-38978922 2025-10-13 12:52:28,757 - DEBUG - VN ctest-vn-38978922 UUID is 30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:28,905 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886, 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-72359301:ctest-vn-38978922, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-13 12:52:29,189 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0409ee12-c389-40f2-8d1f-935a528582dd', 'name': 'ctest-vn-97138886', 'tenant_id': '71da95b3f05a4de3940605b76ad119cb', 'project_id': '71da95b3f05a4de3940605b76ad119cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01e3a11a-bbf8-474d-a217-f39ab64e0065'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-vn-97138886'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-policy-allow-all-96825929']], 'subnet_ipam': [{'subnet_cidr': '20.76.145.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:52:29,402 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30f532ec-84f8-482f-92af-b83f27fc274e', 'name': 'ctest-vn-38978922', 'tenant_id': '71da95b3f05a4de3940605b76ad119cb', 'project_id': '71da95b3f05a4de3940605b76ad119cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a12216fd-eb72-4a4b-9beb-b68280e05b60'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-vn-38978922'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-policy-allow-all-96825929']], 'subnet_ipam': [{'subnet_cidr': '56.96.50.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:52:29,561 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:29,849 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:29,874 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f7637674-1c0c-4068-a8eb-a862b87635f7 2025-10-13 12:52:29,885 - DEBUG - Requesting: http://10.0.0.137:8082/project/71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:29,955 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:29,965 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:29,972 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/b9fcea95-7f4b-4284-8c2f-0a4e1f9a680b 2025-10-13 12:52:29,978 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/b9fcea95-7f4b-4284-8c2f-0a4e1f9a680b 2025-10-13 12:52:29,984 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/a2fe4b3a-6a38-45f7-a717-b882cf0c23cd 2025-10-13 12:52:29,989 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 12:52:29,989 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:29,999 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/b9fcea95-7f4b-4284-8c2f-0a4e1f9a680b 2025-10-13 12:52:30,014 - INFO - Verified VN network id 12 for VN 0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:30,015 - INFO - Verifications in API Server for VN ctest-vn-97138886 passed 2025-10-13 12:52:30,015 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:30,023 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/b9fcea95-7f4b-4284-8c2f-0a4e1f9a680b 2025-10-13 12:52:30,029 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/b9fcea95-7f4b-4284-8c2f-0a4e1f9a680b 2025-10-13 12:52:30,035 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/a2fe4b3a-6a38-45f7-a717-b882cf0c23cd 2025-10-13 12:52:30,044 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72359301', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '291025415299481842', 'uuid-lslong': '10169008499766690525'}, 'enable': 'true', 'created': '2025-10-13T12:52:27', 'last-modified': '2025-10-13T12:52:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874983'} 2025-10-13 12:52:30,051 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 12:52:30,051 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97138886 passed 2025-10-13 12:52:30,051 - DEBUG - ====Verifying policy data for ctest-vn-97138886 in API_Server ====== 2025-10-13 12:52:30,052 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:30,056 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f7637674-1c0c-4068-a8eb-a862b87635f7 2025-10-13 12:52:30,067 - DEBUG - Requesting: http://10.0.0.137:8082/project/71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:30,135 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/0409ee12-c389-40f2-8d1f-935a528582dd 2025-10-13 12:52:30,144 - DEBUG - ==>Verifying data for policy with id: e2337595-f8fd-450d-8a1b-fa590c160657, fqn: ['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-policy-allow-all-96825929'] 2025-10-13 12:52:30,144 - INFO - VN ctest-vn-97138886 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 12:52:30,144 - DEBUG - Verifying the vn in opserver 2025-10-13 12:52:30,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886 virtual network link through opserver 10.0.0.137 2025-10-13 12:52:30,144 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-13 12:52:30,433 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-13 12:52:30,481 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886?flat'} 2025-10-13 12:52:30,481 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886 is found in opserver 2025-10-13 12:52:30,489 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 12:52:30,494 - DEBUG - VRF ids for VN ctest-vn-97138886: {} 2025-10-13 12:52:30,494 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:30,500 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f7637674-1c0c-4068-a8eb-a862b87635f7 2025-10-13 12:52:30,510 - DEBUG - Requesting: http://10.0.0.137:8082/project/71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:30,579 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:30,589 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:30,597 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/d8b4e1fa-d983-49b8-b900-0a82af71e542 2025-10-13 12:52:30,603 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/d8b4e1fa-d983-49b8-b900-0a82af71e542 2025-10-13 12:52:30,609 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/715b398c-bb5a-4c55-bb81-695efd62b435 2025-10-13 12:52:30,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 12:52:30,615 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:30,623 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/d8b4e1fa-d983-49b8-b900-0a82af71e542 2025-10-13 12:52:30,635 - INFO - Verified VN network id 13 for VN 30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:30,635 - INFO - Verifications in API Server for VN ctest-vn-38978922 passed 2025-10-13 12:52:30,635 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:30,645 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/d8b4e1fa-d983-49b8-b900-0a82af71e542 2025-10-13 12:52:30,652 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/d8b4e1fa-d983-49b8-b900-0a82af71e542 2025-10-13 12:52:30,658 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/715b398c-bb5a-4c55-bb81-695efd62b435 2025-10-13 12:52:30,669 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-38978922', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72359301', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3527781874539186223', 'uuid-lslong': '10569869431855130446'}, 'enable': 'true', 'created': '2025-10-13T12:52:28', 'last-modified': '2025-10-13T12:52:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287753'} 2025-10-13 12:52:30,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 12:52:30,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38978922 passed 2025-10-13 12:52:30,674 - DEBUG - ====Verifying policy data for ctest-vn-38978922 in API_Server ====== 2025-10-13 12:52:30,674 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:30,682 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f7637674-1c0c-4068-a8eb-a862b87635f7 2025-10-13 12:52:30,691 - DEBUG - Requesting: http://10.0.0.137:8082/project/71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:30,756 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/30f532ec-84f8-482f-92af-b83f27fc274e 2025-10-13 12:52:30,764 - DEBUG - ==>Verifying data for policy with id: e2337595-f8fd-450d-8a1b-fa590c160657, fqn: ['default-domain', 'ctest-TestBasicPolicy-72359301', 'ctest-policy-allow-all-96825929'] 2025-10-13 12:52:30,764 - INFO - VN ctest-vn-38978922 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 12:52:30,764 - DEBUG - Verifying the vn in opserver 2025-10-13 12:52:30,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-38978922 virtual network link through opserver 10.0.0.137 2025-10-13 12:52:30,764 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-13 12:52:30,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-38978922', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-38978922?flat'} 2025-10-13 12:52:30,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-38978922 is found in opserver 2025-10-13 12:52:30,781 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 12:52:30,785 - DEBUG - VRF ids for VN ctest-vn-38978922: {} 2025-10-13 12:52:30,834 - DEBUG - Services list from nova: [, , ] 2025-10-13 12:52:31,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1) 2025-10-13 12:52:32,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1) 2025-10-13 12:52:32,887 - INFO - Waiting for VM ctest-TestBasicPolicy-72359301-46183833 to be up.. 2025-10-13 12:52:32,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 12:52:38,033 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:52:38,033 - INFO - VM name : ctest-TestBasicPolicy-72359301-46183833 2025-10-13 12:52:38,101 - DEBUG - VM ctest-TestBasicPolicy-72359301-46183833 ID is 1fb3a674-7223-425e-a9c1-24c8181a5dec 2025-10-13 12:52:38,123 - DEBUG - VM ctest-TestBasicPolicy-72359301-46183833 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1 2025-10-13 12:52:38,188 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/1fb3a674-7223-425e-a9c1-24c8181a5dec 2025-10-13 12:52:38,196 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/09c28162-d7b9-4fe2-b8d1-65502f2df605 2025-10-13 12:52:41,457 - 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 1024ms') 2025-10-13 12:52:41,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72359301-46183833 failed! 2025-10-13 12:52:41,509 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72359301:ctest-vn-97138886 is 20.76.145.1 and allocation pool is NOT set 2025-10-13 12:52:43,571 - 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=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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 = 1.380/3.352/5.324/1.972 ms') 2025-10-13 12:52:43,571 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72359301-46183833 passed 2025-10-13 12:52:43,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:43,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72359301-46183833, IP 20.76.145.3, Port 22 2025-10-13 12:52:43,868 - DEBUG - VM ctest-TestBasicPolicy-72359301-46183833 is ready for SSH connections 2025-10-13 12:52:43,868 - INFO - Waiting for VM ctest-TestBasicPolicy-72359301-38412938 to be up.. 2025-10-13 12:52:43,944 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:52:43,944 - INFO - VM name : ctest-TestBasicPolicy-72359301-38412938 2025-10-13 12:52:44,021 - DEBUG - VM ctest-TestBasicPolicy-72359301-38412938 ID is 747dc487-ec5a-48e6-bc64-9ad53b910743 2025-10-13 12:52:44,021 - DEBUG - VM ctest-TestBasicPolicy-72359301-38412938 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1 2025-10-13 12:52:44,089 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/747dc487-ec5a-48e6-bc64-9ad53b910743 2025-10-13 12:52:44,095 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/6007a2ad-2c55-45c4-aa33-0a1841c9a991 2025-10-13 12:52:45,330 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.518/2.637/1.119 ms') 2025-10-13 12:52:45,330 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72359301-38412938 passed 2025-10-13 12:52:45,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:45,477 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72359301-38412938, IP 56.96.50.67, Port 22 2025-10-13 12:52:45,628 - DEBUG - VM ctest-TestBasicPolicy-72359301-38412938 is ready for SSH connections 2025-10-13 12:52:45,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:45,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.96.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-13 12:52:45,629 - DEBUG - ping -s 56 -c 3 -W 1 56.96.50.67 2025-10-13 12:52:49,670 - DEBUG - PING 56.96.50.67 (56.96.50.67): 56 data bytes 64 bytes from 56.96.50.67: seq=0 ttl=63 time=4.024 ms 64 bytes from 56.96.50.67: seq=1 ttl=63 time=0.769 ms 64 bytes from 56.96.50.67: seq=2 ttl=63 time=0.795 ms --- 56.96.50.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.862/4.024 ms 2025-10-13 12:52:49,670 - INFO - Ping to IP 56.96.50.67 from VM ctest-TestBasicPolicy-72359301-46183833 passed 2025-10-13 12:52:49,844 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e2337595-f8fd-450d-8a1b-fa590c160657", "href": "http://10.0.0.137:8082/network-policy/e2337595-f8fd-450d-8a1b-fa590c160657"}} 2025-10-13 12:52:49,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:49,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.96.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-13 12:52:49,845 - DEBUG - ping -s 56 -c 3 -W 1 56.96.50.67 2025-10-13 12:52:53,047 - DEBUG - PING 56.96.50.67 (56.96.50.67): 56 data bytes --- 56.96.50.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 12:52:53,047 - WARNING - Ping to IP 56.96.50.67 from VM ctest-TestBasicPolicy-72359301-46183833 failed 2025-10-13 12:52:53,048 - INFO - Deleting VM ctest-TestBasicPolicy-72359301-38412938 2025-10-13 12:52:53,110 - INFO - Deleting VM ctest-TestBasicPolicy-72359301-46183833 2025-10-13 12:52:53,478 - INFO - Deleted policy ctest-policy-allow-all-96825929 2025-10-13 12:52:53,479 - INFO - Deleting VN ctest-vn-38978922 2025-10-13 12:52:53,517 - DEBUG - VN 30f532ec-84f8-482f-92af-b83f27fc274e still in use: Unable to complete operation on network 30f532ec-84f8-482f-92af-b83f27fc274e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25425d16-d806-4d17-b1fa-b499929a6e4c'] 2025-10-13 12:52:53,517 - WARNING - Deleting VN ctest-vn-38978922 failed..Will retry 2025-10-13 12:52:55,629 - DEBUG - Response for deleting network () 2025-10-13 12:52:55,629 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/d8b4e1fa-d983-49b8-b900-0a82af71e542 2025-10-13 12:52:55,635 - DEBUG - Response Code: 404 2025-10-13 12:52:55,636 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:55,642 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f7637674-1c0c-4068-a8eb-a862b87635f7 2025-10-13 12:52:55,695 - DEBUG - Requesting: http://10.0.0.137:8082/project/71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:55,770 - INFO - Validated that VN ctest-vn-38978922 is not found in API Server 2025-10-13 12:52:55,779 - DEBUG - VN ctest-vn-38978922 is not present in Agent 10.0.0.137 2025-10-13 12:52:55,779 - INFO - Validated that VN ctest-vn-38978922 is not in any agent 2025-10-13 12:52:55,795 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38978922 info 2025-10-13 12:52:55,796 - INFO - Deleting VN ctest-vn-97138886 2025-10-13 12:52:55,888 - DEBUG - Response for deleting network () 2025-10-13 12:52:55,888 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/b9fcea95-7f4b-4284-8c2f-0a4e1f9a680b 2025-10-13 12:52:55,894 - DEBUG - Response Code: 404 2025-10-13 12:52:55,894 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-13 12:52:55,901 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f7637674-1c0c-4068-a8eb-a862b87635f7 2025-10-13 12:52:55,953 - DEBUG - Requesting: http://10.0.0.137:8082/project/71da95b3-f05a-4de3-9406-05b76ad119cb 2025-10-13 12:52:56,021 - INFO - Validated that VN ctest-vn-97138886 is not found in API Server 2025-10-13 12:52:56,031 - DEBUG - VN ctest-vn-97138886 is not present in Agent 10.0.0.137 2025-10-13 12:52:56,031 - INFO - Validated that VN ctest-vn-97138886 is not in any agent 2025-10-13 12:52:56,045 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97138886 info 2025-10-13 12:52:56,301 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 12:52:56,301 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-13 12:52:56,301 - INFO - -------------------------------------------------------------------------------- 2025-10-13 12:52:56,961 - INFO - Deleted project: ctest-TestBasicPolicy-72359301, ID : 71da95b3-f05a-4de3-9406-05b76ad119cb