2025-10-21 11:55:57,350 - INFO - Domain Default found not creating 2025-10-21 11:55:57,503 - INFO - Project ctest-TestBasicPolicy-85586771 not found, creating it 2025-10-21 11:55:57,947 - INFO - Created Project:ctest-TestBasicPolicy-85586771, ID : e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:55:59,346 - INFO - ================================================================================ 2025-10-21 11:55:59,346 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 11:55:59,346 - 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-10-21 11:55:59,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 11:55:59,608 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:55:59,608 - INFO - 2025-10-21 11:56:00,284 - DEBUG - Response for create_network : {'network': {'id': '5c9cc91e-f348-4994-9cf5-9bd353075e86', 'name': 'ctest-vn-94225458', 'tenant_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'project_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-vn-94225458'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:56:00,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '6042a78a-100c-4542-b308-b437104341f4', 'name': '', 'tenant_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'network_id': '5c9cc91e-f348-4994-9cf5-9bd353075e86', 'ip_version': 4, 'cidr': '117.105.107.128/26', 'allocation_pools': [{'start': '117.105.107.130', 'end': '117.105.107.190'}], 'gateway_ip': '117.105.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.105.107.130', 'tags': [], 'project_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc'}} 2025-10-21 11:56:00,614 - INFO - Created VN ctest-vn-94225458 2025-10-21 11:56:00,674 - DEBUG - VN ctest-vn-94225458 UUID is 5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:00,996 - DEBUG - Response for create_network : {'network': {'id': 'd8f1104a-2578-4058-9a1a-a5457cfc7e8b', 'name': 'ctest-vn-84569688', 'tenant_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'project_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-vn-84569688'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:56:01,221 - DEBUG - Response for create_subnet : {'subnet': {'id': '8610dbdf-d164-46bb-beee-3792661d9665', 'name': '', 'tenant_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'network_id': 'd8f1104a-2578-4058-9a1a-a5457cfc7e8b', 'ip_version': 4, 'cidr': '192.171.89.128/26', 'allocation_pools': [{'start': '192.171.89.130', 'end': '192.171.89.190'}], 'gateway_ip': '192.171.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.171.89.130', 'tags': [], 'project_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc'}} 2025-10-21 11:56:01,238 - INFO - Created VN ctest-vn-84569688 2025-10-21 11:56:01,290 - DEBUG - VN ctest-vn-84569688 UUID is d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:01,397 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458, 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-85586771:ctest-vn-84569688, 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-10-21 11:56:01,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c9cc91e-f348-4994-9cf5-9bd353075e86', 'name': 'ctest-vn-94225458', 'tenant_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'project_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6042a78a-100c-4542-b308-b437104341f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-vn-94225458'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-policy-allow-all-06495970']], 'subnet_ipam': [{'subnet_cidr': '117.105.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:56:01,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8f1104a-2578-4058-9a1a-a5457cfc7e8b', 'name': 'ctest-vn-84569688', 'tenant_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'project_id': 'e25c3774f54b4ab0bd6a0c50d6828dbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8610dbdf-d164-46bb-beee-3792661d9665'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-vn-84569688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-policy-allow-all-06495970']], 'subnet_ipam': [{'subnet_cidr': '192.171.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:56:02,038 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:02,340 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:02,365 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cfeef5e4-5e46-4ebb-95dc-130f9b498140 2025-10-21 11:56:02,377 - DEBUG - Requesting: http://10.0.0.254:8082/project/e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:56:02,448 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:02,458 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:02,466 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/232f6fff-6c44-4215-a367-a37259244ed2 2025-10-21 11:56:02,472 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/232f6fff-6c44-4215-a367-a37259244ed2 2025-10-21 11:56:02,478 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/380200a7-d7fe-42eb-84a8-efd61129b233 2025-10-21 11:56:02,485 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 11:56:02,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:02,493 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/232f6fff-6c44-4215-a367-a37259244ed2 2025-10-21 11:56:02,506 - INFO - Verified VN network id 11 for VN 5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:02,506 - INFO - Verifications in API Server for VN ctest-vn-94225458 passed 2025-10-21 11:56:02,506 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:02,515 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/232f6fff-6c44-4215-a367-a37259244ed2 2025-10-21 11:56:02,522 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/232f6fff-6c44-4215-a367-a37259244ed2 2025-10-21 11:56:02,528 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/380200a7-d7fe-42eb-84a8-efd61129b233 2025-10-21 11:56:02,538 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85586771', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6673429882624035220', 'uuid-lslong': '11310117371144265350'}, 'enable': 'true', 'created': '2025-10-21T11:56:00', 'last-modified': '2025-10-21T11:56:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879668'} 2025-10-21 11:56:02,543 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 11:56:02,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94225458 passed 2025-10-21 11:56:02,545 - DEBUG - ====Verifying policy data for ctest-vn-94225458 in API_Server ====== 2025-10-21 11:56:02,545 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:02,551 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cfeef5e4-5e46-4ebb-95dc-130f9b498140 2025-10-21 11:56:02,561 - DEBUG - Requesting: http://10.0.0.254:8082/project/e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:56:02,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5c9cc91e-f348-4994-9cf5-9bd353075e86 2025-10-21 11:56:02,647 - DEBUG - ==>Verifying data for policy with id: 3d87cf30-c560-4e87-b1f8-c234e2ca6a34, fqn: ['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-policy-allow-all-06495970'] 2025-10-21 11:56:02,647 - INFO - VN ctest-vn-94225458 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 11:56:02,647 - DEBUG - Verifying the vn in opserver 2025-10-21 11:56:02,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458 virtual network link through opserver 10.0.0.254 2025-10-21 11:56:02,647 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 11:56:02,939 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 11:56:02,988 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458?flat'} 2025-10-21 11:56:02,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458 is found in opserver 2025-10-21 11:56:02,997 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 11:56:03,001 - DEBUG - VRF ids for VN ctest-vn-94225458: {} 2025-10-21 11:56:03,002 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:03,007 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cfeef5e4-5e46-4ebb-95dc-130f9b498140 2025-10-21 11:56:03,017 - DEBUG - Requesting: http://10.0.0.254:8082/project/e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:56:03,089 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:03,100 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:03,109 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8065d8a4-4e5d-4b99-abc3-e029356522ab 2025-10-21 11:56:03,116 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8065d8a4-4e5d-4b99-abc3-e029356522ab 2025-10-21 11:56:03,122 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/94e43632-5778-483e-9851-781e5c3afe8c 2025-10-21 11:56:03,128 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 11:56:03,128 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:03,137 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8065d8a4-4e5d-4b99-abc3-e029356522ab 2025-10-21 11:56:03,151 - INFO - Verified VN network id 12 for VN d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:03,151 - INFO - Verifications in API Server for VN ctest-vn-84569688 passed 2025-10-21 11:56:03,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:03,160 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8065d8a4-4e5d-4b99-abc3-e029356522ab 2025-10-21 11:56:03,167 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8065d8a4-4e5d-4b99-abc3-e029356522ab 2025-10-21 11:56:03,173 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/94e43632-5778-483e-9851-781e5c3afe8c 2025-10-21 11:56:03,184 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-84569688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85586771', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15632293692221964376', 'uuid-lslong': '11104369549103627915'}, 'enable': 'true', 'created': '2025-10-21T11:56:00', 'last-modified': '2025-10-21T11:56:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312137'} 2025-10-21 11:56:03,189 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 11:56:03,189 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84569688 passed 2025-10-21 11:56:03,189 - DEBUG - ====Verifying policy data for ctest-vn-84569688 in API_Server ====== 2025-10-21 11:56:03,189 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:03,194 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cfeef5e4-5e46-4ebb-95dc-130f9b498140 2025-10-21 11:56:03,204 - DEBUG - Requesting: http://10.0.0.254:8082/project/e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:56:03,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d8f1104a-2578-4058-9a1a-a5457cfc7e8b 2025-10-21 11:56:03,283 - DEBUG - ==>Verifying data for policy with id: 3d87cf30-c560-4e87-b1f8-c234e2ca6a34, fqn: ['default-domain', 'ctest-TestBasicPolicy-85586771', 'ctest-policy-allow-all-06495970'] 2025-10-21 11:56:03,283 - INFO - VN ctest-vn-84569688 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 11:56:03,283 - DEBUG - Verifying the vn in opserver 2025-10-21 11:56:03,283 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-84569688 virtual network link through opserver 10.0.0.254 2025-10-21 11:56:03,284 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 11:56:03,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-84569688', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-84569688?flat'} 2025-10-21 11:56:03,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-84569688 is found in opserver 2025-10-21 11:56:03,301 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 11:56:03,305 - DEBUG - VRF ids for VN ctest-vn-84569688: {} 2025-10-21 11:56:03,359 - DEBUG - Services list from nova: [, , ] 2025-10-21 11:56:04,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4392-1) 2025-10-21 11:56:05,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4392-1) 2025-10-21 11:56:05,478 - INFO - Waiting for VM ctest-TestBasicPolicy-85586771-49332543 to be up.. 2025-10-21 11:56:05,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 11:56:10,640 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:56:10,640 - INFO - VM name : ctest-TestBasicPolicy-85586771-49332543 2025-10-21 11:56:10,709 - DEBUG - VM ctest-TestBasicPolicy-85586771-49332543 ID is ed0ee419-9558-41de-bd9e-6b7a780a7b06 2025-10-21 11:56:10,728 - DEBUG - VM ctest-TestBasicPolicy-85586771-49332543 launched on Node cn-jenkins-deploy-platform-ansible-os-4392-1 2025-10-21 11:56:10,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ed0ee419-9558-41de-bd9e-6b7a780a7b06 2025-10-21 11:56:10,810 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/20467cb1-e785-4ce8-9566-3bac95ca4e32 2025-10-21 11:56:14,065 - 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 1015ms') 2025-10-21 11:56:14,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85586771-49332543 failed! 2025-10-21 11:56:14,122 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85586771:ctest-vn-94225458 is 117.105.107.129 and allocation pool is NOT set 2025-10-21 11:56:16,182 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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 = 0.357/5.576/10.796/5.219 ms') 2025-10-21 11:56:16,182 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85586771-49332543 passed 2025-10-21 11:56:16,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:56:16,338 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85586771-49332543, IP 117.105.107.131, Port 22 2025-10-21 11:56:16,493 - DEBUG - VM ctest-TestBasicPolicy-85586771-49332543 is ready for SSH connections 2025-10-21 11:56:16,493 - INFO - Waiting for VM ctest-TestBasicPolicy-85586771-14387521 to be up.. 2025-10-21 11:56:16,562 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:56:16,562 - INFO - VM name : ctest-TestBasicPolicy-85586771-14387521 2025-10-21 11:56:16,636 - DEBUG - VM ctest-TestBasicPolicy-85586771-14387521 ID is 8e50763b-b464-4dfa-93f2-8422e4fa247e 2025-10-21 11:56:16,636 - DEBUG - VM ctest-TestBasicPolicy-85586771-14387521 launched on Node cn-jenkins-deploy-platform-ansible-os-4392-1 2025-10-21 11:56:16,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8e50763b-b464-4dfa-93f2-8422e4fa247e 2025-10-21 11:56:16,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/97dfe8a7-fec5-43ee-ad8b-4ad6fdc75490 2025-10-21 11:56:17,954 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.626/2.814/1.188 ms') 2025-10-21 11:56:17,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85586771-14387521 passed 2025-10-21 11:56:18,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:56:18,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85586771-14387521, IP 192.171.89.131, Port 22 2025-10-21 11:56:18,274 - DEBUG - VM ctest-TestBasicPolicy-85586771-14387521 is ready for SSH connections 2025-10-21 11:56:18,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:56:18,274 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.171.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 11:56:18,274 - DEBUG - ping -s 56 -c 3 -W 1 192.171.89.131 2025-10-21 11:56:22,033 - DEBUG - PING 192.171.89.131 (192.171.89.131): 56 data bytes 64 bytes from 192.171.89.131: seq=0 ttl=63 time=3.515 ms 64 bytes from 192.171.89.131: seq=1 ttl=63 time=0.865 ms 64 bytes from 192.171.89.131: seq=2 ttl=63 time=0.933 ms --- 192.171.89.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.771/3.515 ms 2025-10-21 11:56:22,033 - INFO - Ping to IP 192.171.89.131 from VM ctest-TestBasicPolicy-85586771-49332543 passed 2025-10-21 11:56:22,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d87cf30-c560-4e87-b1f8-c234e2ca6a34", "href": "http://10.0.0.254:8082/network-policy/3d87cf30-c560-4e87-b1f8-c234e2ca6a34"}} 2025-10-21 11:56:22,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:56:22,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.171.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 11:56:22,214 - DEBUG - ping -s 56 -c 3 -W 1 192.171.89.131 2025-10-21 11:56:25,421 - DEBUG - PING 192.171.89.131 (192.171.89.131): 56 data bytes --- 192.171.89.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 11:56:25,421 - WARNING - Ping to IP 192.171.89.131 from VM ctest-TestBasicPolicy-85586771-49332543 failed 2025-10-21 11:56:25,421 - INFO - Deleting VM ctest-TestBasicPolicy-85586771-14387521 2025-10-21 11:56:25,483 - INFO - Deleting VM ctest-TestBasicPolicy-85586771-49332543 2025-10-21 11:56:25,881 - INFO - Deleted policy ctest-policy-allow-all-06495970 2025-10-21 11:56:25,881 - INFO - Deleting VN ctest-vn-84569688 2025-10-21 11:56:25,915 - DEBUG - VN d8f1104a-2578-4058-9a1a-a5457cfc7e8b still in use: Unable to complete operation on network d8f1104a-2578-4058-9a1a-a5457cfc7e8b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e399a4c0-031d-47c5-953d-056765b8695f'] 2025-10-21 11:56:25,916 - WARNING - Deleting VN ctest-vn-84569688 failed..Will retry 2025-10-21 11:56:28,035 - DEBUG - Response for deleting network () 2025-10-21 11:56:28,035 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8065d8a4-4e5d-4b99-abc3-e029356522ab 2025-10-21 11:56:28,040 - DEBUG - Response Code: 404 2025-10-21 11:56:28,041 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:28,045 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cfeef5e4-5e46-4ebb-95dc-130f9b498140 2025-10-21 11:56:28,102 - DEBUG - Requesting: http://10.0.0.254:8082/project/e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:56:28,173 - INFO - Validated that VN ctest-vn-84569688 is not found in API Server 2025-10-21 11:56:28,183 - DEBUG - VN ctest-vn-84569688 is not present in Agent 10.0.0.254 2025-10-21 11:56:28,183 - INFO - Validated that VN ctest-vn-84569688 is not in any agent 2025-10-21 11:56:28,195 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84569688 info 2025-10-21 11:56:28,195 - INFO - Deleting VN ctest-vn-94225458 2025-10-21 11:56:28,289 - DEBUG - Response for deleting network () 2025-10-21 11:56:28,289 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/232f6fff-6c44-4215-a367-a37259244ed2 2025-10-21 11:56:28,296 - DEBUG - Response Code: 404 2025-10-21 11:56:28,296 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 11:56:28,300 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cfeef5e4-5e46-4ebb-95dc-130f9b498140 2025-10-21 11:56:28,350 - DEBUG - Requesting: http://10.0.0.254:8082/project/e25c3774-f54b-4ab0-bd6a-0c50d6828dbc 2025-10-21 11:56:28,418 - INFO - Validated that VN ctest-vn-94225458 is not found in API Server 2025-10-21 11:56:28,427 - DEBUG - VN ctest-vn-94225458 is not present in Agent 10.0.0.254 2025-10-21 11:56:28,427 - INFO - Validated that VN ctest-vn-94225458 is not in any agent 2025-10-21 11:56:28,439 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94225458 info 2025-10-21 11:56:28,699 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 11:56:28,699 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-21 11:56:28,699 - INFO - -------------------------------------------------------------------------------- 2025-10-21 11:56:29,390 - INFO - Deleted project: ctest-TestBasicPolicy-85586771, ID : e25c3774-f54b-4ab0-bd6a-0c50d6828dbc