2026-06-18 18:28:05,300 - INFO - Domain Default found not creating 2026-06-18 18:28:05,424 - INFO - Project ctest-TestBasicPolicy-70575732 not found, creating it 2026-06-18 18:28:05,869 - INFO - Created Project:ctest-TestBasicPolicy-70575732, ID : 43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:07,233 - INFO - ================================================================================ 2026-06-18 18:28:07,233 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 18:28:07,233 - 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 2026-06-18 18:28:07,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-18 18:28:07,482 - INFO - Initial checks done. Running the testcase now 2026-06-18 18:28:07,482 - INFO - 2026-06-18 18:28:08,002 - DEBUG - Response for create_network : {'network': {'id': '04c2b849-1b67-496f-8743-7847cbe94fa4', 'name': 'ctest-vn-91110989', 'tenant_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'project_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-vn-91110989'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 18:28:08,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e09f3ca-3814-4bb5-8578-21ade1fbfad1', 'name': '', 'tenant_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'network_id': '04c2b849-1b67-496f-8743-7847cbe94fa4', 'ip_version': 4, 'cidr': '107.22.35.128/26', 'allocation_pools': [{'start': '107.22.35.130', 'end': '107.22.35.190'}], 'gateway_ip': '107.22.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.22.35.130', 'tags': [], 'project_id': '43bcb8c3a0b1429bbd9534106c01b78c'}} 2026-06-18 18:28:08,176 - INFO - Created VN ctest-vn-91110989 2026-06-18 18:28:08,230 - DEBUG - VN ctest-vn-91110989 UUID is 04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:08,532 - DEBUG - Response for create_network : {'network': {'id': '37d1b992-d599-4679-b806-0ee4d0f1ecd0', 'name': 'ctest-vn-13026813', 'tenant_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'project_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-vn-13026813'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 18:28:08,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e3c1973-b554-47bd-a360-d8aa5b5680ca', 'name': '', 'tenant_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'network_id': '37d1b992-d599-4679-b806-0ee4d0f1ecd0', 'ip_version': 4, 'cidr': '143.68.88.0/26', 'allocation_pools': [{'start': '143.68.88.2', 'end': '143.68.88.62'}], 'gateway_ip': '143.68.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.68.88.2', 'tags': [], 'project_id': '43bcb8c3a0b1429bbd9534106c01b78c'}} 2026-06-18 18:28:08,753 - INFO - Created VN ctest-vn-13026813 2026-06-18 18:28:08,802 - DEBUG - VN ctest-vn-13026813 UUID is 37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:08,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989, 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-70575732:ctest-vn-13026813, 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] 2026-06-18 18:28:09,215 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04c2b849-1b67-496f-8743-7847cbe94fa4', 'name': 'ctest-vn-91110989', 'tenant_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'project_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e09f3ca-3814-4bb5-8578-21ade1fbfad1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-vn-91110989'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-policy-allow-all-51968939']], 'subnet_ipam': [{'subnet_cidr': '107.22.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 18:28:09,426 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37d1b992-d599-4679-b806-0ee4d0f1ecd0', 'name': 'ctest-vn-13026813', 'tenant_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'project_id': '43bcb8c3a0b1429bbd9534106c01b78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e3c1973-b554-47bd-a360-d8aa5b5680ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-vn-13026813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-policy-allow-all-51968939']], 'subnet_ipam': [{'subnet_cidr': '143.68.88.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 18:28:09,590 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:09,904 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:09,925 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f2dbac5c-369a-452a-bfb4-30610a9b102b 2026-06-18 18:28:09,936 - DEBUG - Requesting: http://10.0.0.38:8082/project/43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:10,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:10,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:10,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/34b594c0-3be7-434a-8772-cd3de6a77430 2026-06-18 18:28:10,024 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/34b594c0-3be7-434a-8772-cd3de6a77430 2026-06-18 18:28:10,030 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d1b8e3ad-bd34-4965-83e8-b6e86eea6c2c 2026-06-18 18:28:10,035 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 18:28:10,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:10,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/34b594c0-3be7-434a-8772-cd3de6a77430 2026-06-18 18:28:10,052 - INFO - Verified VN network id 11 for VN 04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:10,052 - INFO - Verifications in API Server for VN ctest-vn-91110989 passed 2026-06-18 18:28:10,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:10,059 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/34b594c0-3be7-434a-8772-cd3de6a77430 2026-06-18 18:28:10,064 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/34b594c0-3be7-434a-8772-cd3de6a77430 2026-06-18 18:28:10,070 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d1b8e3ad-bd34-4965-83e8-b6e86eea6c2c 2026-06-18 18:28:10,079 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70575732', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '343039145765456239', 'uuid-lslong': '9746766268318961572'}, 'enable': 'true', 'created': '2026-06-18T18:28:07', 'last-modified': '2026-06-18T18:28:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887073'} 2026-06-18 18:28:10,083 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 18:28:10,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91110989 passed 2026-06-18 18:28:10,084 - DEBUG - ====Verifying policy data for ctest-vn-91110989 in API_Server ====== 2026-06-18 18:28:10,084 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:10,088 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f2dbac5c-369a-452a-bfb4-30610a9b102b 2026-06-18 18:28:10,096 - DEBUG - Requesting: http://10.0.0.38:8082/project/43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:10,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04c2b849-1b67-496f-8743-7847cbe94fa4 2026-06-18 18:28:10,170 - DEBUG - ==>Verifying data for policy with id: 32a433dc-443a-416e-9258-960ff95cfab3, fqn: ['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-policy-allow-all-51968939'] 2026-06-18 18:28:10,170 - INFO - VN ctest-vn-91110989 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 18:28:10,171 - DEBUG - Verifying the vn in opserver 2026-06-18 18:28:10,171 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989 virtual network link through opserver 10.0.0.38 2026-06-18 18:28:10,171 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 18:28:10,487 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 18:28:10,532 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989?flat'} 2026-06-18 18:28:10,532 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989 is found in opserver 2026-06-18 18:28:10,543 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 18:28:10,548 - DEBUG - VRF ids for VN ctest-vn-91110989: {} 2026-06-18 18:28:10,548 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:10,552 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f2dbac5c-369a-452a-bfb4-30610a9b102b 2026-06-18 18:28:10,561 - DEBUG - Requesting: http://10.0.0.38:8082/project/43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:10,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:10,635 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:10,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92afb6cb-9425-41e4-93ee-8f854db561d2 2026-06-18 18:28:10,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92afb6cb-9425-41e4-93ee-8f854db561d2 2026-06-18 18:28:10,654 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2005b73b-92ce-4151-9ac8-12ee5165e994 2026-06-18 18:28:10,659 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 18:28:10,659 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:10,666 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92afb6cb-9425-41e4-93ee-8f854db561d2 2026-06-18 18:28:10,676 - INFO - Verified VN network id 12 for VN 37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:10,676 - INFO - Verifications in API Server for VN ctest-vn-13026813 passed 2026-06-18 18:28:10,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:10,683 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92afb6cb-9425-41e4-93ee-8f854db561d2 2026-06-18 18:28:10,688 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92afb6cb-9425-41e4-93ee-8f854db561d2 2026-06-18 18:28:10,694 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2005b73b-92ce-4151-9ac8-12ee5165e994 2026-06-18 18:28:10,703 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-13026813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70575732', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4022199982518519417', 'uuid-lslong': '13260302528759852240'}, 'enable': 'true', 'created': '2026-06-18T18:28:08', 'last-modified': '2026-06-18T18:28:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.290234'} 2026-06-18 18:28:10,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 18:28:10,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13026813 passed 2026-06-18 18:28:10,708 - DEBUG - ====Verifying policy data for ctest-vn-13026813 in API_Server ====== 2026-06-18 18:28:10,708 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:10,714 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f2dbac5c-369a-452a-bfb4-30610a9b102b 2026-06-18 18:28:10,724 - DEBUG - Requesting: http://10.0.0.38:8082/project/43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:10,789 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37d1b992-d599-4679-b806-0ee4d0f1ecd0 2026-06-18 18:28:10,797 - DEBUG - ==>Verifying data for policy with id: 32a433dc-443a-416e-9258-960ff95cfab3, fqn: ['default-domain', 'ctest-TestBasicPolicy-70575732', 'ctest-policy-allow-all-51968939'] 2026-06-18 18:28:10,797 - INFO - VN ctest-vn-13026813 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 18:28:10,797 - DEBUG - Verifying the vn in opserver 2026-06-18 18:28:10,797 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-13026813 virtual network link through opserver 10.0.0.38 2026-06-18 18:28:10,797 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 18:28:10,806 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-13026813', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-13026813?flat'} 2026-06-18 18:28:10,806 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-13026813 is found in opserver 2026-06-18 18:28:10,814 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 18:28:10,818 - DEBUG - VRF ids for VN ctest-vn-13026813: {} 2026-06-18 18:28:10,864 - DEBUG - Services list from nova: [, , ] 2026-06-18 18:28:11,858 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5991-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5991-1) 2026-06-18 18:28:12,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5991-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5991-1) 2026-06-18 18:28:12,893 - INFO - Waiting for VM ctest-TestBasicPolicy-70575732-28432404 to be up.. 2026-06-18 18:28:12,938 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 18:28:18,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 18:28:23,082 - DEBUG - VM is in ACTIVE state now 2026-06-18 18:28:23,082 - INFO - VM name : ctest-TestBasicPolicy-70575732-28432404 2026-06-18 18:28:23,146 - DEBUG - VM ctest-TestBasicPolicy-70575732-28432404 ID is cbb34ec4-bb03-4d00-9aaf-26ef8c1a343d 2026-06-18 18:28:23,164 - DEBUG - VM ctest-TestBasicPolicy-70575732-28432404 launched on Node cn-jenkins-deploy-platform-ansible-os-5991-1 2026-06-18 18:28:23,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cbb34ec4-bb03-4d00-9aaf-26ef8c1a343d 2026-06-18 18:28:23,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2b170121-f7bd-485a-a270-a068cd738e75 2026-06-18 18:28:26,482 - 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') 2026-06-18 18:28:26,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70575732-28432404 failed! 2026-06-18 18:28:26,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70575732:ctest-vn-91110989 is 107.22.35.129 and allocation pool is NOT set 2026-06-18 18:28:28,596 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.332 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.332/1.744/3.156/1.412 ms') 2026-06-18 18:28:28,596 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70575732-28432404 passed 2026-06-18 18:28:28,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 18:28:28,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70575732-28432404, IP 107.22.35.131, Port 22 2026-06-18 18:28:28,906 - DEBUG - VM ctest-TestBasicPolicy-70575732-28432404 is ready for SSH connections 2026-06-18 18:28:28,906 - INFO - Waiting for VM ctest-TestBasicPolicy-70575732-46946958 to be up.. 2026-06-18 18:28:28,967 - DEBUG - VM is in ACTIVE state now 2026-06-18 18:28:28,967 - INFO - VM name : ctest-TestBasicPolicy-70575732-46946958 2026-06-18 18:28:29,034 - DEBUG - VM ctest-TestBasicPolicy-70575732-46946958 ID is b55f7b14-4047-4dc7-8bf0-fb371b95a892 2026-06-18 18:28:29,034 - DEBUG - VM ctest-TestBasicPolicy-70575732-46946958 launched on Node cn-jenkins-deploy-platform-ansible-os-5991-1 2026-06-18 18:28:29,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b55f7b14-4047-4dc7-8bf0-fb371b95a892 2026-06-18 18:28:29,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/769c5695-9b2a-413a-81c1-91beab514b0d 2026-06-18 18:28:30,341 - 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=5.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.11 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.113/3.729/5.345/1.616 ms') 2026-06-18 18:28:30,341 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70575732-46946958 passed 2026-06-18 18:28:30,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 18:28:30,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70575732-46946958, IP 143.68.88.3, Port 22 2026-06-18 18:28:30,555 - 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': ''} 2026-06-18 18:28:30,613 - DEBUG - VM ctest-TestBasicPolicy-70575732-46946958 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 18:28:35,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 18:28:35,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70575732-46946958, IP 143.68.88.3, Port 22 2026-06-18 18:28:35,769 - DEBUG - VM ctest-TestBasicPolicy-70575732-46946958 is ready for SSH connections 2026-06-18 18:28:35,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 18:28:35,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.68.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-18 18:28:35,769 - DEBUG - ping -s 56 -c 3 -W 1 143.68.88.3 2026-06-18 18:28:39,615 - DEBUG - PING 143.68.88.3 (143.68.88.3): 56 data bytes 64 bytes from 143.68.88.3: seq=0 ttl=63 time=3.806 ms 64 bytes from 143.68.88.3: seq=1 ttl=63 time=0.815 ms 64 bytes from 143.68.88.3: seq=2 ttl=63 time=0.866 ms --- 143.68.88.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.829/3.806 ms 2026-06-18 18:28:39,615 - INFO - Ping to IP 143.68.88.3 from VM ctest-TestBasicPolicy-70575732-28432404 passed 2026-06-18 18:28:39,794 - DEBUG - Policy Update Response {"network-policy": {"uuid": "32a433dc-443a-416e-9258-960ff95cfab3", "href": "http://10.0.0.38:8082/network-policy/32a433dc-443a-416e-9258-960ff95cfab3"}} 2026-06-18 18:28:39,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 18:28:39,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.68.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-18 18:28:39,794 - DEBUG - ping -s 56 -c 3 -W 1 143.68.88.3 2026-06-18 18:28:42,909 - DEBUG - PING 143.68.88.3 (143.68.88.3): 56 data bytes --- 143.68.88.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 18:28:42,909 - WARNING - Ping to IP 143.68.88.3 from VM ctest-TestBasicPolicy-70575732-28432404 failed 2026-06-18 18:28:42,909 - INFO - Deleting VM ctest-TestBasicPolicy-70575732-46946958 2026-06-18 18:28:42,974 - INFO - Deleting VM ctest-TestBasicPolicy-70575732-28432404 2026-06-18 18:28:43,273 - INFO - Deleted policy ctest-policy-allow-all-51968939 2026-06-18 18:28:43,273 - INFO - Deleting VN ctest-vn-13026813 2026-06-18 18:28:43,302 - DEBUG - VN 37d1b992-d599-4679-b806-0ee4d0f1ecd0 still in use: Unable to complete operation on network 37d1b992-d599-4679-b806-0ee4d0f1ecd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c7b418a-fdc4-43c8-af51-d050ce87b4be'] 2026-06-18 18:28:43,302 - WARNING - Deleting VN ctest-vn-13026813 failed..Will retry 2026-06-18 18:28:45,389 - DEBUG - Response for deleting network () 2026-06-18 18:28:45,389 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92afb6cb-9425-41e4-93ee-8f854db561d2 2026-06-18 18:28:45,393 - DEBUG - Response Code: 404 2026-06-18 18:28:45,394 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:45,400 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f2dbac5c-369a-452a-bfb4-30610a9b102b 2026-06-18 18:28:45,451 - DEBUG - Requesting: http://10.0.0.38:8082/project/43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:45,519 - INFO - Validated that VN ctest-vn-13026813 is not found in API Server 2026-06-18 18:28:45,528 - DEBUG - VN ctest-vn-13026813 is not present in Agent 10.0.0.38 2026-06-18 18:28:45,528 - INFO - Validated that VN ctest-vn-13026813 is not in any agent 2026-06-18 18:28:45,541 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13026813 info 2026-06-18 18:28:45,541 - INFO - Deleting VN ctest-vn-91110989 2026-06-18 18:28:45,635 - DEBUG - Response for deleting network () 2026-06-18 18:28:45,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/34b594c0-3be7-434a-8772-cd3de6a77430 2026-06-18 18:28:45,643 - DEBUG - Response Code: 404 2026-06-18 18:28:45,643 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 18:28:45,649 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f2dbac5c-369a-452a-bfb4-30610a9b102b 2026-06-18 18:28:45,703 - DEBUG - Requesting: http://10.0.0.38:8082/project/43bcb8c3-a0b1-429b-bd95-34106c01b78c 2026-06-18 18:28:45,767 - INFO - Validated that VN ctest-vn-91110989 is not found in API Server 2026-06-18 18:28:45,777 - DEBUG - VN ctest-vn-91110989 is not present in Agent 10.0.0.38 2026-06-18 18:28:45,777 - INFO - Validated that VN ctest-vn-91110989 is not in any agent 2026-06-18 18:28:45,789 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91110989 info 2026-06-18 18:28:46,042 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 18:28:46,042 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-06-18 18:28:46,042 - INFO - -------------------------------------------------------------------------------- 2026-06-18 18:28:46,721 - INFO - Deleted project: ctest-TestBasicPolicy-70575732, ID : 43bcb8c3-a0b1-429b-bd95-34106c01b78c