2025-04-17 02:28:22,916 - INFO - Domain Default found not creating 2025-04-17 02:28:23,079 - INFO - Project ctest-TestBasicPolicy-76383122 not found, creating it 2025-04-17 02:28:23,579 - INFO - Created Project:ctest-TestBasicPolicy-76383122, ID : c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:25,002 - INFO - ================================================================================ 2025-04-17 02:28:25,002 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-17 02:28:25,003 - 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-04-17 02:28:25,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-04-17 02:28:25,256 - INFO - Initial checks done. Running the testcase now 2025-04-17 02:28:25,256 - INFO - 2025-04-17 02:28:25,788 - DEBUG - Response for create_network : {'network': {'id': '44ae14ee-8f86-4dae-bcbf-36c70f506aec', 'name': 'ctest-vn-64460950', 'tenant_id': 'c36df76882da4098b68ca9f523dd2a0a', 'project_id': 'c36df76882da4098b68ca9f523dd2a0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-vn-64460950'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:28:25,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '946fa49d-95c5-471b-8827-7c49327137d5', 'name': '', 'tenant_id': 'c36df76882da4098b68ca9f523dd2a0a', 'network_id': '44ae14ee-8f86-4dae-bcbf-36c70f506aec', 'ip_version': 4, 'cidr': '143.222.215.192/26', 'allocation_pools': [{'start': '143.222.215.194', 'end': '143.222.215.254'}], 'gateway_ip': '143.222.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.222.215.194', 'tags': [], 'project_id': 'c36df76882da4098b68ca9f523dd2a0a'}} 2025-04-17 02:28:26,013 - INFO - Created VN ctest-vn-64460950 2025-04-17 02:28:26,069 - DEBUG - VN ctest-vn-64460950 UUID is 44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:26,384 - DEBUG - Response for create_network : {'network': {'id': '6e03a2e7-4651-46fe-9f80-e3f4aa16fe84', 'name': 'ctest-vn-45988483', 'tenant_id': 'c36df76882da4098b68ca9f523dd2a0a', 'project_id': 'c36df76882da4098b68ca9f523dd2a0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-vn-45988483'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:28:26,548 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd15b1357-627e-48a4-bc59-71d6d93c22cf', 'name': '', 'tenant_id': 'c36df76882da4098b68ca9f523dd2a0a', 'network_id': '6e03a2e7-4651-46fe-9f80-e3f4aa16fe84', 'ip_version': 4, 'cidr': '88.159.43.192/26', 'allocation_pools': [{'start': '88.159.43.194', 'end': '88.159.43.254'}], 'gateway_ip': '88.159.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.159.43.194', 'tags': [], 'project_id': 'c36df76882da4098b68ca9f523dd2a0a'}} 2025-04-17 02:28:26,567 - INFO - Created VN ctest-vn-45988483 2025-04-17 02:28:26,617 - DEBUG - VN ctest-vn-45988483 UUID is 6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:26,765 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950, 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-76383122:ctest-vn-45988483, 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-04-17 02:28:27,059 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44ae14ee-8f86-4dae-bcbf-36c70f506aec', 'name': 'ctest-vn-64460950', 'tenant_id': 'c36df76882da4098b68ca9f523dd2a0a', 'project_id': 'c36df76882da4098b68ca9f523dd2a0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['946fa49d-95c5-471b-8827-7c49327137d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-vn-64460950'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-policy-allow-all-44538627']], 'subnet_ipam': [{'subnet_cidr': '143.222.215.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:28:27,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e03a2e7-4651-46fe-9f80-e3f4aa16fe84', 'name': 'ctest-vn-45988483', 'tenant_id': 'c36df76882da4098b68ca9f523dd2a0a', 'project_id': 'c36df76882da4098b68ca9f523dd2a0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d15b1357-627e-48a4-bc59-71d6d93c22cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-vn-45988483'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-policy-allow-all-44538627']], 'subnet_ipam': [{'subnet_cidr': '88.159.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:28:27,497 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:27,796 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:27,822 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2f062dde-ab10-4df9-9982-bea0b7a691cd 2025-04-17 02:28:27,834 - DEBUG - Requesting: http://10.0.0.27:8082/project/c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:27,904 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:27,914 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:27,923 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ba8ba0be-7aac-4b8b-a8a8-2cf1e7d2caa1 2025-04-17 02:28:27,930 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ba8ba0be-7aac-4b8b-a8a8-2cf1e7d2caa1 2025-04-17 02:28:27,936 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2c109ae3-cdc8-49c1-9310-2bf123902c27 2025-04-17 02:28:27,942 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-17 02:28:27,943 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:27,951 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ba8ba0be-7aac-4b8b-a8a8-2cf1e7d2caa1 2025-04-17 02:28:27,963 - INFO - Verified VN network id 9 for VN 44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:27,963 - INFO - Verifications in API Server for VN ctest-vn-64460950 passed 2025-04-17 02:28:27,963 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:27,972 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ba8ba0be-7aac-4b8b-a8a8-2cf1e7d2caa1 2025-04-17 02:28:27,979 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ba8ba0be-7aac-4b8b-a8a8-2cf1e7d2caa1 2025-04-17 02:28:27,985 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2c109ae3-cdc8-49c1-9310-2bf123902c27 2025-04-17 02:28:27,996 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76383122', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4948916055369469358', 'uuid-lslong': '13600649628265507564'}, 'enable': 'true', 'created': '2025-04-17T02:28:25', 'last-modified': '2025-04-17T02:28:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961908'} 2025-04-17 02:28:28,002 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-17 02:28:28,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64460950 passed 2025-04-17 02:28:28,002 - DEBUG - ====Verifying policy data for ctest-vn-64460950 in API_Server ====== 2025-04-17 02:28:28,002 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:28,008 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2f062dde-ab10-4df9-9982-bea0b7a691cd 2025-04-17 02:28:28,019 - DEBUG - Requesting: http://10.0.0.27:8082/project/c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:28,091 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/44ae14ee-8f86-4dae-bcbf-36c70f506aec 2025-04-17 02:28:28,101 - DEBUG - ==>Verifying data for policy with id: b5199f03-4a58-48bc-948a-558058d13c8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-policy-allow-all-44538627'] 2025-04-17 02:28:28,101 - INFO - VN ctest-vn-64460950 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-17 02:28:28,101 - DEBUG - Verifying the vn in opserver 2025-04-17 02:28:28,101 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950 virtual network link through opserver 10.0.0.27 2025-04-17 02:28:28,101 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-04-17 02:28:28,395 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-04-17 02:28:28,445 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950?flat'} 2025-04-17 02:28:28,445 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950 is found in opserver 2025-04-17 02:28:28,455 - DEBUG - Do not have enough data to verify VN in agent 2025-04-17 02:28:28,460 - DEBUG - VRF ids for VN ctest-vn-64460950: {} 2025-04-17 02:28:28,460 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:28,466 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2f062dde-ab10-4df9-9982-bea0b7a691cd 2025-04-17 02:28:28,477 - DEBUG - Requesting: http://10.0.0.27:8082/project/c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:28,549 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:28,561 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:28,570 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/032412e7-ba6b-49e4-a623-87eb2d21ce7b 2025-04-17 02:28:28,577 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/032412e7-ba6b-49e4-a623-87eb2d21ce7b 2025-04-17 02:28:28,583 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0273dde1-f106-4dbb-9b20-6a86280a6e59 2025-04-17 02:28:28,589 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-17 02:28:28,589 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:28,597 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/032412e7-ba6b-49e4-a623-87eb2d21ce7b 2025-04-17 02:28:28,609 - INFO - Verified VN network id 10 for VN 6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:28,610 - INFO - Verifications in API Server for VN ctest-vn-45988483 passed 2025-04-17 02:28:28,610 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:28,618 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/032412e7-ba6b-49e4-a623-87eb2d21ce7b 2025-04-17 02:28:28,625 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/032412e7-ba6b-49e4-a623-87eb2d21ce7b 2025-04-17 02:28:28,631 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0273dde1-f106-4dbb-9b20-6a86280a6e59 2025-04-17 02:28:28,643 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-45988483', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76383122', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7927358883303081726', 'uuid-lslong': '11493436889014664836'}, 'enable': 'true', 'created': '2025-04-17T02:28:26', 'last-modified': '2025-04-17T02:28:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377371'} 2025-04-17 02:28:28,649 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-17 02:28:28,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45988483 passed 2025-04-17 02:28:28,649 - DEBUG - ====Verifying policy data for ctest-vn-45988483 in API_Server ====== 2025-04-17 02:28:28,649 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:28,654 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2f062dde-ab10-4df9-9982-bea0b7a691cd 2025-04-17 02:28:28,666 - DEBUG - Requesting: http://10.0.0.27:8082/project/c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:28,741 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 2025-04-17 02:28:28,751 - DEBUG - ==>Verifying data for policy with id: b5199f03-4a58-48bc-948a-558058d13c8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-76383122', 'ctest-policy-allow-all-44538627'] 2025-04-17 02:28:28,751 - INFO - VN ctest-vn-45988483 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-17 02:28:28,751 - DEBUG - Verifying the vn in opserver 2025-04-17 02:28:28,751 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-45988483 virtual network link through opserver 10.0.0.27 2025-04-17 02:28:28,751 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-04-17 02:28:28,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-45988483', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-45988483?flat'} 2025-04-17 02:28:28,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-45988483 is found in opserver 2025-04-17 02:28:28,775 - DEBUG - Do not have enough data to verify VN in agent 2025-04-17 02:28:28,781 - DEBUG - VRF ids for VN ctest-vn-45988483: {} 2025-04-17 02:28:28,834 - DEBUG - Services list from nova: [, , ] 2025-04-17 02:28:29,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3130-1) 2025-04-17 02:28:31,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3130-1) 2025-04-17 02:28:31,008 - INFO - Waiting for VM ctest-TestBasicPolicy-76383122-22923456 to be up.. 2025-04-17 02:28:31,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 02:28:36,171 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:28:36,171 - INFO - VM name : ctest-TestBasicPolicy-76383122-22923456 2025-04-17 02:28:36,245 - DEBUG - VM ctest-TestBasicPolicy-76383122-22923456 ID is f7fd1878-7c35-4621-ba17-4b1b2468126d 2025-04-17 02:28:36,264 - DEBUG - VM ctest-TestBasicPolicy-76383122-22923456 launched on Node cn-jenkins-deploy-platform-ansible-os-3130-1 2025-04-17 02:28:36,343 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f7fd1878-7c35-4621-ba17-4b1b2468126d 2025-04-17 02:28:36,353 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0c5254d3-299b-482e-a735-b5ce4b90e401 2025-04-17 02:28:39,603 - 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 1020ms') 2025-04-17 02:28:39,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76383122-22923456 failed! 2025-04-17 02:28:39,661 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76383122:ctest-vn-64460950 is 143.222.215.193 and allocation pool is NOT set 2025-04-17 02:28:41,722 - 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=3.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.615 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.615/1.915/3.216/1.300 ms') 2025-04-17 02:28:41,722 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76383122-22923456 passed 2025-04-17 02:28:41,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:28:41,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76383122-22923456, IP 143.222.215.195, Port 22 2025-04-17 02:28:42,051 - DEBUG - VM ctest-TestBasicPolicy-76383122-22923456 is ready for SSH connections 2025-04-17 02:28:42,051 - INFO - Waiting for VM ctest-TestBasicPolicy-76383122-00391165 to be up.. 2025-04-17 02:28:42,130 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:28:42,130 - INFO - VM name : ctest-TestBasicPolicy-76383122-00391165 2025-04-17 02:28:42,207 - DEBUG - VM ctest-TestBasicPolicy-76383122-00391165 ID is 76a0b973-9309-445e-97eb-33d93f502199 2025-04-17 02:28:42,207 - DEBUG - VM ctest-TestBasicPolicy-76383122-00391165 launched on Node cn-jenkins-deploy-platform-ansible-os-3130-1 2025-04-17 02:28:42,282 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/76a0b973-9309-445e-97eb-33d93f502199 2025-04-17 02:28:42,291 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4186c556-acf6-48d2-a982-b1d253325e94 2025-04-17 02:28:43,523 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.476/1.802/3.128/1.326 ms') 2025-04-17 02:28:43,523 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76383122-00391165 passed 2025-04-17 02:28:43,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:28:43,682 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76383122-00391165, IP 88.159.43.195, Port 22 2025-04-17 02:28:43,845 - DEBUG - VM ctest-TestBasicPolicy-76383122-00391165 is ready for SSH connections 2025-04-17 02:28:43,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:28:43,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.159.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-04-17 02:28:43,846 - DEBUG - ping -s 56 -c 3 -W 1 88.159.43.195 2025-04-17 02:28:47,523 - DEBUG - PING 88.159.43.195 (88.159.43.195): 56 data bytes 64 bytes from 88.159.43.195: seq=0 ttl=63 time=3.159 ms 64 bytes from 88.159.43.195: seq=1 ttl=63 time=0.884 ms 64 bytes from 88.159.43.195: seq=2 ttl=63 time=0.722 ms --- 88.159.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.588/3.159 ms 2025-04-17 02:28:47,523 - INFO - Ping to IP 88.159.43.195 from VM ctest-TestBasicPolicy-76383122-22923456 passed 2025-04-17 02:28:47,709 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b5199f03-4a58-48bc-948a-558058d13c8d", "href": "http://10.0.0.27:8082/network-policy/b5199f03-4a58-48bc-948a-558058d13c8d"}} 2025-04-17 02:28:47,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:28:47,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.159.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-04-17 02:28:47,710 - DEBUG - ping -s 56 -c 3 -W 1 88.159.43.195 2025-04-17 02:28:50,911 - DEBUG - PING 88.159.43.195 (88.159.43.195): 56 data bytes --- 88.159.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-17 02:28:50,911 - WARNING - Ping to IP 88.159.43.195 from VM ctest-TestBasicPolicy-76383122-22923456 failed 2025-04-17 02:28:50,911 - INFO - Deleting VM ctest-TestBasicPolicy-76383122-00391165 2025-04-17 02:28:50,987 - INFO - Deleting VM ctest-TestBasicPolicy-76383122-22923456 2025-04-17 02:28:51,337 - INFO - Deleted policy ctest-policy-allow-all-44538627 2025-04-17 02:28:51,338 - INFO - Deleting VN ctest-vn-45988483 2025-04-17 02:28:51,377 - DEBUG - VN 6e03a2e7-4651-46fe-9f80-e3f4aa16fe84 still in use: Unable to complete operation on network 6e03a2e7-4651-46fe-9f80-e3f4aa16fe84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8151225-427a-4fb9-bd49-849576da2b10'] 2025-04-17 02:28:51,377 - WARNING - Deleting VN ctest-vn-45988483 failed..Will retry 2025-04-17 02:28:53,487 - DEBUG - Response for deleting network () 2025-04-17 02:28:53,487 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/032412e7-ba6b-49e4-a623-87eb2d21ce7b 2025-04-17 02:28:53,494 - DEBUG - Response Code: 404 2025-04-17 02:28:53,494 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:53,510 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2f062dde-ab10-4df9-9982-bea0b7a691cd 2025-04-17 02:28:53,568 - DEBUG - Requesting: http://10.0.0.27:8082/project/c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:53,640 - INFO - Validated that VN ctest-vn-45988483 is not found in API Server 2025-04-17 02:28:53,651 - DEBUG - VN ctest-vn-45988483 is not present in Agent 10.0.0.27 2025-04-17 02:28:53,651 - INFO - Validated that VN ctest-vn-45988483 is not in any agent 2025-04-17 02:28:53,666 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45988483 info 2025-04-17 02:28:53,666 - INFO - Deleting VN ctest-vn-64460950 2025-04-17 02:28:53,761 - DEBUG - Response for deleting network () 2025-04-17 02:28:53,761 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ba8ba0be-7aac-4b8b-a8a8-2cf1e7d2caa1 2025-04-17 02:28:53,771 - DEBUG - Response Code: 404 2025-04-17 02:28:53,771 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-04-17 02:28:53,778 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2f062dde-ab10-4df9-9982-bea0b7a691cd 2025-04-17 02:28:53,831 - DEBUG - Requesting: http://10.0.0.27:8082/project/c36df768-82da-4098-b68c-a9f523dd2a0a 2025-04-17 02:28:53,904 - INFO - Validated that VN ctest-vn-64460950 is not found in API Server 2025-04-17 02:28:53,915 - DEBUG - VN ctest-vn-64460950 is not present in Agent 10.0.0.27 2025-04-17 02:28:53,915 - INFO - Validated that VN ctest-vn-64460950 is not in any agent 2025-04-17 02:28:53,932 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64460950 info 2025-04-17 02:28:54,186 - DEBUG - No XMPP flaps were noticed during the test 2025-04-17 02:28:54,186 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-17 02:28:54,186 - INFO - -------------------------------------------------------------------------------- 2025-04-17 02:28:54,860 - INFO - Deleted project: ctest-TestBasicPolicy-76383122, ID : c36df768-82da-4098-b68c-a9f523dd2a0a