2025-08-14 09:59:13,365 - INFO - Domain Default found not creating 2025-08-14 09:59:13,501 - INFO - Project ctest-TestBasicPolicy-58123757 not found, creating it 2025-08-14 09:59:13,941 - INFO - Created Project:ctest-TestBasicPolicy-58123757, ID : 53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:15,437 - INFO - ================================================================================ 2025-08-14 09:59:15,437 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 09:59:15,437 - 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-14 09:59:15,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 09:59:15,696 - INFO - Initial checks done. Running the testcase now 2025-08-14 09:59:15,696 - INFO - 2025-08-14 09:59:16,241 - DEBUG - Response for create_network : {'network': {'id': '05846147-6eae-4ef5-bfb1-535fe14ce8d9', 'name': 'ctest-vn-01098622', 'tenant_id': '53162d5295a94631937554a570a63de9', 'project_id': '53162d5295a94631937554a570a63de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-vn-01098622'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 09:59:16,395 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6f448b8-d49b-4d7b-8bd4-1a629b4d6237', 'name': '', 'tenant_id': '53162d5295a94631937554a570a63de9', 'network_id': '05846147-6eae-4ef5-bfb1-535fe14ce8d9', 'ip_version': 4, 'cidr': '28.170.252.0/26', 'allocation_pools': [{'start': '28.170.252.2', 'end': '28.170.252.62'}], 'gateway_ip': '28.170.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.170.252.2', 'tags': [], 'project_id': '53162d5295a94631937554a570a63de9'}} 2025-08-14 09:59:16,411 - INFO - Created VN ctest-vn-01098622 2025-08-14 09:59:16,463 - DEBUG - VN ctest-vn-01098622 UUID is 05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:16,745 - DEBUG - Response for create_network : {'network': {'id': 'b4a242c4-44c7-48b7-9f3a-198b9c76bc66', 'name': 'ctest-vn-88675086', 'tenant_id': '53162d5295a94631937554a570a63de9', 'project_id': '53162d5295a94631937554a570a63de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-vn-88675086'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 09:59:16,947 - DEBUG - Response for create_subnet : {'subnet': {'id': 'facff68f-8c7d-4c94-bf36-3873f70f348f', 'name': '', 'tenant_id': '53162d5295a94631937554a570a63de9', 'network_id': 'b4a242c4-44c7-48b7-9f3a-198b9c76bc66', 'ip_version': 4, 'cidr': '174.196.85.64/26', 'allocation_pools': [{'start': '174.196.85.66', 'end': '174.196.85.126'}], 'gateway_ip': '174.196.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.196.85.66', 'tags': [], 'project_id': '53162d5295a94631937554a570a63de9'}} 2025-08-14 09:59:16,967 - INFO - Created VN ctest-vn-88675086 2025-08-14 09:59:17,019 - DEBUG - VN ctest-vn-88675086 UUID is b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:17,167 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622, 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-58123757:ctest-vn-88675086, 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-14 09:59:17,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05846147-6eae-4ef5-bfb1-535fe14ce8d9', 'name': 'ctest-vn-01098622', 'tenant_id': '53162d5295a94631937554a570a63de9', 'project_id': '53162d5295a94631937554a570a63de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6f448b8-d49b-4d7b-8bd4-1a629b4d6237'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-vn-01098622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-policy-allow-all-67511030']], 'subnet_ipam': [{'subnet_cidr': '28.170.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 09:59:17,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4a242c4-44c7-48b7-9f3a-198b9c76bc66', 'name': 'ctest-vn-88675086', 'tenant_id': '53162d5295a94631937554a570a63de9', 'project_id': '53162d5295a94631937554a570a63de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['facff68f-8c7d-4c94-bf36-3873f70f348f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-vn-88675086'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-policy-allow-all-67511030']], 'subnet_ipam': [{'subnet_cidr': '174.196.85.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 09:59:17,911 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:18,208 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:18,235 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e8d1ecb-fc33-4d5f-b929-2386a4c282ff 2025-08-14 09:59:18,247 - DEBUG - Requesting: http://10.0.0.38:8082/project/53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:18,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:18,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:18,341 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b3145-1b04-4cc7-8edc-ab92d98fd28e 2025-08-14 09:59:18,349 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b3145-1b04-4cc7-8edc-ab92d98fd28e 2025-08-14 09:59:18,356 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c13ff6ce-f979-4a61-8bc6-e20b02b87b70 2025-08-14 09:59:18,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 09:59:18,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:18,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b3145-1b04-4cc7-8edc-ab92d98fd28e 2025-08-14 09:59:18,389 - INFO - Verified VN network id 12 for VN 05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:18,389 - INFO - Verifications in API Server for VN ctest-vn-01098622 passed 2025-08-14 09:59:18,389 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:18,399 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b3145-1b04-4cc7-8edc-ab92d98fd28e 2025-08-14 09:59:18,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b3145-1b04-4cc7-8edc-ab92d98fd28e 2025-08-14 09:59:18,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c13ff6ce-f979-4a61-8bc6-e20b02b87b70 2025-08-14 09:59:18,426 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58123757', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '397549626542935797', 'uuid-lslong': '13812913203388934361'}, 'enable': 'true', 'created': '2025-08-14T09:59:16', 'last-modified': '2025-08-14T09:59:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972013'} 2025-08-14 09:59:18,433 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 09:59:18,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01098622 passed 2025-08-14 09:59:18,433 - DEBUG - ====Verifying policy data for ctest-vn-01098622 in API_Server ====== 2025-08-14 09:59:18,433 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:18,439 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e8d1ecb-fc33-4d5f-b929-2386a4c282ff 2025-08-14 09:59:18,450 - DEBUG - Requesting: http://10.0.0.38:8082/project/53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:18,523 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05846147-6eae-4ef5-bfb1-535fe14ce8d9 2025-08-14 09:59:18,535 - DEBUG - ==>Verifying data for policy with id: c03a6dee-b2c5-4c6e-b02a-6a7c6efa6840, fqn: ['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-policy-allow-all-67511030'] 2025-08-14 09:59:18,535 - INFO - VN ctest-vn-01098622 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 09:59:18,535 - DEBUG - Verifying the vn in opserver 2025-08-14 09:59:18,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622 virtual network link through opserver 10.0.0.38 2025-08-14 09:59:18,535 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-14 09:59:18,830 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-14 09:59:18,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622?flat'} 2025-08-14 09:59:18,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622 is found in opserver 2025-08-14 09:59:18,895 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 09:59:18,900 - DEBUG - VRF ids for VN ctest-vn-01098622: {} 2025-08-14 09:59:18,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:18,905 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e8d1ecb-fc33-4d5f-b929-2386a4c282ff 2025-08-14 09:59:18,916 - DEBUG - Requesting: http://10.0.0.38:8082/project/53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:18,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:19,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:19,011 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/efc2bb8d-efe8-483d-8cfc-5db013344bcf 2025-08-14 09:59:19,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/efc2bb8d-efe8-483d-8cfc-5db013344bcf 2025-08-14 09:59:19,025 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8572a38c-9e7b-488f-a484-e0a9b13be8e3 2025-08-14 09:59:19,031 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 09:59:19,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:19,041 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/efc2bb8d-efe8-483d-8cfc-5db013344bcf 2025-08-14 09:59:19,054 - INFO - Verified VN network id 13 for VN b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:19,054 - INFO - Verifications in API Server for VN ctest-vn-88675086 passed 2025-08-14 09:59:19,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:19,064 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/efc2bb8d-efe8-483d-8cfc-5db013344bcf 2025-08-14 09:59:19,071 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/efc2bb8d-efe8-483d-8cfc-5db013344bcf 2025-08-14 09:59:19,077 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8572a38c-9e7b-488f-a484-e0a9b13be8e3 2025-08-14 09:59:19,089 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-88675086', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58123757', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13016039283789088951', 'uuid-lslong': '11473511088095935590'}, 'enable': 'true', 'created': '2025-08-14T09:59:16', 'last-modified': '2025-08-14T09:59:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395061'} 2025-08-14 09:59:19,095 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 09:59:19,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88675086 passed 2025-08-14 09:59:19,095 - DEBUG - ====Verifying policy data for ctest-vn-88675086 in API_Server ====== 2025-08-14 09:59:19,095 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:19,100 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e8d1ecb-fc33-4d5f-b929-2386a4c282ff 2025-08-14 09:59:19,111 - DEBUG - Requesting: http://10.0.0.38:8082/project/53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:19,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4a242c4-44c7-48b7-9f3a-198b9c76bc66 2025-08-14 09:59:19,190 - DEBUG - ==>Verifying data for policy with id: c03a6dee-b2c5-4c6e-b02a-6a7c6efa6840, fqn: ['default-domain', 'ctest-TestBasicPolicy-58123757', 'ctest-policy-allow-all-67511030'] 2025-08-14 09:59:19,190 - INFO - VN ctest-vn-88675086 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 09:59:19,190 - DEBUG - Verifying the vn in opserver 2025-08-14 09:59:19,190 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-88675086 virtual network link through opserver 10.0.0.38 2025-08-14 09:59:19,190 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-14 09:59:19,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-88675086', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-88675086?flat'} 2025-08-14 09:59:19,200 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-88675086 is found in opserver 2025-08-14 09:59:19,210 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 09:59:19,215 - DEBUG - VRF ids for VN ctest-vn-88675086: {} 2025-08-14 09:59:19,266 - DEBUG - Services list from nova: [, , ] 2025-08-14 09:59:20,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3853-1) 2025-08-14 09:59:21,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3853-1) 2025-08-14 09:59:21,382 - INFO - Waiting for VM ctest-TestBasicPolicy-58123757-01415249 to be up.. 2025-08-14 09:59:21,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 09:59:26,536 - DEBUG - VM is in ACTIVE state now 2025-08-14 09:59:26,536 - INFO - VM name : ctest-TestBasicPolicy-58123757-01415249 2025-08-14 09:59:26,616 - DEBUG - VM ctest-TestBasicPolicy-58123757-01415249 ID is 5dee3b81-8f71-4afc-b958-891775abf577 2025-08-14 09:59:26,637 - DEBUG - VM ctest-TestBasicPolicy-58123757-01415249 launched on Node cn-jenkins-deploy-platform-ansible-os-3853-1 2025-08-14 09:59:26,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5dee3b81-8f71-4afc-b958-891775abf577 2025-08-14 09:59:26,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed946e59-94d4-4198-ad1c-4e678793b6d9 2025-08-14 09:59:29,989 - 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 1015ms') 2025-08-14 09:59:29,989 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58123757-01415249 failed! 2025-08-14 09:59:30,043 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58123757:ctest-vn-01098622 is 28.170.252.1 and allocation pool is NOT set 2025-08-14 09:59:32,105 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.537/2.620/1.083 ms') 2025-08-14 09:59:32,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58123757-01415249 passed 2025-08-14 09:59:32,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:59:32,259 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58123757-01415249, IP 28.170.252.3, Port 22 2025-08-14 09:59:32,414 - DEBUG - VM ctest-TestBasicPolicy-58123757-01415249 is ready for SSH connections 2025-08-14 09:59:32,414 - INFO - Waiting for VM ctest-TestBasicPolicy-58123757-99138874 to be up.. 2025-08-14 09:59:32,485 - DEBUG - VM is in ACTIVE state now 2025-08-14 09:59:32,486 - INFO - VM name : ctest-TestBasicPolicy-58123757-99138874 2025-08-14 09:59:32,553 - DEBUG - VM ctest-TestBasicPolicy-58123757-99138874 ID is 58bd0cdd-6423-4e41-8d56-77058b6340a7 2025-08-14 09:59:32,553 - DEBUG - VM ctest-TestBasicPolicy-58123757-99138874 launched on Node cn-jenkins-deploy-platform-ansible-os-3853-1 2025-08-14 09:59:32,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/58bd0cdd-6423-4e41-8d56-77058b6340a7 2025-08-14 09:59:32,629 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/99acd2a9-edff-432d-96d6-e72426f05c0c 2025-08-14 09:59:33,870 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/2.044/3.680/1.635 ms') 2025-08-14 09:59:33,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58123757-99138874 passed 2025-08-14 09:59:34,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:59:34,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58123757-99138874, IP 174.196.85.67, Port 22 2025-08-14 09:59:34,175 - DEBUG - VM ctest-TestBasicPolicy-58123757-99138874 is ready for SSH connections 2025-08-14 09:59:34,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:59:34,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.196.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 09:59:34,175 - DEBUG - ping -s 56 -c 3 -W 1 174.196.85.67 2025-08-14 09:59:37,844 - DEBUG - PING 174.196.85.67 (174.196.85.67): 56 data bytes 64 bytes from 174.196.85.67: seq=0 ttl=63 time=3.145 ms 64 bytes from 174.196.85.67: seq=1 ttl=63 time=0.830 ms 64 bytes from 174.196.85.67: seq=2 ttl=63 time=0.719 ms --- 174.196.85.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.564/3.145 ms 2025-08-14 09:59:37,844 - INFO - Ping to IP 174.196.85.67 from VM ctest-TestBasicPolicy-58123757-01415249 passed 2025-08-14 09:59:38,018 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c03a6dee-b2c5-4c6e-b02a-6a7c6efa6840", "href": "http://10.0.0.38:8082/network-policy/c03a6dee-b2c5-4c6e-b02a-6a7c6efa6840"}} 2025-08-14 09:59:38,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:59:38,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.196.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 09:59:38,019 - DEBUG - ping -s 56 -c 3 -W 1 174.196.85.67 2025-08-14 09:59:41,221 - DEBUG - PING 174.196.85.67 (174.196.85.67): 56 data bytes --- 174.196.85.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 09:59:41,221 - WARNING - Ping to IP 174.196.85.67 from VM ctest-TestBasicPolicy-58123757-01415249 failed 2025-08-14 09:59:41,221 - INFO - Deleting VM ctest-TestBasicPolicy-58123757-99138874 2025-08-14 09:59:41,285 - INFO - Deleting VM ctest-TestBasicPolicy-58123757-01415249 2025-08-14 09:59:41,644 - INFO - Deleted policy ctest-policy-allow-all-67511030 2025-08-14 09:59:41,644 - INFO - Deleting VN ctest-vn-88675086 2025-08-14 09:59:41,679 - DEBUG - VN b4a242c4-44c7-48b7-9f3a-198b9c76bc66 still in use: Unable to complete operation on network b4a242c4-44c7-48b7-9f3a-198b9c76bc66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24bf6263-b850-4225-93dd-c1e5405df1c2'] 2025-08-14 09:59:41,679 - WARNING - Deleting VN ctest-vn-88675086 failed..Will retry 2025-08-14 09:59:43,775 - DEBUG - Response for deleting network () 2025-08-14 09:59:43,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/efc2bb8d-efe8-483d-8cfc-5db013344bcf 2025-08-14 09:59:43,780 - DEBUG - Response Code: 404 2025-08-14 09:59:43,780 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:43,786 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e8d1ecb-fc33-4d5f-b929-2386a4c282ff 2025-08-14 09:59:43,841 - DEBUG - Requesting: http://10.0.0.38:8082/project/53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:43,915 - INFO - Validated that VN ctest-vn-88675086 is not found in API Server 2025-08-14 09:59:43,927 - DEBUG - VN ctest-vn-88675086 is not present in Agent 10.0.0.38 2025-08-14 09:59:43,927 - INFO - Validated that VN ctest-vn-88675086 is not in any agent 2025-08-14 09:59:43,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88675086 info 2025-08-14 09:59:43,945 - INFO - Deleting VN ctest-vn-01098622 2025-08-14 09:59:44,047 - DEBUG - Response for deleting network () 2025-08-14 09:59:44,047 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b3145-1b04-4cc7-8edc-ab92d98fd28e 2025-08-14 09:59:44,054 - DEBUG - Response Code: 404 2025-08-14 09:59:44,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 09:59:44,060 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e8d1ecb-fc33-4d5f-b929-2386a4c282ff 2025-08-14 09:59:44,112 - DEBUG - Requesting: http://10.0.0.38:8082/project/53162d52-95a9-4631-9375-54a570a63de9 2025-08-14 09:59:44,184 - INFO - Validated that VN ctest-vn-01098622 is not found in API Server 2025-08-14 09:59:44,195 - DEBUG - VN ctest-vn-01098622 is not present in Agent 10.0.0.38 2025-08-14 09:59:44,195 - INFO - Validated that VN ctest-vn-01098622 is not in any agent 2025-08-14 09:59:44,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01098622 info 2025-08-14 09:59:44,472 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 09:59:44,472 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-14 09:59:44,472 - INFO - -------------------------------------------------------------------------------- 2025-08-14 09:59:45,143 - INFO - Deleted project: ctest-TestBasicPolicy-58123757, ID : 53162d52-95a9-4631-9375-54a570a63de9