2025-09-08 02:12:22,265 - INFO - Domain Default found not creating 2025-09-08 02:12:22,424 - INFO - Project ctest-TestBasicPolicy-45040999 not found, creating it 2025-09-08 02:12:22,863 - INFO - Created Project:ctest-TestBasicPolicy-45040999, ID : c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:24,261 - INFO - ================================================================================ 2025-09-08 02:12:24,261 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 02:12:24,261 - 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-09-08 02:12:24,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 02:12:24,515 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:12:24,515 - INFO - 2025-09-08 02:12:25,036 - DEBUG - Response for create_network : {'network': {'id': 'eb64d01e-264a-423c-b5d0-0807c57a7037', 'name': 'ctest-vn-02035225', 'tenant_id': 'c2db12608c834a88b4a2d27cab142cad', 'project_id': 'c2db12608c834a88b4a2d27cab142cad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-vn-02035225'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:25,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '84873569-ee95-4fa4-bcde-68910d07b1ea', 'name': '', 'tenant_id': 'c2db12608c834a88b4a2d27cab142cad', 'network_id': 'eb64d01e-264a-423c-b5d0-0807c57a7037', 'ip_version': 4, 'cidr': '139.144.143.64/26', 'allocation_pools': [{'start': '139.144.143.66', 'end': '139.144.143.126'}], 'gateway_ip': '139.144.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.144.143.66', 'tags': [], 'project_id': 'c2db12608c834a88b4a2d27cab142cad'}} 2025-09-08 02:12:25,269 - INFO - Created VN ctest-vn-02035225 2025-09-08 02:12:25,318 - DEBUG - VN ctest-vn-02035225 UUID is eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:25,632 - DEBUG - Response for create_network : {'network': {'id': '69971680-914c-413a-b9ff-f3f988a170f1', 'name': 'ctest-vn-81430306', 'tenant_id': 'c2db12608c834a88b4a2d27cab142cad', 'project_id': 'c2db12608c834a88b4a2d27cab142cad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-vn-81430306'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:25,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cf2e52f-d168-43fe-ab25-7072efe70079', 'name': '', 'tenant_id': 'c2db12608c834a88b4a2d27cab142cad', 'network_id': '69971680-914c-413a-b9ff-f3f988a170f1', 'ip_version': 4, 'cidr': '187.185.180.0/26', 'allocation_pools': [{'start': '187.185.180.2', 'end': '187.185.180.62'}], 'gateway_ip': '187.185.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.185.180.2', 'tags': [], 'project_id': 'c2db12608c834a88b4a2d27cab142cad'}} 2025-09-08 02:12:25,831 - INFO - Created VN ctest-vn-81430306 2025-09-08 02:12:25,882 - DEBUG - VN ctest-vn-81430306 UUID is 69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:26,038 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225, 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-45040999:ctest-vn-81430306, 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-09-08 02:12:26,323 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb64d01e-264a-423c-b5d0-0807c57a7037', 'name': 'ctest-vn-02035225', 'tenant_id': 'c2db12608c834a88b4a2d27cab142cad', 'project_id': 'c2db12608c834a88b4a2d27cab142cad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84873569-ee95-4fa4-bcde-68910d07b1ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-vn-02035225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-policy-allow-all-64944401']], 'subnet_ipam': [{'subnet_cidr': '139.144.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:26,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69971680-914c-413a-b9ff-f3f988a170f1', 'name': 'ctest-vn-81430306', 'tenant_id': 'c2db12608c834a88b4a2d27cab142cad', 'project_id': 'c2db12608c834a88b4a2d27cab142cad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5cf2e52f-d168-43fe-ab25-7072efe70079'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-vn-81430306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-policy-allow-all-64944401']], 'subnet_ipam': [{'subnet_cidr': '187.185.180.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:26,738 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:27,036 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:27,063 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f6d224dc-7d6f-4398-979e-05f8884e665b 2025-09-08 02:12:27,074 - DEBUG - Requesting: http://10.0.0.254:8082/project/c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:27,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:27,162 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:27,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/322c37af-8e3b-402d-b19c-14a3f0f42258 2025-09-08 02:12:27,177 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/322c37af-8e3b-402d-b19c-14a3f0f42258 2025-09-08 02:12:27,184 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/747f61cc-e15a-4779-8a35-b6c506407d6b 2025-09-08 02:12:27,190 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 02:12:27,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:27,198 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/322c37af-8e3b-402d-b19c-14a3f0f42258 2025-09-08 02:12:27,209 - INFO - Verified VN network id 12 for VN eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:27,209 - INFO - Verifications in API Server for VN ctest-vn-02035225 passed 2025-09-08 02:12:27,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:27,218 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/322c37af-8e3b-402d-b19c-14a3f0f42258 2025-09-08 02:12:27,223 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/322c37af-8e3b-402d-b19c-14a3f0f42258 2025-09-08 02:12:27,229 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/747f61cc-e15a-4779-8a35-b6c506407d6b 2025-09-08 02:12:27,239 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45040999', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16961910924494127676', 'uuid-lslong': '13100980145491701815'}, 'enable': 'true', 'created': '2025-09-08T02:12:25', 'last-modified': '2025-09-08T02:12:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.937375'} 2025-09-08 02:12:27,247 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 02:12:27,247 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02035225 passed 2025-09-08 02:12:27,247 - DEBUG - ====Verifying policy data for ctest-vn-02035225 in API_Server ====== 2025-09-08 02:12:27,248 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:27,253 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f6d224dc-7d6f-4398-979e-05f8884e665b 2025-09-08 02:12:27,262 - DEBUG - Requesting: http://10.0.0.254:8082/project/c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:27,330 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb64d01e-264a-423c-b5d0-0807c57a7037 2025-09-08 02:12:27,341 - DEBUG - ==>Verifying data for policy with id: 410e00a5-26f5-45f1-a464-8776f48f81d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-policy-allow-all-64944401'] 2025-09-08 02:12:27,341 - INFO - VN ctest-vn-02035225 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 02:12:27,341 - DEBUG - Verifying the vn in opserver 2025-09-08 02:12:27,341 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225 virtual network link through opserver 10.0.0.254 2025-09-08 02:12:27,341 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 02:12:27,637 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 02:12:27,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225?flat'} 2025-09-08 02:12:27,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225 is found in opserver 2025-09-08 02:12:27,710 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 02:12:27,714 - DEBUG - VRF ids for VN ctest-vn-02035225: {} 2025-09-08 02:12:27,714 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:27,719 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f6d224dc-7d6f-4398-979e-05f8884e665b 2025-09-08 02:12:27,730 - DEBUG - Requesting: http://10.0.0.254:8082/project/c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:27,803 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:27,813 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:27,821 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/61bd9348-ea42-4c34-a2be-129e69279dba 2025-09-08 02:12:27,828 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/61bd9348-ea42-4c34-a2be-129e69279dba 2025-09-08 02:12:27,834 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0c33d3a2-fd2d-4c7e-9a64-360f616e2ff0 2025-09-08 02:12:27,841 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 02:12:27,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:27,849 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/61bd9348-ea42-4c34-a2be-129e69279dba 2025-09-08 02:12:27,863 - INFO - Verified VN network id 13 for VN 69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:27,863 - INFO - Verifications in API Server for VN ctest-vn-81430306 passed 2025-09-08 02:12:27,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:27,872 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/61bd9348-ea42-4c34-a2be-129e69279dba 2025-09-08 02:12:27,878 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/61bd9348-ea42-4c34-a2be-129e69279dba 2025-09-08 02:12:27,883 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0c33d3a2-fd2d-4c7e-9a64-360f616e2ff0 2025-09-08 02:12:27,894 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-81430306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45040999', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7608574836915061050', 'uuid-lslong': '13402699269142573297'}, 'enable': 'true', 'created': '2025-09-08T02:12:25', 'last-modified': '2025-09-08T02:12:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363698'} 2025-09-08 02:12:27,901 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 02:12:27,901 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81430306 passed 2025-09-08 02:12:27,901 - DEBUG - ====Verifying policy data for ctest-vn-81430306 in API_Server ====== 2025-09-08 02:12:27,901 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:27,907 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f6d224dc-7d6f-4398-979e-05f8884e665b 2025-09-08 02:12:27,917 - DEBUG - Requesting: http://10.0.0.254:8082/project/c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:27,985 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/69971680-914c-413a-b9ff-f3f988a170f1 2025-09-08 02:12:27,993 - DEBUG - ==>Verifying data for policy with id: 410e00a5-26f5-45f1-a464-8776f48f81d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-45040999', 'ctest-policy-allow-all-64944401'] 2025-09-08 02:12:27,993 - INFO - VN ctest-vn-81430306 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 02:12:27,993 - DEBUG - Verifying the vn in opserver 2025-09-08 02:12:27,993 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-81430306 virtual network link through opserver 10.0.0.254 2025-09-08 02:12:27,993 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 02:12:28,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-81430306', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-81430306?flat'} 2025-09-08 02:12:28,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-81430306 is found in opserver 2025-09-08 02:12:28,014 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 02:12:28,019 - DEBUG - VRF ids for VN ctest-vn-81430306: {} 2025-09-08 02:12:28,079 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:12:29,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:12:30,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:12:30,223 - INFO - Waiting for VM ctest-TestBasicPolicy-45040999-43231130 to be up.. 2025-09-08 02:12:30,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:12:35,399 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:12:35,399 - INFO - VM name : ctest-TestBasicPolicy-45040999-43231130 2025-09-08 02:12:35,500 - DEBUG - VM ctest-TestBasicPolicy-45040999-43231130 ID is 95a0102d-90fb-49f6-9638-e68944bfe936 2025-09-08 02:12:35,523 - DEBUG - VM ctest-TestBasicPolicy-45040999-43231130 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:12:35,594 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/95a0102d-90fb-49f6-9638-e68944bfe936 2025-09-08 02:12:35,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/652c72d8-ebd1-4170-bc80-fecfe86fc58b 2025-09-08 02:12:38,884 - 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 1031ms') 2025-09-08 02:12:38,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45040999-43231130 failed! 2025-09-08 02:12:38,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45040999:ctest-vn-02035225 is 139.144.143.65 and allocation pool is NOT set 2025-09-08 02:12:41,012 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/2.632/4.836/2.203 ms') 2025-09-08 02:12:41,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45040999-43231130 passed 2025-09-08 02:12:41,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:41,162 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45040999-43231130, IP 139.144.143.67, Port 22 2025-09-08 02:12:41,317 - DEBUG - VM ctest-TestBasicPolicy-45040999-43231130 is ready for SSH connections 2025-09-08 02:12:41,317 - INFO - Waiting for VM ctest-TestBasicPolicy-45040999-68720023 to be up.. 2025-09-08 02:12:41,388 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:12:41,388 - INFO - VM name : ctest-TestBasicPolicy-45040999-68720023 2025-09-08 02:12:41,457 - DEBUG - VM ctest-TestBasicPolicy-45040999-68720023 ID is 4e7a7f0c-cd70-400f-9665-397ca8fd0ccd 2025-09-08 02:12:41,457 - DEBUG - VM ctest-TestBasicPolicy-45040999-68720023 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:12:41,528 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4e7a7f0c-cd70-400f-9665-397ca8fd0ccd 2025-09-08 02:12:41,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1c749035-ff15-4f94-a701-f6bf2c18589a 2025-09-08 02:12:42,781 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 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.533/1.720/2.908/1.187 ms') 2025-09-08 02:12:42,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45040999-68720023 passed 2025-09-08 02:12:42,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:42,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45040999-68720023, IP 187.185.180.3, Port 22 2025-09-08 02:12:43,090 - DEBUG - VM ctest-TestBasicPolicy-45040999-68720023 is ready for SSH connections 2025-09-08 02:12:43,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:43,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.185.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:12:43,090 - DEBUG - ping -s 56 -c 3 -W 1 187.185.180.3 2025-09-08 02:12:46,781 - DEBUG - PING 187.185.180.3 (187.185.180.3): 56 data bytes 64 bytes from 187.185.180.3: seq=0 ttl=63 time=3.431 ms 64 bytes from 187.185.180.3: seq=1 ttl=63 time=0.950 ms 64 bytes from 187.185.180.3: seq=2 ttl=63 time=0.925 ms --- 187.185.180.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.768/3.431 ms 2025-09-08 02:12:46,781 - INFO - Ping to IP 187.185.180.3 from VM ctest-TestBasicPolicy-45040999-43231130 passed 2025-09-08 02:12:46,966 - DEBUG - Policy Update Response {"network-policy": {"uuid": "410e00a5-26f5-45f1-a464-8776f48f81d4", "href": "http://10.0.0.254:8082/network-policy/410e00a5-26f5-45f1-a464-8776f48f81d4"}} 2025-09-08 02:12:46,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:46,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.185.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:12:46,966 - DEBUG - ping -s 56 -c 3 -W 1 187.185.180.3 2025-09-08 02:12:50,190 - DEBUG - PING 187.185.180.3 (187.185.180.3): 56 data bytes --- 187.185.180.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 02:12:50,190 - WARNING - Ping to IP 187.185.180.3 from VM ctest-TestBasicPolicy-45040999-43231130 failed 2025-09-08 02:12:50,191 - INFO - Deleting VM ctest-TestBasicPolicy-45040999-68720023 2025-09-08 02:12:50,254 - INFO - Deleting VM ctest-TestBasicPolicy-45040999-43231130 2025-09-08 02:12:50,593 - INFO - Deleted policy ctest-policy-allow-all-64944401 2025-09-08 02:12:50,593 - INFO - Deleting VN ctest-vn-81430306 2025-09-08 02:12:50,628 - DEBUG - VN 69971680-914c-413a-b9ff-f3f988a170f1 still in use: Unable to complete operation on network 69971680-914c-413a-b9ff-f3f988a170f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3a3cf8f-e301-46bc-8c99-9ee7a6e42543'] 2025-09-08 02:12:50,628 - WARNING - Deleting VN ctest-vn-81430306 failed..Will retry 2025-09-08 02:12:52,721 - DEBUG - Response for deleting network () 2025-09-08 02:12:52,721 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/61bd9348-ea42-4c34-a2be-129e69279dba 2025-09-08 02:12:52,729 - DEBUG - Response Code: 404 2025-09-08 02:12:52,729 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:52,734 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f6d224dc-7d6f-4398-979e-05f8884e665b 2025-09-08 02:12:52,788 - DEBUG - Requesting: http://10.0.0.254:8082/project/c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:52,860 - INFO - Validated that VN ctest-vn-81430306 is not found in API Server 2025-09-08 02:12:52,871 - DEBUG - VN ctest-vn-81430306 is not present in Agent 10.0.0.254 2025-09-08 02:12:52,871 - INFO - Validated that VN ctest-vn-81430306 is not in any agent 2025-09-08 02:12:52,887 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81430306 info 2025-09-08 02:12:52,888 - INFO - Deleting VN ctest-vn-02035225 2025-09-08 02:12:52,977 - DEBUG - Response for deleting network () 2025-09-08 02:12:52,977 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/322c37af-8e3b-402d-b19c-14a3f0f42258 2025-09-08 02:12:52,984 - DEBUG - Response Code: 404 2025-09-08 02:12:52,984 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 02:12:52,989 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f6d224dc-7d6f-4398-979e-05f8884e665b 2025-09-08 02:12:53,038 - DEBUG - Requesting: http://10.0.0.254:8082/project/c2db1260-8c83-4a88-b4a2-d27cab142cad 2025-09-08 02:12:53,111 - INFO - Validated that VN ctest-vn-02035225 is not found in API Server 2025-09-08 02:12:53,119 - DEBUG - VN ctest-vn-02035225 is not present in Agent 10.0.0.254 2025-09-08 02:12:53,120 - INFO - Validated that VN ctest-vn-02035225 is not in any agent 2025-09-08 02:12:53,133 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02035225 info 2025-09-08 02:12:53,391 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 02:12:53,391 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-08 02:12:53,391 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:12:54,070 - INFO - Deleted project: ctest-TestBasicPolicy-45040999, ID : c2db1260-8c83-4a88-b4a2-d27cab142cad