2025-10-31 00:24:43,575 - INFO - Domain Default found not creating 2025-10-31 00:24:43,703 - INFO - Project ctest-TestBasicPolicy-84011660 not found, creating it 2025-10-31 00:24:44,131 - INFO - Created Project:ctest-TestBasicPolicy-84011660, ID : 671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:24:45,512 - INFO - ================================================================================ 2025-10-31 00:24:45,512 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 00:24:45,512 - 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-31 00:24:45,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 00:24:45,764 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:24:45,764 - INFO - 2025-10-31 00:24:46,286 - DEBUG - Response for create_network : {'network': {'id': '861254a9-fc7c-45bd-ae47-83b2e9b9538b', 'name': 'ctest-vn-48018671', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-48018671'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:46,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3ce707f-dac1-43d6-ab74-8c7fe82edf5b', 'name': '', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'network_id': '861254a9-fc7c-45bd-ae47-83b2e9b9538b', 'ip_version': 4, 'cidr': '32.236.242.192/26', 'allocation_pools': [{'start': '32.236.242.194', 'end': '32.236.242.254'}], 'gateway_ip': '32.236.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.236.242.194', 'tags': [], 'project_id': '671f1e8a9f3c459fad5693cb03d88d62'}} 2025-10-31 00:24:46,486 - INFO - Created VN ctest-vn-48018671 2025-10-31 00:24:46,539 - DEBUG - VN ctest-vn-48018671 UUID is 861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:46,851 - DEBUG - Response for create_network : {'network': {'id': '96940712-e5a5-444e-854f-d728f8627e59', 'name': 'ctest-vn-82457346', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-82457346'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:47,042 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a09b7092-2fb8-4c2d-9f01-474dcae18e12', 'name': '', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'network_id': '96940712-e5a5-444e-854f-d728f8627e59', 'ip_version': 4, 'cidr': '149.41.8.192/26', 'allocation_pools': [{'start': '149.41.8.194', 'end': '149.41.8.254'}], 'gateway_ip': '149.41.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.41.8.194', 'tags': [], 'project_id': '671f1e8a9f3c459fad5693cb03d88d62'}} 2025-10-31 00:24:47,057 - INFO - Created VN ctest-vn-82457346 2025-10-31 00:24:47,107 - DEBUG - VN ctest-vn-82457346 UUID is 96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:47,247 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671, 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-84011660:ctest-vn-82457346, 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-31 00:24:47,529 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '861254a9-fc7c-45bd-ae47-83b2e9b9538b', 'name': 'ctest-vn-48018671', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d3ce707f-dac1-43d6-ab74-8c7fe82edf5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-48018671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726']], 'subnet_ipam': [{'subnet_cidr': '32.236.242.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:47,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96940712-e5a5-444e-854f-d728f8627e59', 'name': 'ctest-vn-82457346', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a09b7092-2fb8-4c2d-9f01-474dcae18e12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-82457346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726']], 'subnet_ipam': [{'subnet_cidr': '149.41.8.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:47,907 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:24:48,196 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:24:48,219 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412 2025-10-31 00:24:48,229 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:24:48,302 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:48,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:48,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0 2025-10-31 00:24:48,331 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0 2025-10-31 00:24:48,339 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3528a711-a902-4ce2-a1fd-2e57c6df2b70 2025-10-31 00:24:48,345 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:24:48,345 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:48,355 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0 2025-10-31 00:24:48,368 - INFO - Verified VN network id 12 for VN 861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:48,368 - INFO - Verifications in API Server for VN ctest-vn-48018671 passed 2025-10-31 00:24:48,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:48,376 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0 2025-10-31 00:24:48,383 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0 2025-10-31 00:24:48,389 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3528a711-a902-4ce2-a1fd-2e57c6df2b70 2025-10-31 00:24:48,398 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84011660', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9660877239725344189', 'uuid-lslong': '12558150890394571659'}, 'enable': 'true', 'created': '2025-10-31T00:24:46', 'last-modified': '2025-10-31T00:24:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890343'} 2025-10-31 00:24:48,404 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:24:48,404 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48018671 passed 2025-10-31 00:24:48,404 - DEBUG - ====Verifying policy data for ctest-vn-48018671 in API_Server ====== 2025-10-31 00:24:48,404 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:24:48,408 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412 2025-10-31 00:24:48,417 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:24:48,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b 2025-10-31 00:24:48,490 - DEBUG - ==>Verifying data for policy with id: d3a08b95-f40f-4810-8524-2f10d58da4da, fqn: ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726'] 2025-10-31 00:24:48,490 - INFO - VN ctest-vn-48018671 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:24:48,490 - DEBUG - Verifying the vn in opserver 2025-10-31 00:24:48,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671 virtual network link through opserver 10.0.0.254 2025-10-31 00:24:48,491 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 00:24:48,779 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 00:24:48,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671?flat'} 2025-10-31 00:24:48,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671 is found in opserver 2025-10-31 00:24:48,836 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:24:48,840 - DEBUG - VRF ids for VN ctest-vn-48018671: {} 2025-10-31 00:24:48,840 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:24:48,845 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412 2025-10-31 00:24:48,854 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:24:48,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:48,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:48,939 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63 2025-10-31 00:24:48,945 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63 2025-10-31 00:24:48,950 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ce67dd47-726b-4a23-9469-e554f4ffdfda 2025-10-31 00:24:48,956 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:24:48,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:48,963 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63 2025-10-31 00:24:48,973 - INFO - Verified VN network id 13 for VN 96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:48,973 - INFO - Verifications in API Server for VN ctest-vn-82457346 passed 2025-10-31 00:24:48,973 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:48,980 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63 2025-10-31 00:24:48,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63 2025-10-31 00:24:48,991 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ce67dd47-726b-4a23-9469-e554f4ffdfda 2025-10-31 00:24:49,000 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84011660', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10850305179985986638', 'uuid-lslong': '9606133101170425433'}, 'enable': 'true', 'created': '2025-10-31T00:24:46', 'last-modified': '2025-10-31T00:24:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275484'} 2025-10-31 00:24:49,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:24:49,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82457346 passed 2025-10-31 00:24:49,005 - DEBUG - ====Verifying policy data for ctest-vn-82457346 in API_Server ====== 2025-10-31 00:24:49,005 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:24:49,010 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412 2025-10-31 00:24:49,018 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:24:49,085 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59 2025-10-31 00:24:49,093 - DEBUG - ==>Verifying data for policy with id: d3a08b95-f40f-4810-8524-2f10d58da4da, fqn: ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726'] 2025-10-31 00:24:49,093 - INFO - VN ctest-vn-82457346 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:24:49,093 - DEBUG - Verifying the vn in opserver 2025-10-31 00:24:49,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346 virtual network link through opserver 10.0.0.254 2025-10-31 00:24:49,093 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 00:24:49,101 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346?flat'} 2025-10-31 00:24:49,101 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346 is found in opserver 2025-10-31 00:24:49,108 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:24:49,112 - DEBUG - VRF ids for VN ctest-vn-82457346: {} 2025-10-31 00:24:49,165 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:24:50,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:24:51,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:24:51,220 - INFO - Waiting for VM ctest-TestBasicPolicy-84011660-29675895 to be up.. 2025-10-31 00:24:51,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:24:56,407 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:24:56,407 - INFO - VM name : ctest-TestBasicPolicy-84011660-29675895 2025-10-31 00:24:56,546 - DEBUG - VM ctest-TestBasicPolicy-84011660-29675895 ID is ec19edb3-47e4-4566-9e82-0d2b07b5afcf 2025-10-31 00:24:56,574 - DEBUG - VM ctest-TestBasicPolicy-84011660-29675895 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:24:56,717 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ec19edb3-47e4-4566-9e82-0d2b07b5afcf 2025-10-31 00:24:56,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6109b4fe-7036-470b-939a-1732415568f4 2025-10-31 00:25:00,023 - 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-10-31 00:25:00,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84011660-29675895 failed! 2025-10-31 00:25:00,079 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671 is 32.236.242.193 and allocation pool is NOT set 2025-10-31 00:25:02,141 - 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=5.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 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 = 1.701/3.561/5.422/1.860 ms') 2025-10-31 00:25:02,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84011660-29675895 passed 2025-10-31 00:25:02,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:25:02,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84011660-29675895, IP 32.236.242.195, Port 22 2025-10-31 00:25:02,442 - DEBUG - VM ctest-TestBasicPolicy-84011660-29675895 is ready for SSH connections 2025-10-31 00:25:02,443 - INFO - Waiting for VM ctest-TestBasicPolicy-84011660-86420495 to be up.. 2025-10-31 00:25:02,516 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:25:02,516 - INFO - VM name : ctest-TestBasicPolicy-84011660-86420495 2025-10-31 00:25:02,593 - DEBUG - VM ctest-TestBasicPolicy-84011660-86420495 ID is 96b664a6-d793-42df-8c63-f1750763d42c 2025-10-31 00:25:02,593 - DEBUG - VM ctest-TestBasicPolicy-84011660-86420495 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:25:02,766 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/96b664a6-d793-42df-8c63-f1750763d42c 2025-10-31 00:25:02,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ea085bc7-8448-453c-8121-0969d6fef19a 2025-10-31 00:25:04,006 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/2.171/3.905/1.733 ms') 2025-10-31 00:25:04,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84011660-86420495 passed 2025-10-31 00:25:04,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:25:04,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84011660-86420495, IP 149.41.8.195, Port 22 2025-10-31 00:25:04,314 - DEBUG - VM ctest-TestBasicPolicy-84011660-86420495 is ready for SSH connections 2025-10-31 00:25:04,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:25:04,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.41.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:25:04,315 - DEBUG - ping -s 56 -c 3 -W 1 149.41.8.195 2025-10-31 00:25:08,276 - DEBUG - PING 149.41.8.195 (149.41.8.195): 56 data bytes 64 bytes from 149.41.8.195: seq=0 ttl=63 time=3.243 ms 64 bytes from 149.41.8.195: seq=1 ttl=63 time=0.716 ms 64 bytes from 149.41.8.195: seq=2 ttl=63 time=0.780 ms --- 149.41.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/1.579/3.243 ms 2025-10-31 00:25:08,276 - INFO - Ping to IP 149.41.8.195 from VM ctest-TestBasicPolicy-84011660-29675895 passed 2025-10-31 00:25:08,443 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d3a08b95-f40f-4810-8524-2f10d58da4da", "href": "http://10.0.0.254:8082/network-policy/d3a08b95-f40f-4810-8524-2f10d58da4da"}} 2025-10-31 00:25:08,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:25:08,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.41.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:25:08,443 - DEBUG - ping -s 56 -c 3 -W 1 149.41.8.195 2025-10-31 00:25:11,648 - DEBUG - PING 149.41.8.195 (149.41.8.195): 56 data bytes --- 149.41.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:25:11,648 - WARNING - Ping to IP 149.41.8.195 from VM ctest-TestBasicPolicy-84011660-29675895 failed 2025-10-31 00:25:11,648 - INFO - Deleting VM ctest-TestBasicPolicy-84011660-86420495 2025-10-31 00:25:11,734 - INFO - Deleting VM ctest-TestBasicPolicy-84011660-29675895 2025-10-31 00:25:12,109 - INFO - Deleted policy ctest-policy-allow-all-42329726 2025-10-31 00:25:12,109 - INFO - Deleting VN ctest-vn-82457346 2025-10-31 00:25:12,141 - DEBUG - VN 96940712-e5a5-444e-854f-d728f8627e59 still in use: Unable to complete operation on network 96940712-e5a5-444e-854f-d728f8627e59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9b453af-adc7-4260-8634-fb1957af8202'] 2025-10-31 00:25:12,141 - WARNING - Deleting VN ctest-vn-82457346 failed..Will retry 2025-10-31 00:25:14,254 - DEBUG - Response for deleting network () 2025-10-31 00:25:14,254 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63 2025-10-31 00:25:14,260 - DEBUG - Response Code: 404 2025-10-31 00:25:14,260 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:25:14,265 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412 2025-10-31 00:25:14,321 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:25:14,390 - INFO - Validated that VN ctest-vn-82457346 is not found in API Server 2025-10-31 00:25:14,401 - DEBUG - VN ctest-vn-82457346 is not present in Agent 10.0.0.254 2025-10-31 00:25:14,401 - INFO - Validated that VN ctest-vn-82457346 is not in any agent 2025-10-31 00:25:14,415 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82457346 info 2025-10-31 00:25:14,415 - INFO - Deleting VN ctest-vn-48018671 2025-10-31 00:25:14,527 - DEBUG - Response for deleting network () 2025-10-31 00:25:14,528 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0 2025-10-31 00:25:14,535 - DEBUG - Response Code: 404 2025-10-31 00:25:14,535 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 00:25:14,541 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412 2025-10-31 00:25:14,592 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62 2025-10-31 00:25:14,656 - INFO - Validated that VN ctest-vn-48018671 is not found in API Server 2025-10-31 00:25:14,667 - DEBUG - VN ctest-vn-48018671 is not present in Agent 10.0.0.254 2025-10-31 00:25:14,667 - INFO - Validated that VN ctest-vn-48018671 is not in any agent 2025-10-31 00:25:14,679 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48018671 info 2025-10-31 00:25:14,943 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:25:14,943 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-31 00:25:14,943 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:25:15,613 - INFO - Deleted project: ctest-TestBasicPolicy-84011660, ID : 671f1e8a-9f3c-459f-ad56-93cb03d88d62