2025-07-09 09:32:19,319 - INFO - Domain Default found not creating 2025-07-09 09:32:19,476 - INFO - Project ctest-TestBasicPolicy-31222223 not found, creating it 2025-07-09 09:32:19,987 - INFO - Created Project:ctest-TestBasicPolicy-31222223, ID : cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:21,490 - INFO - ================================================================================ 2025-07-09 09:32:21,490 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-09 09:32:21,490 - 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-07-09 09:32:21,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-09 09:32:21,751 - INFO - Initial checks done. Running the testcase now 2025-07-09 09:32:21,751 - INFO - 2025-07-09 09:32:22,340 - DEBUG - Response for create_network : {'network': {'id': 'c26c2097-29f0-46f4-9415-d53f50392c9b', 'name': 'ctest-vn-37672832', 'tenant_id': 'cd4eb286a25b4865b57be0b2536807e2', 'project_id': 'cd4eb286a25b4865b57be0b2536807e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-vn-37672832'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 09:32:22,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '73d5cd74-8858-47cc-baec-8775c736a5ba', 'name': '', 'tenant_id': 'cd4eb286a25b4865b57be0b2536807e2', 'network_id': 'c26c2097-29f0-46f4-9415-d53f50392c9b', 'ip_version': 4, 'cidr': '93.15.196.192/26', 'allocation_pools': [{'start': '93.15.196.194', 'end': '93.15.196.254'}], 'gateway_ip': '93.15.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.15.196.194', 'tags': [], 'project_id': 'cd4eb286a25b4865b57be0b2536807e2'}} 2025-07-09 09:32:22,572 - INFO - Created VN ctest-vn-37672832 2025-07-09 09:32:22,630 - DEBUG - VN ctest-vn-37672832 UUID is c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:22,956 - DEBUG - Response for create_network : {'network': {'id': '548ef478-6897-4c08-8647-e6e66170b564', 'name': 'ctest-vn-24913796', 'tenant_id': 'cd4eb286a25b4865b57be0b2536807e2', 'project_id': 'cd4eb286a25b4865b57be0b2536807e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-vn-24913796'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 09:32:23,148 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae13209a-afa1-4091-b88e-b37887d8f8a5', 'name': '', 'tenant_id': 'cd4eb286a25b4865b57be0b2536807e2', 'network_id': '548ef478-6897-4c08-8647-e6e66170b564', 'ip_version': 4, 'cidr': '206.164.128.64/26', 'allocation_pools': [{'start': '206.164.128.66', 'end': '206.164.128.126'}], 'gateway_ip': '206.164.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.164.128.66', 'tags': [], 'project_id': 'cd4eb286a25b4865b57be0b2536807e2'}} 2025-07-09 09:32:23,169 - INFO - Created VN ctest-vn-24913796 2025-07-09 09:32:23,226 - DEBUG - VN ctest-vn-24913796 UUID is 548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:23,348 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832, 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-31222223:ctest-vn-24913796, 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-07-09 09:32:23,655 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c26c2097-29f0-46f4-9415-d53f50392c9b', 'name': 'ctest-vn-37672832', 'tenant_id': 'cd4eb286a25b4865b57be0b2536807e2', 'project_id': 'cd4eb286a25b4865b57be0b2536807e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73d5cd74-8858-47cc-baec-8775c736a5ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-vn-37672832'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-policy-allow-all-14344789']], 'subnet_ipam': [{'subnet_cidr': '93.15.196.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 09:32:23,901 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '548ef478-6897-4c08-8647-e6e66170b564', 'name': 'ctest-vn-24913796', 'tenant_id': 'cd4eb286a25b4865b57be0b2536807e2', 'project_id': 'cd4eb286a25b4865b57be0b2536807e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae13209a-afa1-4091-b88e-b37887d8f8a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-vn-24913796'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-policy-allow-all-14344789']], 'subnet_ipam': [{'subnet_cidr': '206.164.128.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 09:32:24,066 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:24,365 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:24,393 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5bfc1f5d-4920-4332-93a9-ff26ea09f458 2025-07-09 09:32:24,408 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:24,484 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:24,500 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:24,513 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08f52ebc-66ba-45e5-8efd-23ebe08f9562 2025-07-09 09:32:24,524 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08f52ebc-66ba-45e5-8efd-23ebe08f9562 2025-07-09 09:32:24,534 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/77d184ca-4361-42db-a864-39aa544f7cef 2025-07-09 09:32:24,541 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 09:32:24,541 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:24,554 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08f52ebc-66ba-45e5-8efd-23ebe08f9562 2025-07-09 09:32:24,573 - INFO - Verified VN network id 8 for VN c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:24,573 - INFO - Verifications in API Server for VN ctest-vn-37672832 passed 2025-07-09 09:32:24,573 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:24,584 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08f52ebc-66ba-45e5-8efd-23ebe08f9562 2025-07-09 09:32:24,592 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08f52ebc-66ba-45e5-8efd-23ebe08f9562 2025-07-09 09:32:24,599 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/77d184ca-4361-42db-a864-39aa544f7cef 2025-07-09 09:32:24,612 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222223', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14009608374458533620', 'uuid-lslong': '10670669360029838491'}, 'enable': 'true', 'created': '2025-07-09T09:32:22', 'last-modified': '2025-07-09T09:32:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984470'} 2025-07-09 09:32:24,619 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 09:32:24,619 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37672832 passed 2025-07-09 09:32:24,619 - DEBUG - ====Verifying policy data for ctest-vn-37672832 in API_Server ====== 2025-07-09 09:32:24,620 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:24,625 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5bfc1f5d-4920-4332-93a9-ff26ea09f458 2025-07-09 09:32:24,638 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:24,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c26c2097-29f0-46f4-9415-d53f50392c9b 2025-07-09 09:32:24,722 - DEBUG - ==>Verifying data for policy with id: f58e6985-f3a1-4f25-8d58-ac1dfeee491c, fqn: ['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-policy-allow-all-14344789'] 2025-07-09 09:32:24,722 - INFO - VN ctest-vn-37672832 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 09:32:24,722 - DEBUG - Verifying the vn in opserver 2025-07-09 09:32:24,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832 virtual network link through opserver 10.0.0.50 2025-07-09 09:32:24,722 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-09 09:32:25,012 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-09 09:32:25,071 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832?flat'} 2025-07-09 09:32:25,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832 is found in opserver 2025-07-09 09:32:25,084 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 09:32:25,090 - DEBUG - VRF ids for VN ctest-vn-37672832: {} 2025-07-09 09:32:25,090 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:25,096 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5bfc1f5d-4920-4332-93a9-ff26ea09f458 2025-07-09 09:32:25,109 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:25,192 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:25,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:25,217 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd0fb4e2-82d7-4802-be66-4e2e6ee4c1bd 2025-07-09 09:32:25,226 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd0fb4e2-82d7-4802-be66-4e2e6ee4c1bd 2025-07-09 09:32:25,234 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/134862e3-db9e-4780-b5b4-d20c625279d2 2025-07-09 09:32:25,242 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 09:32:25,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:25,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd0fb4e2-82d7-4802-be66-4e2e6ee4c1bd 2025-07-09 09:32:25,268 - INFO - Verified VN network id 9 for VN 548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:25,268 - INFO - Verifications in API Server for VN ctest-vn-24913796 passed 2025-07-09 09:32:25,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:25,279 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd0fb4e2-82d7-4802-be66-4e2e6ee4c1bd 2025-07-09 09:32:25,286 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd0fb4e2-82d7-4802-be66-4e2e6ee4c1bd 2025-07-09 09:32:25,294 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/134862e3-db9e-4780-b5b4-d20c625279d2 2025-07-09 09:32:25,307 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-24913796', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222223', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6093076143866858504', 'uuid-lslong': '9675956201580442980'}, 'enable': 'true', 'created': '2025-07-09T09:32:22', 'last-modified': '2025-07-09T09:32:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430621'} 2025-07-09 09:32:25,314 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 09:32:25,314 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24913796 passed 2025-07-09 09:32:25,314 - DEBUG - ====Verifying policy data for ctest-vn-24913796 in API_Server ====== 2025-07-09 09:32:25,314 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:25,320 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5bfc1f5d-4920-4332-93a9-ff26ea09f458 2025-07-09 09:32:25,333 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:25,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/548ef478-6897-4c08-8647-e6e66170b564 2025-07-09 09:32:25,420 - DEBUG - ==>Verifying data for policy with id: f58e6985-f3a1-4f25-8d58-ac1dfeee491c, fqn: ['default-domain', 'ctest-TestBasicPolicy-31222223', 'ctest-policy-allow-all-14344789'] 2025-07-09 09:32:25,420 - INFO - VN ctest-vn-24913796 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 09:32:25,420 - DEBUG - Verifying the vn in opserver 2025-07-09 09:32:25,420 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-24913796 virtual network link through opserver 10.0.0.50 2025-07-09 09:32:25,420 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-09 09:32:25,432 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-24913796', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-24913796?flat'} 2025-07-09 09:32:25,432 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-24913796 is found in opserver 2025-07-09 09:32:25,443 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 09:32:25,448 - DEBUG - VRF ids for VN ctest-vn-24913796: {} 2025-07-09 09:32:25,503 - DEBUG - Services list from nova: [, , ] 2025-07-09 09:32:26,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3616-1) 2025-07-09 09:32:27,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3616-1) 2025-07-09 09:32:27,732 - INFO - Waiting for VM ctest-TestBasicPolicy-31222223-94043097 to be up.. 2025-07-09 09:32:27,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 09:32:32,884 - DEBUG - VM is in ACTIVE state now 2025-07-09 09:32:32,884 - INFO - VM name : ctest-TestBasicPolicy-31222223-94043097 2025-07-09 09:32:32,969 - DEBUG - VM ctest-TestBasicPolicy-31222223-94043097 ID is 75d9d8f1-658e-45af-bdbd-20fae5a9175a 2025-07-09 09:32:32,988 - DEBUG - VM ctest-TestBasicPolicy-31222223-94043097 launched on Node cn-jenkins-deploy-platform-ansible-os-3616-1 2025-07-09 09:32:33,065 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/75d9d8f1-658e-45af-bdbd-20fae5a9175a 2025-07-09 09:32:33,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7c9ec15d-7189-46e9-b8fb-3e93c1d11b59 2025-07-09 09:32:36,351 - 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') 2025-07-09 09:32:36,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222223-94043097 failed! 2025-07-09 09:32:36,406 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222223:ctest-vn-37672832 is 93.15.196.193 and allocation pool is NOT set 2025-07-09 09:32:38,471 - 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=7.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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 = 0.468/4.228/7.988/3.760 ms') 2025-07-09 09:32:38,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222223-94043097 passed 2025-07-09 09:32:38,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:38,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222223-94043097, IP 93.15.196.195, Port 22 2025-07-09 09:32:38,788 - DEBUG - VM ctest-TestBasicPolicy-31222223-94043097 is ready for SSH connections 2025-07-09 09:32:38,788 - INFO - Waiting for VM ctest-TestBasicPolicy-31222223-32385677 to be up.. 2025-07-09 09:32:38,878 - DEBUG - VM is in ACTIVE state now 2025-07-09 09:32:38,878 - INFO - VM name : ctest-TestBasicPolicy-31222223-32385677 2025-07-09 09:32:38,981 - DEBUG - VM ctest-TestBasicPolicy-31222223-32385677 ID is 91cb1465-2904-437b-8be6-1d1201a25e5d 2025-07-09 09:32:38,981 - DEBUG - VM ctest-TestBasicPolicy-31222223-32385677 launched on Node cn-jenkins-deploy-platform-ansible-os-3616-1 2025-07-09 09:32:39,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/91cb1465-2904-437b-8be6-1d1201a25e5d 2025-07-09 09:32:39,084 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8e1a5565-8719-45b2-8775-f3977d32a541 2025-07-09 09:32:40,333 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/2.120/3.806/1.686 ms') 2025-07-09 09:32:40,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31222223-32385677 passed 2025-07-09 09:32:40,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:40,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222223-32385677, IP 206.164.128.67, Port 22 2025-07-09 09:32:40,646 - DEBUG - VM ctest-TestBasicPolicy-31222223-32385677 is ready for SSH connections 2025-07-09 09:32:40,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:40,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.164.128.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-09 09:32:40,646 - DEBUG - ping -s 56 -c 3 -W 1 206.164.128.67 2025-07-09 09:32:44,345 - DEBUG - PING 206.164.128.67 (206.164.128.67): 56 data bytes 64 bytes from 206.164.128.67: seq=0 ttl=63 time=3.491 ms 64 bytes from 206.164.128.67: seq=1 ttl=63 time=0.941 ms 64 bytes from 206.164.128.67: seq=2 ttl=63 time=0.913 ms --- 206.164.128.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/1.781/3.491 ms 2025-07-09 09:32:44,346 - INFO - Ping to IP 206.164.128.67 from VM ctest-TestBasicPolicy-31222223-94043097 passed 2025-07-09 09:32:44,526 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f58e6985-f3a1-4f25-8d58-ac1dfeee491c", "href": "http://10.0.0.50:8082/network-policy/f58e6985-f3a1-4f25-8d58-ac1dfeee491c"}} 2025-07-09 09:32:44,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:44,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.164.128.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-09 09:32:44,526 - DEBUG - ping -s 56 -c 3 -W 1 206.164.128.67 2025-07-09 09:32:47,735 - DEBUG - PING 206.164.128.67 (206.164.128.67): 56 data bytes --- 206.164.128.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-09 09:32:47,735 - WARNING - Ping to IP 206.164.128.67 from VM ctest-TestBasicPolicy-31222223-94043097 failed 2025-07-09 09:32:47,735 - INFO - Deleting VM ctest-TestBasicPolicy-31222223-32385677 2025-07-09 09:32:47,812 - INFO - Deleting VM ctest-TestBasicPolicy-31222223-94043097 2025-07-09 09:32:48,276 - INFO - Deleted policy ctest-policy-allow-all-14344789 2025-07-09 09:32:48,276 - INFO - Deleting VN ctest-vn-24913796 2025-07-09 09:32:48,331 - DEBUG - VN 548ef478-6897-4c08-8647-e6e66170b564 still in use: Unable to complete operation on network 548ef478-6897-4c08-8647-e6e66170b564. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2415c3b-8a4a-4865-9f54-8be29c6c49e7'] 2025-07-09 09:32:48,331 - WARNING - Deleting VN ctest-vn-24913796 failed..Will retry 2025-07-09 09:32:50,448 - DEBUG - Response for deleting network () 2025-07-09 09:32:50,448 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd0fb4e2-82d7-4802-be66-4e2e6ee4c1bd 2025-07-09 09:32:50,455 - DEBUG - Response Code: 404 2025-07-09 09:32:50,455 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:50,462 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5bfc1f5d-4920-4332-93a9-ff26ea09f458 2025-07-09 09:32:50,526 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:50,599 - INFO - Validated that VN ctest-vn-24913796 is not found in API Server 2025-07-09 09:32:50,613 - DEBUG - VN ctest-vn-24913796 is not present in Agent 10.0.0.50 2025-07-09 09:32:50,613 - INFO - Validated that VN ctest-vn-24913796 is not in any agent 2025-07-09 09:32:50,631 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24913796 info 2025-07-09 09:32:50,632 - INFO - Deleting VN ctest-vn-37672832 2025-07-09 09:32:50,762 - DEBUG - Response for deleting network () 2025-07-09 09:32:50,762 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/08f52ebc-66ba-45e5-8efd-23ebe08f9562 2025-07-09 09:32:50,771 - DEBUG - Response Code: 404 2025-07-09 09:32:50,771 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 09:32:50,778 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5bfc1f5d-4920-4332-93a9-ff26ea09f458 2025-07-09 09:32:50,837 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd4eb286-a25b-4865-b57b-e0b2536807e2 2025-07-09 09:32:50,914 - INFO - Validated that VN ctest-vn-37672832 is not found in API Server 2025-07-09 09:32:50,927 - DEBUG - VN ctest-vn-37672832 is not present in Agent 10.0.0.50 2025-07-09 09:32:50,927 - INFO - Validated that VN ctest-vn-37672832 is not in any agent 2025-07-09 09:32:50,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37672832 info 2025-07-09 09:32:51,208 - DEBUG - No XMPP flaps were noticed during the test 2025-07-09 09:32:51,209 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-09 09:32:51,209 - INFO - -------------------------------------------------------------------------------- 2025-07-09 09:32:51,893 - INFO - Deleted project: ctest-TestBasicPolicy-31222223, ID : cd4eb286-a25b-4865-b57b-e0b2536807e2