2025-06-24 10:09:56,110 - INFO - Domain Default found not creating 2025-06-24 10:09:56,269 - INFO - Project ctest-TestBasicPolicy-11490992 not found, creating it 2025-06-24 10:09:56,743 - INFO - Created Project:ctest-TestBasicPolicy-11490992, ID : c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:09:58,200 - INFO - ================================================================================ 2025-06-24 10:09:58,200 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 10:09:58,200 - 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-24 10:09:58,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-24 10:09:58,458 - INFO - Initial checks done. Running the testcase now 2025-06-24 10:09:58,458 - INFO - 2025-06-24 10:09:59,037 - DEBUG - Response for create_network : {'network': {'id': 'dc68039e-a361-45b9-a38e-7e52c8c7d578', 'name': 'ctest-vn-67020364', 'tenant_id': 'c046cae63b654283801d7f40e2107a84', 'project_id': 'c046cae63b654283801d7f40e2107a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-vn-67020364'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 10:09:59,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '29716cc0-e97b-40d9-a31a-f28d8bb2c294', 'name': '', 'tenant_id': 'c046cae63b654283801d7f40e2107a84', 'network_id': 'dc68039e-a361-45b9-a38e-7e52c8c7d578', 'ip_version': 4, 'cidr': '187.30.34.128/26', 'allocation_pools': [{'start': '187.30.34.130', 'end': '187.30.34.190'}], 'gateway_ip': '187.30.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.30.34.130', 'tags': [], 'project_id': 'c046cae63b654283801d7f40e2107a84'}} 2025-06-24 10:09:59,409 - INFO - Created VN ctest-vn-67020364 2025-06-24 10:09:59,464 - DEBUG - VN ctest-vn-67020364 UUID is dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:09:59,747 - DEBUG - Response for create_network : {'network': {'id': '5935dce1-9b46-40f3-a7e1-0d132828df24', 'name': 'ctest-vn-69730352', 'tenant_id': 'c046cae63b654283801d7f40e2107a84', 'project_id': 'c046cae63b654283801d7f40e2107a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-vn-69730352'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 10:09:59,927 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a332ed49-5810-479d-8a4c-ff6377ef0909', 'name': '', 'tenant_id': 'c046cae63b654283801d7f40e2107a84', 'network_id': '5935dce1-9b46-40f3-a7e1-0d132828df24', 'ip_version': 4, 'cidr': '52.141.223.192/26', 'allocation_pools': [{'start': '52.141.223.194', 'end': '52.141.223.254'}], 'gateway_ip': '52.141.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.141.223.194', 'tags': [], 'project_id': 'c046cae63b654283801d7f40e2107a84'}} 2025-06-24 10:09:59,944 - INFO - Created VN ctest-vn-69730352 2025-06-24 10:10:00,000 - DEBUG - VN ctest-vn-69730352 UUID is 5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:00,126 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364, 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-11490992:ctest-vn-69730352, 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-24 10:10:00,435 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc68039e-a361-45b9-a38e-7e52c8c7d578', 'name': 'ctest-vn-67020364', 'tenant_id': 'c046cae63b654283801d7f40e2107a84', 'project_id': 'c046cae63b654283801d7f40e2107a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29716cc0-e97b-40d9-a31a-f28d8bb2c294'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-vn-67020364'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-policy-allow-all-10673150']], 'subnet_ipam': [{'subnet_cidr': '187.30.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 10:10:00,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5935dce1-9b46-40f3-a7e1-0d132828df24', 'name': 'ctest-vn-69730352', 'tenant_id': 'c046cae63b654283801d7f40e2107a84', 'project_id': 'c046cae63b654283801d7f40e2107a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a332ed49-5810-479d-8a4c-ff6377ef0909'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-vn-69730352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-policy-allow-all-10673150']], 'subnet_ipam': [{'subnet_cidr': '52.141.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 10:10:00,856 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:01,174 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:01,209 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a7d582e-130b-441b-9b56-70c285b56429 2025-06-24 10:10:01,226 - DEBUG - Requesting: http://10.0.0.38:8082/project/c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:10:01,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:10:01,317 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:10:01,329 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/739f3c9f-ad34-40a0-8621-aa7b8cc0e23e 2025-06-24 10:10:01,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/739f3c9f-ad34-40a0-8621-aa7b8cc0e23e 2025-06-24 10:10:01,347 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b2d1e31f-f7da-47e3-a8c4-6fec41cc9c90 2025-06-24 10:10:01,356 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 10:10:01,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:10:01,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/739f3c9f-ad34-40a0-8621-aa7b8cc0e23e 2025-06-24 10:10:01,385 - INFO - Verified VN network id 8 for VN dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:10:01,385 - INFO - Verifications in API Server for VN ctest-vn-67020364 passed 2025-06-24 10:10:01,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:10:01,397 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/739f3c9f-ad34-40a0-8621-aa7b8cc0e23e 2025-06-24 10:10:01,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/739f3c9f-ad34-40a0-8621-aa7b8cc0e23e 2025-06-24 10:10:01,413 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b2d1e31f-f7da-47e3-a8c4-6fec41cc9c90 2025-06-24 10:10:01,426 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11490992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15881948065802831289', 'uuid-lslong': '11785496168896124280'}, 'enable': 'true', 'created': '2025-06-24T10:09:58', 'last-modified': '2025-06-24T10:10:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036331'} 2025-06-24 10:10:01,432 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 10:10:01,432 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67020364 passed 2025-06-24 10:10:01,432 - DEBUG - ====Verifying policy data for ctest-vn-67020364 in API_Server ====== 2025-06-24 10:10:01,432 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:01,438 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a7d582e-130b-441b-9b56-70c285b56429 2025-06-24 10:10:01,451 - DEBUG - Requesting: http://10.0.0.38:8082/project/c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:10:01,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc68039e-a361-45b9-a38e-7e52c8c7d578 2025-06-24 10:10:01,543 - DEBUG - ==>Verifying data for policy with id: 87475961-2f3d-443a-af0f-cd4a16679f3d, fqn: ['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-policy-allow-all-10673150'] 2025-06-24 10:10:01,543 - INFO - VN ctest-vn-67020364 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 10:10:01,543 - DEBUG - Verifying the vn in opserver 2025-06-24 10:10:01,544 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364 virtual network link through opserver 10.0.0.38 2025-06-24 10:10:01,544 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 10:10:01,858 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 10:10:01,912 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364?flat'} 2025-06-24 10:10:01,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364 is found in opserver 2025-06-24 10:10:01,923 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 10:10:01,929 - DEBUG - VRF ids for VN ctest-vn-67020364: {} 2025-06-24 10:10:01,930 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:01,936 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a7d582e-130b-441b-9b56-70c285b56429 2025-06-24 10:10:01,951 - DEBUG - Requesting: http://10.0.0.38:8082/project/c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:10:02,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:02,042 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:02,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab958e20-1a94-464b-a94f-afe721daaff6 2025-06-24 10:10:02,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab958e20-1a94-464b-a94f-afe721daaff6 2025-06-24 10:10:02,075 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd1ee4b6-62f4-44db-bbe3-0e507fe7d07c 2025-06-24 10:10:02,084 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 10:10:02,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:02,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab958e20-1a94-464b-a94f-afe721daaff6 2025-06-24 10:10:02,117 - INFO - Verified VN network id 9 for VN 5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:02,118 - INFO - Verifications in API Server for VN ctest-vn-69730352 passed 2025-06-24 10:10:02,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:02,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab958e20-1a94-464b-a94f-afe721daaff6 2025-06-24 10:10:02,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab958e20-1a94-464b-a94f-afe721daaff6 2025-06-24 10:10:02,146 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd1ee4b6-62f4-44db-bbe3-0e507fe7d07c 2025-06-24 10:10:02,159 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-69730352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11490992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6428286904672076019', 'uuid-lslong': '12096964450023169828'}, 'enable': 'true', 'created': '2025-06-24T10:09:59', 'last-modified': '2025-06-24T10:10:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.540614'} 2025-06-24 10:10:02,165 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 10:10:02,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69730352 passed 2025-06-24 10:10:02,166 - DEBUG - ====Verifying policy data for ctest-vn-69730352 in API_Server ====== 2025-06-24 10:10:02,166 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:02,173 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a7d582e-130b-441b-9b56-70c285b56429 2025-06-24 10:10:02,189 - DEBUG - Requesting: http://10.0.0.38:8082/project/c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:10:02,260 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5935dce1-9b46-40f3-a7e1-0d132828df24 2025-06-24 10:10:02,272 - DEBUG - ==>Verifying data for policy with id: 87475961-2f3d-443a-af0f-cd4a16679f3d, fqn: ['default-domain', 'ctest-TestBasicPolicy-11490992', 'ctest-policy-allow-all-10673150'] 2025-06-24 10:10:02,272 - INFO - VN ctest-vn-69730352 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 10:10:02,272 - DEBUG - Verifying the vn in opserver 2025-06-24 10:10:02,272 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-69730352 virtual network link through opserver 10.0.0.38 2025-06-24 10:10:02,272 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 10:10:02,283 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-69730352', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-69730352?flat'} 2025-06-24 10:10:02,283 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-69730352 is found in opserver 2025-06-24 10:10:02,294 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 10:10:02,300 - DEBUG - VRF ids for VN ctest-vn-69730352: {} 2025-06-24 10:10:02,374 - DEBUG - Services list from nova: [, , ] 2025-06-24 10:10:03,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3529-1) 2025-06-24 10:10:04,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3529-1) 2025-06-24 10:10:04,700 - INFO - Waiting for VM ctest-TestBasicPolicy-11490992-32430863 to be up.. 2025-06-24 10:10:04,780 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 10:10:09,861 - DEBUG - VM is in ACTIVE state now 2025-06-24 10:10:09,861 - INFO - VM name : ctest-TestBasicPolicy-11490992-32430863 2025-06-24 10:10:09,943 - DEBUG - VM ctest-TestBasicPolicy-11490992-32430863 ID is 6a679646-815d-4c45-8dfb-bfe09d0ebccb 2025-06-24 10:10:09,961 - DEBUG - VM ctest-TestBasicPolicy-11490992-32430863 launched on Node cn-jenkins-deploy-platform-ansible-os-3529-1 2025-06-24 10:10:10,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6a679646-815d-4c45-8dfb-bfe09d0ebccb 2025-06-24 10:10:10,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/73d68dd9-2608-4e39-a8f9-6cb76049cef4 2025-06-24 10:10:13,310 - 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 1016ms') 2025-06-24 10:10:13,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11490992-32430863 failed! 2025-06-24 10:10:13,364 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11490992:ctest-vn-67020364 is 187.30.34.129 and allocation pool is NOT set 2025-06-24 10:10:15,421 - 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=4.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.811 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.811/2.647/4.483/1.836 ms') 2025-06-24 10:10:15,421 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11490992-32430863 passed 2025-06-24 10:10:15,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:10:15,572 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11490992-32430863, IP 187.30.34.131, Port 22 2025-06-24 10:10:15,724 - DEBUG - VM ctest-TestBasicPolicy-11490992-32430863 is ready for SSH connections 2025-06-24 10:10:15,724 - INFO - Waiting for VM ctest-TestBasicPolicy-11490992-65636198 to be up.. 2025-06-24 10:10:15,803 - DEBUG - VM is in ACTIVE state now 2025-06-24 10:10:15,803 - INFO - VM name : ctest-TestBasicPolicy-11490992-65636198 2025-06-24 10:10:15,878 - DEBUG - VM ctest-TestBasicPolicy-11490992-65636198 ID is 4e94f53b-ae13-4cf6-9963-38238e01c60f 2025-06-24 10:10:15,878 - DEBUG - VM ctest-TestBasicPolicy-11490992-65636198 launched on Node cn-jenkins-deploy-platform-ansible-os-3529-1 2025-06-24 10:10:15,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4e94f53b-ae13-4cf6-9963-38238e01c60f 2025-06-24 10:10:15,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/27652b92-887d-4247-a3ae-c81978c1f6a5 2025-06-24 10:10:17,205 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.574/2.749/1.175 ms') 2025-06-24 10:10:17,205 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11490992-65636198 passed 2025-06-24 10:10:17,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:10:17,360 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11490992-65636198, IP 52.141.223.195, Port 22 2025-06-24 10:10:17,511 - DEBUG - VM ctest-TestBasicPolicy-11490992-65636198 is ready for SSH connections 2025-06-24 10:10:17,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:10:17,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.141.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 10:10:17,512 - DEBUG - ping -s 56 -c 3 -W 1 52.141.223.195 2025-06-24 10:10:21,609 - DEBUG - PING 52.141.223.195 (52.141.223.195): 56 data bytes 64 bytes from 52.141.223.195: seq=0 ttl=63 time=3.830 ms 64 bytes from 52.141.223.195: seq=1 ttl=63 time=0.833 ms 64 bytes from 52.141.223.195: seq=2 ttl=63 time=0.823 ms --- 52.141.223.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.828/3.830 ms 2025-06-24 10:10:21,610 - INFO - Ping to IP 52.141.223.195 from VM ctest-TestBasicPolicy-11490992-32430863 passed 2025-06-24 10:10:21,812 - DEBUG - Policy Update Response {"network-policy": {"uuid": "87475961-2f3d-443a-af0f-cd4a16679f3d", "href": "http://10.0.0.38:8082/network-policy/87475961-2f3d-443a-af0f-cd4a16679f3d"}} 2025-06-24 10:10:21,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:10:21,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.141.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 10:10:21,812 - DEBUG - ping -s 56 -c 3 -W 1 52.141.223.195 2025-06-24 10:10:25,025 - DEBUG - PING 52.141.223.195 (52.141.223.195): 56 data bytes --- 52.141.223.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-24 10:10:25,026 - WARNING - Ping to IP 52.141.223.195 from VM ctest-TestBasicPolicy-11490992-32430863 failed 2025-06-24 10:10:25,026 - INFO - Deleting VM ctest-TestBasicPolicy-11490992-65636198 2025-06-24 10:10:25,099 - INFO - Deleting VM ctest-TestBasicPolicy-11490992-32430863 2025-06-24 10:10:25,511 - INFO - Deleted policy ctest-policy-allow-all-10673150 2025-06-24 10:10:25,511 - INFO - Deleting VN ctest-vn-69730352 2025-06-24 10:10:25,555 - DEBUG - VN 5935dce1-9b46-40f3-a7e1-0d132828df24 still in use: Unable to complete operation on network 5935dce1-9b46-40f3-a7e1-0d132828df24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb06bd6c-2047-4d45-958b-60cbe4816e66'] 2025-06-24 10:10:25,555 - WARNING - Deleting VN ctest-vn-69730352 failed..Will retry 2025-06-24 10:10:27,668 - DEBUG - Response for deleting network () 2025-06-24 10:10:27,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab958e20-1a94-464b-a94f-afe721daaff6 2025-06-24 10:10:27,674 - DEBUG - Response Code: 404 2025-06-24 10:10:27,674 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:27,686 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a7d582e-130b-441b-9b56-70c285b56429 2025-06-24 10:10:27,746 - DEBUG - Requesting: http://10.0.0.38:8082/project/c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:10:27,829 - INFO - Validated that VN ctest-vn-69730352 is not found in API Server 2025-06-24 10:10:27,842 - DEBUG - VN ctest-vn-69730352 is not present in Agent 10.0.0.38 2025-06-24 10:10:27,842 - INFO - Validated that VN ctest-vn-69730352 is not in any agent 2025-06-24 10:10:27,858 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69730352 info 2025-06-24 10:10:27,858 - INFO - Deleting VN ctest-vn-67020364 2025-06-24 10:10:27,991 - DEBUG - Response for deleting network () 2025-06-24 10:10:27,991 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/739f3c9f-ad34-40a0-8621-aa7b8cc0e23e 2025-06-24 10:10:28,004 - DEBUG - Response Code: 404 2025-06-24 10:10:28,005 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 10:10:28,013 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a7d582e-130b-441b-9b56-70c285b56429 2025-06-24 10:10:28,070 - DEBUG - Requesting: http://10.0.0.38:8082/project/c046cae6-3b65-4283-801d-7f40e2107a84 2025-06-24 10:10:28,148 - INFO - Validated that VN ctest-vn-67020364 is not found in API Server 2025-06-24 10:10:28,158 - DEBUG - VN ctest-vn-67020364 is not present in Agent 10.0.0.38 2025-06-24 10:10:28,158 - INFO - Validated that VN ctest-vn-67020364 is not in any agent 2025-06-24 10:10:28,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67020364 info 2025-06-24 10:10:28,442 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 10:10:28,443 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-24 10:10:28,443 - INFO - -------------------------------------------------------------------------------- 2025-06-24 10:10:29,158 - INFO - Deleted project: ctest-TestBasicPolicy-11490992, ID : c046cae6-3b65-4283-801d-7f40e2107a84