2026-10-05 02:35:00,489 - INFO - Domain Default found not creating 2026-10-05 02:35:00,675 - INFO - Project ctest-TestBasicPolicy-39306738 not found, creating it 2026-10-05 02:35:01,181 - INFO - Created Project:ctest-TestBasicPolicy-39306738, ID : ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:35:02,946 - INFO - ================================================================================ 2026-10-05 02:35:02,946 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-05 02:35:02,946 - 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-10-05 02:35:03,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-10-05 02:35:03,224 - INFO - Initial checks done. Running the testcase now 2026-10-05 02:35:03,224 - INFO - 2026-10-05 02:35:03,912 - DEBUG - Response for create_network : {'network': {'id': '97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1', 'name': 'ctest-vn-32448022', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-32448022'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-05 02:35:04,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eab83ce-31cb-4a14-9eba-2e080f53eca2', 'name': '', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'network_id': '97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1', 'ip_version': 4, 'cidr': '140.174.162.64/26', 'allocation_pools': [{'start': '140.174.162.66', 'end': '140.174.162.126'}], 'gateway_ip': '140.174.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-05T02:35:04.083549', 'updated_at': '2026-10-05T02:35:04.083549', 'dns_server_address': '140.174.162.66', 'tags': [], 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d'}} 2026-10-05 02:35:04,182 - INFO - Created VN ctest-vn-32448022 2026-10-05 02:35:04,237 - DEBUG - VN ctest-vn-32448022 UUID is 97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:04,565 - DEBUG - Response for create_network : {'network': {'id': 'feaec81c-f2f3-4a02-9f6a-240332b859c1', 'name': 'ctest-vn-89571208', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-89571208'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-05 02:35:04,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bcb21f1-76df-4f42-9528-173422083ed2', 'name': '', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'network_id': 'feaec81c-f2f3-4a02-9f6a-240332b859c1', 'ip_version': 4, 'cidr': '222.0.69.64/26', 'allocation_pools': [{'start': '222.0.69.66', 'end': '222.0.69.126'}], 'gateway_ip': '222.0.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-05T02:35:04.669014', 'updated_at': '2026-10-05T02:35:04.669014', 'dns_server_address': '222.0.69.66', 'tags': [], 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d'}} 2026-10-05 02:35:04,779 - INFO - Created VN ctest-vn-89571208 2026-10-05 02:35:04,837 - DEBUG - VN ctest-vn-89571208 UUID is feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:04,954 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022, 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-39306738:ctest-vn-89571208, 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-10-05 02:35:05,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1', 'name': 'ctest-vn-32448022', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9eab83ce-31cb-4a14-9eba-2e080f53eca2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-32448022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652']], 'subnet_ipam': [{'subnet_cidr': '140.174.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-05T02:35:03.860658', 'updated_at': '2026-10-05T02:35:04.103723'}} 2026-10-05 02:35:05,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'feaec81c-f2f3-4a02-9f6a-240332b859c1', 'name': 'ctest-vn-89571208', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8bcb21f1-76df-4f42-9528-173422083ed2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-89571208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652']], 'subnet_ipam': [{'subnet_cidr': '222.0.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-05T02:35:04.529577', 'updated_at': '2026-10-05T02:35:04.686063'}} 2026-10-05 02:35:05,713 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:35:06,083 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:35:06,113 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596 2026-10-05 02:35:06,129 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:35:06,214 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:06,230 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:06,242 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b 2026-10-05 02:35:06,252 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b 2026-10-05 02:35:06,260 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ce8ae5db-9e45-4e93-b8b1-2e8aee1ac1db 2026-10-05 02:35:06,268 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 02:35:06,268 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:06,279 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b 2026-10-05 02:35:06,298 - INFO - Verified VN network id 12 for VN 97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:06,298 - INFO - Verifications in API Server for VN ctest-vn-32448022 passed 2026-10-05 02:35:06,298 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:06,311 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b 2026-10-05 02:35:06,320 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b 2026-10-05 02:35:06,329 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ce8ae5db-9e45-4e93-b8b1-2e8aee1ac1db 2026-10-05 02:35:06,343 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39306738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10946601142687910699', 'uuid-lslong': '11516265392953073089'}, 'enable': 'true', 'created': '2026-10-05T02:35:03', 'last-modified': '2026-10-05T02:35:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.090817'} 2026-10-05 02:35:06,351 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 02:35:06,351 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32448022 passed 2026-10-05 02:35:06,351 - DEBUG - ====Verifying policy data for ctest-vn-32448022 in API_Server ====== 2026-10-05 02:35:06,351 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:35:06,358 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596 2026-10-05 02:35:06,371 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:35:06,448 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1 2026-10-05 02:35:06,460 - DEBUG - ==>Verifying data for policy with id: a84c4520-e6ed-4dea-b1db-28a91ff65f97, fqn: ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652'] 2026-10-05 02:35:06,460 - INFO - VN ctest-vn-32448022 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 02:35:06,460 - DEBUG - Verifying the vn in opserver 2026-10-05 02:35:06,460 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022 virtual network link through opserver 10.0.0.189 2026-10-05 02:35:06,461 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-10-05 02:35:06,835 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-10-05 02:35:06,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022?flat'} 2026-10-05 02:35:06,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022 is found in opserver 2026-10-05 02:35:06,908 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 02:35:06,913 - DEBUG - VRF ids for VN ctest-vn-32448022: {} 2026-10-05 02:35:06,913 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:35:06,920 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596 2026-10-05 02:35:06,939 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:35:07,031 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:07,045 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:07,057 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5 2026-10-05 02:35:07,066 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5 2026-10-05 02:35:07,075 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0a1c0bec-75e4-4ce9-8b38-7c23130b4232 2026-10-05 02:35:07,084 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 02:35:07,084 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:07,095 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5 2026-10-05 02:35:07,114 - INFO - Verified VN network id 13 for VN feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:07,114 - INFO - Verifications in API Server for VN ctest-vn-89571208 passed 2026-10-05 02:35:07,114 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:07,126 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5 2026-10-05 02:35:07,134 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5 2026-10-05 02:35:07,143 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0a1c0bec-75e4-4ce9-8b38-7c23130b4232 2026-10-05 02:35:07,159 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39306738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18351825558242019842', 'uuid-lslong': '11487033395716315585'}, 'enable': 'true', 'created': '2026-10-05T02:35:04', 'last-modified': '2026-10-05T02:35:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.647392'} 2026-10-05 02:35:07,166 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 02:35:07,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89571208 passed 2026-10-05 02:35:07,166 - DEBUG - ====Verifying policy data for ctest-vn-89571208 in API_Server ====== 2026-10-05 02:35:07,166 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:35:07,173 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596 2026-10-05 02:35:07,187 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:35:07,276 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1 2026-10-05 02:35:07,287 - DEBUG - ==>Verifying data for policy with id: a84c4520-e6ed-4dea-b1db-28a91ff65f97, fqn: ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652'] 2026-10-05 02:35:07,287 - INFO - VN ctest-vn-89571208 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 02:35:07,287 - DEBUG - Verifying the vn in opserver 2026-10-05 02:35:07,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208 virtual network link through opserver 10.0.0.189 2026-10-05 02:35:07,287 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-10-05 02:35:07,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208?flat'} 2026-10-05 02:35:07,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208 is found in opserver 2026-10-05 02:35:07,312 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 02:35:07,317 - DEBUG - VRF ids for VN ctest-vn-89571208: {} 2026-10-05 02:35:07,384 - DEBUG - Services list from nova: [, , ] 2026-10-05 02:35:07,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6344-1) 2026-10-05 02:35:08,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6344-1) 2026-10-05 02:35:08,327 - INFO - Waiting for VM ctest-TestBasicPolicy-39306738-48056223 to be up.. 2026-10-05 02:35:08,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:13,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:18,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:23,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:28,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:33,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:38,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:44,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:35:49,099 - DEBUG - VM is in ACTIVE state now 2026-10-05 02:35:49,099 - INFO - VM name : ctest-TestBasicPolicy-39306738-48056223 2026-10-05 02:35:49,192 - DEBUG - VM ctest-TestBasicPolicy-39306738-48056223 ID is ae7e6cb4-f3ff-4426-af77-72538e6f91da 2026-10-05 02:35:49,215 - DEBUG - VM ctest-TestBasicPolicy-39306738-48056223 launched on Node cn-jenkins-deploy-platform-ansible-os-6344-1 2026-10-05 02:35:49,309 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/ae7e6cb4-f3ff-4426-af77-72538e6f91da 2026-10-05 02:35:49,322 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/fc2e183d-503b-4962-8397-c7840fcf9984 2026-10-05 02:35:52,611 - 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 1021ms') 2026-10-05 02:35:52,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39306738-48056223 failed! 2026-10-05 02:35:52,669 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022 is 140.174.162.65 and allocation pool is NOT set 2026-10-05 02:35:54,731 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.627/3.315/5.003/1.688 ms') 2026-10-05 02:35:54,732 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39306738-48056223 passed 2026-10-05 02:35:54,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:35:54,889 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39306738-48056223, IP 140.174.162.67, Port 22 2026-10-05 02:35:54,959 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-05 02:35:55,050 - DEBUG - VM ctest-TestBasicPolicy-39306738-48056223 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-05 02:36:00,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:36:00,051 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39306738-48056223, IP 140.174.162.67, Port 22 2026-10-05 02:36:00,223 - DEBUG - VM ctest-TestBasicPolicy-39306738-48056223 is ready for SSH connections 2026-10-05 02:36:00,223 - INFO - Waiting for VM ctest-TestBasicPolicy-39306738-52842288 to be up.. 2026-10-05 02:36:00,314 - DEBUG - VM is in ACTIVE state now 2026-10-05 02:36:00,314 - INFO - VM name : ctest-TestBasicPolicy-39306738-52842288 2026-10-05 02:36:00,399 - DEBUG - VM ctest-TestBasicPolicy-39306738-52842288 ID is 0ad8916a-b7e0-434a-b89c-7f7d2e78023c 2026-10-05 02:36:00,399 - DEBUG - VM ctest-TestBasicPolicy-39306738-52842288 launched on Node cn-jenkins-deploy-platform-ansible-os-6344-1 2026-10-05 02:36:00,491 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/0ad8916a-b7e0-434a-b89c-7f7d2e78023c 2026-10-05 02:36:00,503 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/2e59c9ac-a760-476f-8a77-8a991afca29f 2026-10-05 02:36:01,751 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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 = 0.531/2.084/3.637/1.553 ms') 2026-10-05 02:36:01,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39306738-52842288 passed 2026-10-05 02:36:01,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:36:01,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39306738-52842288, IP 222.0.69.67, Port 22 2026-10-05 02:36:02,071 - DEBUG - VM ctest-TestBasicPolicy-39306738-52842288 is ready for SSH connections 2026-10-05 02:36:02,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:36:02,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.0.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-10-05 02:36:02,071 - DEBUG - ping -s 56 -c 3 -W 1 222.0.69.67 2026-10-05 02:36:06,122 - DEBUG - PING 222.0.69.67 (222.0.69.67): 56 data bytes 64 bytes from 222.0.69.67: seq=0 ttl=63 time=4.168 ms 64 bytes from 222.0.69.67: seq=1 ttl=63 time=0.998 ms 64 bytes from 222.0.69.67: seq=2 ttl=63 time=1.065 ms --- 222.0.69.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/2.077/4.168 ms 2026-10-05 02:36:06,122 - INFO - Ping to IP 222.0.69.67 from VM ctest-TestBasicPolicy-39306738-48056223 passed 2026-10-05 02:36:06,309 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a84c4520-e6ed-4dea-b1db-28a91ff65f97", "href": "http://10.0.0.189:8082/network-policy/a84c4520-e6ed-4dea-b1db-28a91ff65f97"}} 2026-10-05 02:36:06,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:36:06,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.0.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-10-05 02:36:06,309 - DEBUG - ping -s 56 -c 3 -W 1 222.0.69.67 2026-10-05 02:36:09,461 - DEBUG - PING 222.0.69.67 (222.0.69.67): 56 data bytes 64 bytes from 222.0.69.67: seq=0 ttl=63 time=2.348 ms --- 222.0.69.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.348/2.348/2.348 ms 2026-10-05 02:36:09,461 - WARNING - Ping to IP 222.0.69.67 from VM ctest-TestBasicPolicy-39306738-48056223 failed 2026-10-05 02:36:09,461 - INFO - Deleting VM ctest-TestBasicPolicy-39306738-52842288 2026-10-05 02:36:09,556 - INFO - Deleting VM ctest-TestBasicPolicy-39306738-48056223 2026-10-05 02:36:09,965 - INFO - Deleted policy ctest-policy-allow-all-47892652 2026-10-05 02:36:09,965 - INFO - Deleting VN ctest-vn-89571208 2026-10-05 02:36:10,006 - DEBUG - VN feaec81c-f2f3-4a02-9f6a-240332b859c1 still in use: Unable to complete operation on network feaec81c-f2f3-4a02-9f6a-240332b859c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6d23464b-d983-4130-ab8a-98a64f295138'] 2026-10-05 02:36:10,006 - WARNING - Deleting VN ctest-vn-89571208 failed..Will retry 2026-10-05 02:36:12,153 - DEBUG - Response for deleting network () 2026-10-05 02:36:12,153 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5 2026-10-05 02:36:12,163 - DEBUG - Response Code: 404 2026-10-05 02:36:12,163 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:36:12,171 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596 2026-10-05 02:36:12,228 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:36:12,308 - INFO - Validated that VN ctest-vn-89571208 is not found in API Server 2026-10-05 02:36:12,320 - DEBUG - VN ctest-vn-89571208 is not present in Agent 10.0.0.189 2026-10-05 02:36:12,320 - INFO - Validated that VN ctest-vn-89571208 is not in any agent 2026-10-05 02:36:12,339 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89571208 info 2026-10-05 02:36:12,339 - INFO - Deleting VN ctest-vn-32448022 2026-10-05 02:36:12,462 - DEBUG - Response for deleting network () 2026-10-05 02:36:12,462 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b 2026-10-05 02:36:12,472 - DEBUG - Response Code: 404 2026-10-05 02:36:12,473 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-10-05 02:36:12,479 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596 2026-10-05 02:36:12,535 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d 2026-10-05 02:36:12,615 - INFO - Validated that VN ctest-vn-32448022 is not found in API Server 2026-10-05 02:36:12,626 - DEBUG - VN ctest-vn-32448022 is not present in Agent 10.0.0.189 2026-10-05 02:36:12,626 - INFO - Validated that VN ctest-vn-32448022 is not in any agent 2026-10-05 02:36:12,643 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32448022 info 2026-10-05 02:36:12,913 - DEBUG - No XMPP flaps were noticed during the test
2026-10-05 02:36:12,913 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-10-05 02:36:12,914 - INFO - -------------------------------------------------------------------------------- 2026-10-05 02:36:13,681 - INFO - Deleted project: ctest-TestBasicPolicy-39306738, ID : ac3ac63a-5827-4205-b68c-90b4007d8f9d