2026-05-28 16:53:07,695 - INFO - Domain Default found not creating 2026-05-28 16:53:07,892 - INFO - Project ctest-TestBasicPolicy-64662238 not found, creating it 2026-05-28 16:53:08,401 - INFO - Created Project:ctest-TestBasicPolicy-64662238, ID : 5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:10,083 - INFO - ================================================================================ 2026-05-28 16:53:10,083 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 16:53:10,083 - 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 2026-05-28 16:53:10,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2026-05-28 16:53:10,360 - INFO - Initial checks done. Running the testcase now 2026-05-28 16:53:10,360 - INFO - 2026-05-28 16:53:10,985 - DEBUG - Response for create_network : {'network': {'id': 'e63afcb5-fef0-48f0-a02b-40a7a94c063e', 'name': 'ctest-vn-95556699', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-95556699'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:53:11,274 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa7ed4ae-714a-423e-9db9-536535fe8156', 'name': '', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'network_id': 'e63afcb5-fef0-48f0-a02b-40a7a94c063e', 'ip_version': 4, 'cidr': '150.164.231.0/26', 'allocation_pools': [{'start': '150.164.231.2', 'end': '150.164.231.62'}], 'gateway_ip': '150.164.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.164.231.2', 'tags': [], 'project_id': '5af558284d564887bac2b84f26f8f435'}} 2026-05-28 16:53:11,304 - INFO - Created VN ctest-vn-95556699 2026-05-28 16:53:11,393 - DEBUG - VN ctest-vn-95556699 UUID is e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:11,893 - DEBUG - Response for create_network : {'network': {'id': 'b28e460f-dfa4-4716-aa86-49b511e96357', 'name': 'ctest-vn-77185275', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-77185275'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:53:12,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '6002f281-0e6e-43ee-97b0-3fc9f6b7e15c', 'name': '', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'network_id': 'b28e460f-dfa4-4716-aa86-49b511e96357', 'ip_version': 4, 'cidr': '43.115.128.128/26', 'allocation_pools': [{'start': '43.115.128.130', 'end': '43.115.128.190'}], 'gateway_ip': '43.115.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.115.128.130', 'tags': [], 'project_id': '5af558284d564887bac2b84f26f8f435'}} 2026-05-28 16:53:12,132 - INFO - Created VN ctest-vn-77185275 2026-05-28 16:53:12,185 - DEBUG - VN ctest-vn-77185275 UUID is b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:12,307 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699, 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-64662238:ctest-vn-77185275, 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] 2026-05-28 16:53:12,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e63afcb5-fef0-48f0-a02b-40a7a94c063e', 'name': 'ctest-vn-95556699', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa7ed4ae-714a-423e-9db9-536535fe8156'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-95556699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593']], 'subnet_ipam': [{'subnet_cidr': '150.164.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:53:12,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b28e460f-dfa4-4716-aa86-49b511e96357', 'name': 'ctest-vn-77185275', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6002f281-0e6e-43ee-97b0-3fc9f6b7e15c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-77185275'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593']], 'subnet_ipam': [{'subnet_cidr': '43.115.128.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:53:13,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:13,381 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:13,417 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7 2026-05-28 16:53:13,428 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:13,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:13,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:13,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba 2026-05-28 16:53:13,545 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba 2026-05-28 16:53:13,553 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6e1bd89e-c3b3-4a0d-be38-d143ac05d4ce 2026-05-28 16:53:13,563 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 16:53:13,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:13,576 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba 2026-05-28 16:53:13,591 - INFO - Verified VN network id 12 for VN e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:13,591 - INFO - Verifications in API Server for VN ctest-vn-95556699 passed 2026-05-28 16:53:13,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:13,604 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba 2026-05-28 16:53:13,613 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba 2026-05-28 16:53:13,621 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6e1bd89e-c3b3-4a0d-be38-d143ac05d4ce 2026-05-28 16:53:13,637 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64662238', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16589850035969083632', 'uuid-lslong': '11541389558911075902'}, 'enable': 'true', 'created': '2026-05-28T16:53:10', 'last-modified': '2026-05-28T16:53:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.025900'} 2026-05-28 16:53:13,645 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 16:53:13,645 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95556699 passed 2026-05-28 16:53:13,645 - DEBUG - ====Verifying policy data for ctest-vn-95556699 in API_Server ====== 2026-05-28 16:53:13,645 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:13,651 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7 2026-05-28 16:53:13,670 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:13,751 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e 2026-05-28 16:53:13,761 - DEBUG - ==>Verifying data for policy with id: 9525611c-605f-4c8c-8c92-56e34da9b4a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593'] 2026-05-28 16:53:13,761 - INFO - VN ctest-vn-95556699 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 16:53:13,761 - DEBUG - Verifying the vn in opserver 2026-05-28 16:53:13,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699 virtual network link through opserver 10.0.0.50 2026-05-28 16:53:13,761 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-28 16:53:14,079 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-28 16:53:14,155 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699?flat'} 2026-05-28 16:53:14,155 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699 is found in opserver 2026-05-28 16:53:14,165 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 16:53:14,171 - DEBUG - VRF ids for VN ctest-vn-95556699: {} 2026-05-28 16:53:14,171 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:14,178 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7 2026-05-28 16:53:14,190 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:14,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:14,278 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:14,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f 2026-05-28 16:53:14,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f 2026-05-28 16:53:14,303 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b391ebf0-0870-42bc-bbe3-1c8138c7bf7d 2026-05-28 16:53:14,310 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 16:53:14,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:14,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f 2026-05-28 16:53:14,337 - INFO - Verified VN network id 13 for VN b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:14,337 - INFO - Verifications in API Server for VN ctest-vn-77185275 passed 2026-05-28 16:53:14,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:14,348 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f 2026-05-28 16:53:14,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f 2026-05-28 16:53:14,364 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b391ebf0-0870-42bc-bbe3-1c8138c7bf7d 2026-05-28 16:53:14,378 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64662238', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12866298219434624790', 'uuid-lslong': '12287589675365393239'}, 'enable': 'true', 'created': '2026-05-28T16:53:11', 'last-modified': '2026-05-28T16:53:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.507548'} 2026-05-28 16:53:14,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 16:53:14,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77185275 passed 2026-05-28 16:53:14,386 - DEBUG - ====Verifying policy data for ctest-vn-77185275 in API_Server ====== 2026-05-28 16:53:14,386 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:14,395 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7 2026-05-28 16:53:14,406 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:14,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357 2026-05-28 16:53:14,496 - DEBUG - ==>Verifying data for policy with id: 9525611c-605f-4c8c-8c92-56e34da9b4a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593'] 2026-05-28 16:53:14,496 - INFO - VN ctest-vn-77185275 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 16:53:14,496 - DEBUG - Verifying the vn in opserver 2026-05-28 16:53:14,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275 virtual network link through opserver 10.0.0.50 2026-05-28 16:53:14,496 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-28 16:53:14,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275?flat'} 2026-05-28 16:53:14,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275 is found in opserver 2026-05-28 16:53:14,517 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 16:53:14,522 - DEBUG - VRF ids for VN ctest-vn-77185275: {} 2026-05-28 16:53:14,598 - DEBUG - Services list from nova: [, , ] 2026-05-28 16:53:15,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5847-1) 2026-05-28 16:53:17,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5847-1) 2026-05-28 16:53:17,082 - INFO - Waiting for VM ctest-TestBasicPolicy-64662238-70043305 to be up.. 2026-05-28 16:53:17,187 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 16:53:22,282 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:53:22,282 - INFO - VM name : ctest-TestBasicPolicy-64662238-70043305 2026-05-28 16:53:22,390 - DEBUG - VM ctest-TestBasicPolicy-64662238-70043305 ID is aac0153d-e3e4-4e3e-a5c5-6f4c0b94e295 2026-05-28 16:53:22,418 - DEBUG - VM ctest-TestBasicPolicy-64662238-70043305 launched on Node cn-jenkins-deploy-platform-ansible-os-5847-1 2026-05-28 16:53:22,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aac0153d-e3e4-4e3e-a5c5-6f4c0b94e295 2026-05-28 16:53:22,520 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/da808671-0294-490b-a5bc-fb96aa128a02 2026-05-28 16:53:25,740 - 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 1018ms') 2026-05-28 16:53:25,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64662238-70043305 failed! 2026-05-28 16:53:25,797 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699 is 150.164.231.1 and allocation pool is NOT set 2026-05-28 16:53:27,867 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.50 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 = 2.498/6.391/10.285/3.893 ms') 2026-05-28 16:53:27,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64662238-70043305 passed 2026-05-28 16:53:28,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:53:28,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64662238-70043305, IP 150.164.231.3, Port 22 2026-05-28 16:53:28,191 - DEBUG - VM ctest-TestBasicPolicy-64662238-70043305 is ready for SSH connections 2026-05-28 16:53:28,192 - INFO - Waiting for VM ctest-TestBasicPolicy-64662238-18902211 to be up.. 2026-05-28 16:53:28,292 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:53:28,293 - INFO - VM name : ctest-TestBasicPolicy-64662238-18902211 2026-05-28 16:53:28,374 - DEBUG - VM ctest-TestBasicPolicy-64662238-18902211 ID is ffc87954-2a2f-44b7-b2f7-c9f9f5a5dfa6 2026-05-28 16:53:28,374 - DEBUG - VM ctest-TestBasicPolicy-64662238-18902211 launched on Node cn-jenkins-deploy-platform-ansible-os-5847-1 2026-05-28 16:53:28,461 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ffc87954-2a2f-44b7-b2f7-c9f9f5a5dfa6 2026-05-28 16:53:28,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/163db0c5-8aa5-44fb-a12c-35d1b238c3cc 2026-05-28 16:53:29,724 - 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=6.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.816 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.816/3.606/6.397/2.790 ms') 2026-05-28 16:53:29,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64662238-18902211 passed 2026-05-28 16:53:29,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:53:29,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64662238-18902211, IP 43.115.128.131, Port 22 2026-05-28 16:53:30,056 - DEBUG - VM ctest-TestBasicPolicy-64662238-18902211 is ready for SSH connections 2026-05-28 16:53:30,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:53:30,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.115.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-28 16:53:30,056 - DEBUG - ping -s 56 -c 3 -W 1 43.115.128.131 2026-05-28 16:53:34,204 - DEBUG - PING 43.115.128.131 (43.115.128.131): 56 data bytes 64 bytes from 43.115.128.131: seq=0 ttl=63 time=4.264 ms 64 bytes from 43.115.128.131: seq=1 ttl=63 time=0.880 ms 64 bytes from 43.115.128.131: seq=2 ttl=63 time=1.092 ms --- 43.115.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.078/4.264 ms 2026-05-28 16:53:34,204 - INFO - Ping to IP 43.115.128.131 from VM ctest-TestBasicPolicy-64662238-70043305 passed 2026-05-28 16:53:34,385 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9525611c-605f-4c8c-8c92-56e34da9b4a2", "href": "http://10.0.0.50:8082/network-policy/9525611c-605f-4c8c-8c92-56e34da9b4a2"}} 2026-05-28 16:53:34,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:53:34,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.115.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-28 16:53:34,385 - DEBUG - ping -s 56 -c 3 -W 1 43.115.128.131 2026-05-28 16:53:37,624 - DEBUG - PING 43.115.128.131 (43.115.128.131): 56 data bytes --- 43.115.128.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 16:53:37,624 - WARNING - Ping to IP 43.115.128.131 from VM ctest-TestBasicPolicy-64662238-70043305 failed 2026-05-28 16:53:37,624 - INFO - Deleting VM ctest-TestBasicPolicy-64662238-18902211 2026-05-28 16:53:37,710 - INFO - Deleting VM ctest-TestBasicPolicy-64662238-70043305 2026-05-28 16:53:38,126 - INFO - Deleted policy ctest-policy-allow-all-74028593 2026-05-28 16:53:38,126 - INFO - Deleting VN ctest-vn-77185275 2026-05-28 16:53:38,168 - DEBUG - VN b28e460f-dfa4-4716-aa86-49b511e96357 still in use: Unable to complete operation on network b28e460f-dfa4-4716-aa86-49b511e96357. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27734538-8062-455c-b25b-5d1d8ce9d3f9'] 2026-05-28 16:53:38,168 - WARNING - Deleting VN ctest-vn-77185275 failed..Will retry 2026-05-28 16:53:40,289 - DEBUG - Response for deleting network () 2026-05-28 16:53:40,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f 2026-05-28 16:53:40,295 - DEBUG - Response Code: 404 2026-05-28 16:53:40,295 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:40,302 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7 2026-05-28 16:53:40,359 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:40,439 - INFO - Validated that VN ctest-vn-77185275 is not found in API Server 2026-05-28 16:53:40,449 - DEBUG - VN ctest-vn-77185275 is not present in Agent 10.0.0.50 2026-05-28 16:53:40,449 - INFO - Validated that VN ctest-vn-77185275 is not in any agent 2026-05-28 16:53:40,463 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77185275 info 2026-05-28 16:53:40,463 - INFO - Deleting VN ctest-vn-95556699 2026-05-28 16:53:40,581 - DEBUG - Response for deleting network () 2026-05-28 16:53:40,581 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba 2026-05-28 16:53:40,586 - DEBUG - Response Code: 404 2026-05-28 16:53:40,587 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-28 16:53:40,597 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7 2026-05-28 16:53:40,650 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435 2026-05-28 16:53:40,720 - INFO - Validated that VN ctest-vn-95556699 is not found in API Server 2026-05-28 16:53:40,730 - DEBUG - VN ctest-vn-95556699 is not present in Agent 10.0.0.50 2026-05-28 16:53:40,730 - INFO - Validated that VN ctest-vn-95556699 is not in any agent 2026-05-28 16:53:40,746 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95556699 info 2026-05-28 16:53:41,008 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 16:53:41,009 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-05-28 16:53:41,009 - INFO - -------------------------------------------------------------------------------- 2026-05-28 16:53:41,774 - INFO - Deleted project: ctest-TestBasicPolicy-64662238, ID : 5af55828-4d56-4887-bac2-b84f26f8f435