2025-10-19 23:41:42,307 - INFO - Domain Default found not creating 2025-10-19 23:41:42,464 - INFO - Project ctest-TestBasicPolicy-97911797 not found, creating it 2025-10-19 23:41:42,887 - INFO - Created Project:ctest-TestBasicPolicy-97911797, ID : cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:41:44,273 - INFO - ================================================================================ 2025-10-19 23:41:44,273 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-19 23:41:44,273 - 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-19 23:41:44,527 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 23:41:44,527 - INFO - Initial checks done. Running the testcase now 2025-10-19 23:41:44,527 - INFO - 2025-10-19 23:41:45,070 - DEBUG - Response for create_network : {'network': {'id': 'c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9', 'name': 'ctest-vn-88353532', 'tenant_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'project_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-vn-88353532'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 23:41:45,260 - DEBUG - Response for create_subnet : {'subnet': {'id': '40eba707-dbd4-44f7-a838-9a77f350fd3b', 'name': '', 'tenant_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'network_id': 'c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9', 'ip_version': 4, 'cidr': '93.195.77.64/26', 'allocation_pools': [{'start': '93.195.77.66', 'end': '93.195.77.126'}], 'gateway_ip': '93.195.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.195.77.66', 'tags': [], 'project_id': 'cc3d1c0173054139a7a1c90df5c122dd'}} 2025-10-19 23:41:45,276 - INFO - Created VN ctest-vn-88353532 2025-10-19 23:41:45,327 - DEBUG - VN ctest-vn-88353532 UUID is c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:45,795 - DEBUG - Response for create_network : {'network': {'id': '796a473f-c28a-43a5-b09e-5d3a7deee447', 'name': 'ctest-vn-38527990', 'tenant_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'project_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-vn-38527990'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 23:41:46,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9d7947d-bb6f-4158-8ea7-d8b7798636ac', 'name': '', 'tenant_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'network_id': '796a473f-c28a-43a5-b09e-5d3a7deee447', 'ip_version': 4, 'cidr': '158.44.242.64/26', 'allocation_pools': [{'start': '158.44.242.66', 'end': '158.44.242.126'}], 'gateway_ip': '158.44.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.44.242.66', 'tags': [], 'project_id': 'cc3d1c0173054139a7a1c90df5c122dd'}} 2025-10-19 23:41:46,151 - INFO - Created VN ctest-vn-38527990 2025-10-19 23:41:46,215 - DEBUG - VN ctest-vn-38527990 UUID is 796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:46,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532, 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-97911797:ctest-vn-38527990, 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-19 23:41:46,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9', 'name': 'ctest-vn-88353532', 'tenant_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'project_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40eba707-dbd4-44f7-a838-9a77f350fd3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-vn-88353532'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-policy-allow-all-82065751']], 'subnet_ipam': [{'subnet_cidr': '93.195.77.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-19 23:41:46,878 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '796a473f-c28a-43a5-b09e-5d3a7deee447', 'name': 'ctest-vn-38527990', 'tenant_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'project_id': 'cc3d1c0173054139a7a1c90df5c122dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9d7947d-bb6f-4158-8ea7-d8b7798636ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-vn-38527990'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-policy-allow-all-82065751']], 'subnet_ipam': [{'subnet_cidr': '158.44.242.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-19 23:41:47,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:41:47,345 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:41:47,372 - DEBUG - Requesting: http://10.0.0.254:8082/domain/762e8b79-2edf-4013-b74b-adcebb2eac2f 2025-10-19 23:41:47,383 - DEBUG - Requesting: http://10.0.0.254:8082/project/cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:41:47,454 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:47,465 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:47,475 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18573528-d4c0-4da0-8375-f691464413b3 2025-10-19 23:41:47,483 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18573528-d4c0-4da0-8375-f691464413b3 2025-10-19 23:41:47,491 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/135c61c6-4ebc-45e6-805b-03edef99cdd6 2025-10-19 23:41:47,497 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 23:41:47,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:47,507 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18573528-d4c0-4da0-8375-f691464413b3 2025-10-19 23:41:47,521 - INFO - Verified VN network id 12 for VN c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:47,521 - INFO - Verifications in API Server for VN ctest-vn-88353532 passed 2025-10-19 23:41:47,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:47,529 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18573528-d4c0-4da0-8375-f691464413b3 2025-10-19 23:41:47,535 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18573528-d4c0-4da0-8375-f691464413b3 2025-10-19 23:41:47,541 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/135c61c6-4ebc-45e6-805b-03edef99cdd6 2025-10-19 23:41:47,552 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97911797', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14122700095182359223', 'uuid-lslong': '11601800306341537257'}, 'enable': 'true', 'created': '2025-10-19T23:41:45', 'last-modified': '2025-10-19T23:41:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914619'} 2025-10-19 23:41:47,559 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 23:41:47,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88353532 passed 2025-10-19 23:41:47,559 - DEBUG - ====Verifying policy data for ctest-vn-88353532 in API_Server ====== 2025-10-19 23:41:47,560 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:41:47,564 - DEBUG - Requesting: http://10.0.0.254:8082/domain/762e8b79-2edf-4013-b74b-adcebb2eac2f 2025-10-19 23:41:47,574 - DEBUG - Requesting: http://10.0.0.254:8082/project/cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:41:47,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c3fde8e9-4ab8-4ab7-a101-dfe8de8165e9 2025-10-19 23:41:47,651 - DEBUG - ==>Verifying data for policy with id: 3742b3ad-07ad-44d9-a45b-8d644912bade, fqn: ['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-policy-allow-all-82065751'] 2025-10-19 23:41:47,651 - INFO - VN ctest-vn-88353532 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 23:41:47,651 - DEBUG - Verifying the vn in opserver 2025-10-19 23:41:47,651 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532 virtual network link through opserver 10.0.0.254 2025-10-19 23:41:47,651 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-19 23:41:47,944 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-19 23:41:47,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532?flat'} 2025-10-19 23:41:47,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532 is found in opserver 2025-10-19 23:41:48,007 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 23:41:48,012 - DEBUG - VRF ids for VN ctest-vn-88353532: {} 2025-10-19 23:41:48,012 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:41:48,017 - DEBUG - Requesting: http://10.0.0.254:8082/domain/762e8b79-2edf-4013-b74b-adcebb2eac2f 2025-10-19 23:41:48,026 - DEBUG - Requesting: http://10.0.0.254:8082/project/cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:41:48,095 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:48,105 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:48,113 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/420c78e1-cb78-41ae-ba66-9d469195cebb 2025-10-19 23:41:48,118 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/420c78e1-cb78-41ae-ba66-9d469195cebb 2025-10-19 23:41:48,123 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9b2ad5b9-18ab-4888-a4a2-ae89886a9d10 2025-10-19 23:41:48,130 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 23:41:48,130 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:48,138 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/420c78e1-cb78-41ae-ba66-9d469195cebb 2025-10-19 23:41:48,150 - INFO - Verified VN network id 13 for VN 796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:48,150 - INFO - Verifications in API Server for VN ctest-vn-38527990 passed 2025-10-19 23:41:48,150 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:48,158 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/420c78e1-cb78-41ae-ba66-9d469195cebb 2025-10-19 23:41:48,163 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/420c78e1-cb78-41ae-ba66-9d469195cebb 2025-10-19 23:41:48,168 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9b2ad5b9-18ab-4888-a4a2-ae89886a9d10 2025-10-19 23:41:48,179 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-38527990', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97911797', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8748883565292962725', 'uuid-lslong': '12726712102797894727'}, 'enable': 'true', 'created': '2025-10-19T23:41:45', 'last-modified': '2025-10-19T23:41:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322376'} 2025-10-19 23:41:48,184 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 23:41:48,184 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38527990 passed 2025-10-19 23:41:48,184 - DEBUG - ====Verifying policy data for ctest-vn-38527990 in API_Server ====== 2025-10-19 23:41:48,184 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:41:48,189 - DEBUG - Requesting: http://10.0.0.254:8082/domain/762e8b79-2edf-4013-b74b-adcebb2eac2f 2025-10-19 23:41:48,201 - DEBUG - Requesting: http://10.0.0.254:8082/project/cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:41:48,274 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/796a473f-c28a-43a5-b09e-5d3a7deee447 2025-10-19 23:41:48,282 - DEBUG - ==>Verifying data for policy with id: 3742b3ad-07ad-44d9-a45b-8d644912bade, fqn: ['default-domain', 'ctest-TestBasicPolicy-97911797', 'ctest-policy-allow-all-82065751'] 2025-10-19 23:41:48,282 - INFO - VN ctest-vn-38527990 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 23:41:48,282 - DEBUG - Verifying the vn in opserver 2025-10-19 23:41:48,282 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-38527990 virtual network link through opserver 10.0.0.254 2025-10-19 23:41:48,282 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-19 23:41:48,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-38527990', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-38527990?flat'} 2025-10-19 23:41:48,290 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-38527990 is found in opserver 2025-10-19 23:41:48,299 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 23:41:48,303 - DEBUG - VRF ids for VN ctest-vn-38527990: {} 2025-10-19 23:41:48,368 - DEBUG - Services list from nova: [, , ] 2025-10-19 23:41:49,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1) 2025-10-19 23:41:50,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1) 2025-10-19 23:41:50,524 - INFO - Waiting for VM ctest-TestBasicPolicy-97911797-31273834 to be up.. 2025-10-19 23:41:50,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 23:41:55,691 - DEBUG - VM is in ACTIVE state now 2025-10-19 23:41:55,692 - INFO - VM name : ctest-TestBasicPolicy-97911797-31273834 2025-10-19 23:41:55,769 - DEBUG - VM ctest-TestBasicPolicy-97911797-31273834 ID is 642b8818-3c47-47a8-8285-c6f3d4fc854e 2025-10-19 23:41:55,789 - DEBUG - VM ctest-TestBasicPolicy-97911797-31273834 launched on Node cn-jenkins-deploy-platform-ansible-os-4366-1 2025-10-19 23:41:55,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/642b8818-3c47-47a8-8285-c6f3d4fc854e 2025-10-19 23:41:55,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/61eb1dc2-1a6c-4f8a-a2ac-e3e710dd6a53 2025-10-19 23:41:59,119 - 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 1010ms') 2025-10-19 23:41:59,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97911797-31273834 failed! 2025-10-19 23:41:59,175 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97911797:ctest-vn-88353532 is 93.195.77.65 and allocation pool is NOT set 2025-10-19 23:42:01,235 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.741 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.741/4.242/7.744/3.501 ms') 2025-10-19 23:42:01,235 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97911797-31273834 passed 2025-10-19 23:42:01,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:42:01,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97911797-31273834, IP 93.195.77.67, Port 22 2025-10-19 23:42:01,538 - DEBUG - VM ctest-TestBasicPolicy-97911797-31273834 is ready for SSH connections 2025-10-19 23:42:01,538 - INFO - Waiting for VM ctest-TestBasicPolicy-97911797-61785099 to be up.. 2025-10-19 23:42:01,612 - DEBUG - VM is in ACTIVE state now 2025-10-19 23:42:01,612 - INFO - VM name : ctest-TestBasicPolicy-97911797-61785099 2025-10-19 23:42:01,685 - DEBUG - VM ctest-TestBasicPolicy-97911797-61785099 ID is a5ff62ad-800e-40a8-ae9e-71657cfb9440 2025-10-19 23:42:01,686 - DEBUG - VM ctest-TestBasicPolicy-97911797-61785099 launched on Node cn-jenkins-deploy-platform-ansible-os-4366-1 2025-10-19 23:42:01,757 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a5ff62ad-800e-40a8-ae9e-71657cfb9440 2025-10-19 23:42:01,765 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2573accb-29f6-4f1c-a45a-53eaf3d043ba 2025-10-19 23:42:03,000 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.943/3.420/1.477 ms') 2025-10-19 23:42:03,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97911797-61785099 passed 2025-10-19 23:42:03,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:42:03,151 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97911797-61785099, IP 158.44.242.67, Port 22 2025-10-19 23:42:03,305 - DEBUG - VM ctest-TestBasicPolicy-97911797-61785099 is ready for SSH connections 2025-10-19 23:42:03,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:42:03,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.44.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:42:03,306 - DEBUG - ping -s 56 -c 3 -W 1 158.44.242.67 2025-10-19 23:42:07,310 - DEBUG - PING 158.44.242.67 (158.44.242.67): 56 data bytes 64 bytes from 158.44.242.67: seq=0 ttl=63 time=4.835 ms 64 bytes from 158.44.242.67: seq=1 ttl=63 time=1.120 ms 64 bytes from 158.44.242.67: seq=2 ttl=63 time=1.199 ms --- 158.44.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.120/2.384/4.835 ms 2025-10-19 23:42:07,310 - INFO - Ping to IP 158.44.242.67 from VM ctest-TestBasicPolicy-97911797-31273834 passed 2025-10-19 23:42:07,494 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3742b3ad-07ad-44d9-a45b-8d644912bade", "href": "http://10.0.0.254:8082/network-policy/3742b3ad-07ad-44d9-a45b-8d644912bade"}} 2025-10-19 23:42:07,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:42:07,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.44.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:42:07,495 - DEBUG - ping -s 56 -c 3 -W 1 158.44.242.67 2025-10-19 23:42:10,708 - DEBUG - PING 158.44.242.67 (158.44.242.67): 56 data bytes --- 158.44.242.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 23:42:10,708 - WARNING - Ping to IP 158.44.242.67 from VM ctest-TestBasicPolicy-97911797-31273834 failed 2025-10-19 23:42:10,708 - INFO - Deleting VM ctest-TestBasicPolicy-97911797-61785099 2025-10-19 23:42:10,774 - INFO - Deleting VM ctest-TestBasicPolicy-97911797-31273834 2025-10-19 23:42:11,142 - INFO - Deleted policy ctest-policy-allow-all-82065751 2025-10-19 23:42:11,142 - INFO - Deleting VN ctest-vn-38527990 2025-10-19 23:42:11,176 - DEBUG - VN 796a473f-c28a-43a5-b09e-5d3a7deee447 still in use: Unable to complete operation on network 796a473f-c28a-43a5-b09e-5d3a7deee447. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66917856-44b1-4061-bd5c-87fe33b4aaac'] 2025-10-19 23:42:11,177 - WARNING - Deleting VN ctest-vn-38527990 failed..Will retry 2025-10-19 23:42:13,286 - DEBUG - Response for deleting network () 2025-10-19 23:42:13,286 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/420c78e1-cb78-41ae-ba66-9d469195cebb 2025-10-19 23:42:13,291 - DEBUG - Response Code: 404 2025-10-19 23:42:13,292 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:42:13,298 - DEBUG - Requesting: http://10.0.0.254:8082/domain/762e8b79-2edf-4013-b74b-adcebb2eac2f 2025-10-19 23:42:13,352 - DEBUG - Requesting: http://10.0.0.254:8082/project/cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:42:13,424 - INFO - Validated that VN ctest-vn-38527990 is not found in API Server 2025-10-19 23:42:13,434 - DEBUG - VN ctest-vn-38527990 is not present in Agent 10.0.0.254 2025-10-19 23:42:13,434 - INFO - Validated that VN ctest-vn-38527990 is not in any agent 2025-10-19 23:42:13,447 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38527990 info 2025-10-19 23:42:13,447 - INFO - Deleting VN ctest-vn-88353532 2025-10-19 23:42:13,547 - DEBUG - Response for deleting network () 2025-10-19 23:42:13,547 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18573528-d4c0-4da0-8375-f691464413b3 2025-10-19 23:42:13,555 - DEBUG - Response Code: 404 2025-10-19 23:42:13,555 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 23:42:13,560 - DEBUG - Requesting: http://10.0.0.254:8082/domain/762e8b79-2edf-4013-b74b-adcebb2eac2f 2025-10-19 23:42:13,611 - DEBUG - Requesting: http://10.0.0.254:8082/project/cc3d1c01-7305-4139-a7a1-c90df5c122dd 2025-10-19 23:42:13,681 - INFO - Validated that VN ctest-vn-88353532 is not found in API Server 2025-10-19 23:42:13,690 - DEBUG - VN ctest-vn-88353532 is not present in Agent 10.0.0.254 2025-10-19 23:42:13,690 - INFO - Validated that VN ctest-vn-88353532 is not in any agent 2025-10-19 23:42:13,701 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88353532 info 2025-10-19 23:42:13,960 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 23:42:13,960 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-19 23:42:13,960 - INFO - -------------------------------------------------------------------------------- 2025-10-19 23:42:14,648 - INFO - Deleted project: ctest-TestBasicPolicy-97911797, ID : cc3d1c01-7305-4139-a7a1-c90df5c122dd