2025-08-20 13:03:15,541 - INFO - Domain Default found not creating 2025-08-20 13:03:15,666 - INFO - Project ctest-TestBasicPolicy-75298184 not found, creating it 2025-08-20 13:03:16,120 - INFO - Created Project:ctest-TestBasicPolicy-75298184, ID : edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:17,448 - INFO - ================================================================================ 2025-08-20 13:03:17,448 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 13:03:17,448 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-20 13:03:17,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-08-20 13:03:17,704 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:03:17,704 - INFO - 2025-08-20 13:03:18,199 - DEBUG - Response for create_network : {'network': {'id': 'd2c44a41-4828-4588-a63b-29ee17be6d4a', 'name': 'ctest-vn-92622535', 'tenant_id': 'edfc668678b5406696d64534e9888d68', 'project_id': 'edfc668678b5406696d64534e9888d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-vn-92622535'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:03:18,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b18d18e9-d944-4495-9f88-2338a241f713', 'name': '', 'tenant_id': 'edfc668678b5406696d64534e9888d68', 'network_id': 'd2c44a41-4828-4588-a63b-29ee17be6d4a', 'ip_version': 4, 'cidr': '30.18.105.64/26', 'allocation_pools': [{'start': '30.18.105.66', 'end': '30.18.105.126'}], 'gateway_ip': '30.18.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.18.105.66', 'tags': [], 'project_id': 'edfc668678b5406696d64534e9888d68'}} 2025-08-20 13:03:18,357 - INFO - Created VN ctest-vn-92622535 2025-08-20 13:03:18,407 - DEBUG - VN ctest-vn-92622535 UUID is d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:18,701 - DEBUG - Response for create_network : {'network': {'id': '6dcbc040-b5c1-438a-a6b0-f0b437d5ee54', 'name': 'ctest-vn-66121680', 'tenant_id': 'edfc668678b5406696d64534e9888d68', 'project_id': 'edfc668678b5406696d64534e9888d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-vn-66121680'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:03:18,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '6981eed5-816e-4d7f-ab28-743e81555fab', 'name': '', 'tenant_id': 'edfc668678b5406696d64534e9888d68', 'network_id': '6dcbc040-b5c1-438a-a6b0-f0b437d5ee54', 'ip_version': 4, 'cidr': '11.172.25.192/26', 'allocation_pools': [{'start': '11.172.25.194', 'end': '11.172.25.254'}], 'gateway_ip': '11.172.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.172.25.194', 'tags': [], 'project_id': 'edfc668678b5406696d64534e9888d68'}} 2025-08-20 13:03:18,912 - INFO - Created VN ctest-vn-66121680 2025-08-20 13:03:18,963 - DEBUG - VN ctest-vn-66121680 UUID is 6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:19,103 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535, 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-75298184:ctest-vn-66121680, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-20 13:03:19,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2c44a41-4828-4588-a63b-29ee17be6d4a', 'name': 'ctest-vn-92622535', 'tenant_id': 'edfc668678b5406696d64534e9888d68', 'project_id': 'edfc668678b5406696d64534e9888d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b18d18e9-d944-4495-9f88-2338a241f713'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-vn-92622535'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-policy-allow-all-11611991']], 'subnet_ipam': [{'subnet_cidr': '30.18.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:03:19,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6dcbc040-b5c1-438a-a6b0-f0b437d5ee54', 'name': 'ctest-vn-66121680', 'tenant_id': 'edfc668678b5406696d64534e9888d68', 'project_id': 'edfc668678b5406696d64534e9888d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6981eed5-816e-4d7f-ab28-743e81555fab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-vn-66121680'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-policy-allow-all-11611991']], 'subnet_ipam': [{'subnet_cidr': '11.172.25.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:03:19,895 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:20,194 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:20,220 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8f5ed32a-7fc4-4618-8f55-b2c3108fc253 2025-08-20 13:03:20,231 - DEBUG - Requesting: http://10.0.0.27:8082/project/edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:20,301 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:20,310 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:20,317 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dae9eaf2-b6f6-43ee-8776-6bd5397f96e2 2025-08-20 13:03:20,322 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dae9eaf2-b6f6-43ee-8776-6bd5397f96e2 2025-08-20 13:03:20,327 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/a36a39d5-5d47-40b6-bf6e-cb8de163a1ff 2025-08-20 13:03:20,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 13:03:20,332 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:20,339 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dae9eaf2-b6f6-43ee-8776-6bd5397f96e2 2025-08-20 13:03:20,349 - INFO - Verified VN network id 9 for VN d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:20,349 - INFO - Verifications in API Server for VN ctest-vn-92622535 passed 2025-08-20 13:03:20,349 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:20,356 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dae9eaf2-b6f6-43ee-8776-6bd5397f96e2 2025-08-20 13:03:20,361 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dae9eaf2-b6f6-43ee-8776-6bd5397f96e2 2025-08-20 13:03:20,365 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/a36a39d5-5d47-40b6-bf6e-cb8de163a1ff 2025-08-20 13:03:20,374 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75298184', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15187345487644083592', 'uuid-lslong': '11978213736499277130'}, 'enable': 'true', 'created': '2025-08-20T13:03:18', 'last-modified': '2025-08-20T13:03:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893988'} 2025-08-20 13:03:20,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 13:03:20,379 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92622535 passed 2025-08-20 13:03:20,379 - DEBUG - ====Verifying policy data for ctest-vn-92622535 in API_Server ====== 2025-08-20 13:03:20,379 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:20,383 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8f5ed32a-7fc4-4618-8f55-b2c3108fc253 2025-08-20 13:03:20,392 - DEBUG - Requesting: http://10.0.0.27:8082/project/edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:20,458 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d2c44a41-4828-4588-a63b-29ee17be6d4a 2025-08-20 13:03:20,466 - DEBUG - ==>Verifying data for policy with id: 1dd306b2-b142-44d8-ba8a-e0860dd91e44, fqn: ['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-policy-allow-all-11611991'] 2025-08-20 13:03:20,466 - INFO - VN ctest-vn-92622535 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 13:03:20,466 - DEBUG - Verifying the vn in opserver 2025-08-20 13:03:20,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535 virtual network link through opserver 10.0.0.27 2025-08-20 13:03:20,466 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-20 13:03:20,753 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-20 13:03:20,800 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535?flat'} 2025-08-20 13:03:20,800 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535 is found in opserver 2025-08-20 13:03:20,808 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 13:03:20,812 - DEBUG - VRF ids for VN ctest-vn-92622535: {} 2025-08-20 13:03:20,812 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:20,817 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8f5ed32a-7fc4-4618-8f55-b2c3108fc253 2025-08-20 13:03:20,826 - DEBUG - Requesting: http://10.0.0.27:8082/project/edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:20,890 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:20,898 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:20,905 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9ef3d963-7235-4f60-b81f-b4d70f564ef0 2025-08-20 13:03:20,910 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9ef3d963-7235-4f60-b81f-b4d70f564ef0 2025-08-20 13:03:20,916 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6e43f2aa-d8fd-4225-91dc-d8d325884a53 2025-08-20 13:03:20,921 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 13:03:20,921 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:20,927 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9ef3d963-7235-4f60-b81f-b4d70f564ef0 2025-08-20 13:03:20,937 - INFO - Verified VN network id 10 for VN 6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:20,937 - INFO - Verifications in API Server for VN ctest-vn-66121680 passed 2025-08-20 13:03:20,937 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:20,943 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9ef3d963-7235-4f60-b81f-b4d70f564ef0 2025-08-20 13:03:20,948 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9ef3d963-7235-4f60-b81f-b4d70f564ef0 2025-08-20 13:03:20,953 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6e43f2aa-d8fd-4225-91dc-d8d325884a53 2025-08-20 13:03:20,961 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-66121680', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75298184', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7911628554566189962', 'uuid-lslong': '12011364863018659412'}, 'enable': 'true', 'created': '2025-08-20T13:03:18', 'last-modified': '2025-08-20T13:03:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.229956'} 2025-08-20 13:03:20,965 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 13:03:20,965 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66121680 passed 2025-08-20 13:03:20,966 - DEBUG - ====Verifying policy data for ctest-vn-66121680 in API_Server ====== 2025-08-20 13:03:20,966 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:20,969 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8f5ed32a-7fc4-4618-8f55-b2c3108fc253 2025-08-20 13:03:20,977 - DEBUG - Requesting: http://10.0.0.27:8082/project/edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:21,044 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 2025-08-20 13:03:21,051 - DEBUG - ==>Verifying data for policy with id: 1dd306b2-b142-44d8-ba8a-e0860dd91e44, fqn: ['default-domain', 'ctest-TestBasicPolicy-75298184', 'ctest-policy-allow-all-11611991'] 2025-08-20 13:03:21,051 - INFO - VN ctest-vn-66121680 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 13:03:21,051 - DEBUG - Verifying the vn in opserver 2025-08-20 13:03:21,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-66121680 virtual network link through opserver 10.0.0.27 2025-08-20 13:03:21,051 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-20 13:03:21,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-66121680', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-66121680?flat'} 2025-08-20 13:03:21,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-66121680 is found in opserver 2025-08-20 13:03:21,067 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 13:03:21,070 - DEBUG - VRF ids for VN ctest-vn-66121680: {} 2025-08-20 13:03:21,118 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:03:22,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3894-1) 2025-08-20 13:03:23,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3894-1) 2025-08-20 13:03:23,114 - INFO - Waiting for VM ctest-TestBasicPolicy-75298184-80338202 to be up.. 2025-08-20 13:03:23,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:03:28,252 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:03:28,253 - INFO - VM name : ctest-TestBasicPolicy-75298184-80338202 2025-08-20 13:03:28,311 - DEBUG - VM ctest-TestBasicPolicy-75298184-80338202 ID is 126730c1-d596-42b6-afef-9af92077c527 2025-08-20 13:03:28,326 - DEBUG - VM ctest-TestBasicPolicy-75298184-80338202 launched on Node cn-jenkins-deploy-platform-ansible-os-3894-1. 2025-08-20 13:03:28,384 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/126730c1-d596-42b6-afef-9af92077c527 2025-08-20 13:03:28,391 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e841caeb-68fa-4123-a252-3c721aff35c1 2025-08-20 13:03:31,649 - 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 1036ms') 2025-08-20 13:03:31,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75298184-80338202 failed! 2025-08-20 13:03:31,703 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75298184:ctest-vn-92622535 is 30.18.105.65 and allocation pool is NOT set 2025-08-20 13:03:33,760 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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 = 0.410/1.509/2.608/1.099 ms') 2025-08-20 13:03:33,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75298184-80338202 passed 2025-08-20 13:03:33,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:03:33,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75298184-80338202, IP 30.18.105.67, Port 22 2025-08-20 13:03:34,059 - DEBUG - VM ctest-TestBasicPolicy-75298184-80338202 is ready for SSH connections 2025-08-20 13:03:34,059 - INFO - Waiting for VM ctest-TestBasicPolicy-75298184-21221313 to be up.. 2025-08-20 13:03:34,123 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:03:34,123 - INFO - VM name : ctest-TestBasicPolicy-75298184-21221313 2025-08-20 13:03:34,188 - DEBUG - VM ctest-TestBasicPolicy-75298184-21221313 ID is 5f1cfeb5-c6cb-4796-905f-5a7877bd70bf 2025-08-20 13:03:34,188 - DEBUG - VM ctest-TestBasicPolicy-75298184-21221313 launched on Node cn-jenkins-deploy-platform-ansible-os-3894-1. 2025-08-20 13:03:34,252 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5f1cfeb5-c6cb-4796-905f-5a7877bd70bf 2025-08-20 13:03:34,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e6f8888f-1c75-45bd-8469-c782eaf4d16b 2025-08-20 13:03:35,485 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.500/2.642/1.141 ms') 2025-08-20 13:03:35,485 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75298184-21221313 passed 2025-08-20 13:03:35,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:03:35,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75298184-21221313, IP 11.172.25.195, Port 22 2025-08-20 13:03:35,783 - DEBUG - VM ctest-TestBasicPolicy-75298184-21221313 is ready for SSH connections 2025-08-20 13:03:35,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:03:35,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.172.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:03:35,783 - DEBUG - ping -s 56 -c 3 -W 1 11.172.25.195 2025-08-20 13:03:39,486 - DEBUG - PING 11.172.25.195 (11.172.25.195): 56 data bytes 64 bytes from 11.172.25.195: seq=0 ttl=63 time=3.118 ms 64 bytes from 11.172.25.195: seq=1 ttl=63 time=0.734 ms 64 bytes from 11.172.25.195: seq=2 ttl=63 time=0.740 ms --- 11.172.25.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.530/3.118 ms 2025-08-20 13:03:39,486 - INFO - Ping to IP 11.172.25.195 from VM ctest-TestBasicPolicy-75298184-80338202 passed 2025-08-20 13:03:39,655 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1dd306b2-b142-44d8-ba8a-e0860dd91e44", "href": "http://10.0.0.27:8082/network-policy/1dd306b2-b142-44d8-ba8a-e0860dd91e44"}} 2025-08-20 13:03:39,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:03:39,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.172.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:03:39,655 - DEBUG - ping -s 56 -c 3 -W 1 11.172.25.195 2025-08-20 13:03:42,855 - DEBUG - PING 11.172.25.195 (11.172.25.195): 56 data bytes --- 11.172.25.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:03:42,855 - WARNING - Ping to IP 11.172.25.195 from VM ctest-TestBasicPolicy-75298184-80338202 failed 2025-08-20 13:03:42,855 - INFO - Deleting VM ctest-TestBasicPolicy-75298184-21221313 2025-08-20 13:03:42,916 - INFO - Deleting VM ctest-TestBasicPolicy-75298184-80338202 2025-08-20 13:03:43,247 - INFO - Deleted policy ctest-policy-allow-all-11611991 2025-08-20 13:03:43,248 - INFO - Deleting VN ctest-vn-66121680 2025-08-20 13:03:43,280 - DEBUG - VN 6dcbc040-b5c1-438a-a6b0-f0b437d5ee54 still in use: Unable to complete operation on network 6dcbc040-b5c1-438a-a6b0-f0b437d5ee54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c35303eb-0dd1-44cd-89ed-6a9be637a705'] 2025-08-20 13:03:43,280 - WARNING - Deleting VN ctest-vn-66121680 failed..Will retry 2025-08-20 13:03:45,380 - DEBUG - Response for deleting network () 2025-08-20 13:03:45,380 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9ef3d963-7235-4f60-b81f-b4d70f564ef0 2025-08-20 13:03:45,394 - DEBUG - Response Code: 404 2025-08-20 13:03:45,394 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:45,399 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8f5ed32a-7fc4-4618-8f55-b2c3108fc253 2025-08-20 13:03:45,452 - DEBUG - Requesting: http://10.0.0.27:8082/project/edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:45,523 - INFO - Validated that VN ctest-vn-66121680 is not found in API Server 2025-08-20 13:03:45,531 - DEBUG - VN ctest-vn-66121680 is not present in Agent 10.0.0.27 2025-08-20 13:03:45,531 - INFO - Validated that VN ctest-vn-66121680 is not in any agent 2025-08-20 13:03:45,542 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66121680 info 2025-08-20 13:03:45,542 - INFO - Deleting VN ctest-vn-92622535 2025-08-20 13:03:45,643 - DEBUG - Response for deleting network () 2025-08-20 13:03:45,643 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dae9eaf2-b6f6-43ee-8776-6bd5397f96e2 2025-08-20 13:03:45,647 - DEBUG - Response Code: 404 2025-08-20 13:03:45,647 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-20 13:03:45,651 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8f5ed32a-7fc4-4618-8f55-b2c3108fc253 2025-08-20 13:03:45,699 - DEBUG - Requesting: http://10.0.0.27:8082/project/edfc6686-78b5-4066-96d6-4534e9888d68 2025-08-20 13:03:45,765 - INFO - Validated that VN ctest-vn-92622535 is not found in API Server 2025-08-20 13:03:45,773 - DEBUG - VN ctest-vn-92622535 is not present in Agent 10.0.0.27 2025-08-20 13:03:45,773 - INFO - Validated that VN ctest-vn-92622535 is not in any agent 2025-08-20 13:03:45,783 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92622535 info 2025-08-20 13:03:46,043 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 13:03:46,043 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-20 13:03:46,043 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:03:46,673 - INFO - Deleted project: ctest-TestBasicPolicy-75298184, ID : edfc6686-78b5-4066-96d6-4534e9888d68