2026-01-28 16:18:32,763 - INFO - Domain Default found not creating 2026-01-28 16:18:32,930 - INFO - Project ctest-TestBasicPolicy-95676172 not found, creating it 2026-01-28 16:18:33,371 - INFO - Created Project:ctest-TestBasicPolicy-95676172, ID : 8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:18:34,802 - INFO - ================================================================================ 2026-01-28 16:18:34,802 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 16:18:34,802 - 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 2026-01-28 16:18:35,052 - WARNING - Test is running with cores: {'10.0.0.22': ['core.isc-loop-0002.71495.cn-jenkins-deploy-platform-ansible-os-5095-1.1769616681']} 2026-01-28 16:18:35,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-28 16:18:35,057 - INFO - Initial checks done. Running the testcase now 2026-01-28 16:18:35,057 - INFO - 2026-01-28 16:18:35,845 - DEBUG - Response for create_network : {'network': {'id': '3a0b3ccf-d467-413b-ba86-6a76c806fbdf', 'name': 'ctest-vn-69520155', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-69520155'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:18:36,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d715406-a01a-4755-9970-efabfac974cb', 'name': '', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'network_id': '3a0b3ccf-d467-413b-ba86-6a76c806fbdf', 'ip_version': 4, 'cidr': '132.64.162.128/26', 'allocation_pools': [{'start': '132.64.162.130', 'end': '132.64.162.190'}], 'gateway_ip': '132.64.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.64.162.130', 'tags': [], 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20'}} 2026-01-28 16:18:36,065 - INFO - Created VN ctest-vn-69520155 2026-01-28 16:18:36,116 - DEBUG - VN ctest-vn-69520155 UUID is 3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:36,425 - DEBUG - Response for create_network : {'network': {'id': '801c680d-0d99-4805-bf61-bb55ef5ce60e', 'name': 'ctest-vn-30614167', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-30614167'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:18:36,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '5818cf4f-093d-49a8-81f5-762ef89931ea', 'name': '', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'network_id': '801c680d-0d99-4805-bf61-bb55ef5ce60e', 'ip_version': 4, 'cidr': '143.48.172.0/26', 'allocation_pools': [{'start': '143.48.172.2', 'end': '143.48.172.62'}], 'gateway_ip': '143.48.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.48.172.2', 'tags': [], 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20'}} 2026-01-28 16:18:36,636 - INFO - Created VN ctest-vn-30614167 2026-01-28 16:18:36,688 - DEBUG - VN ctest-vn-30614167 UUID is 801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:36,832 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155, 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-95676172:ctest-vn-30614167, 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] 2026-01-28 16:18:37,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a0b3ccf-d467-413b-ba86-6a76c806fbdf', 'name': 'ctest-vn-69520155', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d715406-a01a-4755-9970-efabfac974cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-69520155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570']], 'subnet_ipam': [{'subnet_cidr': '132.64.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:18:37,369 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '801c680d-0d99-4805-bf61-bb55ef5ce60e', 'name': 'ctest-vn-30614167', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5818cf4f-093d-49a8-81f5-762ef89931ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-30614167'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570']], 'subnet_ipam': [{'subnet_cidr': '143.48.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:18:37,512 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:18:37,806 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:18:37,846 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150 2026-01-28 16:18:37,857 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:18:37,929 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:37,938 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:37,949 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d 2026-01-28 16:18:37,955 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d 2026-01-28 16:18:37,960 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e7020791-a27d-4c74-8cc5-1abca86cbadf 2026-01-28 16:18:37,965 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 16:18:37,965 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:37,972 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d 2026-01-28 16:18:37,986 - INFO - Verified VN network id 10 for VN 3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:37,986 - INFO - Verifications in API Server for VN ctest-vn-69520155 passed 2026-01-28 16:18:37,986 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:37,993 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d 2026-01-28 16:18:37,998 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d 2026-01-28 16:18:38,003 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e7020791-a27d-4c74-8cc5-1abca86cbadf 2026-01-28 16:18:38,013 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95676172', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4182503542263071035', 'uuid-lslong': '13440547196328410079'}, 'enable': 'true', 'created': '2026-01-28T16:18:35', 'last-modified': '2026-01-28T16:18:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916477'} 2026-01-28 16:18:38,018 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 16:18:38,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69520155 passed 2026-01-28 16:18:38,018 - DEBUG - ====Verifying policy data for ctest-vn-69520155 in API_Server ====== 2026-01-28 16:18:38,019 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:18:38,022 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150 2026-01-28 16:18:38,031 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:18:38,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf 2026-01-28 16:18:38,113 - DEBUG - ==>Verifying data for policy with id: 95db9606-4102-419b-a882-e0b1f54b9ee5, fqn: ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570'] 2026-01-28 16:18:38,113 - INFO - VN ctest-vn-69520155 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 16:18:38,113 - DEBUG - Verifying the vn in opserver 2026-01-28 16:18:38,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155 virtual network link through opserver 10.0.0.22 2026-01-28 16:18:38,113 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-28 16:18:38,409 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-28 16:18:38,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155?flat'} 2026-01-28 16:18:38,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155 is found in opserver 2026-01-28 16:18:38,484 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 16:18:38,488 - DEBUG - VRF ids for VN ctest-vn-69520155: {} 2026-01-28 16:18:38,488 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:18:38,492 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150 2026-01-28 16:18:38,501 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:18:38,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:38,582 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:38,589 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245 2026-01-28 16:18:38,594 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245 2026-01-28 16:18:38,599 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a5f497f8-fa38-4a4b-a970-f3000a916b01 2026-01-28 16:18:38,604 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 16:18:38,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:38,611 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245 2026-01-28 16:18:38,622 - INFO - Verified VN network id 11 for VN 801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:38,622 - INFO - Verifications in API Server for VN ctest-vn-30614167 passed 2026-01-28 16:18:38,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:38,629 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245 2026-01-28 16:18:38,636 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245 2026-01-28 16:18:38,642 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a5f497f8-fa38-4a4b-a970-f3000a916b01 2026-01-28 16:18:38,654 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95676172', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9231367741474686981', 'uuid-lslong': '13790509511747626510'}, 'enable': 'true', 'created': '2026-01-28T16:18:36', 'last-modified': '2026-01-28T16:18:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344084'} 2026-01-28 16:18:38,660 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 16:18:38,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30614167 passed 2026-01-28 16:18:38,660 - DEBUG - ====Verifying policy data for ctest-vn-30614167 in API_Server ====== 2026-01-28 16:18:38,660 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:18:38,665 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150 2026-01-28 16:18:38,674 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:18:38,740 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e 2026-01-28 16:18:38,748 - DEBUG - ==>Verifying data for policy with id: 95db9606-4102-419b-a882-e0b1f54b9ee5, fqn: ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570'] 2026-01-28 16:18:38,748 - INFO - VN ctest-vn-30614167 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 16:18:38,748 - DEBUG - Verifying the vn in opserver 2026-01-28 16:18:38,748 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167 virtual network link through opserver 10.0.0.22 2026-01-28 16:18:38,748 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-28 16:18:38,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167?flat'} 2026-01-28 16:18:38,757 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167 is found in opserver 2026-01-28 16:18:38,765 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 16:18:38,769 - DEBUG - VRF ids for VN ctest-vn-30614167: {} 2026-01-28 16:18:38,823 - DEBUG - Services list from nova: [, , ] 2026-01-28 16:18:39,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5095-1) 2026-01-28 16:18:40,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5095-1) 2026-01-28 16:18:40,882 - INFO - Waiting for VM ctest-TestBasicPolicy-95676172-42276567 to be up.. 2026-01-28 16:18:40,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 16:18:46,020 - DEBUG - VM is in ACTIVE state now 2026-01-28 16:18:46,021 - INFO - VM name : ctest-TestBasicPolicy-95676172-42276567 2026-01-28 16:18:46,087 - DEBUG - VM ctest-TestBasicPolicy-95676172-42276567 ID is 945c3d40-e56f-4c54-8ae9-6d2a820e9972 2026-01-28 16:18:46,104 - DEBUG - VM ctest-TestBasicPolicy-95676172-42276567 launched on Node cn-jenkins-deploy-platform-ansible-os-5095-1 2026-01-28 16:18:46,170 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/945c3d40-e56f-4c54-8ae9-6d2a820e9972 2026-01-28 16:18:46,178 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3cac288f-dff1-48fa-90a0-ce2376456880 2026-01-28 16:18:49,415 - 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 1007ms') 2026-01-28 16:18:49,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95676172-42276567 failed! 2026-01-28 16:18:49,468 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155 is 132.64.162.129 and allocation pool is NOT set 2026-01-28 16:18:51,530 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.855/2.861/3.868/1.006 ms') 2026-01-28 16:18:51,530 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95676172-42276567 passed 2026-01-28 16:18:51,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:18:51,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95676172-42276567, IP 132.64.162.131, Port 22 2026-01-28 16:18:51,831 - DEBUG - VM ctest-TestBasicPolicy-95676172-42276567 is ready for SSH connections 2026-01-28 16:18:51,832 - INFO - Waiting for VM ctest-TestBasicPolicy-95676172-76605653 to be up.. 2026-01-28 16:18:51,904 - DEBUG - VM is in ACTIVE state now 2026-01-28 16:18:51,905 - INFO - VM name : ctest-TestBasicPolicy-95676172-76605653 2026-01-28 16:18:51,972 - DEBUG - VM ctest-TestBasicPolicy-95676172-76605653 ID is d268ceb2-2ffc-4bfe-bdef-f156101c9688 2026-01-28 16:18:51,972 - DEBUG - VM ctest-TestBasicPolicy-95676172-76605653 launched on Node cn-jenkins-deploy-platform-ansible-os-5095-1 2026-01-28 16:18:52,039 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d268ceb2-2ffc-4bfe-bdef-f156101c9688 2026-01-28 16:18:52,046 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/239ea6dd-b1e3-4582-9399-6d9eb7648e5c 2026-01-28 16:18:53,290 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/1.822/3.080/1.257 ms') 2026-01-28 16:18:53,290 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95676172-76605653 passed 2026-01-28 16:18:53,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:18:53,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95676172-76605653, IP 143.48.172.3, Port 22 2026-01-28 16:18:53,592 - DEBUG - VM ctest-TestBasicPolicy-95676172-76605653 is ready for SSH connections 2026-01-28 16:18:53,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:18:53,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.48.172.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-28 16:18:53,593 - DEBUG - ping -s 56 -c 3 -W 1 143.48.172.3 2026-01-28 16:18:57,399 - DEBUG - PING 143.48.172.3 (143.48.172.3): 56 data bytes 64 bytes from 143.48.172.3: seq=0 ttl=63 time=4.099 ms 64 bytes from 143.48.172.3: seq=1 ttl=63 time=0.848 ms 64 bytes from 143.48.172.3: seq=2 ttl=63 time=0.974 ms --- 143.48.172.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.973/4.099 ms 2026-01-28 16:18:57,399 - INFO - Ping to IP 143.48.172.3 from VM ctest-TestBasicPolicy-95676172-42276567 passed 2026-01-28 16:18:57,580 - DEBUG - Policy Update Response {"network-policy": {"uuid": "95db9606-4102-419b-a882-e0b1f54b9ee5", "href": "http://10.0.0.22:8082/network-policy/95db9606-4102-419b-a882-e0b1f54b9ee5"}} 2026-01-28 16:18:57,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:18:57,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.48.172.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-28 16:18:57,580 - DEBUG - ping -s 56 -c 3 -W 1 143.48.172.3 2026-01-28 16:19:00,793 - DEBUG - PING 143.48.172.3 (143.48.172.3): 56 data bytes --- 143.48.172.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 16:19:00,793 - WARNING - Ping to IP 143.48.172.3 from VM ctest-TestBasicPolicy-95676172-42276567 failed 2026-01-28 16:19:00,793 - INFO - Deleting VM ctest-TestBasicPolicy-95676172-76605653 2026-01-28 16:19:00,863 - INFO - Deleting VM ctest-TestBasicPolicy-95676172-42276567 2026-01-28 16:19:01,232 - INFO - Deleted policy ctest-policy-allow-all-47495570 2026-01-28 16:19:01,232 - INFO - Deleting VN ctest-vn-30614167 2026-01-28 16:19:01,264 - DEBUG - VN 801c680d-0d99-4805-bf61-bb55ef5ce60e still in use: Unable to complete operation on network 801c680d-0d99-4805-bf61-bb55ef5ce60e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f70e5c7-0316-4e01-9a0f-dfc2e0bd31be'] 2026-01-28 16:19:01,264 - WARNING - Deleting VN ctest-vn-30614167 failed..Will retry 2026-01-28 16:19:03,369 - DEBUG - Response for deleting network () 2026-01-28 16:19:03,369 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245 2026-01-28 16:19:03,376 - DEBUG - Response Code: 404 2026-01-28 16:19:03,376 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:19:03,380 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150 2026-01-28 16:19:03,437 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:19:03,506 - INFO - Validated that VN ctest-vn-30614167 is not found in API Server 2026-01-28 16:19:03,518 - DEBUG - VN ctest-vn-30614167 is not present in Agent 10.0.0.22 2026-01-28 16:19:03,518 - INFO - Validated that VN ctest-vn-30614167 is not in any agent 2026-01-28 16:19:03,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30614167 info 2026-01-28 16:19:03,534 - INFO - Deleting VN ctest-vn-69520155 2026-01-28 16:19:03,623 - DEBUG - Response for deleting network () 2026-01-28 16:19:03,623 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d 2026-01-28 16:19:03,629 - DEBUG - Response Code: 404 2026-01-28 16:19:03,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 16:19:03,633 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150 2026-01-28 16:19:03,687 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20 2026-01-28 16:19:03,757 - INFO - Validated that VN ctest-vn-69520155 is not found in API Server 2026-01-28 16:19:03,767 - DEBUG - VN ctest-vn-69520155 is not present in Agent 10.0.0.22 2026-01-28 16:19:03,767 - INFO - Validated that VN ctest-vn-69520155 is not in any agent 2026-01-28 16:19:03,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69520155 info 2026-01-28 16:19:04,041 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 16:19:04,041 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-28 16:19:04,041 - INFO - -------------------------------------------------------------------------------- 2026-01-28 16:19:04,706 - INFO - Deleted project: ctest-TestBasicPolicy-95676172, ID : 8366c52b-1d3c-4ba5-a78b-997dcf1f1f20