2025-06-05 02:17:51,724 - INFO - Domain Default found not creating 2025-06-05 02:17:51,892 - INFO - Project ctest-TestBasicPolicy-11206888 not found, creating it 2025-06-05 02:17:52,411 - INFO - Created Project:ctest-TestBasicPolicy-11206888, ID : ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:17:54,136 - INFO - ================================================================================ 2025-06-05 02:17:54,136 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-05 02:17:54,136 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-05 02:17:54,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-06-05 02:17:54,399 - INFO - Initial checks done. Running the testcase now 2025-06-05 02:17:54,400 - INFO - 2025-06-05 02:17:55,041 - DEBUG - Response for create_network : {'network': {'id': '09cf8184-7077-479e-92cd-f0a82d0e653d', 'name': 'ctest-vn-51751537', 'tenant_id': 'ffe457517751445794bef4c4058b487f', 'project_id': 'ffe457517751445794bef4c4058b487f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-vn-51751537'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:17:55,276 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5f4da2f-e70c-4beb-a12a-6b21a958d49d', 'name': '', 'tenant_id': 'ffe457517751445794bef4c4058b487f', 'network_id': '09cf8184-7077-479e-92cd-f0a82d0e653d', 'ip_version': 4, 'cidr': '161.232.181.128/26', 'allocation_pools': [{'start': '161.232.181.130', 'end': '161.232.181.190'}], 'gateway_ip': '161.232.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.232.181.130', 'tags': [], 'project_id': 'ffe457517751445794bef4c4058b487f'}} 2025-06-05 02:17:55,300 - INFO - Created VN ctest-vn-51751537 2025-06-05 02:17:55,354 - DEBUG - VN ctest-vn-51751537 UUID is 09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:55,684 - DEBUG - Response for create_network : {'network': {'id': 'da1c1361-312c-4797-b7c0-2ddcbc12e20b', 'name': 'ctest-vn-02628305', 'tenant_id': 'ffe457517751445794bef4c4058b487f', 'project_id': 'ffe457517751445794bef4c4058b487f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-vn-02628305'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:17:55,880 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc2c51a4-d2e9-44c6-a035-4b66ab60cebe', 'name': '', 'tenant_id': 'ffe457517751445794bef4c4058b487f', 'network_id': 'da1c1361-312c-4797-b7c0-2ddcbc12e20b', 'ip_version': 4, 'cidr': '114.220.79.0/26', 'allocation_pools': [{'start': '114.220.79.2', 'end': '114.220.79.62'}], 'gateway_ip': '114.220.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.220.79.2', 'tags': [], 'project_id': 'ffe457517751445794bef4c4058b487f'}} 2025-06-05 02:17:55,905 - INFO - Created VN ctest-vn-02628305 2025-06-05 02:17:55,970 - DEBUG - VN ctest-vn-02628305 UUID is da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:56,096 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537, 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-11206888:ctest-vn-02628305, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-05 02:17:56,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '09cf8184-7077-479e-92cd-f0a82d0e653d', 'name': 'ctest-vn-51751537', 'tenant_id': 'ffe457517751445794bef4c4058b487f', 'project_id': 'ffe457517751445794bef4c4058b487f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5f4da2f-e70c-4beb-a12a-6b21a958d49d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-vn-51751537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-policy-allow-all-22152194']], 'subnet_ipam': [{'subnet_cidr': '161.232.181.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:17:56,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da1c1361-312c-4797-b7c0-2ddcbc12e20b', 'name': 'ctest-vn-02628305', 'tenant_id': 'ffe457517751445794bef4c4058b487f', 'project_id': 'ffe457517751445794bef4c4058b487f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc2c51a4-d2e9-44c6-a035-4b66ab60cebe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-vn-02628305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-policy-allow-all-22152194']], 'subnet_ipam': [{'subnet_cidr': '114.220.79.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:17:56,846 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:17:57,217 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:17:57,250 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5281e19d-b72c-4db7-866c-7da6c6bfb017 2025-06-05 02:17:57,268 - DEBUG - Requesting: http://10.0.0.242:8082/project/ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:17:57,351 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:57,364 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:57,375 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ef4a8-78e7-4ff9-8d5c-93efb12f0509 2025-06-05 02:17:57,384 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ef4a8-78e7-4ff9-8d5c-93efb12f0509 2025-06-05 02:17:57,398 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/04fd731f-4121-4ce7-a91b-5f4f7c3723e9 2025-06-05 02:17:57,409 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:17:57,409 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:57,424 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ef4a8-78e7-4ff9-8d5c-93efb12f0509 2025-06-05 02:17:57,447 - INFO - Verified VN network id 7 for VN 09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:57,447 - INFO - Verifications in API Server for VN ctest-vn-51751537 passed 2025-06-05 02:17:57,447 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:57,460 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ef4a8-78e7-4ff9-8d5c-93efb12f0509 2025-06-05 02:17:57,470 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ef4a8-78e7-4ff9-8d5c-93efb12f0509 2025-06-05 02:17:57,478 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/04fd731f-4121-4ce7-a91b-5f4f7c3723e9 2025-06-05 02:17:57,492 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11206888', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '706926072342988702', 'uuid-lslong': '10578375704864253245'}, 'enable': 'true', 'created': '2025-06-05T02:17:55', 'last-modified': '2025-06-05T02:17:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.100032'} 2025-06-05 02:17:57,501 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:17:57,501 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51751537 passed 2025-06-05 02:17:57,502 - DEBUG - ====Verifying policy data for ctest-vn-51751537 in API_Server ====== 2025-06-05 02:17:57,502 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:17:57,510 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5281e19d-b72c-4db7-866c-7da6c6bfb017 2025-06-05 02:17:57,526 - DEBUG - Requesting: http://10.0.0.242:8082/project/ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:17:57,600 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/09cf8184-7077-479e-92cd-f0a82d0e653d 2025-06-05 02:17:57,615 - DEBUG - ==>Verifying data for policy with id: fac3aed0-effc-473b-9593-5d158a5cef59, fqn: ['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-policy-allow-all-22152194'] 2025-06-05 02:17:57,615 - INFO - VN ctest-vn-51751537 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:17:57,616 - DEBUG - Verifying the vn in opserver 2025-06-05 02:17:57,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537 virtual network link through opserver 10.0.0.242 2025-06-05 02:17:57,616 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-05 02:17:57,958 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-05 02:17:58,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537?flat'} 2025-06-05 02:17:58,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537 is found in opserver 2025-06-05 02:17:58,040 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:17:58,046 - DEBUG - VRF ids for VN ctest-vn-51751537: {} 2025-06-05 02:17:58,046 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:17:58,054 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5281e19d-b72c-4db7-866c-7da6c6bfb017 2025-06-05 02:17:58,069 - DEBUG - Requesting: http://10.0.0.242:8082/project/ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:17:58,154 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:58,167 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:58,179 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7049dcd-0a7a-440e-b337-17d6f7e08bbf 2025-06-05 02:17:58,187 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7049dcd-0a7a-440e-b337-17d6f7e08bbf 2025-06-05 02:17:58,196 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/80d1986d-551c-4ce6-987a-580cb006d057 2025-06-05 02:17:58,206 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:17:58,206 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:58,220 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7049dcd-0a7a-440e-b337-17d6f7e08bbf 2025-06-05 02:17:58,237 - INFO - Verified VN network id 8 for VN da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:58,238 - INFO - Verifications in API Server for VN ctest-vn-02628305 passed 2025-06-05 02:17:58,238 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:58,250 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7049dcd-0a7a-440e-b337-17d6f7e08bbf 2025-06-05 02:17:58,260 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7049dcd-0a7a-440e-b337-17d6f7e08bbf 2025-06-05 02:17:58,268 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/80d1986d-551c-4ce6-987a-580cb006d057 2025-06-05 02:17:58,283 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-02628305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11206888', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15716458107773929367', 'uuid-lslong': '13240633330540667403'}, 'enable': 'true', 'created': '2025-06-05T02:17:55', 'last-modified': '2025-06-05T02:17:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.626315'} 2025-06-05 02:17:58,291 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:17:58,291 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02628305 passed 2025-06-05 02:17:58,291 - DEBUG - ====Verifying policy data for ctest-vn-02628305 in API_Server ====== 2025-06-05 02:17:58,291 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:17:58,299 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5281e19d-b72c-4db7-866c-7da6c6bfb017 2025-06-05 02:17:58,316 - DEBUG - Requesting: http://10.0.0.242:8082/project/ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:17:58,396 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/da1c1361-312c-4797-b7c0-2ddcbc12e20b 2025-06-05 02:17:58,409 - DEBUG - ==>Verifying data for policy with id: fac3aed0-effc-473b-9593-5d158a5cef59, fqn: ['default-domain', 'ctest-TestBasicPolicy-11206888', 'ctest-policy-allow-all-22152194'] 2025-06-05 02:17:58,409 - INFO - VN ctest-vn-02628305 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:17:58,409 - DEBUG - Verifying the vn in opserver 2025-06-05 02:17:58,409 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-02628305 virtual network link through opserver 10.0.0.242 2025-06-05 02:17:58,409 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-05 02:17:58,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-02628305', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-02628305?flat'} 2025-06-05 02:17:58,428 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-02628305 is found in opserver 2025-06-05 02:17:58,442 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:17:58,449 - DEBUG - VRF ids for VN ctest-vn-02628305: {} 2025-06-05 02:17:58,522 - DEBUG - Services list from nova: [, , ] 2025-06-05 02:17:59,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3404-1) 2025-06-05 02:18:01,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3404-1) 2025-06-05 02:18:01,222 - INFO - Waiting for VM ctest-TestBasicPolicy-11206888-35236898 to be up.. 2025-06-05 02:18:01,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 02:18:06,440 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:18:06,440 - INFO - VM name : ctest-TestBasicPolicy-11206888-35236898 2025-06-05 02:18:06,544 - DEBUG - VM ctest-TestBasicPolicy-11206888-35236898 ID is 9c306a40-d339-4b84-a41f-c510e0db6c23 2025-06-05 02:18:06,569 - DEBUG - VM ctest-TestBasicPolicy-11206888-35236898 launched on Node cn-jenkins-deploy-platform-ansible-os-3404-1 2025-06-05 02:18:06,666 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9c306a40-d339-4b84-a41f-c510e0db6c23 2025-06-05 02:18:06,677 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f681f6b1-9053-48d3-b8dd-d57cf1044112 2025-06-05 02:18:09,948 - 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 1010ms') 2025-06-05 02:18:09,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11206888-35236898 failed! 2025-06-05 02:18:10,006 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11206888:ctest-vn-51751537 is 161.232.181.129 and allocation pool is NOT set 2025-06-05 02:18:12,073 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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.579/6.544/11.509/4.965 ms') 2025-06-05 02:18:12,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11206888-35236898 passed 2025-06-05 02:18:12,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:18:12,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11206888-35236898, IP 161.232.181.131, Port 22 2025-06-05 02:18:12,405 - DEBUG - VM ctest-TestBasicPolicy-11206888-35236898 is ready for SSH connections 2025-06-05 02:18:12,405 - INFO - Waiting for VM ctest-TestBasicPolicy-11206888-19061899 to be up.. 2025-06-05 02:18:12,532 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:18:12,532 - INFO - VM name : ctest-TestBasicPolicy-11206888-19061899 2025-06-05 02:18:12,623 - DEBUG - VM ctest-TestBasicPolicy-11206888-19061899 ID is c5a550f4-8e7d-45cb-921c-a6647e121fb3 2025-06-05 02:18:12,624 - DEBUG - VM ctest-TestBasicPolicy-11206888-19061899 launched on Node cn-jenkins-deploy-platform-ansible-os-3404-1 2025-06-05 02:18:12,725 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c5a550f4-8e7d-45cb-921c-a6647e121fb3 2025-06-05 02:18:12,735 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2186bbdb-f658-4cfb-aa1d-b19d8bc2eabe 2025-06-05 02:18:14,005 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.43 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.431/3.501/3.572/0.070 ms') 2025-06-05 02:18:14,005 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11206888-19061899 passed 2025-06-05 02:18:14,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:18:14,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11206888-19061899, IP 114.220.79.3, Port 22 2025-06-05 02:18:14,333 - DEBUG - VM ctest-TestBasicPolicy-11206888-19061899 is ready for SSH connections 2025-06-05 02:18:14,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:18:14,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.220.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-05 02:18:14,333 - DEBUG - ping -s 56 -c 3 -W 1 114.220.79.3 2025-06-05 02:18:18,498 - DEBUG - PING 114.220.79.3 (114.220.79.3): 56 data bytes 64 bytes from 114.220.79.3: seq=0 ttl=63 time=4.299 ms 64 bytes from 114.220.79.3: seq=1 ttl=63 time=1.137 ms 64 bytes from 114.220.79.3: seq=2 ttl=63 time=0.902 ms --- 114.220.79.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.112/4.299 ms 2025-06-05 02:18:18,498 - INFO - Ping to IP 114.220.79.3 from VM ctest-TestBasicPolicy-11206888-35236898 passed 2025-06-05 02:18:18,694 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fac3aed0-effc-473b-9593-5d158a5cef59", "href": "http://10.0.0.242:8082/network-policy/fac3aed0-effc-473b-9593-5d158a5cef59"}} 2025-06-05 02:18:18,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:18:18,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.220.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-05 02:18:18,695 - DEBUG - ping -s 56 -c 3 -W 1 114.220.79.3 2025-06-05 02:18:21,933 - DEBUG - PING 114.220.79.3 (114.220.79.3): 56 data bytes --- 114.220.79.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-05 02:18:21,933 - WARNING - Ping to IP 114.220.79.3 from VM ctest-TestBasicPolicy-11206888-35236898 failed 2025-06-05 02:18:21,933 - INFO - Deleting VM ctest-TestBasicPolicy-11206888-19061899 2025-06-05 02:18:22,011 - INFO - Deleting VM ctest-TestBasicPolicy-11206888-35236898 2025-06-05 02:18:22,449 - INFO - Deleted policy ctest-policy-allow-all-22152194 2025-06-05 02:18:22,449 - INFO - Deleting VN ctest-vn-02628305 2025-06-05 02:18:22,491 - DEBUG - VN da1c1361-312c-4797-b7c0-2ddcbc12e20b still in use: Unable to complete operation on network da1c1361-312c-4797-b7c0-2ddcbc12e20b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4d2f1aa-c969-4ee0-bacd-1424672186f0'] 2025-06-05 02:18:22,491 - WARNING - Deleting VN ctest-vn-02628305 failed..Will retry 2025-06-05 02:18:24,621 - DEBUG - Response for deleting network () 2025-06-05 02:18:24,621 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7049dcd-0a7a-440e-b337-17d6f7e08bbf 2025-06-05 02:18:24,628 - DEBUG - Response Code: 404 2025-06-05 02:18:24,628 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:18:24,641 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5281e19d-b72c-4db7-866c-7da6c6bfb017 2025-06-05 02:18:24,696 - DEBUG - Requesting: http://10.0.0.242:8082/project/ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:18:24,782 - INFO - Validated that VN ctest-vn-02628305 is not found in API Server 2025-06-05 02:18:24,797 - DEBUG - VN ctest-vn-02628305 is not present in Agent 10.0.0.242 2025-06-05 02:18:24,797 - INFO - Validated that VN ctest-vn-02628305 is not in any agent 2025-06-05 02:18:24,817 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02628305 info 2025-06-05 02:18:24,817 - INFO - Deleting VN ctest-vn-51751537 2025-06-05 02:18:24,978 - DEBUG - Response for deleting network () 2025-06-05 02:18:24,978 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ef4a8-78e7-4ff9-8d5c-93efb12f0509 2025-06-05 02:18:24,989 - DEBUG - Response Code: 404 2025-06-05 02:18:24,990 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-05 02:18:24,998 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5281e19d-b72c-4db7-866c-7da6c6bfb017 2025-06-05 02:18:25,061 - DEBUG - Requesting: http://10.0.0.242:8082/project/ffe45751-7751-4457-94be-f4c4058b487f 2025-06-05 02:18:25,146 - INFO - Validated that VN ctest-vn-51751537 is not found in API Server 2025-06-05 02:18:25,159 - DEBUG - VN ctest-vn-51751537 is not present in Agent 10.0.0.242 2025-06-05 02:18:25,159 - INFO - Validated that VN ctest-vn-51751537 is not in any agent 2025-06-05 02:18:25,181 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51751537 info 2025-06-05 02:18:25,440 - DEBUG - No XMPP flaps were noticed during the test 2025-06-05 02:18:25,440 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-06-05 02:18:25,440 - INFO - -------------------------------------------------------------------------------- 2025-06-05 02:18:26,241 - INFO - Deleted project: ctest-TestBasicPolicy-11206888, ID : ffe45751-7751-4457-94be-f4c4058b487f