2025-12-11 17:41:03,415 - INFO - Domain Default found not creating 2025-12-11 17:41:03,627 - INFO - Project ctest-TestBasicPolicy-89241809 not found, creating it 2025-12-11 17:41:04,151 - INFO - Created Project:ctest-TestBasicPolicy-89241809, ID : d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:05,808 - INFO - ================================================================================ 2025-12-11 17:41:05,809 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-11 17:41:05,809 - 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-12-11 17:41:06,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-11 17:41:06,084 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:41:06,084 - INFO - 2025-12-11 17:41:06,729 - DEBUG - Response for create_network : {'network': {'id': '103b5c5b-88b2-4e75-ae62-7c02a33715cd', 'name': 'ctest-vn-09248268', 'tenant_id': 'd04ac29397b24c1db992a88708e96448', 'project_id': 'd04ac29397b24c1db992a88708e96448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-vn-09248268'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:41:06,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '332bbf63-3f1c-48b6-8e28-5c1c2039bacb', 'name': '', 'tenant_id': 'd04ac29397b24c1db992a88708e96448', 'network_id': '103b5c5b-88b2-4e75-ae62-7c02a33715cd', 'ip_version': 4, 'cidr': '134.49.7.128/26', 'allocation_pools': [{'start': '134.49.7.130', 'end': '134.49.7.190'}], 'gateway_ip': '134.49.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.49.7.130', 'tags': [], 'project_id': 'd04ac29397b24c1db992a88708e96448'}} 2025-12-11 17:41:06,961 - INFO - Created VN ctest-vn-09248268 2025-12-11 17:41:07,017 - DEBUG - VN ctest-vn-09248268 UUID is 103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:07,359 - DEBUG - Response for create_network : {'network': {'id': 'ee743d13-66d4-48d0-a5f3-60e8939d9c51', 'name': 'ctest-vn-74669972', 'tenant_id': 'd04ac29397b24c1db992a88708e96448', 'project_id': 'd04ac29397b24c1db992a88708e96448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-vn-74669972'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:41:07,597 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b092ee71-927d-4768-b144-432359c600cb', 'name': '', 'tenant_id': 'd04ac29397b24c1db992a88708e96448', 'network_id': 'ee743d13-66d4-48d0-a5f3-60e8939d9c51', 'ip_version': 4, 'cidr': '190.116.200.64/26', 'allocation_pools': [{'start': '190.116.200.66', 'end': '190.116.200.126'}], 'gateway_ip': '190.116.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.116.200.66', 'tags': [], 'project_id': 'd04ac29397b24c1db992a88708e96448'}} 2025-12-11 17:41:07,623 - INFO - Created VN ctest-vn-74669972 2025-12-11 17:41:07,681 - DEBUG - VN ctest-vn-74669972 UUID is ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:07,824 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268, 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-89241809:ctest-vn-74669972, 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-12-11 17:41:08,171 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '103b5c5b-88b2-4e75-ae62-7c02a33715cd', 'name': 'ctest-vn-09248268', 'tenant_id': 'd04ac29397b24c1db992a88708e96448', 'project_id': 'd04ac29397b24c1db992a88708e96448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['332bbf63-3f1c-48b6-8e28-5c1c2039bacb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-vn-09248268'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-policy-allow-all-23054126']], 'subnet_ipam': [{'subnet_cidr': '134.49.7.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:41:08,442 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee743d13-66d4-48d0-a5f3-60e8939d9c51', 'name': 'ctest-vn-74669972', 'tenant_id': 'd04ac29397b24c1db992a88708e96448', 'project_id': 'd04ac29397b24c1db992a88708e96448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b092ee71-927d-4768-b144-432359c600cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-vn-74669972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-policy-allow-all-23054126']], 'subnet_ipam': [{'subnet_cidr': '190.116.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:41:08,621 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:08,917 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:08,951 - DEBUG - Requesting: http://10.0.0.129:8082/domain/c79b124c-9a6a-4e7a-80ca-83213d0213be 2025-12-11 17:41:08,964 - DEBUG - Requesting: http://10.0.0.129:8082/project/d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:09,046 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:09,057 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:09,069 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/8913a5d1-7dbd-4906-a5e4-8d2d1a92c671 2025-12-11 17:41:09,081 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/8913a5d1-7dbd-4906-a5e4-8d2d1a92c671 2025-12-11 17:41:09,090 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/61dcc373-1ab0-434c-a89f-e7b5e2804663 2025-12-11 17:41:09,099 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 17:41:09,099 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:09,112 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/8913a5d1-7dbd-4906-a5e4-8d2d1a92c671 2025-12-11 17:41:09,130 - INFO - Verified VN network id 11 for VN 103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:09,130 - INFO - Verifications in API Server for VN ctest-vn-09248268 passed 2025-12-11 17:41:09,130 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:09,141 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/8913a5d1-7dbd-4906-a5e4-8d2d1a92c671 2025-12-11 17:41:09,150 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/8913a5d1-7dbd-4906-a5e4-8d2d1a92c671 2025-12-11 17:41:09,160 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/61dcc373-1ab0-434c-a89f-e7b5e2804663 2025-12-11 17:41:09,178 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89241809', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1169630076437941877', 'uuid-lslong': '12565742261087180237'}, 'enable': 'true', 'created': '2025-12-11T17:41:06', 'last-modified': '2025-12-11T17:41:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035740'} 2025-12-11 17:41:09,186 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 17:41:09,186 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09248268 passed 2025-12-11 17:41:09,186 - DEBUG - ====Verifying policy data for ctest-vn-09248268 in API_Server ====== 2025-12-11 17:41:09,187 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:09,194 - DEBUG - Requesting: http://10.0.0.129:8082/domain/c79b124c-9a6a-4e7a-80ca-83213d0213be 2025-12-11 17:41:09,208 - DEBUG - Requesting: http://10.0.0.129:8082/project/d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:09,299 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/103b5c5b-88b2-4e75-ae62-7c02a33715cd 2025-12-11 17:41:09,310 - DEBUG - ==>Verifying data for policy with id: 2a584120-ed76-4a6a-ad0f-a0c1bfc026ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-policy-allow-all-23054126'] 2025-12-11 17:41:09,310 - INFO - VN ctest-vn-09248268 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 17:41:09,310 - DEBUG - Verifying the vn in opserver 2025-12-11 17:41:09,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268 virtual network link through opserver 10.0.0.129 2025-12-11 17:41:09,310 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-11 17:41:09,606 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-11 17:41:09,695 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268?flat'} 2025-12-11 17:41:09,695 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268 is found in opserver 2025-12-11 17:41:09,706 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 17:41:09,712 - DEBUG - VRF ids for VN ctest-vn-09248268: {} 2025-12-11 17:41:09,712 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:09,720 - DEBUG - Requesting: http://10.0.0.129:8082/domain/c79b124c-9a6a-4e7a-80ca-83213d0213be 2025-12-11 17:41:09,737 - DEBUG - Requesting: http://10.0.0.129:8082/project/d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:09,813 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:09,829 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:09,840 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4300bc22-541f-478b-a2b0-7b0cd96f27ab 2025-12-11 17:41:09,849 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4300bc22-541f-478b-a2b0-7b0cd96f27ab 2025-12-11 17:41:09,858 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/e976d61e-8505-49b5-bf28-120c872b89f4 2025-12-11 17:41:09,867 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 17:41:09,867 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:09,878 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4300bc22-541f-478b-a2b0-7b0cd96f27ab 2025-12-11 17:41:09,899 - INFO - Verified VN network id 12 for VN ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:09,899 - INFO - Verifications in API Server for VN ctest-vn-74669972 passed 2025-12-11 17:41:09,899 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:09,912 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4300bc22-541f-478b-a2b0-7b0cd96f27ab 2025-12-11 17:41:09,921 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4300bc22-541f-478b-a2b0-7b0cd96f27ab 2025-12-11 17:41:09,929 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/e976d61e-8505-49b5-bf28-120c872b89f4 2025-12-11 17:41:09,942 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-74669972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89241809', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17182425631864146128', 'uuid-lslong': '11958007987624057937'}, 'enable': 'true', 'created': '2025-12-11T17:41:07', 'last-modified': '2025-12-11T17:41:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.532056'} 2025-12-11 17:41:09,951 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 17:41:09,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74669972 passed 2025-12-11 17:41:09,951 - DEBUG - ====Verifying policy data for ctest-vn-74669972 in API_Server ====== 2025-12-11 17:41:09,951 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:09,958 - DEBUG - Requesting: http://10.0.0.129:8082/domain/c79b124c-9a6a-4e7a-80ca-83213d0213be 2025-12-11 17:41:09,971 - DEBUG - Requesting: http://10.0.0.129:8082/project/d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:10,054 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ee743d13-66d4-48d0-a5f3-60e8939d9c51 2025-12-11 17:41:10,063 - DEBUG - ==>Verifying data for policy with id: 2a584120-ed76-4a6a-ad0f-a0c1bfc026ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-89241809', 'ctest-policy-allow-all-23054126'] 2025-12-11 17:41:10,063 - INFO - VN ctest-vn-74669972 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 17:41:10,063 - DEBUG - Verifying the vn in opserver 2025-12-11 17:41:10,063 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-74669972 virtual network link through opserver 10.0.0.129 2025-12-11 17:41:10,063 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-11 17:41:10,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-74669972', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-74669972?flat'} 2025-12-11 17:41:10,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-74669972 is found in opserver 2025-12-11 17:41:10,086 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 17:41:10,091 - DEBUG - VRF ids for VN ctest-vn-74669972: {} 2025-12-11 17:41:10,166 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:41:11,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4889-1) 2025-12-11 17:41:12,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4889-1) 2025-12-11 17:41:12,640 - INFO - Waiting for VM ctest-TestBasicPolicy-89241809-54102054 to be up.. 2025-12-11 17:41:12,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:41:17,874 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:41:17,874 - INFO - VM name : ctest-TestBasicPolicy-89241809-54102054 2025-12-11 17:41:17,960 - DEBUG - VM ctest-TestBasicPolicy-89241809-54102054 ID is 4ac43d19-dd78-4e0c-8fd2-868bcf5aecc0 2025-12-11 17:41:17,982 - DEBUG - VM ctest-TestBasicPolicy-89241809-54102054 launched on Node cn-jenkins-deploy-platform-ansible-os-4889-1 2025-12-11 17:41:18,081 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/4ac43d19-dd78-4e0c-8fd2-868bcf5aecc0 2025-12-11 17:41:18,091 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/5dd3b60f-2e6b-4e0c-b02a-5d9db258ed2b 2025-12-11 17:41:21,350 - 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 1005ms') 2025-12-11 17:41:21,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89241809-54102054 failed! 2025-12-11 17:41:21,409 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89241809:ctest-vn-09248268 is 134.49.7.129 and allocation pool is NOT set 2025-12-11 17:41:23,485 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 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 = 2.197/6.346/10.496/4.149 ms') 2025-12-11 17:41:23,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89241809-54102054 passed 2025-12-11 17:41:23,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:41:23,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89241809-54102054, IP 134.49.7.131, Port 22 2025-12-11 17:41:23,812 - DEBUG - VM ctest-TestBasicPolicy-89241809-54102054 is ready for SSH connections 2025-12-11 17:41:23,812 - INFO - Waiting for VM ctest-TestBasicPolicy-89241809-66051687 to be up.. 2025-12-11 17:41:23,912 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:41:23,912 - INFO - VM name : ctest-TestBasicPolicy-89241809-66051687 2025-12-11 17:41:24,017 - DEBUG - VM ctest-TestBasicPolicy-89241809-66051687 ID is bae7f589-eb38-4802-a09f-3d3c97dcff90 2025-12-11 17:41:24,017 - DEBUG - VM ctest-TestBasicPolicy-89241809-66051687 launched on Node cn-jenkins-deploy-platform-ansible-os-4889-1 2025-12-11 17:41:24,118 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/bae7f589-eb38-4802-a09f-3d3c97dcff90 2025-12-11 17:41:24,131 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/99c4ba07-127c-42af-a926-765571a1c0da 2025-12-11 17:41:25,400 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.57 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 = 2.570/3.440/4.310/0.870 ms') 2025-12-11 17:41:25,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89241809-66051687 passed 2025-12-11 17:41:25,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:41:25,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89241809-66051687, IP 190.116.200.67, Port 22 2025-12-11 17:41:25,614 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-11 17:41:25,707 - DEBUG - VM ctest-TestBasicPolicy-89241809-66051687 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-11 17:41:30,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:41:30,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89241809-66051687, IP 190.116.200.67, Port 22 2025-12-11 17:41:30,880 - DEBUG - VM ctest-TestBasicPolicy-89241809-66051687 is ready for SSH connections 2025-12-11 17:41:30,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:41:30,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.116.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-11 17:41:30,881 - DEBUG - ping -s 56 -c 3 -W 1 190.116.200.67 2025-12-11 17:41:35,080 - DEBUG - PING 190.116.200.67 (190.116.200.67): 56 data bytes 64 bytes from 190.116.200.67: seq=0 ttl=63 time=4.224 ms 64 bytes from 190.116.200.67: seq=1 ttl=63 time=1.600 ms 64 bytes from 190.116.200.67: seq=2 ttl=63 time=1.554 ms --- 190.116.200.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.554/2.459/4.224 ms 2025-12-11 17:41:35,080 - INFO - Ping to IP 190.116.200.67 from VM ctest-TestBasicPolicy-89241809-54102054 passed 2025-12-11 17:41:35,293 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a584120-ed76-4a6a-ad0f-a0c1bfc026ab", "href": "http://10.0.0.129:8082/network-policy/2a584120-ed76-4a6a-ad0f-a0c1bfc026ab"}} 2025-12-11 17:41:35,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:41:35,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.116.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-11 17:41:35,294 - DEBUG - ping -s 56 -c 3 -W 1 190.116.200.67 2025-12-11 17:41:38,523 - DEBUG - PING 190.116.200.67 (190.116.200.67): 56 data bytes --- 190.116.200.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-11 17:41:38,523 - WARNING - Ping to IP 190.116.200.67 from VM ctest-TestBasicPolicy-89241809-54102054 failed 2025-12-11 17:41:38,523 - INFO - Deleting VM ctest-TestBasicPolicy-89241809-66051687 2025-12-11 17:41:38,619 - INFO - Deleting VM ctest-TestBasicPolicy-89241809-54102054 2025-12-11 17:41:39,061 - INFO - Deleted policy ctest-policy-allow-all-23054126 2025-12-11 17:41:39,062 - INFO - Deleting VN ctest-vn-74669972 2025-12-11 17:41:39,104 - DEBUG - VN ee743d13-66d4-48d0-a5f3-60e8939d9c51 still in use: Unable to complete operation on network ee743d13-66d4-48d0-a5f3-60e8939d9c51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5d097e5-400b-4561-a7c3-eec19b172cb7'] 2025-12-11 17:41:39,104 - WARNING - Deleting VN ctest-vn-74669972 failed..Will retry 2025-12-11 17:41:41,230 - DEBUG - Response for deleting network () 2025-12-11 17:41:41,230 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4300bc22-541f-478b-a2b0-7b0cd96f27ab 2025-12-11 17:41:41,239 - DEBUG - Response Code: 404 2025-12-11 17:41:41,240 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:41,246 - DEBUG - Requesting: http://10.0.0.129:8082/domain/c79b124c-9a6a-4e7a-80ca-83213d0213be 2025-12-11 17:41:41,304 - DEBUG - Requesting: http://10.0.0.129:8082/project/d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:41,384 - INFO - Validated that VN ctest-vn-74669972 is not found in API Server 2025-12-11 17:41:41,397 - DEBUG - VN ctest-vn-74669972 is not present in Agent 10.0.0.129 2025-12-11 17:41:41,397 - INFO - Validated that VN ctest-vn-74669972 is not in any agent 2025-12-11 17:41:41,414 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74669972 info 2025-12-11 17:41:41,414 - INFO - Deleting VN ctest-vn-09248268 2025-12-11 17:41:41,531 - DEBUG - Response for deleting network () 2025-12-11 17:41:41,531 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/8913a5d1-7dbd-4906-a5e4-8d2d1a92c671 2025-12-11 17:41:41,537 - DEBUG - Response Code: 404 2025-12-11 17:41:41,538 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-11 17:41:41,544 - DEBUG - Requesting: http://10.0.0.129:8082/domain/c79b124c-9a6a-4e7a-80ca-83213d0213be 2025-12-11 17:41:41,600 - DEBUG - Requesting: http://10.0.0.129:8082/project/d04ac293-97b2-4c1d-b992-a88708e96448 2025-12-11 17:41:41,672 - INFO - Validated that VN ctest-vn-09248268 is not found in API Server 2025-12-11 17:41:41,684 - DEBUG - VN ctest-vn-09248268 is not present in Agent 10.0.0.129 2025-12-11 17:41:41,684 - INFO - Validated that VN ctest-vn-09248268 is not in any agent 2025-12-11 17:41:41,703 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09248268 info 2025-12-11 17:41:41,977 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:41:41,977 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-12-11 17:41:41,977 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:41:42,750 - INFO - Deleted project: ctest-TestBasicPolicy-89241809, ID : d04ac293-97b2-4c1d-b992-a88708e96448