2025-06-07 08:10:31,920 - INFO - Domain Default found not creating 2025-06-07 08:10:32,064 - INFO - Project ctest-TestBasicPolicy-03863032 not found, creating it 2025-06-07 08:10:32,510 - INFO - Created Project:ctest-TestBasicPolicy-03863032, ID : f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:10:33,959 - INFO - ================================================================================ 2025-06-07 08:10:33,959 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-07 08:10:33,959 - 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-07 08:10:34,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-07 08:10:34,214 - INFO - Initial checks done. Running the testcase now 2025-06-07 08:10:34,214 - INFO - 2025-06-07 08:10:34,760 - DEBUG - Response for create_network : {'network': {'id': 'a4bc905b-97f7-46a7-bf5e-e60535c4ade8', 'name': 'ctest-vn-46134620', 'tenant_id': 'f49ef4751693426da299d91ce35b98d8', 'project_id': 'f49ef4751693426da299d91ce35b98d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-vn-46134620'], 'port_security_enabled': True, 'description': ''}} 2025-06-07 08:10:34,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c7dba23-2d79-40ff-8830-ec100ddcf08c', 'name': '', 'tenant_id': 'f49ef4751693426da299d91ce35b98d8', 'network_id': 'a4bc905b-97f7-46a7-bf5e-e60535c4ade8', 'ip_version': 4, 'cidr': '51.122.31.128/26', 'allocation_pools': [{'start': '51.122.31.130', 'end': '51.122.31.190'}], 'gateway_ip': '51.122.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.122.31.130', 'tags': [], 'project_id': 'f49ef4751693426da299d91ce35b98d8'}} 2025-06-07 08:10:34,973 - INFO - Created VN ctest-vn-46134620 2025-06-07 08:10:35,031 - DEBUG - VN ctest-vn-46134620 UUID is a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:35,464 - DEBUG - Response for create_network : {'network': {'id': '2f9e37ac-2e1a-44f2-b34a-9db2747b2e72', 'name': 'ctest-vn-91862985', 'tenant_id': 'f49ef4751693426da299d91ce35b98d8', 'project_id': 'f49ef4751693426da299d91ce35b98d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-vn-91862985'], 'port_security_enabled': True, 'description': ''}} 2025-06-07 08:10:35,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edc68718-5e09-47bf-ad22-a266c6ae3c01', 'name': '', 'tenant_id': 'f49ef4751693426da299d91ce35b98d8', 'network_id': '2f9e37ac-2e1a-44f2-b34a-9db2747b2e72', 'ip_version': 4, 'cidr': '198.84.95.128/26', 'allocation_pools': [{'start': '198.84.95.130', 'end': '198.84.95.190'}], 'gateway_ip': '198.84.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.84.95.130', 'tags': [], 'project_id': 'f49ef4751693426da299d91ce35b98d8'}} 2025-06-07 08:10:35,695 - INFO - Created VN ctest-vn-91862985 2025-06-07 08:10:35,747 - DEBUG - VN ctest-vn-91862985 UUID is 2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:35,860 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620, 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-03863032:ctest-vn-91862985, 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-07 08:10:36,148 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4bc905b-97f7-46a7-bf5e-e60535c4ade8', 'name': 'ctest-vn-46134620', 'tenant_id': 'f49ef4751693426da299d91ce35b98d8', 'project_id': 'f49ef4751693426da299d91ce35b98d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c7dba23-2d79-40ff-8830-ec100ddcf08c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-vn-46134620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-policy-allow-all-51795121']], 'subnet_ipam': [{'subnet_cidr': '51.122.31.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-07 08:10:36,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f9e37ac-2e1a-44f2-b34a-9db2747b2e72', 'name': 'ctest-vn-91862985', 'tenant_id': 'f49ef4751693426da299d91ce35b98d8', 'project_id': 'f49ef4751693426da299d91ce35b98d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edc68718-5e09-47bf-ad22-a266c6ae3c01'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-vn-91862985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-policy-allow-all-51795121']], 'subnet_ipam': [{'subnet_cidr': '198.84.95.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-07 08:10:36,543 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:10:36,874 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:10:36,904 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f0f5d666-0930-4ec3-a422-aaade413336b 2025-06-07 08:10:36,917 - DEBUG - Requesting: http://10.0.0.254:8082/project/f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:10:36,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:37,008 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:37,021 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5ea22dc9-55c5-41d2-b6c5-fefdf8170f9d 2025-06-07 08:10:37,031 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5ea22dc9-55c5-41d2-b6c5-fefdf8170f9d 2025-06-07 08:10:37,040 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b675f0b7-8a80-4e9b-bf0c-9472ae545000 2025-06-07 08:10:37,047 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-07 08:10:37,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:37,056 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5ea22dc9-55c5-41d2-b6c5-fefdf8170f9d 2025-06-07 08:10:37,078 - INFO - Verified VN network id 8 for VN a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:37,078 - INFO - Verifications in API Server for VN ctest-vn-46134620 passed 2025-06-07 08:10:37,078 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:37,088 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5ea22dc9-55c5-41d2-b6c5-fefdf8170f9d 2025-06-07 08:10:37,096 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5ea22dc9-55c5-41d2-b6c5-fefdf8170f9d 2025-06-07 08:10:37,105 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b675f0b7-8a80-4e9b-bf0c-9472ae545000 2025-06-07 08:10:37,119 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03863032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11870521440907773607', 'uuid-lslong': '13789712019106344424'}, 'enable': 'true', 'created': '2025-06-07T08:10:34', 'last-modified': '2025-06-07T08:10:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993443'} 2025-06-07 08:10:37,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-07 08:10:37,126 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46134620 passed 2025-06-07 08:10:37,126 - DEBUG - ====Verifying policy data for ctest-vn-46134620 in API_Server ====== 2025-06-07 08:10:37,126 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:10:37,132 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f0f5d666-0930-4ec3-a422-aaade413336b 2025-06-07 08:10:37,147 - DEBUG - Requesting: http://10.0.0.254:8082/project/f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:10:37,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4bc905b-97f7-46a7-bf5e-e60535c4ade8 2025-06-07 08:10:37,232 - DEBUG - ==>Verifying data for policy with id: 64214e09-a14f-42a9-b60b-fe8445e7d6a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-policy-allow-all-51795121'] 2025-06-07 08:10:37,232 - INFO - VN ctest-vn-46134620 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-07 08:10:37,232 - DEBUG - Verifying the vn in opserver 2025-06-07 08:10:37,232 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620 virtual network link through opserver 10.0.0.254 2025-06-07 08:10:37,233 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-07 08:10:37,526 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-07 08:10:37,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620?flat'} 2025-06-07 08:10:37,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620 is found in opserver 2025-06-07 08:10:37,596 - DEBUG - Do not have enough data to verify VN in agent 2025-06-07 08:10:37,602 - DEBUG - VRF ids for VN ctest-vn-46134620: {} 2025-06-07 08:10:37,602 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:10:37,608 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f0f5d666-0930-4ec3-a422-aaade413336b 2025-06-07 08:10:37,619 - DEBUG - Requesting: http://10.0.0.254:8082/project/f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:10:37,689 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:37,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:37,711 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac398638-649e-499a-8508-fbaf30ad0bf5 2025-06-07 08:10:37,719 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac398638-649e-499a-8508-fbaf30ad0bf5 2025-06-07 08:10:37,726 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/17bdd8f1-d137-4b49-8b36-524e5160beab 2025-06-07 08:10:37,734 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-07 08:10:37,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:37,743 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac398638-649e-499a-8508-fbaf30ad0bf5 2025-06-07 08:10:37,757 - INFO - Verified VN network id 9 for VN 2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:37,757 - INFO - Verifications in API Server for VN ctest-vn-91862985 passed 2025-06-07 08:10:37,757 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:37,766 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac398638-649e-499a-8508-fbaf30ad0bf5 2025-06-07 08:10:37,773 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac398638-649e-499a-8508-fbaf30ad0bf5 2025-06-07 08:10:37,779 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/17bdd8f1-d137-4b49-8b36-524e5160beab 2025-06-07 08:10:37,791 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-91862985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03863032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3431241178750272754', 'uuid-lslong': '12919311870849658482'}, 'enable': 'true', 'created': '2025-06-07T08:10:35', 'last-modified': '2025-06-07T08:10:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435596'} 2025-06-07 08:10:37,797 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-07 08:10:37,797 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91862985 passed 2025-06-07 08:10:37,797 - DEBUG - ====Verifying policy data for ctest-vn-91862985 in API_Server ====== 2025-06-07 08:10:37,797 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:10:37,803 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f0f5d666-0930-4ec3-a422-aaade413336b 2025-06-07 08:10:37,814 - DEBUG - Requesting: http://10.0.0.254:8082/project/f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:10:37,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 2025-06-07 08:10:37,905 - DEBUG - ==>Verifying data for policy with id: 64214e09-a14f-42a9-b60b-fe8445e7d6a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-03863032', 'ctest-policy-allow-all-51795121'] 2025-06-07 08:10:37,905 - INFO - VN ctest-vn-91862985 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-07 08:10:37,905 - DEBUG - Verifying the vn in opserver 2025-06-07 08:10:37,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-91862985 virtual network link through opserver 10.0.0.254 2025-06-07 08:10:37,905 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-07 08:10:37,917 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-91862985', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-91862985?flat'} 2025-06-07 08:10:37,917 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-91862985 is found in opserver 2025-06-07 08:10:37,928 - DEBUG - Do not have enough data to verify VN in agent 2025-06-07 08:10:37,933 - DEBUG - VRF ids for VN ctest-vn-91862985: {} 2025-06-07 08:10:37,987 - DEBUG - Services list from nova: [, , ] 2025-06-07 08:10:38,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3409-1) 2025-06-07 08:10:40,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3409-1) 2025-06-07 08:10:40,200 - INFO - Waiting for VM ctest-TestBasicPolicy-03863032-98095238 to be up.. 2025-06-07 08:10:40,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-07 08:10:45,369 - DEBUG - VM is in ACTIVE state now 2025-06-07 08:10:45,369 - INFO - VM name : ctest-TestBasicPolicy-03863032-98095238 2025-06-07 08:10:45,453 - DEBUG - VM ctest-TestBasicPolicy-03863032-98095238 ID is b6af96b0-ec66-4f21-85d8-db3ab95743e5 2025-06-07 08:10:45,479 - DEBUG - VM ctest-TestBasicPolicy-03863032-98095238 launched on Node cn-jenkins-deploy-platform-ansible-os-3409-1 2025-06-07 08:10:45,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b6af96b0-ec66-4f21-85d8-db3ab95743e5 2025-06-07 08:10:45,575 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ceee34c3-b008-40ed-aedd-bdae3ab90554 2025-06-07 08:10:48,842 - 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 1022ms') 2025-06-07 08:10:48,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03863032-98095238 failed! 2025-06-07 08:10:48,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03863032:ctest-vn-46134620 is 51.122.31.129 and allocation pool is NOT set 2025-06-07 08:10:50,954 - 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.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/5.205/10.016/4.810 ms') 2025-06-07 08:10:50,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03863032-98095238 passed 2025-06-07 08:10:51,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 08:10:51,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03863032-98095238, IP 51.122.31.131, Port 22 2025-06-07 08:10:51,263 - DEBUG - VM ctest-TestBasicPolicy-03863032-98095238 is ready for SSH connections 2025-06-07 08:10:51,263 - INFO - Waiting for VM ctest-TestBasicPolicy-03863032-30105776 to be up.. 2025-06-07 08:10:51,337 - DEBUG - VM is in ACTIVE state now 2025-06-07 08:10:51,337 - INFO - VM name : ctest-TestBasicPolicy-03863032-30105776 2025-06-07 08:10:51,417 - DEBUG - VM ctest-TestBasicPolicy-03863032-30105776 ID is 09d93805-be40-4e9e-b605-59738ac0ab0d 2025-06-07 08:10:51,417 - DEBUG - VM ctest-TestBasicPolicy-03863032-30105776 launched on Node cn-jenkins-deploy-platform-ansible-os-3409-1 2025-06-07 08:10:51,498 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/09d93805-be40-4e9e-b605-59738ac0ab0d 2025-06-07 08:10:51,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c8e4ad1-d034-499f-a1fa-5518b1b0f627 2025-06-07 08:10:52,748 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.549/2.685/1.136 ms') 2025-06-07 08:10:52,748 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03863032-30105776 passed 2025-06-07 08:10:52,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 08:10:52,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03863032-30105776, IP 198.84.95.131, Port 22 2025-06-07 08:10:53,051 - DEBUG - VM ctest-TestBasicPolicy-03863032-30105776 is ready for SSH connections 2025-06-07 08:10:53,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 08:10:53,051 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.84.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-07 08:10:53,051 - DEBUG - ping -s 56 -c 3 -W 1 198.84.95.131 2025-06-07 08:10:56,699 - DEBUG - PING 198.84.95.131 (198.84.95.131): 56 data bytes 64 bytes from 198.84.95.131: seq=0 ttl=63 time=3.463 ms 64 bytes from 198.84.95.131: seq=1 ttl=63 time=0.920 ms 64 bytes from 198.84.95.131: seq=2 ttl=63 time=0.959 ms --- 198.84.95.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.780/3.463 ms 2025-06-07 08:10:56,699 - INFO - Ping to IP 198.84.95.131 from VM ctest-TestBasicPolicy-03863032-98095238 passed 2025-06-07 08:10:56,899 - DEBUG - Policy Update Response {"network-policy": {"uuid": "64214e09-a14f-42a9-b60b-fe8445e7d6a8", "href": "http://10.0.0.254:8082/network-policy/64214e09-a14f-42a9-b60b-fe8445e7d6a8"}} 2025-06-07 08:10:56,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 08:10:56,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.84.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-07 08:10:56,899 - DEBUG - ping -s 56 -c 3 -W 1 198.84.95.131 2025-06-07 08:11:00,103 - DEBUG - PING 198.84.95.131 (198.84.95.131): 56 data bytes --- 198.84.95.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-07 08:11:00,103 - WARNING - Ping to IP 198.84.95.131 from VM ctest-TestBasicPolicy-03863032-98095238 failed 2025-06-07 08:11:00,103 - INFO - Deleting VM ctest-TestBasicPolicy-03863032-30105776 2025-06-07 08:11:00,169 - INFO - Deleting VM ctest-TestBasicPolicy-03863032-98095238 2025-06-07 08:11:00,583 - INFO - Deleted policy ctest-policy-allow-all-51795121 2025-06-07 08:11:00,583 - INFO - Deleting VN ctest-vn-91862985 2025-06-07 08:11:00,615 - DEBUG - VN 2f9e37ac-2e1a-44f2-b34a-9db2747b2e72 still in use: Unable to complete operation on network 2f9e37ac-2e1a-44f2-b34a-9db2747b2e72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8698df64-c200-4fc2-980f-ecdfcbf9448f'] 2025-06-07 08:11:00,615 - WARNING - Deleting VN ctest-vn-91862985 failed..Will retry 2025-06-07 08:11:02,730 - DEBUG - Response for deleting network () 2025-06-07 08:11:02,730 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac398638-649e-499a-8508-fbaf30ad0bf5 2025-06-07 08:11:02,737 - DEBUG - Response Code: 404 2025-06-07 08:11:02,737 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:11:02,745 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f0f5d666-0930-4ec3-a422-aaade413336b 2025-06-07 08:11:02,805 - DEBUG - Requesting: http://10.0.0.254:8082/project/f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:11:02,883 - INFO - Validated that VN ctest-vn-91862985 is not found in API Server 2025-06-07 08:11:02,895 - DEBUG - VN ctest-vn-91862985 is not present in Agent 10.0.0.254 2025-06-07 08:11:02,895 - INFO - Validated that VN ctest-vn-91862985 is not in any agent 2025-06-07 08:11:02,911 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91862985 info 2025-06-07 08:11:02,911 - INFO - Deleting VN ctest-vn-46134620 2025-06-07 08:11:03,030 - DEBUG - Response for deleting network () 2025-06-07 08:11:03,030 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5ea22dc9-55c5-41d2-b6c5-fefdf8170f9d 2025-06-07 08:11:03,037 - DEBUG - Response Code: 404 2025-06-07 08:11:03,037 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-07 08:11:03,043 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f0f5d666-0930-4ec3-a422-aaade413336b 2025-06-07 08:11:03,101 - DEBUG - Requesting: http://10.0.0.254:8082/project/f49ef475-1693-426d-a299-d91ce35b98d8 2025-06-07 08:11:03,178 - INFO - Validated that VN ctest-vn-46134620 is not found in API Server 2025-06-07 08:11:03,190 - DEBUG - VN ctest-vn-46134620 is not present in Agent 10.0.0.254 2025-06-07 08:11:03,190 - INFO - Validated that VN ctest-vn-46134620 is not in any agent 2025-06-07 08:11:03,208 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46134620 info 2025-06-07 08:11:03,460 - DEBUG - No XMPP flaps were noticed during the test 2025-06-07 08:11:03,460 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-07 08:11:03,460 - INFO - -------------------------------------------------------------------------------- 2025-06-07 08:11:04,173 - INFO - Deleted project: ctest-TestBasicPolicy-03863032, ID : f49ef475-1693-426d-a299-d91ce35b98d8