2025-08-11 02:05:52,576 - INFO - Domain Default found not creating 2025-08-11 02:05:52,719 - INFO - Project ctest-TestBasicPolicy-61284033 not found, creating it 2025-08-11 02:05:53,158 - INFO - Created Project:ctest-TestBasicPolicy-61284033, ID : 935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:05:54,593 - INFO - ================================================================================ 2025-08-11 02:05:54,594 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 02:05:54,594 - 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-11 02:05:54,851 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 02:05:54,851 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:05:54,851 - INFO - 2025-08-11 02:05:55,412 - DEBUG - Response for create_network : {'network': {'id': 'abb6b3ac-723d-46d2-acba-a0deccfef1d4', 'name': 'ctest-vn-51976865', 'tenant_id': '935d29b41a7c47c08ce0f78725fde342', 'project_id': '935d29b41a7c47c08ce0f78725fde342', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-vn-51976865'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:55,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e4f74fd-4de5-42c6-adec-c43346c2c3c2', 'name': '', 'tenant_id': '935d29b41a7c47c08ce0f78725fde342', 'network_id': 'abb6b3ac-723d-46d2-acba-a0deccfef1d4', 'ip_version': 4, 'cidr': '159.129.112.0/26', 'allocation_pools': [{'start': '159.129.112.2', 'end': '159.129.112.62'}], 'gateway_ip': '159.129.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.129.112.2', 'tags': [], 'project_id': '935d29b41a7c47c08ce0f78725fde342'}} 2025-08-11 02:05:55,598 - INFO - Created VN ctest-vn-51976865 2025-08-11 02:05:55,652 - DEBUG - VN ctest-vn-51976865 UUID is abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:55,984 - DEBUG - Response for create_network : {'network': {'id': '70e298c1-c8b9-4f7c-a4c9-9d764d076c02', 'name': 'ctest-vn-82492763', 'tenant_id': '935d29b41a7c47c08ce0f78725fde342', 'project_id': '935d29b41a7c47c08ce0f78725fde342', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-vn-82492763'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:56,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e0ac9f7-1e4c-4fba-9a6d-0a0cd6173a74', 'name': '', 'tenant_id': '935d29b41a7c47c08ce0f78725fde342', 'network_id': '70e298c1-c8b9-4f7c-a4c9-9d764d076c02', 'ip_version': 4, 'cidr': '142.75.175.192/26', 'allocation_pools': [{'start': '142.75.175.194', 'end': '142.75.175.254'}], 'gateway_ip': '142.75.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.75.175.194', 'tags': [], 'project_id': '935d29b41a7c47c08ce0f78725fde342'}} 2025-08-11 02:05:56,158 - INFO - Created VN ctest-vn-82492763 2025-08-11 02:05:56,208 - DEBUG - VN ctest-vn-82492763 UUID is 70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:56,331 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865, 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-61284033:ctest-vn-82492763, 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-11 02:05:56,629 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abb6b3ac-723d-46d2-acba-a0deccfef1d4', 'name': 'ctest-vn-51976865', 'tenant_id': '935d29b41a7c47c08ce0f78725fde342', 'project_id': '935d29b41a7c47c08ce0f78725fde342', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e4f74fd-4de5-42c6-adec-c43346c2c3c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-vn-51976865'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-policy-allow-all-29018817']], 'subnet_ipam': [{'subnet_cidr': '159.129.112.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:56,860 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70e298c1-c8b9-4f7c-a4c9-9d764d076c02', 'name': 'ctest-vn-82492763', 'tenant_id': '935d29b41a7c47c08ce0f78725fde342', 'project_id': '935d29b41a7c47c08ce0f78725fde342', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e0ac9f7-1e4c-4fba-9a6d-0a0cd6173a74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-vn-82492763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-policy-allow-all-29018817']], 'subnet_ipam': [{'subnet_cidr': '142.75.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:57,012 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:05:57,323 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:05:57,357 - DEBUG - Requesting: http://10.0.0.130:8082/domain/1e94b48a-eae8-4875-9ae9-d3351d64e420 2025-08-11 02:05:57,371 - DEBUG - Requesting: http://10.0.0.130:8082/project/935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:05:57,449 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:57,463 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:57,476 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8bcdc53-0084-4bee-bcda-265f86bf33d7 2025-08-11 02:05:57,485 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8bcdc53-0084-4bee-bcda-265f86bf33d7 2025-08-11 02:05:57,494 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/4a852c27-a791-4a3f-b604-52088b55f884 2025-08-11 02:05:57,503 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:05:57,503 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:57,514 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8bcdc53-0084-4bee-bcda-265f86bf33d7 2025-08-11 02:05:57,534 - INFO - Verified VN network id 11 for VN abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:57,534 - INFO - Verifications in API Server for VN ctest-vn-51976865 passed 2025-08-11 02:05:57,534 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:57,548 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8bcdc53-0084-4bee-bcda-265f86bf33d7 2025-08-11 02:05:57,557 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8bcdc53-0084-4bee-bcda-265f86bf33d7 2025-08-11 02:05:57,565 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/4a852c27-a791-4a3f-b604-52088b55f884 2025-08-11 02:05:57,583 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61284033', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12373274579479381714', 'uuid-lslong': '12446437398974230996'}, 'enable': 'true', 'created': '2025-08-11T02:05:55', 'last-modified': '2025-08-11T02:05:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972148'} 2025-08-11 02:05:57,592 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:05:57,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51976865 passed 2025-08-11 02:05:57,592 - DEBUG - ====Verifying policy data for ctest-vn-51976865 in API_Server ====== 2025-08-11 02:05:57,592 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:05:57,599 - DEBUG - Requesting: http://10.0.0.130:8082/domain/1e94b48a-eae8-4875-9ae9-d3351d64e420 2025-08-11 02:05:57,614 - DEBUG - Requesting: http://10.0.0.130:8082/project/935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:05:57,688 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/abb6b3ac-723d-46d2-acba-a0deccfef1d4 2025-08-11 02:05:57,699 - DEBUG - ==>Verifying data for policy with id: b6a66f78-d642-410f-944d-87ab396c12ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-policy-allow-all-29018817'] 2025-08-11 02:05:57,699 - INFO - VN ctest-vn-51976865 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:05:57,699 - DEBUG - Verifying the vn in opserver 2025-08-11 02:05:57,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865 virtual network link through opserver 10.0.0.130 2025-08-11 02:05:57,699 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 02:05:58,008 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 02:05:58,115 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865?flat'} 2025-08-11 02:05:58,115 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865 is found in opserver 2025-08-11 02:05:58,128 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:05:58,142 - DEBUG - VRF ids for VN ctest-vn-51976865: {} 2025-08-11 02:05:58,142 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:05:58,150 - DEBUG - Requesting: http://10.0.0.130:8082/domain/1e94b48a-eae8-4875-9ae9-d3351d64e420 2025-08-11 02:05:58,169 - DEBUG - Requesting: http://10.0.0.130:8082/project/935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:05:58,247 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:58,261 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:58,274 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9d2efab-966b-4ca0-8f94-c5bf6ed86645 2025-08-11 02:05:58,285 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9d2efab-966b-4ca0-8f94-c5bf6ed86645 2025-08-11 02:05:58,297 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/442aae72-fc1c-4c65-95f8-5ec8a76e48ca 2025-08-11 02:05:58,305 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:05:58,305 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:58,315 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9d2efab-966b-4ca0-8f94-c5bf6ed86645 2025-08-11 02:05:58,330 - INFO - Verified VN network id 12 for VN 70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:58,330 - INFO - Verifications in API Server for VN ctest-vn-82492763 passed 2025-08-11 02:05:58,330 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:58,342 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9d2efab-966b-4ca0-8f94-c5bf6ed86645 2025-08-11 02:05:58,350 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9d2efab-966b-4ca0-8f94-c5bf6ed86645 2025-08-11 02:05:58,357 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/442aae72-fc1c-4c65-95f8-5ec8a76e48ca 2025-08-11 02:05:58,373 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-82492763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61284033', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8134231835048234876', 'uuid-lslong': '11874195023963057154'}, 'enable': 'true', 'created': '2025-08-11T02:05:55', 'last-modified': '2025-08-11T02:05:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.529884'} 2025-08-11 02:05:58,382 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:05:58,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82492763 passed 2025-08-11 02:05:58,383 - DEBUG - ====Verifying policy data for ctest-vn-82492763 in API_Server ====== 2025-08-11 02:05:58,383 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:05:58,389 - DEBUG - Requesting: http://10.0.0.130:8082/domain/1e94b48a-eae8-4875-9ae9-d3351d64e420 2025-08-11 02:05:58,405 - DEBUG - Requesting: http://10.0.0.130:8082/project/935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:05:58,485 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/70e298c1-c8b9-4f7c-a4c9-9d764d076c02 2025-08-11 02:05:58,496 - DEBUG - ==>Verifying data for policy with id: b6a66f78-d642-410f-944d-87ab396c12ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-61284033', 'ctest-policy-allow-all-29018817'] 2025-08-11 02:05:58,496 - INFO - VN ctest-vn-82492763 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:05:58,496 - DEBUG - Verifying the vn in opserver 2025-08-11 02:05:58,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-82492763 virtual network link through opserver 10.0.0.130 2025-08-11 02:05:58,496 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 02:05:58,509 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-82492763', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-82492763?flat'} 2025-08-11 02:05:58,509 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-82492763 is found in opserver 2025-08-11 02:05:58,521 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:05:58,526 - DEBUG - VRF ids for VN ctest-vn-82492763: {} 2025-08-11 02:05:58,588 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:05:59,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3791-1) 2025-08-11 02:06:00,826 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3791-1) 2025-08-11 02:06:00,826 - INFO - Waiting for VM ctest-TestBasicPolicy-61284033-07550321 to be up.. 2025-08-11 02:06:00,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:06:05,976 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:06:05,977 - INFO - VM name : ctest-TestBasicPolicy-61284033-07550321 2025-08-11 02:06:06,052 - DEBUG - VM ctest-TestBasicPolicy-61284033-07550321 ID is 35a680e1-5f4c-42af-96e7-682f4c2a2f5d 2025-08-11 02:06:06,073 - DEBUG - VM ctest-TestBasicPolicy-61284033-07550321 launched on Node cn-jenkins-deploy-platform-ansible-os-3791-1 2025-08-11 02:06:06,158 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/35a680e1-5f4c-42af-96e7-682f4c2a2f5d 2025-08-11 02:06:06,169 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8276d971-567e-49d8-a5b2-03e16a3dc885 2025-08-11 02:06:09,421 - 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 1010ms') 2025-08-11 02:06:09,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61284033-07550321 failed! 2025-08-11 02:06:09,480 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61284033:ctest-vn-51976865 is 159.129.112.1 and allocation pool is NOT set 2025-08-11 02:06:11,542 - 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=8.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/4.667/8.917/4.249 ms') 2025-08-11 02:06:11,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61284033-07550321 passed 2025-08-11 02:06:11,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:06:11,692 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61284033-07550321, IP 159.129.112.3, Port 22 2025-08-11 02:06:11,848 - DEBUG - VM ctest-TestBasicPolicy-61284033-07550321 is ready for SSH connections 2025-08-11 02:06:11,848 - INFO - Waiting for VM ctest-TestBasicPolicy-61284033-90388637 to be up.. 2025-08-11 02:06:11,927 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:06:11,927 - INFO - VM name : ctest-TestBasicPolicy-61284033-90388637 2025-08-11 02:06:12,012 - DEBUG - VM ctest-TestBasicPolicy-61284033-90388637 ID is 8d03590b-d8bf-431c-88b6-df992cfbf8d0 2025-08-11 02:06:12,012 - DEBUG - VM ctest-TestBasicPolicy-61284033-90388637 launched on Node cn-jenkins-deploy-platform-ansible-os-3791-1 2025-08-11 02:06:12,102 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/8d03590b-d8bf-431c-88b6-df992cfbf8d0 2025-08-11 02:06:12,114 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/065457b3-73e1-433f-ac4c-7520c47f9692 2025-08-11 02:06:13,358 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.777 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.777/2.364/3.952/1.587 ms') 2025-08-11 02:06:13,358 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61284033-90388637 passed 2025-08-11 02:06:13,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:06:13,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61284033-90388637, IP 142.75.175.195, Port 22 2025-08-11 02:06:13,668 - DEBUG - VM ctest-TestBasicPolicy-61284033-90388637 is ready for SSH connections 2025-08-11 02:06:13,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:06:13,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.75.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 02:06:13,668 - DEBUG - ping -s 56 -c 3 -W 1 142.75.175.195 2025-08-11 02:06:17,685 - DEBUG - PING 142.75.175.195 (142.75.175.195): 56 data bytes 64 bytes from 142.75.175.195: seq=0 ttl=63 time=3.418 ms 64 bytes from 142.75.175.195: seq=1 ttl=63 time=0.747 ms 64 bytes from 142.75.175.195: seq=2 ttl=63 time=0.708 ms --- 142.75.175.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.624/3.418 ms 2025-08-11 02:06:17,685 - INFO - Ping to IP 142.75.175.195 from VM ctest-TestBasicPolicy-61284033-07550321 passed 2025-08-11 02:06:17,868 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6a66f78-d642-410f-944d-87ab396c12ca", "href": "http://10.0.0.130:8082/network-policy/b6a66f78-d642-410f-944d-87ab396c12ca"}} 2025-08-11 02:06:17,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:06:17,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.75.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 02:06:17,868 - DEBUG - ping -s 56 -c 3 -W 1 142.75.175.195 2025-08-11 02:06:21,080 - DEBUG - PING 142.75.175.195 (142.75.175.195): 56 data bytes --- 142.75.175.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:06:21,080 - WARNING - Ping to IP 142.75.175.195 from VM ctest-TestBasicPolicy-61284033-07550321 failed 2025-08-11 02:06:21,081 - INFO - Deleting VM ctest-TestBasicPolicy-61284033-90388637 2025-08-11 02:06:21,140 - INFO - Deleting VM ctest-TestBasicPolicy-61284033-07550321 2025-08-11 02:06:21,492 - INFO - Deleted policy ctest-policy-allow-all-29018817 2025-08-11 02:06:21,493 - INFO - Deleting VN ctest-vn-82492763 2025-08-11 02:06:21,528 - DEBUG - VN 70e298c1-c8b9-4f7c-a4c9-9d764d076c02 still in use: Unable to complete operation on network 70e298c1-c8b9-4f7c-a4c9-9d764d076c02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b106af19-414d-4c95-872b-0892ca9d4425'] 2025-08-11 02:06:21,528 - WARNING - Deleting VN ctest-vn-82492763 failed..Will retry 2025-08-11 02:06:23,641 - DEBUG - Response for deleting network () 2025-08-11 02:06:23,641 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9d2efab-966b-4ca0-8f94-c5bf6ed86645 2025-08-11 02:06:23,646 - DEBUG - Response Code: 404 2025-08-11 02:06:23,647 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:06:23,651 - DEBUG - Requesting: http://10.0.0.130:8082/domain/1e94b48a-eae8-4875-9ae9-d3351d64e420 2025-08-11 02:06:23,705 - DEBUG - Requesting: http://10.0.0.130:8082/project/935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:06:23,773 - INFO - Validated that VN ctest-vn-82492763 is not found in API Server 2025-08-11 02:06:23,783 - DEBUG - VN ctest-vn-82492763 is not present in Agent 10.0.0.130 2025-08-11 02:06:23,783 - INFO - Validated that VN ctest-vn-82492763 is not in any agent 2025-08-11 02:06:23,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82492763 info 2025-08-11 02:06:23,798 - INFO - Deleting VN ctest-vn-51976865 2025-08-11 02:06:23,885 - DEBUG - Response for deleting network () 2025-08-11 02:06:23,885 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8bcdc53-0084-4bee-bcda-265f86bf33d7 2025-08-11 02:06:23,891 - DEBUG - Response Code: 404 2025-08-11 02:06:23,891 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 02:06:23,903 - DEBUG - Requesting: http://10.0.0.130:8082/domain/1e94b48a-eae8-4875-9ae9-d3351d64e420 2025-08-11 02:06:23,957 - DEBUG - Requesting: http://10.0.0.130:8082/project/935d29b4-1a7c-47c0-8ce0-f78725fde342 2025-08-11 02:06:24,029 - INFO - Validated that VN ctest-vn-51976865 is not found in API Server 2025-08-11 02:06:24,039 - DEBUG - VN ctest-vn-51976865 is not present in Agent 10.0.0.130 2025-08-11 02:06:24,039 - INFO - Validated that VN ctest-vn-51976865 is not in any agent 2025-08-11 02:06:24,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51976865 info 2025-08-11 02:06:24,313 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:06:24,313 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-11 02:06:24,313 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:06:25,181 - INFO - Deleted project: ctest-TestBasicPolicy-61284033, ID : 935d29b4-1a7c-47c0-8ce0-f78725fde342