2025-06-09 02:14:58,405 - INFO - Domain Default found not creating 2025-06-09 02:14:58,545 - INFO - Project ctest-TestBasicPolicy-45756160 not found, creating it 2025-06-09 02:14:58,987 - INFO - Created Project:ctest-TestBasicPolicy-45756160, ID : be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:00,404 - INFO - ================================================================================ 2025-06-09 02:15:00,404 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-09 02:15:00,404 - 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-09 02:15:00,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-09 02:15:00,663 - INFO - Initial checks done. Running the testcase now 2025-06-09 02:15:00,663 - INFO - 2025-06-09 02:15:01,223 - DEBUG - Response for create_network : {'network': {'id': '4dac14da-2343-4d1c-b154-1913c51dd728', 'name': 'ctest-vn-86741746', 'tenant_id': 'be22a4cf91794c9bacb16b00319e44ee', 'project_id': 'be22a4cf91794c9bacb16b00319e44ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-vn-86741746'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:15:01,390 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9f7b542-19ee-4e5a-8395-ecce10254d5b', 'name': '', 'tenant_id': 'be22a4cf91794c9bacb16b00319e44ee', 'network_id': '4dac14da-2343-4d1c-b154-1913c51dd728', 'ip_version': 4, 'cidr': '5.111.243.128/26', 'allocation_pools': [{'start': '5.111.243.130', 'end': '5.111.243.190'}], 'gateway_ip': '5.111.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.111.243.130', 'tags': [], 'project_id': 'be22a4cf91794c9bacb16b00319e44ee'}} 2025-06-09 02:15:01,412 - INFO - Created VN ctest-vn-86741746 2025-06-09 02:15:01,466 - DEBUG - VN ctest-vn-86741746 UUID is 4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:01,792 - DEBUG - Response for create_network : {'network': {'id': '0f231586-0f6b-47c7-a853-c6e4e2901457', 'name': 'ctest-vn-43191454', 'tenant_id': 'be22a4cf91794c9bacb16b00319e44ee', 'project_id': 'be22a4cf91794c9bacb16b00319e44ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-vn-43191454'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:15:02,008 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c16fc4f6-aa18-4ef7-88e3-763c98baa764', 'name': '', 'tenant_id': 'be22a4cf91794c9bacb16b00319e44ee', 'network_id': '0f231586-0f6b-47c7-a853-c6e4e2901457', 'ip_version': 4, 'cidr': '88.160.131.0/26', 'allocation_pools': [{'start': '88.160.131.2', 'end': '88.160.131.62'}], 'gateway_ip': '88.160.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.160.131.2', 'tags': [], 'project_id': 'be22a4cf91794c9bacb16b00319e44ee'}} 2025-06-09 02:15:02,026 - INFO - Created VN ctest-vn-43191454 2025-06-09 02:15:02,077 - DEBUG - VN ctest-vn-43191454 UUID is 0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:02,193 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746, 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-45756160:ctest-vn-43191454, 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-09 02:15:02,520 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4dac14da-2343-4d1c-b154-1913c51dd728', 'name': 'ctest-vn-86741746', 'tenant_id': 'be22a4cf91794c9bacb16b00319e44ee', 'project_id': 'be22a4cf91794c9bacb16b00319e44ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9f7b542-19ee-4e5a-8395-ecce10254d5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-vn-86741746'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-policy-allow-all-18531377']], 'subnet_ipam': [{'subnet_cidr': '5.111.243.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:15:02,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f231586-0f6b-47c7-a853-c6e4e2901457', 'name': 'ctest-vn-43191454', 'tenant_id': 'be22a4cf91794c9bacb16b00319e44ee', 'project_id': 'be22a4cf91794c9bacb16b00319e44ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c16fc4f6-aa18-4ef7-88e3-763c98baa764'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-vn-43191454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-policy-allow-all-18531377']], 'subnet_ipam': [{'subnet_cidr': '88.160.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:15:02,885 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:03,194 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:03,222 - DEBUG - Requesting: http://10.0.0.38:8082/domain/188dcf17-0db5-4fbb-8fad-fbd4243964d4 2025-06-09 02:15:03,235 - DEBUG - Requesting: http://10.0.0.38:8082/project/be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:03,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:03,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:03,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1390b829-248f-4253-abd5-724fed1cf5f1 2025-06-09 02:15:03,346 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1390b829-248f-4253-abd5-724fed1cf5f1 2025-06-09 02:15:03,353 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6766f7e5-fb57-473c-b8dc-879ebca37e23 2025-06-09 02:15:03,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 02:15:03,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:03,370 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1390b829-248f-4253-abd5-724fed1cf5f1 2025-06-09 02:15:03,386 - INFO - Verified VN network id 8 for VN 4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:03,386 - INFO - Verifications in API Server for VN ctest-vn-86741746 passed 2025-06-09 02:15:03,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:03,396 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1390b829-248f-4253-abd5-724fed1cf5f1 2025-06-09 02:15:03,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1390b829-248f-4253-abd5-724fed1cf5f1 2025-06-09 02:15:03,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6766f7e5-fb57-473c-b8dc-879ebca37e23 2025-06-09 02:15:03,431 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45756160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5596871364041723164', 'uuid-lslong': '12777865615459079976'}, 'enable': 'true', 'created': '2025-06-09T02:15:01', 'last-modified': '2025-06-09T02:15:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920109'} 2025-06-09 02:15:03,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 02:15:03,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86741746 passed 2025-06-09 02:15:03,437 - DEBUG - ====Verifying policy data for ctest-vn-86741746 in API_Server ====== 2025-06-09 02:15:03,437 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:03,443 - DEBUG - Requesting: http://10.0.0.38:8082/domain/188dcf17-0db5-4fbb-8fad-fbd4243964d4 2025-06-09 02:15:03,454 - DEBUG - Requesting: http://10.0.0.38:8082/project/be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:03,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4dac14da-2343-4d1c-b154-1913c51dd728 2025-06-09 02:15:03,536 - DEBUG - ==>Verifying data for policy with id: dfce0373-1777-46ed-8d79-b4b40df7ad69, fqn: ['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-policy-allow-all-18531377'] 2025-06-09 02:15:03,536 - INFO - VN ctest-vn-86741746 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 02:15:03,536 - DEBUG - Verifying the vn in opserver 2025-06-09 02:15:03,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746 virtual network link through opserver 10.0.0.38 2025-06-09 02:15:03,536 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-09 02:15:03,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-09 02:15:03,878 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746?flat'} 2025-06-09 02:15:03,878 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746 is found in opserver 2025-06-09 02:15:03,889 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 02:15:03,894 - DEBUG - VRF ids for VN ctest-vn-86741746: {} 2025-06-09 02:15:03,894 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:03,899 - DEBUG - Requesting: http://10.0.0.38:8082/domain/188dcf17-0db5-4fbb-8fad-fbd4243964d4 2025-06-09 02:15:03,911 - DEBUG - Requesting: http://10.0.0.38:8082/project/be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:03,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:03,998 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:04,008 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c9de141-8550-4900-a7ba-62711c400160 2025-06-09 02:15:04,015 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c9de141-8550-4900-a7ba-62711c400160 2025-06-09 02:15:04,023 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d6d6f55e-08fc-4ae0-ad68-60c19a257863 2025-06-09 02:15:04,030 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 02:15:04,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:04,040 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c9de141-8550-4900-a7ba-62711c400160 2025-06-09 02:15:04,056 - INFO - Verified VN network id 9 for VN 0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:04,056 - INFO - Verifications in API Server for VN ctest-vn-43191454 passed 2025-06-09 02:15:04,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:04,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c9de141-8550-4900-a7ba-62711c400160 2025-06-09 02:15:04,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c9de141-8550-4900-a7ba-62711c400160 2025-06-09 02:15:04,083 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d6d6f55e-08fc-4ae0-ad68-60c19a257863 2025-06-09 02:15:04,096 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-43191454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45756160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1090739200282281927', 'uuid-lslong': '12129256907794814039'}, 'enable': 'true', 'created': '2025-06-09T02:15:01', 'last-modified': '2025-06-09T02:15:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398178'} 2025-06-09 02:15:04,102 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 02:15:04,102 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43191454 passed 2025-06-09 02:15:04,103 - DEBUG - ====Verifying policy data for ctest-vn-43191454 in API_Server ====== 2025-06-09 02:15:04,103 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:04,108 - DEBUG - Requesting: http://10.0.0.38:8082/domain/188dcf17-0db5-4fbb-8fad-fbd4243964d4 2025-06-09 02:15:04,120 - DEBUG - Requesting: http://10.0.0.38:8082/project/be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:04,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f231586-0f6b-47c7-a853-c6e4e2901457 2025-06-09 02:15:04,203 - DEBUG - ==>Verifying data for policy with id: dfce0373-1777-46ed-8d79-b4b40df7ad69, fqn: ['default-domain', 'ctest-TestBasicPolicy-45756160', 'ctest-policy-allow-all-18531377'] 2025-06-09 02:15:04,203 - INFO - VN ctest-vn-43191454 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 02:15:04,203 - DEBUG - Verifying the vn in opserver 2025-06-09 02:15:04,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-43191454 virtual network link through opserver 10.0.0.38 2025-06-09 02:15:04,203 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-09 02:15:04,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-43191454', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-43191454?flat'} 2025-06-09 02:15:04,213 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-43191454 is found in opserver 2025-06-09 02:15:04,225 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 02:15:04,229 - DEBUG - VRF ids for VN ctest-vn-43191454: {} 2025-06-09 02:15:04,285 - DEBUG - Services list from nova: [, , ] 2025-06-09 02:15:05,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3421-1) 2025-06-09 02:15:06,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3421-1) 2025-06-09 02:15:06,454 - INFO - Waiting for VM ctest-TestBasicPolicy-45756160-89743706 to be up.. 2025-06-09 02:15:06,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 02:15:11,615 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:15:11,616 - INFO - VM name : ctest-TestBasicPolicy-45756160-89743706 2025-06-09 02:15:11,690 - DEBUG - VM ctest-TestBasicPolicy-45756160-89743706 ID is 7f31c9f3-3b38-4ac5-a5c5-7c81b0c69f19 2025-06-09 02:15:11,716 - DEBUG - VM ctest-TestBasicPolicy-45756160-89743706 launched on Node cn-jenkins-deploy-platform-ansible-os-3421-1 2025-06-09 02:15:11,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f31c9f3-3b38-4ac5-a5c5-7c81b0c69f19 2025-06-09 02:15:11,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6d6d2f27-2fcb-4d96-99fd-d84a51f7d4c0 2025-06-09 02:15:15,058 - 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 1016ms') 2025-06-09 02:15:15,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45756160-89743706 failed! 2025-06-09 02:15:15,113 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45756160:ctest-vn-86741746 is 5.111.243.129 and allocation pool is NOT set 2025-06-09 02:15:17,171 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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.472/1.583/2.694/1.111 ms') 2025-06-09 02:15:17,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45756160-89743706 passed 2025-06-09 02:15:17,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:15:17,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45756160-89743706, IP 5.111.243.131, Port 22 2025-06-09 02:15:17,481 - DEBUG - VM ctest-TestBasicPolicy-45756160-89743706 is ready for SSH connections 2025-06-09 02:15:17,481 - INFO - Waiting for VM ctest-TestBasicPolicy-45756160-51334228 to be up.. 2025-06-09 02:15:17,561 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:15:17,562 - INFO - VM name : ctest-TestBasicPolicy-45756160-51334228 2025-06-09 02:15:17,637 - DEBUG - VM ctest-TestBasicPolicy-45756160-51334228 ID is ad8220f3-c322-4121-86ac-b7ed48c82a68 2025-06-09 02:15:17,637 - DEBUG - VM ctest-TestBasicPolicy-45756160-51334228 launched on Node cn-jenkins-deploy-platform-ansible-os-3421-1 2025-06-09 02:15:17,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ad8220f3-c322-4121-86ac-b7ed48c82a68 2025-06-09 02:15:17,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/eaa2ad34-2be7-4fb3-9a30-e0d387b2d957 2025-06-09 02:15:18,964 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.491/1.820/3.149/1.329 ms') 2025-06-09 02:15:18,964 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45756160-51334228 passed 2025-06-09 02:15:19,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:15:19,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45756160-51334228, IP 88.160.131.3, Port 22 2025-06-09 02:15:19,269 - DEBUG - VM ctest-TestBasicPolicy-45756160-51334228 is ready for SSH connections 2025-06-09 02:15:19,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:15:19,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.160.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-09 02:15:19,269 - DEBUG - ping -s 56 -c 3 -W 1 88.160.131.3 2025-06-09 02:15:23,238 - DEBUG - PING 88.160.131.3 (88.160.131.3): 56 data bytes 64 bytes from 88.160.131.3: seq=0 ttl=63 time=3.242 ms 64 bytes from 88.160.131.3: seq=1 ttl=63 time=0.842 ms 64 bytes from 88.160.131.3: seq=2 ttl=63 time=0.730 ms --- 88.160.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.604/3.242 ms 2025-06-09 02:15:23,238 - INFO - Ping to IP 88.160.131.3 from VM ctest-TestBasicPolicy-45756160-89743706 passed 2025-06-09 02:15:23,417 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dfce0373-1777-46ed-8d79-b4b40df7ad69", "href": "http://10.0.0.38:8082/network-policy/dfce0373-1777-46ed-8d79-b4b40df7ad69"}} 2025-06-09 02:15:23,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:15:23,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.160.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-09 02:15:23,418 - DEBUG - ping -s 56 -c 3 -W 1 88.160.131.3 2025-06-09 02:15:26,620 - DEBUG - PING 88.160.131.3 (88.160.131.3): 56 data bytes 64 bytes from 88.160.131.3: seq=0 ttl=63 time=1.422 ms --- 88.160.131.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.422/1.422/1.422 ms 2025-06-09 02:15:26,621 - WARNING - Ping to IP 88.160.131.3 from VM ctest-TestBasicPolicy-45756160-89743706 failed 2025-06-09 02:15:26,621 - INFO - Deleting VM ctest-TestBasicPolicy-45756160-51334228 2025-06-09 02:15:26,683 - INFO - Deleting VM ctest-TestBasicPolicy-45756160-89743706 2025-06-09 02:15:27,108 - INFO - Deleted policy ctest-policy-allow-all-18531377 2025-06-09 02:15:27,109 - INFO - Deleting VN ctest-vn-43191454 2025-06-09 02:15:27,152 - DEBUG - VN 0f231586-0f6b-47c7-a853-c6e4e2901457 still in use: Unable to complete operation on network 0f231586-0f6b-47c7-a853-c6e4e2901457. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-062b8650-823f-4809-90dc-a4d86c43e9aa'] 2025-06-09 02:15:27,152 - WARNING - Deleting VN ctest-vn-43191454 failed..Will retry 2025-06-09 02:15:29,259 - DEBUG - Response for deleting network () 2025-06-09 02:15:29,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c9de141-8550-4900-a7ba-62711c400160 2025-06-09 02:15:29,264 - DEBUG - Response Code: 404 2025-06-09 02:15:29,265 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:29,270 - DEBUG - Requesting: http://10.0.0.38:8082/domain/188dcf17-0db5-4fbb-8fad-fbd4243964d4 2025-06-09 02:15:29,325 - DEBUG - Requesting: http://10.0.0.38:8082/project/be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:29,406 - INFO - Validated that VN ctest-vn-43191454 is not found in API Server 2025-06-09 02:15:29,417 - DEBUG - VN ctest-vn-43191454 is not present in Agent 10.0.0.38 2025-06-09 02:15:29,417 - INFO - Validated that VN ctest-vn-43191454 is not in any agent 2025-06-09 02:15:29,434 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43191454 info 2025-06-09 02:15:29,434 - INFO - Deleting VN ctest-vn-86741746 2025-06-09 02:15:29,540 - DEBUG - Response for deleting network () 2025-06-09 02:15:29,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1390b829-248f-4253-abd5-724fed1cf5f1 2025-06-09 02:15:29,549 - DEBUG - Response Code: 404 2025-06-09 02:15:29,549 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-09 02:15:29,555 - DEBUG - Requesting: http://10.0.0.38:8082/domain/188dcf17-0db5-4fbb-8fad-fbd4243964d4 2025-06-09 02:15:29,611 - DEBUG - Requesting: http://10.0.0.38:8082/project/be22a4cf-9179-4c9b-acb1-6b00319e44ee 2025-06-09 02:15:29,683 - INFO - Validated that VN ctest-vn-86741746 is not found in API Server 2025-06-09 02:15:29,696 - DEBUG - VN ctest-vn-86741746 is not present in Agent 10.0.0.38 2025-06-09 02:15:29,696 - INFO - Validated that VN ctest-vn-86741746 is not in any agent 2025-06-09 02:15:29,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86741746 info 2025-06-09 02:15:29,968 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 02:15:29,968 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-09 02:15:29,968 - INFO - -------------------------------------------------------------------------------- 2025-06-09 02:15:30,653 - INFO - Deleted project: ctest-TestBasicPolicy-45756160, ID : be22a4cf-9179-4c9b-acb1-6b00319e44ee