2025-06-30 02:34:44,326 - INFO - Domain Default found not creating 2025-06-30 02:34:44,485 - INFO - Project ctest-TestBasicPolicy-61945313 not found, creating it 2025-06-30 02:34:44,968 - INFO - Created Project:ctest-TestBasicPolicy-61945313, ID : 4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:34:46,484 - INFO - ================================================================================ 2025-06-30 02:34:46,484 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 02:34:46,484 - 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-06-30 02:34:46,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-30 02:34:46,741 - INFO - Initial checks done. Running the testcase now 2025-06-30 02:34:46,741 - INFO - 2025-06-30 02:34:47,279 - DEBUG - Response for create_network : {'network': {'id': 'ce8fce50-4d3f-47a4-bc38-c440aa7727f0', 'name': 'ctest-vn-21532698', 'tenant_id': '4bb2342870bc48a7b5736142c9d95c57', 'project_id': '4bb2342870bc48a7b5736142c9d95c57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-vn-21532698'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:34:47,452 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc64a533-5579-4d64-bda1-c3f09969e45f', 'name': '', 'tenant_id': '4bb2342870bc48a7b5736142c9d95c57', 'network_id': 'ce8fce50-4d3f-47a4-bc38-c440aa7727f0', 'ip_version': 4, 'cidr': '223.16.59.128/26', 'allocation_pools': [{'start': '223.16.59.130', 'end': '223.16.59.190'}], 'gateway_ip': '223.16.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.16.59.130', 'tags': [], 'project_id': '4bb2342870bc48a7b5736142c9d95c57'}} 2025-06-30 02:34:47,469 - INFO - Created VN ctest-vn-21532698 2025-06-30 02:34:47,523 - DEBUG - VN ctest-vn-21532698 UUID is ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:47,813 - DEBUG - Response for create_network : {'network': {'id': 'b52677e6-d796-4140-a2ca-44e7a4bf1f8e', 'name': 'ctest-vn-15719307', 'tenant_id': '4bb2342870bc48a7b5736142c9d95c57', 'project_id': '4bb2342870bc48a7b5736142c9d95c57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-vn-15719307'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:34:48,033 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c97716e4-e4a2-4525-931f-9f985899f691', 'name': '', 'tenant_id': '4bb2342870bc48a7b5736142c9d95c57', 'network_id': 'b52677e6-d796-4140-a2ca-44e7a4bf1f8e', 'ip_version': 4, 'cidr': '164.113.181.64/26', 'allocation_pools': [{'start': '164.113.181.66', 'end': '164.113.181.126'}], 'gateway_ip': '164.113.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.113.181.66', 'tags': [], 'project_id': '4bb2342870bc48a7b5736142c9d95c57'}} 2025-06-30 02:34:48,051 - INFO - Created VN ctest-vn-15719307 2025-06-30 02:34:48,110 - DEBUG - VN ctest-vn-15719307 UUID is b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:48,229 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698, 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-61945313:ctest-vn-15719307, 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-06-30 02:34:48,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce8fce50-4d3f-47a4-bc38-c440aa7727f0', 'name': 'ctest-vn-21532698', 'tenant_id': '4bb2342870bc48a7b5736142c9d95c57', 'project_id': '4bb2342870bc48a7b5736142c9d95c57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc64a533-5579-4d64-bda1-c3f09969e45f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-vn-21532698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-policy-allow-all-03333501']], 'subnet_ipam': [{'subnet_cidr': '223.16.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:34:48,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b52677e6-d796-4140-a2ca-44e7a4bf1f8e', 'name': 'ctest-vn-15719307', 'tenant_id': '4bb2342870bc48a7b5736142c9d95c57', 'project_id': '4bb2342870bc48a7b5736142c9d95c57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c97716e4-e4a2-4525-931f-9f985899f691'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-vn-15719307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-policy-allow-all-03333501']], 'subnet_ipam': [{'subnet_cidr': '164.113.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:34:48,927 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:34:49,246 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:34:49,282 - DEBUG - Requesting: http://10.0.0.254:8082/domain/89206b93-dcd5-4a37-bd3e-a83c5d16df8a 2025-06-30 02:34:49,304 - DEBUG - Requesting: http://10.0.0.254:8082/project/4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:34:49,390 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:49,406 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:49,417 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87950d0a-7771-43e7-b0e1-e0aa103bb49d 2025-06-30 02:34:49,427 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87950d0a-7771-43e7-b0e1-e0aa103bb49d 2025-06-30 02:34:49,442 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a6763334-ec12-4d03-b3f3-39b8114783fa 2025-06-30 02:34:49,456 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 02:34:49,456 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:49,470 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87950d0a-7771-43e7-b0e1-e0aa103bb49d 2025-06-30 02:34:49,492 - INFO - Verified VN network id 9 for VN ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:49,492 - INFO - Verifications in API Server for VN ctest-vn-21532698 passed 2025-06-30 02:34:49,492 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:49,506 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87950d0a-7771-43e7-b0e1-e0aa103bb49d 2025-06-30 02:34:49,518 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87950d0a-7771-43e7-b0e1-e0aa103bb49d 2025-06-30 02:34:49,528 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a6763334-ec12-4d03-b3f3-39b8114783fa 2025-06-30 02:34:49,544 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61945313', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14884342137771476900', 'uuid-lslong': '13562806059843135472'}, 'enable': 'true', 'created': '2025-06-30T02:34:47', 'last-modified': '2025-06-30T02:34:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043265'} 2025-06-30 02:34:49,552 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 02:34:49,552 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21532698 passed 2025-06-30 02:34:49,552 - DEBUG - ====Verifying policy data for ctest-vn-21532698 in API_Server ====== 2025-06-30 02:34:49,552 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:34:49,561 - DEBUG - Requesting: http://10.0.0.254:8082/domain/89206b93-dcd5-4a37-bd3e-a83c5d16df8a 2025-06-30 02:34:49,574 - DEBUG - Requesting: http://10.0.0.254:8082/project/4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:34:49,645 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce8fce50-4d3f-47a4-bc38-c440aa7727f0 2025-06-30 02:34:49,655 - DEBUG - ==>Verifying data for policy with id: 0c357b06-d406-4123-a720-c13aa84a17ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-policy-allow-all-03333501'] 2025-06-30 02:34:49,655 - INFO - VN ctest-vn-21532698 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 02:34:49,656 - DEBUG - Verifying the vn in opserver 2025-06-30 02:34:49,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698 virtual network link through opserver 10.0.0.254 2025-06-30 02:34:49,656 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-30 02:34:49,945 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-30 02:34:50,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698?flat'} 2025-06-30 02:34:50,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698 is found in opserver 2025-06-30 02:34:50,018 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 02:34:50,024 - DEBUG - VRF ids for VN ctest-vn-21532698: {} 2025-06-30 02:34:50,024 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:34:50,032 - DEBUG - Requesting: http://10.0.0.254:8082/domain/89206b93-dcd5-4a37-bd3e-a83c5d16df8a 2025-06-30 02:34:50,045 - DEBUG - Requesting: http://10.0.0.254:8082/project/4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:34:50,123 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:50,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:50,150 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9ba43a35-0f8e-4dca-bda7-8578825270b5 2025-06-30 02:34:50,159 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9ba43a35-0f8e-4dca-bda7-8578825270b5 2025-06-30 02:34:50,167 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d249b4da-3de5-4788-b8cd-897eec23d6a8 2025-06-30 02:34:50,176 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 02:34:50,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:50,188 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9ba43a35-0f8e-4dca-bda7-8578825270b5 2025-06-30 02:34:50,206 - INFO - Verified VN network id 10 for VN b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:50,206 - INFO - Verifications in API Server for VN ctest-vn-15719307 passed 2025-06-30 02:34:50,206 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:50,218 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9ba43a35-0f8e-4dca-bda7-8578825270b5 2025-06-30 02:34:50,228 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9ba43a35-0f8e-4dca-bda7-8578825270b5 2025-06-30 02:34:50,240 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d249b4da-3de5-4788-b8cd-897eec23d6a8 2025-06-30 02:34:50,259 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-15719307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61945313', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13053252403323093312', 'uuid-lslong': '11730263941132001166'}, 'enable': 'true', 'created': '2025-06-30T02:34:47', 'last-modified': '2025-06-30T02:34:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.513561'} 2025-06-30 02:34:50,269 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 02:34:50,269 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15719307 passed 2025-06-30 02:34:50,269 - DEBUG - ====Verifying policy data for ctest-vn-15719307 in API_Server ====== 2025-06-30 02:34:50,269 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:34:50,279 - DEBUG - Requesting: http://10.0.0.254:8082/domain/89206b93-dcd5-4a37-bd3e-a83c5d16df8a 2025-06-30 02:34:50,295 - DEBUG - Requesting: http://10.0.0.254:8082/project/4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:34:50,377 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b52677e6-d796-4140-a2ca-44e7a4bf1f8e 2025-06-30 02:34:50,391 - DEBUG - ==>Verifying data for policy with id: 0c357b06-d406-4123-a720-c13aa84a17ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-61945313', 'ctest-policy-allow-all-03333501'] 2025-06-30 02:34:50,391 - INFO - VN ctest-vn-15719307 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 02:34:50,391 - DEBUG - Verifying the vn in opserver 2025-06-30 02:34:50,391 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-15719307 virtual network link through opserver 10.0.0.254 2025-06-30 02:34:50,391 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-30 02:34:50,405 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-15719307', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-15719307?flat'} 2025-06-30 02:34:50,405 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-15719307 is found in opserver 2025-06-30 02:34:50,417 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 02:34:50,422 - DEBUG - VRF ids for VN ctest-vn-15719307: {} 2025-06-30 02:34:50,483 - DEBUG - Services list from nova: [, , ] 2025-06-30 02:34:51,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3571-1) 2025-06-30 02:34:52,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3571-1) 2025-06-30 02:34:52,853 - INFO - Waiting for VM ctest-TestBasicPolicy-61945313-29260384 to be up.. 2025-06-30 02:34:52,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 02:34:58,034 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:34:58,034 - INFO - VM name : ctest-TestBasicPolicy-61945313-29260384 2025-06-30 02:34:58,124 - DEBUG - VM ctest-TestBasicPolicy-61945313-29260384 ID is 5036b09b-08d8-4f0b-99e4-a900df6520de 2025-06-30 02:34:58,145 - DEBUG - VM ctest-TestBasicPolicy-61945313-29260384 launched on Node cn-jenkins-deploy-platform-ansible-os-3571-1 2025-06-30 02:34:58,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5036b09b-08d8-4f0b-99e4-a900df6520de 2025-06-30 02:34:58,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/12afe0f6-db24-43ba-90ae-70c3ba971db4 2025-06-30 02:35:01,512 - 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 1008ms') 2025-06-30 02:35:01,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61945313-29260384 failed! 2025-06-30 02:35:01,571 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61945313:ctest-vn-21532698 is 223.16.59.129 and allocation pool is NOT set 2025-06-30 02:35:03,634 - 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.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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.071/6.497/10.923/4.426 ms') 2025-06-30 02:35:03,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61945313-29260384 passed 2025-06-30 02:35:03,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:35:03,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61945313-29260384, IP 223.16.59.131, Port 22 2025-06-30 02:35:03,963 - DEBUG - VM ctest-TestBasicPolicy-61945313-29260384 is ready for SSH connections 2025-06-30 02:35:03,963 - INFO - Waiting for VM ctest-TestBasicPolicy-61945313-67503923 to be up.. 2025-06-30 02:35:04,064 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:35:04,065 - INFO - VM name : ctest-TestBasicPolicy-61945313-67503923 2025-06-30 02:35:04,161 - DEBUG - VM ctest-TestBasicPolicy-61945313-67503923 ID is b98e19a9-efe0-483f-badd-99f45ebee448 2025-06-30 02:35:04,161 - DEBUG - VM ctest-TestBasicPolicy-61945313-67503923 launched on Node cn-jenkins-deploy-platform-ansible-os-3571-1 2025-06-30 02:35:04,271 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b98e19a9-efe0-483f-badd-99f45ebee448 2025-06-30 02:35:04,290 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f637418b-08b3-4430-a928-1998519f2fb2 2025-06-30 02:35:05,574 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.613/2.733/1.120 ms') 2025-06-30 02:35:05,574 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61945313-67503923 passed 2025-06-30 02:35:05,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:35:05,739 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61945313-67503923, IP 164.113.181.67, Port 22 2025-06-30 02:35:05,897 - DEBUG - VM ctest-TestBasicPolicy-61945313-67503923 is ready for SSH connections 2025-06-30 02:35:05,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:35:05,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.113.181.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-30 02:35:05,898 - DEBUG - ping -s 56 -c 3 -W 1 164.113.181.67 2025-06-30 02:35:09,988 - DEBUG - PING 164.113.181.67 (164.113.181.67): 56 data bytes 64 bytes from 164.113.181.67: seq=0 ttl=63 time=3.494 ms 64 bytes from 164.113.181.67: seq=1 ttl=63 time=0.990 ms 64 bytes from 164.113.181.67: seq=2 ttl=63 time=1.036 ms --- 164.113.181.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.990/1.840/3.494 ms 2025-06-30 02:35:09,988 - INFO - Ping to IP 164.113.181.67 from VM ctest-TestBasicPolicy-61945313-29260384 passed 2025-06-30 02:35:10,174 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0c357b06-d406-4123-a720-c13aa84a17ea", "href": "http://10.0.0.254:8082/network-policy/0c357b06-d406-4123-a720-c13aa84a17ea"}} 2025-06-30 02:35:10,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:35:10,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.113.181.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-30 02:35:10,175 - DEBUG - ping -s 56 -c 3 -W 1 164.113.181.67 2025-06-30 02:35:13,386 - DEBUG - PING 164.113.181.67 (164.113.181.67): 56 data bytes 64 bytes from 164.113.181.67: seq=0 ttl=63 time=1.588 ms --- 164.113.181.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.588/1.588/1.588 ms 2025-06-30 02:35:13,386 - WARNING - Ping to IP 164.113.181.67 from VM ctest-TestBasicPolicy-61945313-29260384 failed 2025-06-30 02:35:13,386 - INFO - Deleting VM ctest-TestBasicPolicy-61945313-67503923 2025-06-30 02:35:13,464 - INFO - Deleting VM ctest-TestBasicPolicy-61945313-29260384 2025-06-30 02:35:13,942 - INFO - Deleted policy ctest-policy-allow-all-03333501 2025-06-30 02:35:13,942 - INFO - Deleting VN ctest-vn-15719307 2025-06-30 02:35:13,989 - DEBUG - VN b52677e6-d796-4140-a2ca-44e7a4bf1f8e still in use: Unable to complete operation on network b52677e6-d796-4140-a2ca-44e7a4bf1f8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-511ddda1-5867-4b1d-a6cb-6ab365720291'] 2025-06-30 02:35:13,989 - WARNING - Deleting VN ctest-vn-15719307 failed..Will retry 2025-06-30 02:35:16,111 - DEBUG - Response for deleting network () 2025-06-30 02:35:16,111 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9ba43a35-0f8e-4dca-bda7-8578825270b5 2025-06-30 02:35:16,121 - DEBUG - Response Code: 404 2025-06-30 02:35:16,122 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:35:16,129 - DEBUG - Requesting: http://10.0.0.254:8082/domain/89206b93-dcd5-4a37-bd3e-a83c5d16df8a 2025-06-30 02:35:16,186 - DEBUG - Requesting: http://10.0.0.254:8082/project/4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:35:16,264 - INFO - Validated that VN ctest-vn-15719307 is not found in API Server 2025-06-30 02:35:16,278 - DEBUG - VN ctest-vn-15719307 is not present in Agent 10.0.0.254 2025-06-30 02:35:16,278 - INFO - Validated that VN ctest-vn-15719307 is not in any agent 2025-06-30 02:35:16,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15719307 info 2025-06-30 02:35:16,297 - INFO - Deleting VN ctest-vn-21532698 2025-06-30 02:35:16,420 - DEBUG - Response for deleting network () 2025-06-30 02:35:16,420 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87950d0a-7771-43e7-b0e1-e0aa103bb49d 2025-06-30 02:35:16,428 - DEBUG - Response Code: 404 2025-06-30 02:35:16,429 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-30 02:35:16,436 - DEBUG - Requesting: http://10.0.0.254:8082/domain/89206b93-dcd5-4a37-bd3e-a83c5d16df8a 2025-06-30 02:35:16,496 - DEBUG - Requesting: http://10.0.0.254:8082/project/4bb23428-70bc-48a7-b573-6142c9d95c57 2025-06-30 02:35:16,576 - INFO - Validated that VN ctest-vn-21532698 is not found in API Server 2025-06-30 02:35:16,591 - DEBUG - VN ctest-vn-21532698 is not present in Agent 10.0.0.254 2025-06-30 02:35:16,591 - INFO - Validated that VN ctest-vn-21532698 is not in any agent 2025-06-30 02:35:16,611 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21532698 info 2025-06-30 02:35:16,868 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 02:35:16,868 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-30 02:35:16,868 - INFO - -------------------------------------------------------------------------------- 2025-06-30 02:35:17,569 - INFO - Deleted project: ctest-TestBasicPolicy-61945313, ID : 4bb23428-70bc-48a7-b573-6142c9d95c57