2025-04-25 09:19:29,581 - INFO - Domain Default found not creating 2025-04-25 09:19:29,698 - INFO - Project ctest-TestBasicPolicy-09625232 not found, creating it 2025-04-25 09:19:30,106 - INFO - Created Project:ctest-TestBasicPolicy-09625232, ID : b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:31,330 - INFO - ================================================================================ 2025-04-25 09:19:31,330 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-25 09:19:31,330 - 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-04-25 09:19:31,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-25 09:19:31,589 - INFO - Initial checks done. Running the testcase now 2025-04-25 09:19:31,589 - INFO - 2025-04-25 09:19:32,064 - DEBUG - Response for create_network : {'network': {'id': 'a97130f8-d0ed-4bc1-92b1-ad0e76c40204', 'name': 'ctest-vn-06614653', 'tenant_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'project_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-vn-06614653'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 09:19:32,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '14d6eb46-ca74-469c-909a-b72f672b1d31', 'name': '', 'tenant_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'network_id': 'a97130f8-d0ed-4bc1-92b1-ad0e76c40204', 'ip_version': 4, 'cidr': '4.151.189.128/26', 'allocation_pools': [{'start': '4.151.189.130', 'end': '4.151.189.190'}], 'gateway_ip': '4.151.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.151.189.130', 'tags': [], 'project_id': 'b317a25cfcb24f2fba6e89891877f7b8'}} 2025-04-25 09:19:32,268 - INFO - Created VN ctest-vn-06614653 2025-04-25 09:19:32,319 - DEBUG - VN ctest-vn-06614653 UUID is a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:32,661 - DEBUG - Response for create_network : {'network': {'id': '2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee', 'name': 'ctest-vn-09435985', 'tenant_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'project_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-vn-09435985'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 09:19:32,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '884ef4ca-8294-4d52-9a3f-4d3dff633729', 'name': '', 'tenant_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'network_id': '2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee', 'ip_version': 4, 'cidr': '36.128.82.0/26', 'allocation_pools': [{'start': '36.128.82.2', 'end': '36.128.82.62'}], 'gateway_ip': '36.128.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.128.82.2', 'tags': [], 'project_id': 'b317a25cfcb24f2fba6e89891877f7b8'}} 2025-04-25 09:19:32,865 - INFO - Created VN ctest-vn-09435985 2025-04-25 09:19:32,915 - DEBUG - VN ctest-vn-09435985 UUID is 2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:33,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653, 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-09625232:ctest-vn-09435985, 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-04-25 09:19:33,338 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a97130f8-d0ed-4bc1-92b1-ad0e76c40204', 'name': 'ctest-vn-06614653', 'tenant_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'project_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['14d6eb46-ca74-469c-909a-b72f672b1d31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-vn-06614653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-policy-allow-all-38578858']], 'subnet_ipam': [{'subnet_cidr': '4.151.189.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 09:19:33,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee', 'name': 'ctest-vn-09435985', 'tenant_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'project_id': 'b317a25cfcb24f2fba6e89891877f7b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['884ef4ca-8294-4d52-9a3f-4d3dff633729'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-vn-09435985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-policy-allow-all-38578858']], 'subnet_ipam': [{'subnet_cidr': '36.128.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 09:19:33,703 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:33,959 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:33,983 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b3afc91-f790-4913-89fd-011f1835e7c7 2025-04-25 09:19:33,994 - DEBUG - Requesting: http://10.0.0.38:8082/project/b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:34,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:34,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:34,082 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/574b3102-b7c4-41ea-b0b2-da50f8932a19 2025-04-25 09:19:34,088 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/574b3102-b7c4-41ea-b0b2-da50f8932a19 2025-04-25 09:19:34,093 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cce241f0-2a57-4cc9-b99d-a77ff1973687 2025-04-25 09:19:34,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 09:19:34,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:34,105 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/574b3102-b7c4-41ea-b0b2-da50f8932a19 2025-04-25 09:19:34,116 - INFO - Verified VN network id 9 for VN a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:34,116 - INFO - Verifications in API Server for VN ctest-vn-06614653 passed 2025-04-25 09:19:34,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:34,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/574b3102-b7c4-41ea-b0b2-da50f8932a19 2025-04-25 09:19:34,130 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/574b3102-b7c4-41ea-b0b2-da50f8932a19 2025-04-25 09:19:34,135 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cce241f0-2a57-4cc9-b99d-a77ff1973687 2025-04-25 09:19:34,145 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09625232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12209593909993360321', 'uuid-lslong': '10570420078048969220'}, 'enable': 'true', 'created': '2025-04-25T09:19:32', 'last-modified': '2025-04-25T09:19:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.831408'} 2025-04-25 09:19:34,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 09:19:34,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06614653 passed 2025-04-25 09:19:34,153 - DEBUG - ====Verifying policy data for ctest-vn-06614653 in API_Server ====== 2025-04-25 09:19:34,153 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:34,158 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b3afc91-f790-4913-89fd-011f1835e7c7 2025-04-25 09:19:34,170 - DEBUG - Requesting: http://10.0.0.38:8082/project/b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:34,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a97130f8-d0ed-4bc1-92b1-ad0e76c40204 2025-04-25 09:19:34,256 - DEBUG - ==>Verifying data for policy with id: 244b7dee-0d19-4fdc-bf2a-375d2bdfc45c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-policy-allow-all-38578858'] 2025-04-25 09:19:34,256 - INFO - VN ctest-vn-06614653 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 09:19:34,256 - DEBUG - Verifying the vn in opserver 2025-04-25 09:19:34,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653 virtual network link through opserver 10.0.0.38 2025-04-25 09:19:34,256 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-25 09:19:34,512 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-25 09:19:34,558 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653?flat'} 2025-04-25 09:19:34,558 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653 is found in opserver 2025-04-25 09:19:34,567 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 09:19:34,572 - DEBUG - VRF ids for VN ctest-vn-06614653: {} 2025-04-25 09:19:34,572 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:34,580 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b3afc91-f790-4913-89fd-011f1835e7c7 2025-04-25 09:19:34,593 - DEBUG - Requesting: http://10.0.0.38:8082/project/b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:34,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:34,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:34,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad61e391-aaaf-4970-8717-f8e6821af172 2025-04-25 09:19:34,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad61e391-aaaf-4970-8717-f8e6821af172 2025-04-25 09:19:34,699 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8881f87a-2d03-4018-9380-1e62024822a3 2025-04-25 09:19:34,705 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 09:19:34,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:34,712 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad61e391-aaaf-4970-8717-f8e6821af172 2025-04-25 09:19:34,722 - INFO - Verified VN network id 10 for VN 2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:34,723 - INFO - Verifications in API Server for VN ctest-vn-09435985 passed 2025-04-25 09:19:34,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:34,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad61e391-aaaf-4970-8717-f8e6821af172 2025-04-25 09:19:34,735 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad61e391-aaaf-4970-8717-f8e6821af172 2025-04-25 09:19:34,741 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8881f87a-2d03-4018-9380-1e62024822a3 2025-04-25 09:19:34,751 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-09435985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09625232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3331891135941332421', 'uuid-lslong': '13037096172813211886'}, 'enable': 'true', 'created': '2025-04-25T09:19:32', 'last-modified': '2025-04-25T09:19:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.224399'} 2025-04-25 09:19:34,757 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 09:19:34,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09435985 passed 2025-04-25 09:19:34,757 - DEBUG - ====Verifying policy data for ctest-vn-09435985 in API_Server ====== 2025-04-25 09:19:34,757 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:34,762 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b3afc91-f790-4913-89fd-011f1835e7c7 2025-04-25 09:19:34,772 - DEBUG - Requesting: http://10.0.0.38:8082/project/b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:34,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee 2025-04-25 09:19:34,849 - DEBUG - ==>Verifying data for policy with id: 244b7dee-0d19-4fdc-bf2a-375d2bdfc45c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09625232', 'ctest-policy-allow-all-38578858'] 2025-04-25 09:19:34,849 - INFO - VN ctest-vn-09435985 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 09:19:34,849 - DEBUG - Verifying the vn in opserver 2025-04-25 09:19:34,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-09435985 virtual network link through opserver 10.0.0.38 2025-04-25 09:19:34,849 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-25 09:19:34,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-09435985', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-09435985?flat'} 2025-04-25 09:19:34,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-09435985 is found in opserver 2025-04-25 09:19:34,866 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 09:19:34,874 - DEBUG - VRF ids for VN ctest-vn-09435985: {} 2025-04-25 09:19:34,922 - DEBUG - Services list from nova: [, , ] 2025-04-25 09:19:35,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3214-1) 2025-04-25 09:19:36,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3214-1) 2025-04-25 09:19:36,855 - INFO - Waiting for VM ctest-TestBasicPolicy-09625232-21485938 to be up.. 2025-04-25 09:19:36,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 09:19:41,993 - DEBUG - VM is in ACTIVE state now 2025-04-25 09:19:41,993 - INFO - VM name : ctest-TestBasicPolicy-09625232-21485938 2025-04-25 09:19:42,056 - DEBUG - VM ctest-TestBasicPolicy-09625232-21485938 ID is c442fef2-3132-48c0-8f88-b14b9eaf9c2e 2025-04-25 09:19:42,071 - DEBUG - VM ctest-TestBasicPolicy-09625232-21485938 launched on Node cn-jenkins-deploy-platform-ansible-os-3214-1 2025-04-25 09:19:42,140 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c442fef2-3132-48c0-8f88-b14b9eaf9c2e 2025-04-25 09:19:42,148 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1d286272-9712-4761-8369-19b7f38f198d 2025-04-25 09:19:45,411 - 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 1028ms') 2025-04-25 09:19:45,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09625232-21485938 failed! 2025-04-25 09:19:45,463 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09625232:ctest-vn-06614653 is 4.151.189.129 and allocation pool is NOT set 2025-04-25 09:19:47,518 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.673/2.972/1.299 ms') 2025-04-25 09:19:47,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09625232-21485938 passed 2025-04-25 09:19:47,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 09:19:47,671 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09625232-21485938, IP 4.151.189.131, Port 22 2025-04-25 09:19:47,826 - DEBUG - VM ctest-TestBasicPolicy-09625232-21485938 is ready for SSH connections 2025-04-25 09:19:47,826 - INFO - Waiting for VM ctest-TestBasicPolicy-09625232-25036754 to be up.. 2025-04-25 09:19:47,895 - DEBUG - VM is in ACTIVE state now 2025-04-25 09:19:47,895 - INFO - VM name : ctest-TestBasicPolicy-09625232-25036754 2025-04-25 09:19:47,949 - DEBUG - VM ctest-TestBasicPolicy-09625232-25036754 ID is 7d8ff662-0b5b-4c88-83a0-a902ab317e3b 2025-04-25 09:19:47,949 - DEBUG - VM ctest-TestBasicPolicy-09625232-25036754 launched on Node cn-jenkins-deploy-platform-ansible-os-3214-1 2025-04-25 09:19:48,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7d8ff662-0b5b-4c88-83a0-a902ab317e3b 2025-04-25 09:19:48,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/45498a8e-7c5e-4c67-9e17-3a7aaea5d5ac 2025-04-25 09:19:49,247 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.334 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.334/1.411/2.488/1.077 ms') 2025-04-25 09:19:49,247 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09625232-25036754 passed 2025-04-25 09:19:49,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 09:19:49,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09625232-25036754, IP 36.128.82.3, Port 22 2025-04-25 09:19:49,551 - DEBUG - VM ctest-TestBasicPolicy-09625232-25036754 is ready for SSH connections 2025-04-25 09:19:49,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 09:19:49,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.128.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-25 09:19:49,551 - DEBUG - ping -s 56 -c 3 -W 1 36.128.82.3 2025-04-25 09:19:53,166 - DEBUG - PING 36.128.82.3 (36.128.82.3): 56 data bytes 64 bytes from 36.128.82.3: seq=0 ttl=63 time=2.905 ms 64 bytes from 36.128.82.3: seq=1 ttl=63 time=0.718 ms 64 bytes from 36.128.82.3: seq=2 ttl=63 time=0.781 ms --- 36.128.82.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.468/2.905 ms 2025-04-25 09:19:53,166 - INFO - Ping to IP 36.128.82.3 from VM ctest-TestBasicPolicy-09625232-21485938 passed 2025-04-25 09:19:53,343 - DEBUG - Policy Update Response {"network-policy": {"uuid": "244b7dee-0d19-4fdc-bf2a-375d2bdfc45c", "href": "http://10.0.0.38:8082/network-policy/244b7dee-0d19-4fdc-bf2a-375d2bdfc45c"}} 2025-04-25 09:19:53,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 09:19:53,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.128.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-25 09:19:53,343 - DEBUG - ping -s 56 -c 3 -W 1 36.128.82.3 2025-04-25 09:19:56,537 - DEBUG - PING 36.128.82.3 (36.128.82.3): 56 data bytes --- 36.128.82.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-25 09:19:56,538 - WARNING - Ping to IP 36.128.82.3 from VM ctest-TestBasicPolicy-09625232-21485938 failed 2025-04-25 09:19:56,538 - INFO - Deleting VM ctest-TestBasicPolicy-09625232-25036754 2025-04-25 09:19:56,591 - INFO - Deleting VM ctest-TestBasicPolicy-09625232-21485938 2025-04-25 09:19:56,928 - INFO - Deleted policy ctest-policy-allow-all-38578858 2025-04-25 09:19:56,928 - INFO - Deleting VN ctest-vn-09435985 2025-04-25 09:19:56,959 - DEBUG - VN 2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee still in use: Unable to complete operation on network 2e3d4155-c40e-4dc5-b4ed-11e54b22d8ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e459f2f-c51c-4fa0-a0c9-9980c403a1fa'] 2025-04-25 09:19:56,960 - WARNING - Deleting VN ctest-vn-09435985 failed..Will retry 2025-04-25 09:19:59,044 - DEBUG - Response for deleting network () 2025-04-25 09:19:59,044 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad61e391-aaaf-4970-8717-f8e6821af172 2025-04-25 09:19:59,051 - DEBUG - Response Code: 404 2025-04-25 09:19:59,051 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:59,055 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b3afc91-f790-4913-89fd-011f1835e7c7 2025-04-25 09:19:59,109 - DEBUG - Requesting: http://10.0.0.38:8082/project/b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:59,181 - INFO - Validated that VN ctest-vn-09435985 is not found in API Server 2025-04-25 09:19:59,190 - DEBUG - VN ctest-vn-09435985 is not present in Agent 10.0.0.38 2025-04-25 09:19:59,190 - INFO - Validated that VN ctest-vn-09435985 is not in any agent 2025-04-25 09:19:59,203 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09435985 info 2025-04-25 09:19:59,203 - INFO - Deleting VN ctest-vn-06614653 2025-04-25 09:19:59,299 - DEBUG - Response for deleting network () 2025-04-25 09:19:59,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/574b3102-b7c4-41ea-b0b2-da50f8932a19 2025-04-25 09:19:59,307 - DEBUG - Response Code: 404 2025-04-25 09:19:59,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-25 09:19:59,312 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b3afc91-f790-4913-89fd-011f1835e7c7 2025-04-25 09:19:59,364 - DEBUG - Requesting: http://10.0.0.38:8082/project/b317a25c-fcb2-4f2f-ba6e-89891877f7b8 2025-04-25 09:19:59,432 - INFO - Validated that VN ctest-vn-06614653 is not found in API Server 2025-04-25 09:19:59,443 - DEBUG - VN ctest-vn-06614653 is not present in Agent 10.0.0.38 2025-04-25 09:19:59,443 - INFO - Validated that VN ctest-vn-06614653 is not in any agent 2025-04-25 09:19:59,457 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06614653 info 2025-04-25 09:19:59,712 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 09:19:59,712 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-04-25 09:19:59,712 - INFO - -------------------------------------------------------------------------------- 2025-04-25 09:20:00,301 - INFO - Deleted project: ctest-TestBasicPolicy-09625232, ID : b317a25c-fcb2-4f2f-ba6e-89891877f7b8