2025-08-20 11:29:45,215 - INFO - Domain Default found not creating 2025-08-20 11:29:45,339 - INFO - Project ctest-TestBasicPolicy-29008630 not found, creating it 2025-08-20 11:29:45,772 - INFO - Created Project:ctest-TestBasicPolicy-29008630, ID : b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:29:47,145 - INFO - ================================================================================ 2025-08-20 11:29:47,145 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 11:29:47,145 - 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-08-20 11:29:47,397 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-20 11:29:47,397 - INFO - Initial checks done. Running the testcase now 2025-08-20 11:29:47,397 - INFO - 2025-08-20 11:29:47,909 - DEBUG - Response for create_network : {'network': {'id': 'd2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0', 'name': 'ctest-vn-93928121', 'tenant_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'project_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-vn-93928121'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:29:48,090 - DEBUG - Response for create_subnet : {'subnet': {'id': 'faba52fc-6514-4abf-bb77-4db846b84942', 'name': '', 'tenant_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'network_id': 'd2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0', 'ip_version': 4, 'cidr': '57.117.180.192/26', 'allocation_pools': [{'start': '57.117.180.194', 'end': '57.117.180.254'}], 'gateway_ip': '57.117.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.117.180.194', 'tags': [], 'project_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30'}} 2025-08-20 11:29:48,108 - INFO - Created VN ctest-vn-93928121 2025-08-20 11:29:48,160 - DEBUG - VN ctest-vn-93928121 UUID is d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:48,468 - DEBUG - Response for create_network : {'network': {'id': '23ced18c-9345-4ac2-ad53-443f88bd77fa', 'name': 'ctest-vn-23771753', 'tenant_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'project_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-vn-23771753'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:29:48,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f71105a-5246-4e4c-a069-d472c4afe456', 'name': '', 'tenant_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'network_id': '23ced18c-9345-4ac2-ad53-443f88bd77fa', 'ip_version': 4, 'cidr': '61.88.103.0/26', 'allocation_pools': [{'start': '61.88.103.2', 'end': '61.88.103.62'}], 'gateway_ip': '61.88.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.88.103.2', 'tags': [], 'project_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30'}} 2025-08-20 11:29:48,681 - INFO - Created VN ctest-vn-23771753 2025-08-20 11:29:48,732 - DEBUG - VN ctest-vn-23771753 UUID is 23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:48,840 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121, 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-29008630:ctest-vn-23771753, 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-08-20 11:29:49,112 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0', 'name': 'ctest-vn-93928121', 'tenant_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'project_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['faba52fc-6514-4abf-bb77-4db846b84942'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-vn-93928121'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-policy-allow-all-75623716']], 'subnet_ipam': [{'subnet_cidr': '57.117.180.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:29:49,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23ced18c-9345-4ac2-ad53-443f88bd77fa', 'name': 'ctest-vn-23771753', 'tenant_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'project_id': 'b9fc4a9b8bdb4e93a9788ec0c934cc30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f71105a-5246-4e4c-a069-d472c4afe456'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-vn-23771753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-policy-allow-all-75623716']], 'subnet_ipam': [{'subnet_cidr': '61.88.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:29:49,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:29:49,822 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:29:49,847 - DEBUG - Requesting: http://10.0.0.50:8082/domain/262cf24e-f3fb-4bd5-b0d4-e45ff60b8837 2025-08-20 11:29:49,860 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:29:49,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:49,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:49,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/219bf941-25b8-477c-88f3-163e6f662913 2025-08-20 11:29:49,954 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/219bf941-25b8-477c-88f3-163e6f662913 2025-08-20 11:29:49,960 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/86a4be11-06da-4ada-b8d6-1f6bca5fe689 2025-08-20 11:29:49,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 11:29:49,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:49,974 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/219bf941-25b8-477c-88f3-163e6f662913 2025-08-20 11:29:49,986 - INFO - Verified VN network id 11 for VN d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:49,986 - INFO - Verifications in API Server for VN ctest-vn-93928121 passed 2025-08-20 11:29:49,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:49,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/219bf941-25b8-477c-88f3-163e6f662913 2025-08-20 11:29:50,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/219bf941-25b8-477c-88f3-163e6f662913 2025-08-20 11:29:50,007 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/86a4be11-06da-4ada-b8d6-1f6bca5fe689 2025-08-20 11:29:50,018 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29008630', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15191447444134579039', 'uuid-lslong': '11886696756966625200'}, 'enable': 'true', 'created': '2025-08-20T11:29:47', 'last-modified': '2025-08-20T11:29:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922207'} 2025-08-20 11:29:50,023 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 11:29:50,024 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93928121 passed 2025-08-20 11:29:50,024 - DEBUG - ====Verifying policy data for ctest-vn-93928121 in API_Server ====== 2025-08-20 11:29:50,024 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:29:50,028 - DEBUG - Requesting: http://10.0.0.50:8082/domain/262cf24e-f3fb-4bd5-b0d4-e45ff60b8837 2025-08-20 11:29:50,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:29:50,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d2d2dcf6-73a8-4b5f-a4f6-07b8d7c88fb0 2025-08-20 11:29:50,118 - DEBUG - ==>Verifying data for policy with id: 9a638d28-a584-4f77-bf62-2a0506b6b730, fqn: ['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-policy-allow-all-75623716'] 2025-08-20 11:29:50,118 - INFO - VN ctest-vn-93928121 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 11:29:50,118 - DEBUG - Verifying the vn in opserver 2025-08-20 11:29:50,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121 virtual network link through opserver 10.0.0.50 2025-08-20 11:29:50,118 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-20 11:29:50,405 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-20 11:29:50,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121?flat'} 2025-08-20 11:29:50,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121 is found in opserver 2025-08-20 11:29:50,471 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 11:29:50,475 - DEBUG - VRF ids for VN ctest-vn-93928121: {} 2025-08-20 11:29:50,475 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:29:50,481 - DEBUG - Requesting: http://10.0.0.50:8082/domain/262cf24e-f3fb-4bd5-b0d4-e45ff60b8837 2025-08-20 11:29:50,492 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:29:50,567 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:50,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:50,587 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7647b05f-9d31-4699-b05b-66423121574e 2025-08-20 11:29:50,594 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7647b05f-9d31-4699-b05b-66423121574e 2025-08-20 11:29:50,600 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0b5e3b79-bfea-48eb-9970-6efc19f5011e 2025-08-20 11:29:50,606 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 11:29:50,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:50,614 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7647b05f-9d31-4699-b05b-66423121574e 2025-08-20 11:29:50,625 - INFO - Verified VN network id 12 for VN 23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:50,625 - INFO - Verifications in API Server for VN ctest-vn-23771753 passed 2025-08-20 11:29:50,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:50,635 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7647b05f-9d31-4699-b05b-66423121574e 2025-08-20 11:29:50,641 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7647b05f-9d31-4699-b05b-66423121574e 2025-08-20 11:29:50,646 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0b5e3b79-bfea-48eb-9970-6efc19f5011e 2025-08-20 11:29:50,656 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-23771753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29008630', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2580230038226291394', 'uuid-lslong': '12489401231296264186'}, 'enable': 'true', 'created': '2025-08-20T11:29:48', 'last-modified': '2025-08-20T11:29:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340083'} 2025-08-20 11:29:50,662 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 11:29:50,662 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23771753 passed 2025-08-20 11:29:50,662 - DEBUG - ====Verifying policy data for ctest-vn-23771753 in API_Server ====== 2025-08-20 11:29:50,662 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:29:50,668 - DEBUG - Requesting: http://10.0.0.50:8082/domain/262cf24e-f3fb-4bd5-b0d4-e45ff60b8837 2025-08-20 11:29:50,678 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:29:50,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23ced18c-9345-4ac2-ad53-443f88bd77fa 2025-08-20 11:29:50,753 - DEBUG - ==>Verifying data for policy with id: 9a638d28-a584-4f77-bf62-2a0506b6b730, fqn: ['default-domain', 'ctest-TestBasicPolicy-29008630', 'ctest-policy-allow-all-75623716'] 2025-08-20 11:29:50,753 - INFO - VN ctest-vn-23771753 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 11:29:50,753 - DEBUG - Verifying the vn in opserver 2025-08-20 11:29:50,754 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-23771753 virtual network link through opserver 10.0.0.50 2025-08-20 11:29:50,754 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-20 11:29:50,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-23771753', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-23771753?flat'} 2025-08-20 11:29:50,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-23771753 is found in opserver 2025-08-20 11:29:50,772 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 11:29:50,777 - DEBUG - VRF ids for VN ctest-vn-23771753: {} 2025-08-20 11:29:50,826 - DEBUG - Services list from nova: [, , ] 2025-08-20 11:29:51,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1) 2025-08-20 11:29:52,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1) 2025-08-20 11:29:52,841 - INFO - Waiting for VM ctest-TestBasicPolicy-29008630-35363039 to be up.. 2025-08-20 11:29:52,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 11:29:57,979 - DEBUG - VM is in ACTIVE state now 2025-08-20 11:29:57,979 - INFO - VM name : ctest-TestBasicPolicy-29008630-35363039 2025-08-20 11:29:58,041 - DEBUG - VM ctest-TestBasicPolicy-29008630-35363039 ID is 4f87a69d-8004-4480-bb86-29e5a9c724da 2025-08-20 11:29:58,057 - DEBUG - VM ctest-TestBasicPolicy-29008630-35363039 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1 2025-08-20 11:29:58,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4f87a69d-8004-4480-bb86-29e5a9c724da 2025-08-20 11:29:58,123 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9a810d1d-a618-4d01-99b8-db3105289440 2025-08-20 11:30:01,362 - 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 1011ms') 2025-08-20 11:30:01,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29008630-35363039 failed! 2025-08-20 11:30:01,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29008630:ctest-vn-93928121 is 57.117.180.193 and allocation pool is NOT set 2025-08-20 11:30:03,481 - 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=3.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.798/2.774/3.750/0.976 ms') 2025-08-20 11:30:03,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29008630-35363039 passed 2025-08-20 11:30:03,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:30:03,641 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29008630-35363039, IP 57.117.180.195, Port 22 2025-08-20 11:30:03,792 - DEBUG - VM ctest-TestBasicPolicy-29008630-35363039 is ready for SSH connections 2025-08-20 11:30:03,792 - INFO - Waiting for VM ctest-TestBasicPolicy-29008630-25589498 to be up.. 2025-08-20 11:30:03,865 - DEBUG - VM is in ACTIVE state now 2025-08-20 11:30:03,865 - INFO - VM name : ctest-TestBasicPolicy-29008630-25589498 2025-08-20 11:30:03,946 - DEBUG - VM ctest-TestBasicPolicy-29008630-25589498 ID is c4e4fd24-6a57-4dd8-b3c9-3ae8ebeed9ae 2025-08-20 11:30:03,947 - DEBUG - VM ctest-TestBasicPolicy-29008630-25589498 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1 2025-08-20 11:30:04,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c4e4fd24-6a57-4dd8-b3c9-3ae8ebeed9ae 2025-08-20 11:30:04,031 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/31367e5c-26a6-44bf-95f5-fe63f0aa2e82 2025-08-20 11:30:05,269 - 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.389 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.389/1.770/3.152/1.381 ms') 2025-08-20 11:30:05,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29008630-25589498 passed 2025-08-20 11:30:05,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:30:05,416 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29008630-25589498, IP 61.88.103.3, Port 22 2025-08-20 11:30:05,571 - DEBUG - VM ctest-TestBasicPolicy-29008630-25589498 is ready for SSH connections 2025-08-20 11:30:05,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:30:05,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.88.103.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:30:05,572 - DEBUG - ping -s 56 -c 3 -W 1 61.88.103.3 2025-08-20 11:30:09,240 - DEBUG - PING 61.88.103.3 (61.88.103.3): 56 data bytes 64 bytes from 61.88.103.3: seq=0 ttl=63 time=3.509 ms 64 bytes from 61.88.103.3: seq=1 ttl=63 time=0.746 ms 64 bytes from 61.88.103.3: seq=2 ttl=63 time=0.642 ms --- 61.88.103.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.642/1.632/3.509 ms 2025-08-20 11:30:09,240 - INFO - Ping to IP 61.88.103.3 from VM ctest-TestBasicPolicy-29008630-35363039 passed 2025-08-20 11:30:09,408 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9a638d28-a584-4f77-bf62-2a0506b6b730", "href": "http://10.0.0.50:8082/network-policy/9a638d28-a584-4f77-bf62-2a0506b6b730"}} 2025-08-20 11:30:09,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:30:09,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.88.103.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:30:09,408 - DEBUG - ping -s 56 -c 3 -W 1 61.88.103.3 2025-08-20 11:30:12,602 - DEBUG - PING 61.88.103.3 (61.88.103.3): 56 data bytes 64 bytes from 61.88.103.3: seq=0 ttl=63 time=1.312 ms --- 61.88.103.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.312/1.312/1.312 ms 2025-08-20 11:30:12,602 - WARNING - Ping to IP 61.88.103.3 from VM ctest-TestBasicPolicy-29008630-35363039 failed 2025-08-20 11:30:12,602 - INFO - Deleting VM ctest-TestBasicPolicy-29008630-25589498 2025-08-20 11:30:12,658 - INFO - Deleting VM ctest-TestBasicPolicy-29008630-35363039 2025-08-20 11:30:12,968 - INFO - Deleted policy ctest-policy-allow-all-75623716 2025-08-20 11:30:12,968 - INFO - Deleting VN ctest-vn-23771753 2025-08-20 11:30:13,000 - DEBUG - VN 23ced18c-9345-4ac2-ad53-443f88bd77fa still in use: Unable to complete operation on network 23ced18c-9345-4ac2-ad53-443f88bd77fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f00f433-42a0-4059-be8b-20802992d892'] 2025-08-20 11:30:13,000 - WARNING - Deleting VN ctest-vn-23771753 failed..Will retry 2025-08-20 11:30:15,089 - DEBUG - Response for deleting network () 2025-08-20 11:30:15,089 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7647b05f-9d31-4699-b05b-66423121574e 2025-08-20 11:30:15,095 - DEBUG - Response Code: 404 2025-08-20 11:30:15,095 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:30:15,101 - DEBUG - Requesting: http://10.0.0.50:8082/domain/262cf24e-f3fb-4bd5-b0d4-e45ff60b8837 2025-08-20 11:30:15,153 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:30:15,228 - INFO - Validated that VN ctest-vn-23771753 is not found in API Server 2025-08-20 11:30:15,239 - DEBUG - VN ctest-vn-23771753 is not present in Agent 10.0.0.50 2025-08-20 11:30:15,239 - INFO - Validated that VN ctest-vn-23771753 is not in any agent 2025-08-20 11:30:15,253 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23771753 info 2025-08-20 11:30:15,253 - INFO - Deleting VN ctest-vn-93928121 2025-08-20 11:30:15,335 - DEBUG - Response for deleting network () 2025-08-20 11:30:15,335 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/219bf941-25b8-477c-88f3-163e6f662913 2025-08-20 11:30:15,341 - DEBUG - Response Code: 404 2025-08-20 11:30:15,341 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 11:30:15,346 - DEBUG - Requesting: http://10.0.0.50:8082/domain/262cf24e-f3fb-4bd5-b0d4-e45ff60b8837 2025-08-20 11:30:15,397 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30 2025-08-20 11:30:15,468 - INFO - Validated that VN ctest-vn-93928121 is not found in API Server 2025-08-20 11:30:15,479 - DEBUG - VN ctest-vn-93928121 is not present in Agent 10.0.0.50 2025-08-20 11:30:15,480 - INFO - Validated that VN ctest-vn-93928121 is not in any agent 2025-08-20 11:30:15,493 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93928121 info 2025-08-20 11:30:15,745 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 11:30:15,745 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-20 11:30:15,745 - INFO - -------------------------------------------------------------------------------- 2025-08-20 11:30:16,395 - INFO - Deleted project: ctest-TestBasicPolicy-29008630, ID : b9fc4a9b-8bdb-4e93-a978-8ec0c934cc30