2025-06-22 18:23:36,366 - INFO - Domain Default found not creating 2025-06-22 18:23:36,502 - INFO - Project ctest-TestBasicPolicy-96684972 not found, creating it 2025-06-22 18:23:36,963 - INFO - Created Project:ctest-TestBasicPolicy-96684972, ID : ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:23:38,375 - INFO - ================================================================================ 2025-06-22 18:23:38,376 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-22 18:23:38,376 - 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-06-22 18:23:38,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-22 18:23:38,631 - INFO - Initial checks done. Running the testcase now 2025-06-22 18:23:38,631 - INFO - 2025-06-22 18:23:39,193 - DEBUG - Response for create_network : {'network': {'id': 'a8756ccf-3309-4898-9127-c5c3ae3c710b', 'name': 'ctest-vn-97836455', 'tenant_id': 'ba849877d4b446e5bc82f6e32059224d', 'project_id': 'ba849877d4b446e5bc82f6e32059224d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-vn-97836455'], 'port_security_enabled': True, 'description': ''}} 2025-06-22 18:23:39,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a85b1fa-8c9c-4b41-b94e-55e2e3b020b5', 'name': '', 'tenant_id': 'ba849877d4b446e5bc82f6e32059224d', 'network_id': 'a8756ccf-3309-4898-9127-c5c3ae3c710b', 'ip_version': 4, 'cidr': '187.30.16.64/26', 'allocation_pools': [{'start': '187.30.16.66', 'end': '187.30.16.126'}], 'gateway_ip': '187.30.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.30.16.66', 'tags': [], 'project_id': 'ba849877d4b446e5bc82f6e32059224d'}} 2025-06-22 18:23:39,437 - INFO - Created VN ctest-vn-97836455 2025-06-22 18:23:39,491 - DEBUG - VN ctest-vn-97836455 UUID is a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:39,829 - DEBUG - Response for create_network : {'network': {'id': 'aeaa2def-560d-47c2-bd2a-7c902563ffec', 'name': 'ctest-vn-04098166', 'tenant_id': 'ba849877d4b446e5bc82f6e32059224d', 'project_id': 'ba849877d4b446e5bc82f6e32059224d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-vn-04098166'], 'port_security_enabled': True, 'description': ''}} 2025-06-22 18:23:40,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '159d6a82-3b42-4781-9352-b2f6e2430816', 'name': '', 'tenant_id': 'ba849877d4b446e5bc82f6e32059224d', 'network_id': 'aeaa2def-560d-47c2-bd2a-7c902563ffec', 'ip_version': 4, 'cidr': '106.92.106.192/26', 'allocation_pools': [{'start': '106.92.106.194', 'end': '106.92.106.254'}], 'gateway_ip': '106.92.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.92.106.194', 'tags': [], 'project_id': 'ba849877d4b446e5bc82f6e32059224d'}} 2025-06-22 18:23:40,171 - INFO - Created VN ctest-vn-04098166 2025-06-22 18:23:40,223 - DEBUG - VN ctest-vn-04098166 UUID is aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:40,379 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455, 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-96684972:ctest-vn-04098166, 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-06-22 18:23:40,672 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8756ccf-3309-4898-9127-c5c3ae3c710b', 'name': 'ctest-vn-97836455', 'tenant_id': 'ba849877d4b446e5bc82f6e32059224d', 'project_id': 'ba849877d4b446e5bc82f6e32059224d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a85b1fa-8c9c-4b41-b94e-55e2e3b020b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-vn-97836455'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-policy-allow-all-29608199']], 'subnet_ipam': [{'subnet_cidr': '187.30.16.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-22 18:23:40,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aeaa2def-560d-47c2-bd2a-7c902563ffec', 'name': 'ctest-vn-04098166', 'tenant_id': 'ba849877d4b446e5bc82f6e32059224d', 'project_id': 'ba849877d4b446e5bc82f6e32059224d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['159d6a82-3b42-4781-9352-b2f6e2430816'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-vn-04098166'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-policy-allow-all-29608199']], 'subnet_ipam': [{'subnet_cidr': '106.92.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-22 18:23:41,107 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:23:41,406 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:23:41,434 - DEBUG - Requesting: http://10.0.0.254:8082/domain/93ab230e-1fe9-47d2-82b8-58d3f9c5589e 2025-06-22 18:23:41,447 - DEBUG - Requesting: http://10.0.0.254:8082/project/ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:23:41,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:41,533 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:41,543 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d783fdc8-51de-4e32-9bc9-0fb7d7a466c0 2025-06-22 18:23:41,551 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d783fdc8-51de-4e32-9bc9-0fb7d7a466c0 2025-06-22 18:23:41,558 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2c489cb9-aeac-4644-b4b2-af3d22bf999e 2025-06-22 18:23:41,565 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-22 18:23:41,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:41,573 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d783fdc8-51de-4e32-9bc9-0fb7d7a466c0 2025-06-22 18:23:41,588 - INFO - Verified VN network id 8 for VN a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:41,588 - INFO - Verifications in API Server for VN ctest-vn-97836455 passed 2025-06-22 18:23:41,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:41,597 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d783fdc8-51de-4e32-9bc9-0fb7d7a466c0 2025-06-22 18:23:41,604 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d783fdc8-51de-4e32-9bc9-0fb7d7a466c0 2025-06-22 18:23:41,611 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2c489cb9-aeac-4644-b4b2-af3d22bf999e 2025-06-22 18:23:41,622 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96684972', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12138728007817316504', 'uuid-lslong': '10459546103823757579'}, 'enable': 'true', 'created': '2025-06-22T18:23:39', 'last-modified': '2025-06-22T18:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971822'} 2025-06-22 18:23:41,628 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-22 18:23:41,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97836455 passed 2025-06-22 18:23:41,629 - DEBUG - ====Verifying policy data for ctest-vn-97836455 in API_Server ====== 2025-06-22 18:23:41,629 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:23:41,634 - DEBUG - Requesting: http://10.0.0.254:8082/domain/93ab230e-1fe9-47d2-82b8-58d3f9c5589e 2025-06-22 18:23:41,644 - DEBUG - Requesting: http://10.0.0.254:8082/project/ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:23:41,719 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8756ccf-3309-4898-9127-c5c3ae3c710b 2025-06-22 18:23:41,729 - DEBUG - ==>Verifying data for policy with id: d0c1b256-8171-439b-9cb1-3767a419ad3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-policy-allow-all-29608199'] 2025-06-22 18:23:41,729 - INFO - VN ctest-vn-97836455 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-22 18:23:41,729 - DEBUG - Verifying the vn in opserver 2025-06-22 18:23:41,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455 virtual network link through opserver 10.0.0.254 2025-06-22 18:23:41,729 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-22 18:23:42,025 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-22 18:23:42,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455?flat'} 2025-06-22 18:23:42,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455 is found in opserver 2025-06-22 18:23:42,088 - DEBUG - Do not have enough data to verify VN in agent 2025-06-22 18:23:42,092 - DEBUG - VRF ids for VN ctest-vn-97836455: {} 2025-06-22 18:23:42,092 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:23:42,098 - DEBUG - Requesting: http://10.0.0.254:8082/domain/93ab230e-1fe9-47d2-82b8-58d3f9c5589e 2025-06-22 18:23:42,110 - DEBUG - Requesting: http://10.0.0.254:8082/project/ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:23:42,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:42,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:42,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d54621cb-4101-47de-b270-3fabe9921297 2025-06-22 18:23:42,211 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d54621cb-4101-47de-b270-3fabe9921297 2025-06-22 18:23:42,217 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a7ed4ad1-d2c9-4c47-8b99-ab3284ff891b 2025-06-22 18:23:42,223 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-22 18:23:42,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:42,232 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d54621cb-4101-47de-b270-3fabe9921297 2025-06-22 18:23:42,245 - INFO - Verified VN network id 9 for VN aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:42,245 - INFO - Verifications in API Server for VN ctest-vn-04098166 passed 2025-06-22 18:23:42,245 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:42,254 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d54621cb-4101-47de-b270-3fabe9921297 2025-06-22 18:23:42,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d54621cb-4101-47de-b270-3fabe9921297 2025-06-22 18:23:42,267 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a7ed4ad1-d2c9-4c47-8b99-ab3284ff891b 2025-06-22 18:23:42,277 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-04098166', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96684972', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12585922614604416962', 'uuid-lslong': '13630844180734672876'}, 'enable': 'true', 'created': '2025-06-22T18:23:39', 'last-modified': '2025-06-22T18:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.394004'} 2025-06-22 18:23:42,284 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-22 18:23:42,284 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04098166 passed 2025-06-22 18:23:42,284 - DEBUG - ====Verifying policy data for ctest-vn-04098166 in API_Server ====== 2025-06-22 18:23:42,284 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:23:42,289 - DEBUG - Requesting: http://10.0.0.254:8082/domain/93ab230e-1fe9-47d2-82b8-58d3f9c5589e 2025-06-22 18:23:42,301 - DEBUG - Requesting: http://10.0.0.254:8082/project/ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:23:42,377 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aeaa2def-560d-47c2-bd2a-7c902563ffec 2025-06-22 18:23:42,387 - DEBUG - ==>Verifying data for policy with id: d0c1b256-8171-439b-9cb1-3767a419ad3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-96684972', 'ctest-policy-allow-all-29608199'] 2025-06-22 18:23:42,387 - INFO - VN ctest-vn-04098166 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-22 18:23:42,387 - DEBUG - Verifying the vn in opserver 2025-06-22 18:23:42,387 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-04098166 virtual network link through opserver 10.0.0.254 2025-06-22 18:23:42,387 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-22 18:23:42,397 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-04098166', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-04098166?flat'} 2025-06-22 18:23:42,397 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-04098166 is found in opserver 2025-06-22 18:23:42,407 - DEBUG - Do not have enough data to verify VN in agent 2025-06-22 18:23:42,412 - DEBUG - VRF ids for VN ctest-vn-04098166: {} 2025-06-22 18:23:42,464 - DEBUG - Services list from nova: [, , ] 2025-06-22 18:23:43,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3514-1) 2025-06-22 18:23:44,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3514-1) 2025-06-22 18:23:44,666 - INFO - Waiting for VM ctest-TestBasicPolicy-96684972-33602929 to be up.. 2025-06-22 18:23:44,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-22 18:23:49,838 - DEBUG - VM is in ACTIVE state now 2025-06-22 18:23:49,838 - INFO - VM name : ctest-TestBasicPolicy-96684972-33602929 2025-06-22 18:23:49,911 - DEBUG - VM ctest-TestBasicPolicy-96684972-33602929 ID is 64beb1f3-72aa-4fbf-8061-53eb2ccf3055 2025-06-22 18:23:49,928 - DEBUG - VM ctest-TestBasicPolicy-96684972-33602929 launched on Node cn-jenkins-deploy-platform-ansible-os-3514-1 2025-06-22 18:23:49,999 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/64beb1f3-72aa-4fbf-8061-53eb2ccf3055 2025-06-22 18:23:50,008 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/34d320b2-3713-4bb4-8501-ec52c2fcd5c3 2025-06-22 18:23:53,205 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-06-22 18:23:53,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96684972-33602929 failed! 2025-06-22 18:23:53,259 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96684972:ctest-vn-97836455 is 187.30.16.65 and allocation pool is NOT set 2025-06-22 18:23:55,314 - 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=2.95 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 1000ms\r\nrtt min/avg/max/mdev = 0.429/1.688/2.947/1.259 ms') 2025-06-22 18:23:55,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96684972-33602929 passed 2025-06-22 18:23:55,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 18:23:55,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96684972-33602929, IP 187.30.16.67, Port 22 2025-06-22 18:23:55,637 - DEBUG - VM ctest-TestBasicPolicy-96684972-33602929 is ready for SSH connections 2025-06-22 18:23:55,637 - INFO - Waiting for VM ctest-TestBasicPolicy-96684972-17812796 to be up.. 2025-06-22 18:23:55,723 - DEBUG - VM is in ACTIVE state now 2025-06-22 18:23:55,723 - INFO - VM name : ctest-TestBasicPolicy-96684972-17812796 2025-06-22 18:23:55,798 - DEBUG - VM ctest-TestBasicPolicy-96684972-17812796 ID is bfd4401f-9220-433b-8731-47ff256e84dd 2025-06-22 18:23:55,798 - DEBUG - VM ctest-TestBasicPolicy-96684972-17812796 launched on Node cn-jenkins-deploy-platform-ansible-os-3514-1 2025-06-22 18:23:55,871 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bfd4401f-9220-433b-8731-47ff256e84dd 2025-06-22 18:23:55,879 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aff727b8-bca8-4e98-a5dd-1b5c774012e6 2025-06-22 18:23:57,126 - 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=3.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/2.180/3.938/1.757 ms') 2025-06-22 18:23:57,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96684972-17812796 passed 2025-06-22 18:23:57,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 18:23:57,275 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96684972-17812796, IP 106.92.106.195, Port 22 2025-06-22 18:23:57,430 - DEBUG - VM ctest-TestBasicPolicy-96684972-17812796 is ready for SSH connections 2025-06-22 18:23:57,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 18:23:57,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.92.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-22 18:23:57,430 - DEBUG - ping -s 56 -c 3 -W 1 106.92.106.195 2025-06-22 18:24:01,116 - DEBUG - PING 106.92.106.195 (106.92.106.195): 56 data bytes 64 bytes from 106.92.106.195: seq=0 ttl=63 time=4.126 ms 64 bytes from 106.92.106.195: seq=1 ttl=63 time=0.878 ms 64 bytes from 106.92.106.195: seq=2 ttl=63 time=0.864 ms --- 106.92.106.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.956/4.126 ms 2025-06-22 18:24:01,116 - INFO - Ping to IP 106.92.106.195 from VM ctest-TestBasicPolicy-96684972-33602929 passed 2025-06-22 18:24:01,295 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d0c1b256-8171-439b-9cb1-3767a419ad3b", "href": "http://10.0.0.254:8082/network-policy/d0c1b256-8171-439b-9cb1-3767a419ad3b"}} 2025-06-22 18:24:01,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 18:24:01,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.92.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-22 18:24:01,295 - DEBUG - ping -s 56 -c 3 -W 1 106.92.106.195 2025-06-22 18:24:04,497 - DEBUG - PING 106.92.106.195 (106.92.106.195): 56 data bytes --- 106.92.106.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-22 18:24:04,497 - WARNING - Ping to IP 106.92.106.195 from VM ctest-TestBasicPolicy-96684972-33602929 failed 2025-06-22 18:24:04,497 - INFO - Deleting VM ctest-TestBasicPolicy-96684972-17812796 2025-06-22 18:24:04,559 - INFO - Deleting VM ctest-TestBasicPolicy-96684972-33602929 2025-06-22 18:24:04,942 - INFO - Deleted policy ctest-policy-allow-all-29608199 2025-06-22 18:24:04,942 - INFO - Deleting VN ctest-vn-04098166 2025-06-22 18:24:04,980 - DEBUG - VN aeaa2def-560d-47c2-bd2a-7c902563ffec still in use: Unable to complete operation on network aeaa2def-560d-47c2-bd2a-7c902563ffec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ebe4dc7a-0841-40eb-b825-7c94b2898e86'] 2025-06-22 18:24:04,980 - WARNING - Deleting VN ctest-vn-04098166 failed..Will retry 2025-06-22 18:24:07,084 - DEBUG - Response for deleting network () 2025-06-22 18:24:07,085 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d54621cb-4101-47de-b270-3fabe9921297 2025-06-22 18:24:07,089 - DEBUG - Response Code: 404 2025-06-22 18:24:07,090 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:24:07,097 - DEBUG - Requesting: http://10.0.0.254:8082/domain/93ab230e-1fe9-47d2-82b8-58d3f9c5589e 2025-06-22 18:24:07,152 - DEBUG - Requesting: http://10.0.0.254:8082/project/ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:24:07,225 - INFO - Validated that VN ctest-vn-04098166 is not found in API Server 2025-06-22 18:24:07,236 - DEBUG - VN ctest-vn-04098166 is not present in Agent 10.0.0.254 2025-06-22 18:24:07,236 - INFO - Validated that VN ctest-vn-04098166 is not in any agent 2025-06-22 18:24:07,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04098166 info 2025-06-22 18:24:07,250 - INFO - Deleting VN ctest-vn-97836455 2025-06-22 18:24:07,343 - DEBUG - Response for deleting network () 2025-06-22 18:24:07,344 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d783fdc8-51de-4e32-9bc9-0fb7d7a466c0 2025-06-22 18:24:07,349 - DEBUG - Response Code: 404 2025-06-22 18:24:07,349 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-22 18:24:07,356 - DEBUG - Requesting: http://10.0.0.254:8082/domain/93ab230e-1fe9-47d2-82b8-58d3f9c5589e 2025-06-22 18:24:07,412 - DEBUG - Requesting: http://10.0.0.254:8082/project/ba849877-d4b4-46e5-bc82-f6e32059224d 2025-06-22 18:24:07,482 - INFO - Validated that VN ctest-vn-97836455 is not found in API Server 2025-06-22 18:24:07,493 - DEBUG - VN ctest-vn-97836455 is not present in Agent 10.0.0.254 2025-06-22 18:24:07,493 - INFO - Validated that VN ctest-vn-97836455 is not in any agent 2025-06-22 18:24:07,507 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97836455 info 2025-06-22 18:24:07,765 - DEBUG - No XMPP flaps were noticed during the test 2025-06-22 18:24:07,765 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-22 18:24:07,765 - INFO - -------------------------------------------------------------------------------- 2025-06-22 18:24:08,422 - INFO - Deleted project: ctest-TestBasicPolicy-96684972, ID : ba849877-d4b4-46e5-bc82-f6e32059224d