2026-09-16 13:10:19,225 - INFO - Domain Default found not creating 2026-09-16 13:10:19,397 - INFO - Project ctest-TestBasicPolicy-65554915 not found, creating it 2026-09-16 13:10:20,233 - INFO - Created Project:ctest-TestBasicPolicy-65554915, ID : c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:10:21,884 - INFO - ================================================================================ 2026-09-16 13:10:21,885 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-16 13:10:21,885 - 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-09-16 13:10:22,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.30': '0'}} with 2026-09-16 13:10:22,146 - INFO - Initial checks done. Running the testcase now 2026-09-16 13:10:22,146 - INFO - 2026-09-16 13:10:22,756 - DEBUG - Response for create_network : {'network': {'id': 'e63a0ba8-659b-41e3-9fe1-12f269e17787', 'name': 'ctest-vn-05270842', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-05270842'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:10:22,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3b2df64-7034-4b78-8b1f-b4b624b24146', 'name': '', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'network_id': 'e63a0ba8-659b-41e3-9fe1-12f269e17787', 'ip_version': 4, 'cidr': '210.248.88.128/26', 'allocation_pools': [{'start': '210.248.88.130', 'end': '210.248.88.190'}], 'gateway_ip': '210.248.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.248.88.130', 'tags': [], 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4'}} 2026-09-16 13:10:22,947 - INFO - Created VN ctest-vn-05270842 2026-09-16 13:10:22,999 - DEBUG - VN ctest-vn-05270842 UUID is e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:23,309 - DEBUG - Response for create_network : {'network': {'id': 'b3213387-f1bd-4417-88b3-6f214cb4987c', 'name': 'ctest-vn-58719505', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-58719505'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:10:23,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '86350ef1-fb63-4220-9d17-5269b244e603', 'name': '', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'network_id': 'b3213387-f1bd-4417-88b3-6f214cb4987c', 'ip_version': 4, 'cidr': '202.176.184.64/26', 'allocation_pools': [{'start': '202.176.184.66', 'end': '202.176.184.126'}], 'gateway_ip': '202.176.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.176.184.66', 'tags': [], 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4'}} 2026-09-16 13:10:23,558 - INFO - Created VN ctest-vn-58719505 2026-09-16 13:10:23,615 - DEBUG - VN ctest-vn-58719505 UUID is b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:23,741 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842, 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-65554915:ctest-vn-58719505, 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-09-16 13:10:24,042 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e63a0ba8-659b-41e3-9fe1-12f269e17787', 'name': 'ctest-vn-05270842', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e3b2df64-7034-4b78-8b1f-b4b624b24146'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-05270842'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183']], 'subnet_ipam': [{'subnet_cidr': '210.248.88.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:10:24,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3213387-f1bd-4417-88b3-6f214cb4987c', 'name': 'ctest-vn-58719505', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['86350ef1-fb63-4220-9d17-5269b244e603'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-58719505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183']], 'subnet_ipam': [{'subnet_cidr': '202.176.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:10:24,451 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:10:24,788 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:10:24,819 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe 2026-09-16 13:10:24,833 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:10:24,918 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:24,930 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:24,940 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a 2026-09-16 13:10:24,949 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a 2026-09-16 13:10:24,957 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/27b640bb-3bca-4cad-bda7-386f82a64e18 2026-09-16 13:10:24,965 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 13:10:24,965 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:24,973 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a 2026-09-16 13:10:24,989 - INFO - Verified VN network id 12 for VN e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:24,989 - INFO - Verifications in API Server for VN ctest-vn-05270842 passed 2026-09-16 13:10:24,989 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:24,998 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a 2026-09-16 13:10:25,006 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a 2026-09-16 13:10:25,015 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/27b640bb-3bca-4cad-bda7-386f82a64e18 2026-09-16 13:10:25,029 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65554915', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16589584995259728355', 'uuid-lslong': '11520510154158208903'}, 'enable': 'true', 'created': '2026-09-16T13:10:22', 'last-modified': '2026-09-16T13:10:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008008'} 2026-09-16 13:10:25,039 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 13:10:25,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05270842 passed 2026-09-16 13:10:25,039 - DEBUG - ====Verifying policy data for ctest-vn-05270842 in API_Server ====== 2026-09-16 13:10:25,039 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:10:25,046 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe 2026-09-16 13:10:25,058 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:10:25,131 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787 2026-09-16 13:10:25,140 - DEBUG - ==>Verifying data for policy with id: 6367f59f-91a5-4ce8-8003-347770dc3872, fqn: ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183'] 2026-09-16 13:10:25,140 - INFO - VN ctest-vn-05270842 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 13:10:25,140 - DEBUG - Verifying the vn in opserver 2026-09-16 13:10:25,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842 virtual network link through opserver 10.0.0.188 2026-09-16 13:10:25,140 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-09-16 13:10:25,476 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-09-16 13:10:25,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842?flat'} 2026-09-16 13:10:25,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842 is found in opserver 2026-09-16 13:10:25,547 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 13:10:25,554 - DEBUG - VRF ids for VN ctest-vn-05270842: {} 2026-09-16 13:10:25,554 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:10:25,561 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe 2026-09-16 13:10:25,573 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:10:25,649 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:25,661 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:25,672 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2 2026-09-16 13:10:25,680 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2 2026-09-16 13:10:25,688 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/a0c5ba90-1d10-4d37-a652-0a02181f56a4 2026-09-16 13:10:25,697 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 13:10:25,697 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:25,707 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2 2026-09-16 13:10:25,723 - INFO - Verified VN network id 13 for VN b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:25,724 - INFO - Verifications in API Server for VN ctest-vn-58719505 passed 2026-09-16 13:10:25,724 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:25,736 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2 2026-09-16 13:10:25,745 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2 2026-09-16 13:10:25,753 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/a0c5ba90-1d10-4d37-a652-0a02181f56a4 2026-09-16 13:10:25,768 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65554915', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12907654665989866519', 'uuid-lslong': '9850338998800914556'}, 'enable': 'true', 'created': '2026-09-16T13:10:23', 'last-modified': '2026-09-16T13:10:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501823'} 2026-09-16 13:10:25,775 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 13:10:25,775 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58719505 passed 2026-09-16 13:10:25,775 - DEBUG - ====Verifying policy data for ctest-vn-58719505 in API_Server ====== 2026-09-16 13:10:25,775 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:10:25,782 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe 2026-09-16 13:10:25,795 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:10:25,873 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c 2026-09-16 13:10:25,886 - DEBUG - ==>Verifying data for policy with id: 6367f59f-91a5-4ce8-8003-347770dc3872, fqn: ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183'] 2026-09-16 13:10:25,886 - INFO - VN ctest-vn-58719505 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 13:10:25,887 - DEBUG - Verifying the vn in opserver 2026-09-16 13:10:25,887 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505 virtual network link through opserver 10.0.0.188 2026-09-16 13:10:25,887 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-09-16 13:10:25,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505?flat'} 2026-09-16 13:10:25,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505 is found in opserver 2026-09-16 13:10:25,911 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 13:10:25,916 - DEBUG - VRF ids for VN ctest-vn-58719505: {} 2026-09-16 13:10:25,984 - DEBUG - Services list from nova: [, , ] 2026-09-16 13:10:26,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6292-1) 2026-09-16 13:10:26,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6292-1) 2026-09-16 13:10:26,921 - INFO - Waiting for VM ctest-TestBasicPolicy-65554915-58293962 to be up.. 2026-09-16 13:10:26,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:10:32,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:10:37,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:10:42,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:10:47,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:10:52,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:10:57,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:11:02,540 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:11:02,540 - INFO - VM name : ctest-TestBasicPolicy-65554915-58293962 2026-09-16 13:11:02,625 - DEBUG - VM ctest-TestBasicPolicy-65554915-58293962 ID is 47ce22d6-9d86-45b5-97b4-fbbbbf902521 2026-09-16 13:11:02,650 - DEBUG - VM ctest-TestBasicPolicy-65554915-58293962 launched on Node cn-jenkins-deploy-platform-ansible-os-6292-1 2026-09-16 13:11:02,746 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/47ce22d6-9d86-45b5-97b4-fbbbbf902521 2026-09-16 13:11:02,756 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/37d4569b-fdca-4945-91ba-e294266d75a1 2026-09-16 13:11:06,044 - 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 1030ms') 2026-09-16 13:11:06,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65554915-58293962 failed! 2026-09-16 13:11:06,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842 is 210.248.88.129 and allocation pool is NOT set 2026-09-16 13:11:10,164 - 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=2 ttl=63 time=9.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 8.996/8.996/8.996/0.000 ms') 2026-09-16 13:11:10,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65554915-58293962 passed 2026-09-16 13:11:10,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:11:10,324 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65554915-58293962, IP 210.248.88.131, Port 22 2026-09-16 13:11:10,479 - DEBUG - VM ctest-TestBasicPolicy-65554915-58293962 is ready for SSH connections 2026-09-16 13:11:10,479 - INFO - Waiting for VM ctest-TestBasicPolicy-65554915-42445343 to be up.. 2026-09-16 13:11:10,565 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:11:10,565 - INFO - VM name : ctest-TestBasicPolicy-65554915-42445343 2026-09-16 13:11:10,649 - DEBUG - VM ctest-TestBasicPolicy-65554915-42445343 ID is 4931da3b-4955-437f-a397-85c7a7c7a8cc 2026-09-16 13:11:10,650 - DEBUG - VM ctest-TestBasicPolicy-65554915-42445343 launched on Node cn-jenkins-deploy-platform-ansible-os-6292-1 2026-09-16 13:11:10,739 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/4931da3b-4955-437f-a397-85c7a7c7a8cc 2026-09-16 13:11:10,751 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/4372345d-21ad-458c-9732-a0eb7cbad703 2026-09-16 13:11:14,014 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-09-16 13:11:14,014 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65554915-42445343 failed! 2026-09-16 13:11:14,071 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505 is 202.176.184.65 and allocation pool is NOT set 2026-09-16 13:11:16,141 - 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=6.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.61 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.614/4.513/6.413/1.899 ms') 2026-09-16 13:11:16,141 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65554915-42445343 passed 2026-09-16 13:11:16,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:11:16,295 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65554915-42445343, IP 202.176.184.67, Port 22 2026-09-16 13:11:16,364 - 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-09-16 13:11:16,446 - DEBUG - VM ctest-TestBasicPolicy-65554915-42445343 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 13:11:21,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:11:21,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65554915-42445343, IP 202.176.184.67, Port 22 2026-09-16 13:11:21,613 - DEBUG - VM ctest-TestBasicPolicy-65554915-42445343 is ready for SSH connections 2026-09-16 13:11:21,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:11:21,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.176.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-09-16 13:11:21,613 - DEBUG - ping -s 56 -c 3 -W 1 202.176.184.67 2026-09-16 13:11:25,561 - DEBUG - PING 202.176.184.67 (202.176.184.67): 56 data bytes 64 bytes from 202.176.184.67: seq=0 ttl=63 time=4.615 ms 64 bytes from 202.176.184.67: seq=1 ttl=63 time=1.076 ms 64 bytes from 202.176.184.67: seq=2 ttl=63 time=1.176 ms --- 202.176.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/2.289/4.615 ms 2026-09-16 13:11:25,561 - INFO - Ping to IP 202.176.184.67 from VM ctest-TestBasicPolicy-65554915-58293962 passed 2026-09-16 13:11:25,747 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6367f59f-91a5-4ce8-8003-347770dc3872", "href": "http://10.0.0.188:8082/network-policy/6367f59f-91a5-4ce8-8003-347770dc3872"}} 2026-09-16 13:11:25,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:11:25,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.176.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-09-16 13:11:25,748 - DEBUG - ping -s 56 -c 3 -W 1 202.176.184.67 2026-09-16 13:11:28,887 - DEBUG - PING 202.176.184.67 (202.176.184.67): 56 data bytes 64 bytes from 202.176.184.67: seq=0 ttl=63 time=1.934 ms --- 202.176.184.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.934/1.934/1.934 ms 2026-09-16 13:11:28,888 - WARNING - Ping to IP 202.176.184.67 from VM ctest-TestBasicPolicy-65554915-58293962 failed 2026-09-16 13:11:28,888 - INFO - Deleting VM ctest-TestBasicPolicy-65554915-42445343 2026-09-16 13:11:28,968 - INFO - Deleting VM ctest-TestBasicPolicy-65554915-58293962 2026-09-16 13:11:29,411 - INFO - Deleted policy ctest-policy-allow-all-41267183 2026-09-16 13:11:29,411 - INFO - Deleting VN ctest-vn-58719505 2026-09-16 13:11:29,450 - DEBUG - VN b3213387-f1bd-4417-88b3-6f214cb4987c still in use: Unable to complete operation on network b3213387-f1bd-4417-88b3-6f214cb4987c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-535191c4-5af8-453b-aa9d-de63ef8dbe6a'] 2026-09-16 13:11:29,450 - WARNING - Deleting VN ctest-vn-58719505 failed..Will retry 2026-09-16 13:11:31,560 - DEBUG - Response for deleting network () 2026-09-16 13:11:31,560 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2 2026-09-16 13:11:31,569 - DEBUG - Response Code: 404 2026-09-16 13:11:31,569 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:11:31,575 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe 2026-09-16 13:11:31,631 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:11:31,708 - INFO - Validated that VN ctest-vn-58719505 is not found in API Server 2026-09-16 13:11:31,719 - DEBUG - VN ctest-vn-58719505 is not present in Agent 10.0.0.188 2026-09-16 13:11:31,719 - INFO - Validated that VN ctest-vn-58719505 is not in any agent 2026-09-16 13:11:31,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58719505 info 2026-09-16 13:11:31,741 - INFO - Deleting VN ctest-vn-05270842 2026-09-16 13:11:31,850 - DEBUG - Response for deleting network () 2026-09-16 13:11:31,850 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a 2026-09-16 13:11:31,856 - DEBUG - Response Code: 404 2026-09-16 13:11:31,856 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-16 13:11:31,863 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe 2026-09-16 13:11:31,917 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4 2026-09-16 13:11:31,996 - INFO - Validated that VN ctest-vn-05270842 is not found in API Server 2026-09-16 13:11:32,008 - DEBUG - VN ctest-vn-05270842 is not present in Agent 10.0.0.188 2026-09-16 13:11:32,008 - INFO - Validated that VN ctest-vn-05270842 is not in any agent 2026-09-16 13:11:32,025 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05270842 info 2026-09-16 13:11:32,284 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 13:11:32,284 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-09-16 13:11:32,284 - INFO - -------------------------------------------------------------------------------- 2026-09-16 13:11:32,999 - INFO - Deleted project: ctest-TestBasicPolicy-65554915, ID : c3476d9b-21a2-407a-ab55-e0422a65f0d4