2025-10-05 07:16:40,789 - INFO - Domain Default found not creating 2025-10-05 07:16:40,909 - INFO - Project ctest-TestBasicPolicy-67470871 not found, creating it 2025-10-05 07:16:41,403 - INFO - Created Project:ctest-TestBasicPolicy-67470871, ID : 514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:16:42,714 - INFO - ================================================================================ 2025-10-05 07:16:42,715 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-05 07:16:42,715 - 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-05 07:16:42,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-05 07:16:42,968 - INFO - Initial checks done. Running the testcase now 2025-10-05 07:16:42,968 - INFO - 2025-10-05 07:16:43,464 - DEBUG - Response for create_network : {'network': {'id': '84a2461d-900e-4c73-a64a-e88b7491e1f9', 'name': 'ctest-vn-01997928', 'tenant_id': '514baaf6ab794c968ad25aef9f1a8192', 'project_id': '514baaf6ab794c968ad25aef9f1a8192', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-vn-01997928'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:16:43,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a91ec88-39f1-4dbf-8480-b760ee971ca3', 'name': '', 'tenant_id': '514baaf6ab794c968ad25aef9f1a8192', 'network_id': '84a2461d-900e-4c73-a64a-e88b7491e1f9', 'ip_version': 4, 'cidr': '113.24.0.64/26', 'allocation_pools': [{'start': '113.24.0.66', 'end': '113.24.0.126'}], 'gateway_ip': '113.24.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.24.0.66', 'tags': [], 'project_id': '514baaf6ab794c968ad25aef9f1a8192'}} 2025-10-05 07:16:43,666 - INFO - Created VN ctest-vn-01997928 2025-10-05 07:16:43,719 - DEBUG - VN ctest-vn-01997928 UUID is 84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:44,023 - DEBUG - Response for create_network : {'network': {'id': '62d2a842-2f89-4678-a683-f8e0716f0564', 'name': 'ctest-vn-11299251', 'tenant_id': '514baaf6ab794c968ad25aef9f1a8192', 'project_id': '514baaf6ab794c968ad25aef9f1a8192', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-vn-11299251'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:16:44,196 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd3e8583-755f-4a25-8a0f-f44c577a0b94', 'name': '', 'tenant_id': '514baaf6ab794c968ad25aef9f1a8192', 'network_id': '62d2a842-2f89-4678-a683-f8e0716f0564', 'ip_version': 4, 'cidr': '123.27.61.64/26', 'allocation_pools': [{'start': '123.27.61.66', 'end': '123.27.61.126'}], 'gateway_ip': '123.27.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.27.61.66', 'tags': [], 'project_id': '514baaf6ab794c968ad25aef9f1a8192'}} 2025-10-05 07:16:44,211 - INFO - Created VN ctest-vn-11299251 2025-10-05 07:16:44,259 - DEBUG - VN ctest-vn-11299251 UUID is 62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:44,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928, 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-67470871:ctest-vn-11299251, 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-05 07:16:44,680 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84a2461d-900e-4c73-a64a-e88b7491e1f9', 'name': 'ctest-vn-01997928', 'tenant_id': '514baaf6ab794c968ad25aef9f1a8192', 'project_id': '514baaf6ab794c968ad25aef9f1a8192', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a91ec88-39f1-4dbf-8480-b760ee971ca3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-vn-01997928'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-policy-allow-all-91506069']], 'subnet_ipam': [{'subnet_cidr': '113.24.0.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:16:44,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62d2a842-2f89-4678-a683-f8e0716f0564', 'name': 'ctest-vn-11299251', 'tenant_id': '514baaf6ab794c968ad25aef9f1a8192', 'project_id': '514baaf6ab794c968ad25aef9f1a8192', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd3e8583-755f-4a25-8a0f-f44c577a0b94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-vn-11299251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-policy-allow-all-91506069']], 'subnet_ipam': [{'subnet_cidr': '123.27.61.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:16:45,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:16:45,315 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:16:45,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/94db502b-61fd-4fae-ae45-e24af58cd4f7 2025-10-05 07:16:45,358 - DEBUG - Requesting: http://10.0.0.38:8082/project/514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:16:45,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:45,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:45,438 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ae9e0e69-cb10-4c97-8f0e-fec7cf543701 2025-10-05 07:16:45,444 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ae9e0e69-cb10-4c97-8f0e-fec7cf543701 2025-10-05 07:16:45,449 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c3ed8dcf-d99b-49fa-b647-4517767f5cda 2025-10-05 07:16:45,453 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-05 07:16:45,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:45,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ae9e0e69-cb10-4c97-8f0e-fec7cf543701 2025-10-05 07:16:45,471 - INFO - Verified VN network id 12 for VN 84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:45,471 - INFO - Verifications in API Server for VN ctest-vn-01997928 passed 2025-10-05 07:16:45,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:45,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ae9e0e69-cb10-4c97-8f0e-fec7cf543701 2025-10-05 07:16:45,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ae9e0e69-cb10-4c97-8f0e-fec7cf543701 2025-10-05 07:16:45,488 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c3ed8dcf-d99b-49fa-b647-4517767f5cda 2025-10-05 07:16:45,497 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67470871', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9557278452018465907', 'uuid-lslong': '11982645444226441721'}, 'enable': 'true', 'created': '2025-10-05T07:16:43', 'last-modified': '2025-10-05T07:16:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.840113'} 2025-10-05 07:16:45,502 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-05 07:16:45,502 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01997928 passed 2025-10-05 07:16:45,502 - DEBUG - ====Verifying policy data for ctest-vn-01997928 in API_Server ====== 2025-10-05 07:16:45,502 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:16:45,506 - DEBUG - Requesting: http://10.0.0.38:8082/domain/94db502b-61fd-4fae-ae45-e24af58cd4f7 2025-10-05 07:16:45,513 - DEBUG - Requesting: http://10.0.0.38:8082/project/514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:16:45,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84a2461d-900e-4c73-a64a-e88b7491e1f9 2025-10-05 07:16:45,585 - DEBUG - ==>Verifying data for policy with id: e681c4dd-cbb1-4235-a294-fe8d1ae7d0d2, fqn: ['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-policy-allow-all-91506069'] 2025-10-05 07:16:45,585 - INFO - VN ctest-vn-01997928 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-05 07:16:45,585 - DEBUG - Verifying the vn in opserver 2025-10-05 07:16:45,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928 virtual network link through opserver 10.0.0.38 2025-10-05 07:16:45,585 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-05 07:16:45,870 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-05 07:16:45,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928?flat'} 2025-10-05 07:16:45,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928 is found in opserver 2025-10-05 07:16:45,924 - DEBUG - Do not have enough data to verify VN in agent 2025-10-05 07:16:45,927 - DEBUG - VRF ids for VN ctest-vn-01997928: {} 2025-10-05 07:16:45,927 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:16:45,932 - DEBUG - Requesting: http://10.0.0.38:8082/domain/94db502b-61fd-4fae-ae45-e24af58cd4f7 2025-10-05 07:16:45,940 - DEBUG - Requesting: http://10.0.0.38:8082/project/514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:16:46,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:46,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:46,021 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35059450-d139-42ff-b8bd-b9df21fc0046 2025-10-05 07:16:46,026 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35059450-d139-42ff-b8bd-b9df21fc0046 2025-10-05 07:16:46,030 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a55fe27-6db1-49a6-84d6-69c02f564030 2025-10-05 07:16:46,035 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-05 07:16:46,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:46,041 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35059450-d139-42ff-b8bd-b9df21fc0046 2025-10-05 07:16:46,051 - INFO - Verified VN network id 13 for VN 62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:46,051 - INFO - Verifications in API Server for VN ctest-vn-11299251 passed 2025-10-05 07:16:46,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:46,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35059450-d139-42ff-b8bd-b9df21fc0046 2025-10-05 07:16:46,062 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35059450-d139-42ff-b8bd-b9df21fc0046 2025-10-05 07:16:46,067 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a55fe27-6db1-49a6-84d6-69c02f564030 2025-10-05 07:16:46,075 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-11299251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67470871', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7120938963045009016', 'uuid-lslong': '11998707475104597348'}, 'enable': 'true', 'created': '2025-10-05T07:16:43', 'last-modified': '2025-10-05T07:16:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.210075'} 2025-10-05 07:16:46,080 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-05 07:16:46,080 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11299251 passed 2025-10-05 07:16:46,080 - DEBUG - ====Verifying policy data for ctest-vn-11299251 in API_Server ====== 2025-10-05 07:16:46,080 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:16:46,084 - DEBUG - Requesting: http://10.0.0.38:8082/domain/94db502b-61fd-4fae-ae45-e24af58cd4f7 2025-10-05 07:16:46,092 - DEBUG - Requesting: http://10.0.0.38:8082/project/514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:16:46,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/62d2a842-2f89-4678-a683-f8e0716f0564 2025-10-05 07:16:46,165 - DEBUG - ==>Verifying data for policy with id: e681c4dd-cbb1-4235-a294-fe8d1ae7d0d2, fqn: ['default-domain', 'ctest-TestBasicPolicy-67470871', 'ctest-policy-allow-all-91506069'] 2025-10-05 07:16:46,165 - INFO - VN ctest-vn-11299251 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-05 07:16:46,165 - DEBUG - Verifying the vn in opserver 2025-10-05 07:16:46,165 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-11299251 virtual network link through opserver 10.0.0.38 2025-10-05 07:16:46,165 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-05 07:16:46,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-11299251', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-11299251?flat'} 2025-10-05 07:16:46,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-11299251 is found in opserver 2025-10-05 07:16:46,180 - DEBUG - Do not have enough data to verify VN in agent 2025-10-05 07:16:46,184 - DEBUG - VRF ids for VN ctest-vn-11299251: {} 2025-10-05 07:16:46,233 - DEBUG - Services list from nova: [, , ] 2025-10-05 07:16:47,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4213-1) 2025-10-05 07:16:48,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4213-1) 2025-10-05 07:16:48,225 - INFO - Waiting for VM ctest-TestBasicPolicy-67470871-93850540 to be up.. 2025-10-05 07:16:48,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 07:16:53,374 - DEBUG - VM is in ACTIVE state now 2025-10-05 07:16:53,374 - INFO - VM name : ctest-TestBasicPolicy-67470871-93850540 2025-10-05 07:16:53,454 - DEBUG - VM ctest-TestBasicPolicy-67470871-93850540 ID is 4836f097-42d1-441f-9d5f-157aea05824f 2025-10-05 07:16:53,475 - DEBUG - VM ctest-TestBasicPolicy-67470871-93850540 launched on Node cn-jenkins-deploy-platform-ansible-os-4213-1 2025-10-05 07:16:53,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4836f097-42d1-441f-9d5f-157aea05824f 2025-10-05 07:16:53,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0894734f-8e22-4660-a07b-344952b2f9de 2025-10-05 07:16:56,770 - 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 1016ms') 2025-10-05 07:16:56,770 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67470871-93850540 failed! 2025-10-05 07:16:56,823 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67470871:ctest-vn-01997928 is 113.24.0.65 and allocation pool is NOT set 2025-10-05 07:16:58,883 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/2.015/3.612/1.597 ms') 2025-10-05 07:16:58,883 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67470871-93850540 passed 2025-10-05 07:16:59,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:16:59,031 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67470871-93850540, IP 113.24.0.67, Port 22 2025-10-05 07:16:59,191 - DEBUG - VM ctest-TestBasicPolicy-67470871-93850540 is ready for SSH connections 2025-10-05 07:16:59,191 - INFO - Waiting for VM ctest-TestBasicPolicy-67470871-61084453 to be up.. 2025-10-05 07:16:59,257 - DEBUG - VM is in ACTIVE state now 2025-10-05 07:16:59,257 - INFO - VM name : ctest-TestBasicPolicy-67470871-61084453 2025-10-05 07:16:59,324 - DEBUG - VM ctest-TestBasicPolicy-67470871-61084453 ID is 5638a7d3-ec2e-45a5-9c2f-92d37d65fa70 2025-10-05 07:16:59,324 - DEBUG - VM ctest-TestBasicPolicy-67470871-61084453 launched on Node cn-jenkins-deploy-platform-ansible-os-4213-1 2025-10-05 07:16:59,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5638a7d3-ec2e-45a5-9c2f-92d37d65fa70 2025-10-05 07:16:59,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5356bb6-e422-41b2-b443-f3ddc31461d4 2025-10-05 07:17:00,636 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.511/2.652/1.141 ms') 2025-10-05 07:17:00,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67470871-61084453 passed 2025-10-05 07:17:00,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:17:00,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67470871-61084453, IP 123.27.61.67, Port 22 2025-10-05 07:17:00,938 - DEBUG - VM ctest-TestBasicPolicy-67470871-61084453 is ready for SSH connections 2025-10-05 07:17:00,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:17:00,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.27.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:17:00,938 - DEBUG - ping -s 56 -c 3 -W 1 123.27.61.67 2025-10-05 07:17:04,909 - DEBUG - PING 123.27.61.67 (123.27.61.67): 56 data bytes 64 bytes from 123.27.61.67: seq=0 ttl=63 time=3.203 ms 64 bytes from 123.27.61.67: seq=1 ttl=63 time=0.849 ms 64 bytes from 123.27.61.67: seq=2 ttl=63 time=0.947 ms --- 123.27.61.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.666/3.203 ms 2025-10-05 07:17:04,910 - INFO - Ping to IP 123.27.61.67 from VM ctest-TestBasicPolicy-67470871-93850540 passed 2025-10-05 07:17:05,175 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e681c4dd-cbb1-4235-a294-fe8d1ae7d0d2", "href": "http://10.0.0.38:8082/network-policy/e681c4dd-cbb1-4235-a294-fe8d1ae7d0d2"}} 2025-10-05 07:17:05,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:17:05,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.27.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:17:05,175 - DEBUG - ping -s 56 -c 3 -W 1 123.27.61.67 2025-10-05 07:17:08,370 - DEBUG - PING 123.27.61.67 (123.27.61.67): 56 data bytes 64 bytes from 123.27.61.67: seq=0 ttl=63 time=1.301 ms --- 123.27.61.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.301/1.301/1.301 ms 2025-10-05 07:17:08,370 - WARNING - Ping to IP 123.27.61.67 from VM ctest-TestBasicPolicy-67470871-93850540 failed 2025-10-05 07:17:08,370 - INFO - Deleting VM ctest-TestBasicPolicy-67470871-61084453 2025-10-05 07:17:08,437 - INFO - Deleting VM ctest-TestBasicPolicy-67470871-93850540 2025-10-05 07:17:08,770 - INFO - Deleted policy ctest-policy-allow-all-91506069 2025-10-05 07:17:08,770 - INFO - Deleting VN ctest-vn-11299251 2025-10-05 07:17:08,806 - DEBUG - VN 62d2a842-2f89-4678-a683-f8e0716f0564 still in use: Unable to complete operation on network 62d2a842-2f89-4678-a683-f8e0716f0564. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7da5aa4-e76a-4282-9cb4-46fe7267cd04'] 2025-10-05 07:17:08,806 - WARNING - Deleting VN ctest-vn-11299251 failed..Will retry 2025-10-05 07:17:10,888 - DEBUG - Response for deleting network () 2025-10-05 07:17:10,889 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35059450-d139-42ff-b8bd-b9df21fc0046 2025-10-05 07:17:10,896 - DEBUG - Response Code: 404 2025-10-05 07:17:10,897 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:17:10,901 - DEBUG - Requesting: http://10.0.0.38:8082/domain/94db502b-61fd-4fae-ae45-e24af58cd4f7 2025-10-05 07:17:10,952 - DEBUG - Requesting: http://10.0.0.38:8082/project/514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:17:11,024 - INFO - Validated that VN ctest-vn-11299251 is not found in API Server 2025-10-05 07:17:11,032 - DEBUG - VN ctest-vn-11299251 is not present in Agent 10.0.0.38 2025-10-05 07:17:11,032 - INFO - Validated that VN ctest-vn-11299251 is not in any agent 2025-10-05 07:17:11,043 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11299251 info 2025-10-05 07:17:11,043 - INFO - Deleting VN ctest-vn-01997928 2025-10-05 07:17:11,137 - DEBUG - Response for deleting network () 2025-10-05 07:17:11,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ae9e0e69-cb10-4c97-8f0e-fec7cf543701 2025-10-05 07:17:11,143 - DEBUG - Response Code: 404 2025-10-05 07:17:11,143 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 07:17:11,147 - DEBUG - Requesting: http://10.0.0.38:8082/domain/94db502b-61fd-4fae-ae45-e24af58cd4f7 2025-10-05 07:17:11,199 - DEBUG - Requesting: http://10.0.0.38:8082/project/514baaf6-ab79-4c96-8ad2-5aef9f1a8192 2025-10-05 07:17:11,270 - INFO - Validated that VN ctest-vn-01997928 is not found in API Server 2025-10-05 07:17:11,277 - DEBUG - VN ctest-vn-01997928 is not present in Agent 10.0.0.38 2025-10-05 07:17:11,277 - INFO - Validated that VN ctest-vn-01997928 is not in any agent 2025-10-05 07:17:11,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01997928 info 2025-10-05 07:17:11,543 - DEBUG - No XMPP flaps were noticed during the test 2025-10-05 07:17:11,544 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-05 07:17:11,544 - INFO - -------------------------------------------------------------------------------- 2025-10-05 07:17:12,180 - INFO - Deleted project: ctest-TestBasicPolicy-67470871, ID : 514baaf6-ab79-4c96-8ad2-5aef9f1a8192