2025-09-11 12:05:25,942 - INFO - Domain Default found not creating 2025-09-11 12:05:26,082 - INFO - Project ctest-TestBasicPolicy-26750572 not found, creating it 2025-09-11 12:05:26,525 - INFO - Created Project:ctest-TestBasicPolicy-26750572, ID : 6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:27,905 - INFO - ================================================================================ 2025-09-11 12:05:27,905 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 12:05:27,905 - 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-09-11 12:05:28,165 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 12:05:28,165 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:05:28,165 - INFO - 2025-09-11 12:05:28,690 - DEBUG - Response for create_network : {'network': {'id': 'd234b59a-5fdb-47fe-b629-69d935bc3f08', 'name': 'ctest-vn-90683007', 'tenant_id': '6955806edcb04d559bd419b93fa3f9a0', 'project_id': '6955806edcb04d559bd419b93fa3f9a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-vn-90683007'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:05:28,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '0af44bcc-5072-4bb0-8b8e-ab3a9fd27a74', 'name': '', 'tenant_id': '6955806edcb04d559bd419b93fa3f9a0', 'network_id': 'd234b59a-5fdb-47fe-b629-69d935bc3f08', 'ip_version': 4, 'cidr': '50.40.12.128/26', 'allocation_pools': [{'start': '50.40.12.130', 'end': '50.40.12.190'}], 'gateway_ip': '50.40.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.40.12.130', 'tags': [], 'project_id': '6955806edcb04d559bd419b93fa3f9a0'}} 2025-09-11 12:05:28,889 - INFO - Created VN ctest-vn-90683007 2025-09-11 12:05:28,939 - DEBUG - VN ctest-vn-90683007 UUID is d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:29,254 - DEBUG - Response for create_network : {'network': {'id': '017c56b0-4d0a-4c0e-8ec3-6072cd192748', 'name': 'ctest-vn-49165099', 'tenant_id': '6955806edcb04d559bd419b93fa3f9a0', 'project_id': '6955806edcb04d559bd419b93fa3f9a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-vn-49165099'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:05:29,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fe32dec-47e5-48c5-8f2f-71a9bd5be8a5', 'name': '', 'tenant_id': '6955806edcb04d559bd419b93fa3f9a0', 'network_id': '017c56b0-4d0a-4c0e-8ec3-6072cd192748', 'ip_version': 4, 'cidr': '55.221.42.192/26', 'allocation_pools': [{'start': '55.221.42.194', 'end': '55.221.42.254'}], 'gateway_ip': '55.221.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.221.42.194', 'tags': [], 'project_id': '6955806edcb04d559bd419b93fa3f9a0'}} 2025-09-11 12:05:29,415 - INFO - Created VN ctest-vn-49165099 2025-09-11 12:05:29,467 - DEBUG - VN ctest-vn-49165099 UUID is 017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:29,619 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007, 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-26750572:ctest-vn-49165099, 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-09-11 12:05:29,918 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd234b59a-5fdb-47fe-b629-69d935bc3f08', 'name': 'ctest-vn-90683007', 'tenant_id': '6955806edcb04d559bd419b93fa3f9a0', 'project_id': '6955806edcb04d559bd419b93fa3f9a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0af44bcc-5072-4bb0-8b8e-ab3a9fd27a74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-vn-90683007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-policy-allow-all-37389216']], 'subnet_ipam': [{'subnet_cidr': '50.40.12.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:05:30,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '017c56b0-4d0a-4c0e-8ec3-6072cd192748', 'name': 'ctest-vn-49165099', 'tenant_id': '6955806edcb04d559bd419b93fa3f9a0', 'project_id': '6955806edcb04d559bd419b93fa3f9a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9fe32dec-47e5-48c5-8f2f-71a9bd5be8a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-vn-49165099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-policy-allow-all-37389216']], 'subnet_ipam': [{'subnet_cidr': '55.221.42.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:05:30,327 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:30,622 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:30,648 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4fb5838d-32cc-41f1-a228-fe62c48cd237 2025-09-11 12:05:30,659 - DEBUG - Requesting: http://10.0.0.22:8082/project/6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:30,728 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:30,738 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:30,746 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/02bd34d6-1fec-41c6-a03a-28137547bec6 2025-09-11 12:05:30,752 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/02bd34d6-1fec-41c6-a03a-28137547bec6 2025-09-11 12:05:30,758 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fa3e0cb5-5eb1-4a1e-adbe-bf9c74940420 2025-09-11 12:05:30,764 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 12:05:30,764 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:30,771 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/02bd34d6-1fec-41c6-a03a-28137547bec6 2025-09-11 12:05:30,783 - INFO - Verified VN network id 12 for VN d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:30,783 - INFO - Verifications in API Server for VN ctest-vn-90683007 passed 2025-09-11 12:05:30,783 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:30,793 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/02bd34d6-1fec-41c6-a03a-28137547bec6 2025-09-11 12:05:30,799 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/02bd34d6-1fec-41c6-a03a-28137547bec6 2025-09-11 12:05:30,805 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fa3e0cb5-5eb1-4a1e-adbe-bf9c74940420 2025-09-11 12:05:30,816 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26750572', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15146931121391618046', 'uuid-lslong': '13126138970578370312'}, 'enable': 'true', 'created': '2025-09-11T12:05:28', 'last-modified': '2025-09-11T12:05:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918480'} 2025-09-11 12:05:30,822 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 12:05:30,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90683007 passed 2025-09-11 12:05:30,823 - DEBUG - ====Verifying policy data for ctest-vn-90683007 in API_Server ====== 2025-09-11 12:05:30,823 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:30,828 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4fb5838d-32cc-41f1-a228-fe62c48cd237 2025-09-11 12:05:30,840 - DEBUG - Requesting: http://10.0.0.22:8082/project/6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:30,908 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d234b59a-5fdb-47fe-b629-69d935bc3f08 2025-09-11 12:05:30,916 - DEBUG - ==>Verifying data for policy with id: 2cad4237-f8a2-4834-bf34-4ad38c369544, fqn: ['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-policy-allow-all-37389216'] 2025-09-11 12:05:30,917 - INFO - VN ctest-vn-90683007 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 12:05:30,917 - DEBUG - Verifying the vn in opserver 2025-09-11 12:05:30,917 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007 virtual network link through opserver 10.0.0.22 2025-09-11 12:05:30,917 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 12:05:31,214 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 12:05:31,266 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007?flat'} 2025-09-11 12:05:31,266 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007 is found in opserver 2025-09-11 12:05:31,274 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 12:05:31,278 - DEBUG - VRF ids for VN ctest-vn-90683007: {} 2025-09-11 12:05:31,279 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:31,283 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4fb5838d-32cc-41f1-a228-fe62c48cd237 2025-09-11 12:05:31,293 - DEBUG - Requesting: http://10.0.0.22:8082/project/6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:31,362 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:31,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:31,381 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/15621c10-129d-40f0-8d58-47fbd1db2d05 2025-09-11 12:05:31,387 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/15621c10-129d-40f0-8d58-47fbd1db2d05 2025-09-11 12:05:31,393 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a41a3836-7f7d-43b3-9270-b3579fb5a88a 2025-09-11 12:05:31,399 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 12:05:31,399 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:31,407 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/15621c10-129d-40f0-8d58-47fbd1db2d05 2025-09-11 12:05:31,419 - INFO - Verified VN network id 13 for VN 017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:31,419 - INFO - Verifications in API Server for VN ctest-vn-49165099 passed 2025-09-11 12:05:31,419 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:31,427 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/15621c10-129d-40f0-8d58-47fbd1db2d05 2025-09-11 12:05:31,433 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/15621c10-129d-40f0-8d58-47fbd1db2d05 2025-09-11 12:05:31,439 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a41a3836-7f7d-43b3-9270-b3579fb5a88a 2025-09-11 12:05:31,451 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-49165099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26750572', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '107055806356802574', 'uuid-lslong': '10287172020027860808'}, 'enable': 'true', 'created': '2025-09-11T12:05:29', 'last-modified': '2025-09-11T12:05:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331958'} 2025-09-11 12:05:31,457 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 12:05:31,459 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49165099 passed 2025-09-11 12:05:31,459 - DEBUG - ====Verifying policy data for ctest-vn-49165099 in API_Server ====== 2025-09-11 12:05:31,459 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:31,465 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4fb5838d-32cc-41f1-a228-fe62c48cd237 2025-09-11 12:05:31,478 - DEBUG - Requesting: http://10.0.0.22:8082/project/6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:31,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/017c56b0-4d0a-4c0e-8ec3-6072cd192748 2025-09-11 12:05:31,557 - DEBUG - ==>Verifying data for policy with id: 2cad4237-f8a2-4834-bf34-4ad38c369544, fqn: ['default-domain', 'ctest-TestBasicPolicy-26750572', 'ctest-policy-allow-all-37389216'] 2025-09-11 12:05:31,557 - INFO - VN ctest-vn-49165099 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 12:05:31,557 - DEBUG - Verifying the vn in opserver 2025-09-11 12:05:31,557 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-49165099 virtual network link through opserver 10.0.0.22 2025-09-11 12:05:31,557 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 12:05:31,565 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-49165099', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-49165099?flat'} 2025-09-11 12:05:31,565 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-49165099 is found in opserver 2025-09-11 12:05:31,574 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 12:05:31,578 - DEBUG - VRF ids for VN ctest-vn-49165099: {} 2025-09-11 12:05:31,638 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:05:32,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1) 2025-09-11 12:05:33,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1) 2025-09-11 12:05:33,943 - INFO - Waiting for VM ctest-TestBasicPolicy-26750572-60770826 to be up.. 2025-09-11 12:05:34,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:05:39,108 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:05:39,109 - INFO - VM name : ctest-TestBasicPolicy-26750572-60770826 2025-09-11 12:05:39,182 - DEBUG - VM ctest-TestBasicPolicy-26750572-60770826 ID is 00e088ce-a781-4a0e-a0ca-4d12f69a0a5a 2025-09-11 12:05:39,200 - DEBUG - VM ctest-TestBasicPolicy-26750572-60770826 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1 2025-09-11 12:05:39,275 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/00e088ce-a781-4a0e-a0ca-4d12f69a0a5a 2025-09-11 12:05:39,284 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0bf9d85b-35fd-4aa0-bab1-0f22a9511086 2025-09-11 12:05:42,551 - 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 1026ms') 2025-09-11 12:05:42,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26750572-60770826 failed! 2025-09-11 12:05:42,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26750572:ctest-vn-90683007 is 50.40.12.129 and allocation pool is NOT set 2025-09-11 12:05:44,669 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.698 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.698/1.798/2.899/1.100 ms') 2025-09-11 12:05:44,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26750572-60770826 passed 2025-09-11 12:05:44,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:44,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26750572-60770826, IP 50.40.12.131, Port 22 2025-09-11 12:05:44,994 - DEBUG - VM ctest-TestBasicPolicy-26750572-60770826 is ready for SSH connections 2025-09-11 12:05:44,994 - INFO - Waiting for VM ctest-TestBasicPolicy-26750572-86887711 to be up.. 2025-09-11 12:05:45,073 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:05:45,073 - INFO - VM name : ctest-TestBasicPolicy-26750572-86887711 2025-09-11 12:05:45,148 - DEBUG - VM ctest-TestBasicPolicy-26750572-86887711 ID is 0c2b7f4c-f209-444b-90d6-69b215edf179 2025-09-11 12:05:45,148 - DEBUG - VM ctest-TestBasicPolicy-26750572-86887711 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1 2025-09-11 12:05:45,217 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0c2b7f4c-f209-444b-90d6-69b215edf179 2025-09-11 12:05:45,225 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6122f983-026b-4947-877f-deabbb269421 2025-09-11 12:05:46,465 - 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=5.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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 = 0.432/3.026/5.621/2.594 ms') 2025-09-11 12:05:46,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26750572-86887711 passed 2025-09-11 12:05:46,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:46,619 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26750572-86887711, IP 55.221.42.195, Port 22 2025-09-11 12:05:46,775 - DEBUG - VM ctest-TestBasicPolicy-26750572-86887711 is ready for SSH connections 2025-09-11 12:05:46,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:46,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.221.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 12:05:46,775 - DEBUG - ping -s 56 -c 3 -W 1 55.221.42.195 2025-09-11 12:05:50,480 - DEBUG - PING 55.221.42.195 (55.221.42.195): 56 data bytes 64 bytes from 55.221.42.195: seq=0 ttl=63 time=3.284 ms 64 bytes from 55.221.42.195: seq=1 ttl=63 time=0.796 ms 64 bytes from 55.221.42.195: seq=2 ttl=63 time=0.875 ms --- 55.221.42.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.651/3.284 ms 2025-09-11 12:05:50,480 - INFO - Ping to IP 55.221.42.195 from VM ctest-TestBasicPolicy-26750572-60770826 passed 2025-09-11 12:05:50,651 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2cad4237-f8a2-4834-bf34-4ad38c369544", "href": "http://10.0.0.22:8082/network-policy/2cad4237-f8a2-4834-bf34-4ad38c369544"}} 2025-09-11 12:05:50,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:50,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.221.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 12:05:50,651 - DEBUG - ping -s 56 -c 3 -W 1 55.221.42.195 2025-09-11 12:05:53,866 - DEBUG - PING 55.221.42.195 (55.221.42.195): 56 data bytes --- 55.221.42.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 12:05:53,866 - WARNING - Ping to IP 55.221.42.195 from VM ctest-TestBasicPolicy-26750572-60770826 failed 2025-09-11 12:05:53,866 - INFO - Deleting VM ctest-TestBasicPolicy-26750572-86887711 2025-09-11 12:05:53,927 - INFO - Deleting VM ctest-TestBasicPolicy-26750572-60770826 2025-09-11 12:05:54,281 - INFO - Deleted policy ctest-policy-allow-all-37389216 2025-09-11 12:05:54,281 - INFO - Deleting VN ctest-vn-49165099 2025-09-11 12:05:54,317 - DEBUG - VN 017c56b0-4d0a-4c0e-8ec3-6072cd192748 still in use: Unable to complete operation on network 017c56b0-4d0a-4c0e-8ec3-6072cd192748. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5702f90e-7790-4fda-9fad-682f3f558cac'] 2025-09-11 12:05:54,317 - WARNING - Deleting VN ctest-vn-49165099 failed..Will retry 2025-09-11 12:05:56,403 - DEBUG - Response for deleting network () 2025-09-11 12:05:56,403 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/15621c10-129d-40f0-8d58-47fbd1db2d05 2025-09-11 12:05:56,410 - DEBUG - Response Code: 404 2025-09-11 12:05:56,411 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:56,415 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4fb5838d-32cc-41f1-a228-fe62c48cd237 2025-09-11 12:05:56,469 - DEBUG - Requesting: http://10.0.0.22:8082/project/6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:56,536 - INFO - Validated that VN ctest-vn-49165099 is not found in API Server 2025-09-11 12:05:56,547 - DEBUG - VN ctest-vn-49165099 is not present in Agent 10.0.0.22 2025-09-11 12:05:56,547 - INFO - Validated that VN ctest-vn-49165099 is not in any agent 2025-09-11 12:05:56,559 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49165099 info 2025-09-11 12:05:56,559 - INFO - Deleting VN ctest-vn-90683007 2025-09-11 12:05:56,647 - DEBUG - Response for deleting network () 2025-09-11 12:05:56,647 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/02bd34d6-1fec-41c6-a03a-28137547bec6 2025-09-11 12:05:56,652 - DEBUG - Response Code: 404 2025-09-11 12:05:56,652 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 12:05:56,657 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4fb5838d-32cc-41f1-a228-fe62c48cd237 2025-09-11 12:05:56,712 - DEBUG - Requesting: http://10.0.0.22:8082/project/6955806e-dcb0-4d55-9bd4-19b93fa3f9a0 2025-09-11 12:05:56,782 - INFO - Validated that VN ctest-vn-90683007 is not found in API Server 2025-09-11 12:05:56,791 - DEBUG - VN ctest-vn-90683007 is not present in Agent 10.0.0.22 2025-09-11 12:05:56,791 - INFO - Validated that VN ctest-vn-90683007 is not in any agent 2025-09-11 12:05:56,804 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90683007 info 2025-09-11 12:05:57,056 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 12:05:57,056 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-11 12:05:57,056 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:05:57,723 - INFO - Deleted project: ctest-TestBasicPolicy-26750572, ID : 6955806e-dcb0-4d55-9bd4-19b93fa3f9a0