2025-07-21 10:19:26,218 - INFO - Domain Default found not creating 2025-07-21 10:19:26,601 - INFO - Project ctest-TestBasicPolicy-56935529 not found, creating it 2025-07-21 10:19:27,414 - INFO - Created Project:ctest-TestBasicPolicy-56935529, ID : 3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:19:29,422 - INFO - ================================================================================ 2025-07-21 10:19:29,422 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 10:19:29,423 - 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-07-21 10:19:29,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 10:19:29,768 - INFO - Initial checks done. Running the testcase now 2025-07-21 10:19:29,769 - INFO - 2025-07-21 10:19:30,494 - DEBUG - Response for create_network : {'network': {'id': '553c7ce9-1de4-41ce-912e-4849917e4345', 'name': 'ctest-vn-74376831', 'tenant_id': '3c6577eda2964a5d89bfc343746c39c7', 'project_id': '3c6577eda2964a5d89bfc343746c39c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-vn-74376831'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 10:19:30,752 - DEBUG - Response for create_subnet : {'subnet': {'id': '3357f3df-8667-47d8-92c5-36182e9d8022', 'name': '', 'tenant_id': '3c6577eda2964a5d89bfc343746c39c7', 'network_id': '553c7ce9-1de4-41ce-912e-4849917e4345', 'ip_version': 4, 'cidr': '28.86.151.64/26', 'allocation_pools': [{'start': '28.86.151.66', 'end': '28.86.151.126'}], 'gateway_ip': '28.86.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.86.151.66', 'tags': [], 'project_id': '3c6577eda2964a5d89bfc343746c39c7'}} 2025-07-21 10:19:30,781 - INFO - Created VN ctest-vn-74376831 2025-07-21 10:19:30,841 - DEBUG - VN ctest-vn-74376831 UUID is 553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:31,442 - DEBUG - Response for create_network : {'network': {'id': '6fa43e9c-0593-40dc-a78b-3e9ede800f68', 'name': 'ctest-vn-00924053', 'tenant_id': '3c6577eda2964a5d89bfc343746c39c7', 'project_id': '3c6577eda2964a5d89bfc343746c39c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-vn-00924053'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 10:19:31,730 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b96228a7-3532-4c2f-a700-0c94efb2bbdb', 'name': '', 'tenant_id': '3c6577eda2964a5d89bfc343746c39c7', 'network_id': '6fa43e9c-0593-40dc-a78b-3e9ede800f68', 'ip_version': 4, 'cidr': '62.56.196.192/26', 'allocation_pools': [{'start': '62.56.196.194', 'end': '62.56.196.254'}], 'gateway_ip': '62.56.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.56.196.194', 'tags': [], 'project_id': '3c6577eda2964a5d89bfc343746c39c7'}} 2025-07-21 10:19:31,759 - INFO - Created VN ctest-vn-00924053 2025-07-21 10:19:31,825 - DEBUG - VN ctest-vn-00924053 UUID is 6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:32,032 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831, 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-56935529:ctest-vn-00924053, 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-07-21 10:19:32,517 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '553c7ce9-1de4-41ce-912e-4849917e4345', 'name': 'ctest-vn-74376831', 'tenant_id': '3c6577eda2964a5d89bfc343746c39c7', 'project_id': '3c6577eda2964a5d89bfc343746c39c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3357f3df-8667-47d8-92c5-36182e9d8022'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-vn-74376831'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-policy-allow-all-71604150']], 'subnet_ipam': [{'subnet_cidr': '28.86.151.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 10:19:32,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6fa43e9c-0593-40dc-a78b-3e9ede800f68', 'name': 'ctest-vn-00924053', 'tenant_id': '3c6577eda2964a5d89bfc343746c39c7', 'project_id': '3c6577eda2964a5d89bfc343746c39c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b96228a7-3532-4c2f-a700-0c94efb2bbdb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-vn-00924053'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-policy-allow-all-71604150']], 'subnet_ipam': [{'subnet_cidr': '62.56.196.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 10:19:32,953 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:19:33,321 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:19:33,374 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 10:19:33,399 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:19:33,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:33,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:33,580 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/98b93b9f-4059-4e99-af4e-b6dc14d6a7ff 2025-07-21 10:19:33,600 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/98b93b9f-4059-4e99-af4e-b6dc14d6a7ff 2025-07-21 10:19:33,620 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2d3f0fe7-68ce-47c7-91a2-20386826136c 2025-07-21 10:19:33,638 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 10:19:33,639 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:33,665 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/98b93b9f-4059-4e99-af4e-b6dc14d6a7ff 2025-07-21 10:19:33,711 - INFO - Verified VN network id 9 for VN 553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:33,711 - INFO - Verifications in API Server for VN ctest-vn-74376831 passed 2025-07-21 10:19:33,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:33,755 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/98b93b9f-4059-4e99-af4e-b6dc14d6a7ff 2025-07-21 10:19:33,782 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/98b93b9f-4059-4e99-af4e-b6dc14d6a7ff 2025-07-21 10:19:33,801 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2d3f0fe7-68ce-47c7-91a2-20386826136c 2025-07-21 10:19:33,838 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56935529', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6141921332497236430', 'uuid-lslong': '10461378465239024453'}, 'enable': 'true', 'created': '2025-07-21T10:19:30', 'last-modified': '2025-07-21T10:19:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368699'} 2025-07-21 10:19:33,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 10:19:33,865 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74376831 passed 2025-07-21 10:19:33,865 - DEBUG - ====Verifying policy data for ctest-vn-74376831 in API_Server ====== 2025-07-21 10:19:33,866 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:19:33,883 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 10:19:33,918 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:19:34,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/553c7ce9-1de4-41ce-912e-4849917e4345 2025-07-21 10:19:34,073 - DEBUG - ==>Verifying data for policy with id: 2d6110e7-3f60-42d9-9634-2f788318131d, fqn: ['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-policy-allow-all-71604150'] 2025-07-21 10:19:34,073 - INFO - VN ctest-vn-74376831 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 10:19:34,074 - DEBUG - Verifying the vn in opserver 2025-07-21 10:19:34,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831 virtual network link through opserver 10.0.0.254 2025-07-21 10:19:34,074 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 10:19:34,441 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 10:19:34,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831?flat'} 2025-07-21 10:19:34,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831 is found in opserver 2025-07-21 10:19:34,584 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 10:19:34,604 - DEBUG - VRF ids for VN ctest-vn-74376831: {} 2025-07-21 10:19:34,604 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:19:34,623 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 10:19:34,663 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:19:34,809 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:34,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:34,867 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79f2f300-5c95-48ca-9d8b-9a1f9e44bc23 2025-07-21 10:19:34,884 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79f2f300-5c95-48ca-9d8b-9a1f9e44bc23 2025-07-21 10:19:34,902 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/367a5724-2890-4e93-b1d7-d19f34f87277 2025-07-21 10:19:34,921 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 10:19:34,921 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:34,948 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79f2f300-5c95-48ca-9d8b-9a1f9e44bc23 2025-07-21 10:19:34,999 - INFO - Verified VN network id 10 for VN 6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:35,000 - INFO - Verifications in API Server for VN ctest-vn-00924053 passed 2025-07-21 10:19:35,000 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:35,024 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79f2f300-5c95-48ca-9d8b-9a1f9e44bc23 2025-07-21 10:19:35,037 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79f2f300-5c95-48ca-9d8b-9a1f9e44bc23 2025-07-21 10:19:35,049 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/367a5724-2890-4e93-b1d7-d19f34f87277 2025-07-21 10:19:35,082 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-00924053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56935529', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8044623674219905244', 'uuid-lslong': '12072812078155435880'}, 'enable': 'true', 'created': '2025-07-21T10:19:31', 'last-modified': '2025-07-21T10:19:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.317897'} 2025-07-21 10:19:35,101 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 10:19:35,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00924053 passed 2025-07-21 10:19:35,102 - DEBUG - ====Verifying policy data for ctest-vn-00924053 in API_Server ====== 2025-07-21 10:19:35,102 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:19:35,116 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 10:19:35,145 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:19:35,267 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6fa43e9c-0593-40dc-a78b-3e9ede800f68 2025-07-21 10:19:35,292 - DEBUG - ==>Verifying data for policy with id: 2d6110e7-3f60-42d9-9634-2f788318131d, fqn: ['default-domain', 'ctest-TestBasicPolicy-56935529', 'ctest-policy-allow-all-71604150'] 2025-07-21 10:19:35,292 - INFO - VN ctest-vn-00924053 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 10:19:35,292 - DEBUG - Verifying the vn in opserver 2025-07-21 10:19:35,293 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-00924053 virtual network link through opserver 10.0.0.254 2025-07-21 10:19:35,293 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 10:19:35,325 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-00924053', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-00924053?flat'} 2025-07-21 10:19:35,326 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-00924053 is found in opserver 2025-07-21 10:19:35,363 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 10:19:35,382 - DEBUG - VRF ids for VN ctest-vn-00924053: {} 2025-07-21 10:19:35,511 - DEBUG - Services list from nova: [, , ] 2025-07-21 10:19:37,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1) 2025-07-21 10:19:38,747 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1) 2025-07-21 10:19:38,747 - INFO - Waiting for VM ctest-TestBasicPolicy-56935529-58413355 to be up.. 2025-07-21 10:19:38,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 10:19:44,020 - DEBUG - VM is in ACTIVE state now 2025-07-21 10:19:44,021 - INFO - VM name : ctest-TestBasicPolicy-56935529-58413355 2025-07-21 10:19:44,170 - DEBUG - VM ctest-TestBasicPolicy-56935529-58413355 ID is 19ee6989-5e23-4993-858d-36d71f1d9a2e 2025-07-21 10:19:44,214 - DEBUG - VM ctest-TestBasicPolicy-56935529-58413355 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1 2025-07-21 10:19:44,406 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/19ee6989-5e23-4993-858d-36d71f1d9a2e 2025-07-21 10:19:44,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2a308a7a-b2fa-4fe8-8620-1a15b43d798f 2025-07-21 10:19:47,804 - 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 1014ms') 2025-07-21 10:19:47,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56935529-58413355 failed! 2025-07-21 10:19:47,890 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56935529:ctest-vn-74376831 is 28.86.151.65 and allocation pool is NOT set 2025-07-21 10:19:49,977 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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.961/6.048/10.136/4.087 ms') 2025-07-21 10:19:49,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56935529-58413355 passed 2025-07-21 10:19:50,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 10:19:50,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56935529-58413355, IP 28.86.151.67, Port 22 2025-07-21 10:19:50,375 - DEBUG - VM ctest-TestBasicPolicy-56935529-58413355 is ready for SSH connections 2025-07-21 10:19:50,376 - INFO - Waiting for VM ctest-TestBasicPolicy-56935529-44711985 to be up.. 2025-07-21 10:19:50,560 - DEBUG - VM is in ACTIVE state now 2025-07-21 10:19:50,560 - INFO - VM name : ctest-TestBasicPolicy-56935529-44711985 2025-07-21 10:19:50,705 - DEBUG - VM ctest-TestBasicPolicy-56935529-44711985 ID is 4ce25cad-d234-4491-b86c-d2c317c40f02 2025-07-21 10:19:50,705 - DEBUG - VM ctest-TestBasicPolicy-56935529-44711985 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1 2025-07-21 10:19:50,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4ce25cad-d234-4491-b86c-d2c317c40f02 2025-07-21 10:19:50,849 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/db242912-865a-4160-8044-8a345595db0f 2025-07-21 10:19:52,196 - 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=4.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.676 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.676/2.785/4.894/2.109 ms') 2025-07-21 10:19:52,196 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56935529-44711985 passed 2025-07-21 10:19:52,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 10:19:52,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56935529-44711985, IP 62.56.196.195, Port 22 2025-07-21 10:19:52,577 - DEBUG - VM ctest-TestBasicPolicy-56935529-44711985 is ready for SSH connections 2025-07-21 10:19:52,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 10:19:52,577 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.56.196.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 10:19:52,577 - DEBUG - ping -s 56 -c 3 -W 1 62.56.196.195 2025-07-21 10:19:57,234 - DEBUG - PING 62.56.196.195 (62.56.196.195): 56 data bytes 64 bytes from 62.56.196.195: seq=0 ttl=63 time=9.074 ms 64 bytes from 62.56.196.195: seq=1 ttl=63 time=2.358 ms 64 bytes from 62.56.196.195: seq=2 ttl=63 time=1.486 ms --- 62.56.196.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.486/4.306/9.074 ms 2025-07-21 10:19:57,234 - INFO - Ping to IP 62.56.196.195 from VM ctest-TestBasicPolicy-56935529-58413355 passed 2025-07-21 10:19:57,496 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2d6110e7-3f60-42d9-9634-2f788318131d", "href": "http://10.0.0.254:8082/network-policy/2d6110e7-3f60-42d9-9634-2f788318131d"}} 2025-07-21 10:19:57,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 10:19:57,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.56.196.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 10:19:57,497 - DEBUG - ping -s 56 -c 3 -W 1 62.56.196.195 2025-07-21 10:20:00,723 - DEBUG - PING 62.56.196.195 (62.56.196.195): 56 data bytes --- 62.56.196.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 10:20:00,723 - WARNING - Ping to IP 62.56.196.195 from VM ctest-TestBasicPolicy-56935529-58413355 failed 2025-07-21 10:20:00,724 - INFO - Deleting VM ctest-TestBasicPolicy-56935529-44711985 2025-07-21 10:20:00,887 - INFO - Deleting VM ctest-TestBasicPolicy-56935529-58413355 2025-07-21 10:20:01,459 - INFO - Deleted policy ctest-policy-allow-all-71604150 2025-07-21 10:20:01,459 - INFO - Deleting VN ctest-vn-00924053 2025-07-21 10:20:01,507 - DEBUG - VN 6fa43e9c-0593-40dc-a78b-3e9ede800f68 still in use: Unable to complete operation on network 6fa43e9c-0593-40dc-a78b-3e9ede800f68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d051af46-444c-4b1d-8763-40ac90958b62'] 2025-07-21 10:20:01,508 - WARNING - Deleting VN ctest-vn-00924053 failed..Will retry 2025-07-21 10:20:03,750 - DEBUG - Response for deleting network () 2025-07-21 10:20:03,751 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79f2f300-5c95-48ca-9d8b-9a1f9e44bc23 2025-07-21 10:20:03,763 - DEBUG - Response Code: 404 2025-07-21 10:20:03,763 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:20:03,775 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 10:20:03,796 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:20:03,899 - INFO - Validated that VN ctest-vn-00924053 is not found in API Server 2025-07-21 10:20:03,925 - DEBUG - VN ctest-vn-00924053 is not present in Agent 10.0.0.254 2025-07-21 10:20:03,925 - INFO - Validated that VN ctest-vn-00924053 is not in any agent 2025-07-21 10:20:03,966 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00924053 info 2025-07-21 10:20:03,966 - INFO - Deleting VN ctest-vn-74376831 2025-07-21 10:20:04,171 - DEBUG - Response for deleting network () 2025-07-21 10:20:04,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/98b93b9f-4059-4e99-af4e-b6dc14d6a7ff 2025-07-21 10:20:04,183 - DEBUG - Response Code: 404 2025-07-21 10:20:04,183 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 10:20:04,194 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 10:20:04,212 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c6577ed-a296-4a5d-89bf-c343746c39c7 2025-07-21 10:20:04,323 - INFO - Validated that VN ctest-vn-74376831 is not found in API Server 2025-07-21 10:20:04,340 - DEBUG - VN ctest-vn-74376831 is not present in Agent 10.0.0.254 2025-07-21 10:20:04,340 - INFO - Validated that VN ctest-vn-74376831 is not in any agent 2025-07-21 10:20:04,382 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74376831 info 2025-07-21 10:20:04,712 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 10:20:04,712 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-07-21 10:20:04,712 - INFO - -------------------------------------------------------------------------------- 2025-07-21 10:20:05,728 - INFO - Deleted project: ctest-TestBasicPolicy-56935529, ID : 3c6577ed-a296-4a5d-89bf-c343746c39c7