2026-11-06 14:36:51,894 - INFO - Domain Default found not creating 2026-11-06 14:36:52,099 - INFO - Project ctest-TestBasicPolicy-18540817 not found, creating it 2026-11-06 14:36:52,605 - INFO - Created Project:ctest-TestBasicPolicy-18540817, ID : c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:36:54,286 - INFO - ================================================================================ 2026-11-06 14:36:54,286 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-06 14:36:54,286 - 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-11-06 14:36:54,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-06 14:36:54,542 - INFO - Initial checks done. Running the testcase now 2026-11-06 14:36:54,543 - INFO - 2026-11-06 14:36:55,156 - DEBUG - Response for create_network : {'network': {'id': '3912cd71-c6b2-42e8-8e8a-58b0ee46964c', 'name': 'ctest-vn-96331349', 'tenant_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'project_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-vn-96331349'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 14:36:55,482 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f77d1a73-1af9-4cc8-aca1-58afcede2d4a', 'name': '', 'tenant_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'network_id': '3912cd71-c6b2-42e8-8e8a-58b0ee46964c', 'ip_version': 4, 'cidr': '125.178.12.192/26', 'allocation_pools': [{'start': '125.178.12.194', 'end': '125.178.12.254'}], 'gateway_ip': '125.178.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.178.12.194', 'tags': [], 'project_id': 'c379bf1b209c4c528590cd3e4aec9b81'}} 2026-11-06 14:36:55,505 - INFO - Created VN ctest-vn-96331349 2026-11-06 14:36:55,560 - DEBUG - VN ctest-vn-96331349 UUID is 3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:55,919 - DEBUG - Response for create_network : {'network': {'id': '68f3b4c4-6d5b-455f-81b8-5445d0b871eb', 'name': 'ctest-vn-95496639', 'tenant_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'project_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-vn-95496639'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 14:36:56,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c5f4b16-81bb-4bf0-b16d-1121ceb5641c', 'name': '', 'tenant_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'network_id': '68f3b4c4-6d5b-455f-81b8-5445d0b871eb', 'ip_version': 4, 'cidr': '107.210.115.64/26', 'allocation_pools': [{'start': '107.210.115.66', 'end': '107.210.115.126'}], 'gateway_ip': '107.210.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.210.115.66', 'tags': [], 'project_id': 'c379bf1b209c4c528590cd3e4aec9b81'}} 2026-11-06 14:36:56,121 - INFO - Created VN ctest-vn-95496639 2026-11-06 14:36:56,176 - DEBUG - VN ctest-vn-95496639 UUID is 68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:56,292 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349, 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-18540817:ctest-vn-95496639, 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-11-06 14:36:56,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3912cd71-c6b2-42e8-8e8a-58b0ee46964c', 'name': 'ctest-vn-96331349', 'tenant_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'project_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f77d1a73-1af9-4cc8-aca1-58afcede2d4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-vn-96331349'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-policy-allow-all-16660275']], 'subnet_ipam': [{'subnet_cidr': '125.178.12.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 14:36:56,839 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68f3b4c4-6d5b-455f-81b8-5445d0b871eb', 'name': 'ctest-vn-95496639', 'tenant_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'project_id': 'c379bf1b209c4c528590cd3e4aec9b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4c5f4b16-81bb-4bf0-b16d-1121ceb5641c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-vn-95496639'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-policy-allow-all-16660275']], 'subnet_ipam': [{'subnet_cidr': '107.210.115.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 14:36:57,004 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:36:57,331 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:36:57,361 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f56d05e6-50cc-4c34-bfa5-c3e4c856b5f3 2026-11-06 14:36:57,373 - DEBUG - Requesting: http://10.0.0.38:8082/project/c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:36:57,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:57,465 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:57,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39257582-e95a-466e-9e8d-bd995033f1a7 2026-11-06 14:36:57,486 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39257582-e95a-466e-9e8d-bd995033f1a7 2026-11-06 14:36:57,496 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a396210-1b9f-40f8-ad5f-d8afba39f1a4 2026-11-06 14:36:57,503 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 14:36:57,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:57,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39257582-e95a-466e-9e8d-bd995033f1a7 2026-11-06 14:36:57,532 - INFO - Verified VN network id 10 for VN 3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:57,532 - INFO - Verifications in API Server for VN ctest-vn-96331349 passed 2026-11-06 14:36:57,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:57,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39257582-e95a-466e-9e8d-bd995033f1a7 2026-11-06 14:36:57,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39257582-e95a-466e-9e8d-bd995033f1a7 2026-11-06 14:36:57,567 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a396210-1b9f-40f8-ad5f-d8afba39f1a4 2026-11-06 14:36:57,582 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18540817', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4112575298291253992', 'uuid-lslong': '10271119417106929228'}, 'enable': 'true', 'created': '2026-11-06T14:36:55', 'last-modified': '2026-11-06T14:36:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006699'} 2026-11-06 14:36:57,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 14:36:57,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96331349 passed 2026-11-06 14:36:57,591 - DEBUG - ====Verifying policy data for ctest-vn-96331349 in API_Server ====== 2026-11-06 14:36:57,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:36:57,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f56d05e6-50cc-4c34-bfa5-c3e4c856b5f3 2026-11-06 14:36:57,613 - DEBUG - Requesting: http://10.0.0.38:8082/project/c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:36:57,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3912cd71-c6b2-42e8-8e8a-58b0ee46964c 2026-11-06 14:36:57,702 - DEBUG - ==>Verifying data for policy with id: c20412f6-6038-44a9-bf4f-72e8fec33c6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-policy-allow-all-16660275'] 2026-11-06 14:36:57,702 - INFO - VN ctest-vn-96331349 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 14:36:57,703 - DEBUG - Verifying the vn in opserver 2026-11-06 14:36:57,703 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349 virtual network link through opserver 10.0.0.38 2026-11-06 14:36:57,703 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-06 14:36:58,033 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-06 14:36:58,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349?flat'} 2026-11-06 14:36:58,095 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349 is found in opserver 2026-11-06 14:36:58,107 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 14:36:58,111 - DEBUG - VRF ids for VN ctest-vn-96331349: {} 2026-11-06 14:36:58,111 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:36:58,118 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f56d05e6-50cc-4c34-bfa5-c3e4c856b5f3 2026-11-06 14:36:58,130 - DEBUG - Requesting: http://10.0.0.38:8082/project/c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:36:58,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:58,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:58,236 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38ab107a-b717-43a5-87fa-c2a0a933da02 2026-11-06 14:36:58,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38ab107a-b717-43a5-87fa-c2a0a933da02 2026-11-06 14:36:58,252 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e32b2919-0115-4b5e-b7a9-34613e6fba6f 2026-11-06 14:36:58,261 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 14:36:58,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:58,272 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38ab107a-b717-43a5-87fa-c2a0a933da02 2026-11-06 14:36:58,289 - INFO - Verified VN network id 11 for VN 68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:58,289 - INFO - Verifications in API Server for VN ctest-vn-95496639 passed 2026-11-06 14:36:58,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:58,302 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38ab107a-b717-43a5-87fa-c2a0a933da02 2026-11-06 14:36:58,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38ab107a-b717-43a5-87fa-c2a0a933da02 2026-11-06 14:36:58,318 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e32b2919-0115-4b5e-b7a9-34613e6fba6f 2026-11-06 14:36:58,330 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-95496639', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18540817', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7562586955026482527', 'uuid-lslong': '9347313685438689771'}, 'enable': 'true', 'created': '2026-11-06T14:36:55', 'last-modified': '2026-11-06T14:36:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.522442'} 2026-11-06 14:36:58,337 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 14:36:58,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95496639 passed 2026-11-06 14:36:58,337 - DEBUG - ====Verifying policy data for ctest-vn-95496639 in API_Server ====== 2026-11-06 14:36:58,337 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:36:58,343 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f56d05e6-50cc-4c34-bfa5-c3e4c856b5f3 2026-11-06 14:36:58,354 - DEBUG - Requesting: http://10.0.0.38:8082/project/c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:36:58,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68f3b4c4-6d5b-455f-81b8-5445d0b871eb 2026-11-06 14:36:58,443 - DEBUG - ==>Verifying data for policy with id: c20412f6-6038-44a9-bf4f-72e8fec33c6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-18540817', 'ctest-policy-allow-all-16660275'] 2026-11-06 14:36:58,443 - INFO - VN ctest-vn-95496639 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 14:36:58,443 - DEBUG - Verifying the vn in opserver 2026-11-06 14:36:58,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-95496639 virtual network link through opserver 10.0.0.38 2026-11-06 14:36:58,443 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-06 14:36:58,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-95496639', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-95496639?flat'} 2026-11-06 14:36:58,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-95496639 is found in opserver 2026-11-06 14:36:58,467 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 14:36:58,471 - DEBUG - VRF ids for VN ctest-vn-95496639: {} 2026-11-06 14:36:58,531 - DEBUG - Services list from nova: [, , ] 2026-11-06 14:36:58,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6489-1) 2026-11-06 14:36:59,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6489-1) 2026-11-06 14:36:59,392 - INFO - Waiting for VM ctest-TestBasicPolicy-18540817-31819654 to be up.. 2026-11-06 14:36:59,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:04,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:09,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:14,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:19,792 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:24,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:29,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:35,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:37:40,184 - DEBUG - VM is in ACTIVE state now 2026-11-06 14:37:40,185 - INFO - VM name : ctest-TestBasicPolicy-18540817-31819654 2026-11-06 14:37:40,272 - DEBUG - VM ctest-TestBasicPolicy-18540817-31819654 ID is aae503d1-0f04-48c3-9990-80d546c91b37 2026-11-06 14:37:40,297 - DEBUG - VM ctest-TestBasicPolicy-18540817-31819654 launched on Node cn-jenkins-deploy-platform-ansible-os-6489-1 2026-11-06 14:37:40,382 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aae503d1-0f04-48c3-9990-80d546c91b37 2026-11-06 14:37:40,391 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/64764dd1-86e7-4b88-b0cb-eebf491ab8e4 2026-11-06 14:37:43,653 - 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 1004ms') 2026-11-06 14:37:43,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18540817-31819654 failed! 2026-11-06 14:37:43,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18540817:ctest-vn-96331349 is 125.178.12.193 and allocation pool is NOT set 2026-11-06 14:37:45,782 - 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=4.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 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 = 0.493/2.567/4.642/2.074 ms') 2026-11-06 14:37:45,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18540817-31819654 passed 2026-11-06 14:37:45,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:37:45,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18540817-31819654, IP 125.178.12.195, Port 22 2026-11-06 14:37:46,106 - DEBUG - VM ctest-TestBasicPolicy-18540817-31819654 is ready for SSH connections 2026-11-06 14:37:46,106 - INFO - Waiting for VM ctest-TestBasicPolicy-18540817-22028333 to be up.. 2026-11-06 14:37:46,230 - DEBUG - VM is in ACTIVE state now 2026-11-06 14:37:46,230 - INFO - VM name : ctest-TestBasicPolicy-18540817-22028333 2026-11-06 14:37:46,318 - DEBUG - VM ctest-TestBasicPolicy-18540817-22028333 ID is 0d64b40c-0d9c-4434-963a-f6d1297cd166 2026-11-06 14:37:46,318 - DEBUG - VM ctest-TestBasicPolicy-18540817-22028333 launched on Node cn-jenkins-deploy-platform-ansible-os-6489-1 2026-11-06 14:37:46,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0d64b40c-0d9c-4434-963a-f6d1297cd166 2026-11-06 14:37:46,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aeab78be-f183-4185-8ea9-aec53683bec1 2026-11-06 14:37:49,669 - 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=2 ttl=63 time=8.07 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 8.071/8.071/8.071/0.000 ms') 2026-11-06 14:37:49,669 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18540817-22028333 passed 2026-11-06 14:37:49,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:37:49,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18540817-22028333, IP 107.210.115.67, Port 22 2026-11-06 14:37:49,890 - 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-11-06 14:37:49,976 - DEBUG - VM ctest-TestBasicPolicy-18540817-22028333 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-06 14:37:54,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:37:54,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18540817-22028333, IP 107.210.115.67, Port 22 2026-11-06 14:37:55,151 - DEBUG - VM ctest-TestBasicPolicy-18540817-22028333 is ready for SSH connections 2026-11-06 14:37:55,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:37:55,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.210.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-06 14:37:55,151 - DEBUG - ping -s 56 -c 3 -W 1 107.210.115.67 2026-11-06 14:37:59,415 - DEBUG - PING 107.210.115.67 (107.210.115.67): 56 data bytes 64 bytes from 107.210.115.67: seq=0 ttl=63 time=7.380 ms 64 bytes from 107.210.115.67: seq=1 ttl=63 time=1.297 ms 64 bytes from 107.210.115.67: seq=2 ttl=63 time=1.336 ms --- 107.210.115.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.297/3.337/7.380 ms 2026-11-06 14:37:59,415 - INFO - Ping to IP 107.210.115.67 from VM ctest-TestBasicPolicy-18540817-31819654 passed 2026-11-06 14:37:59,616 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c20412f6-6038-44a9-bf4f-72e8fec33c6a", "href": "http://10.0.0.38:8082/network-policy/c20412f6-6038-44a9-bf4f-72e8fec33c6a"}} 2026-11-06 14:37:59,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:37:59,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.210.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-06 14:37:59,616 - DEBUG - ping -s 56 -c 3 -W 1 107.210.115.67 2026-11-06 14:38:02,785 - DEBUG - PING 107.210.115.67 (107.210.115.67): 56 data bytes 64 bytes from 107.210.115.67: seq=0 ttl=63 time=3.876 ms --- 107.210.115.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.876/3.876/3.876 ms 2026-11-06 14:38:02,785 - WARNING - Ping to IP 107.210.115.67 from VM ctest-TestBasicPolicy-18540817-31819654 failed 2026-11-06 14:38:02,785 - INFO - Deleting VM ctest-TestBasicPolicy-18540817-22028333 2026-11-06 14:38:02,895 - INFO - Deleting VM ctest-TestBasicPolicy-18540817-31819654 2026-11-06 14:38:03,386 - INFO - Deleted policy ctest-policy-allow-all-16660275 2026-11-06 14:38:03,386 - INFO - Deleting VN ctest-vn-95496639 2026-11-06 14:38:03,428 - DEBUG - VN 68f3b4c4-6d5b-455f-81b8-5445d0b871eb still in use: Unable to complete operation on network 68f3b4c4-6d5b-455f-81b8-5445d0b871eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4adee024-b61f-49ed-aefe-bd71ec9821b9'] 2026-11-06 14:38:03,429 - WARNING - Deleting VN ctest-vn-95496639 failed..Will retry 2026-11-06 14:38:05,480 - DEBUG - VN 68f3b4c4-6d5b-455f-81b8-5445d0b871eb still in use: Unable to complete operation on network 68f3b4c4-6d5b-455f-81b8-5445d0b871eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1039c6d3-9568-446b-9272-85c6333fb232'] 2026-11-06 14:38:05,480 - WARNING - Deleting VN ctest-vn-95496639 failed..Will retry 2026-11-06 14:38:07,592 - DEBUG - Response for deleting network () 2026-11-06 14:38:07,592 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38ab107a-b717-43a5-87fa-c2a0a933da02 2026-11-06 14:38:07,599 - DEBUG - Response Code: 404 2026-11-06 14:38:07,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:38:07,606 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f56d05e6-50cc-4c34-bfa5-c3e4c856b5f3 2026-11-06 14:38:07,661 - DEBUG - Requesting: http://10.0.0.38:8082/project/c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:38:07,742 - INFO - Validated that VN ctest-vn-95496639 is not found in API Server 2026-11-06 14:38:07,755 - DEBUG - VN ctest-vn-95496639 is not present in Agent 10.0.0.38 2026-11-06 14:38:07,755 - INFO - Validated that VN ctest-vn-95496639 is not in any agent 2026-11-06 14:38:07,776 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95496639 info 2026-11-06 14:38:07,777 - INFO - Deleting VN ctest-vn-96331349 2026-11-06 14:38:07,916 - DEBUG - Response for deleting network () 2026-11-06 14:38:07,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39257582-e95a-466e-9e8d-bd995033f1a7 2026-11-06 14:38:07,927 - DEBUG - Response Code: 404 2026-11-06 14:38:07,928 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-06 14:38:07,935 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f56d05e6-50cc-4c34-bfa5-c3e4c856b5f3 2026-11-06 14:38:07,989 - DEBUG - Requesting: http://10.0.0.38:8082/project/c379bf1b-209c-4c52-8590-cd3e4aec9b81 2026-11-06 14:38:08,070 - INFO - Validated that VN ctest-vn-96331349 is not found in API Server 2026-11-06 14:38:08,081 - DEBUG - VN ctest-vn-96331349 is not present in Agent 10.0.0.38 2026-11-06 14:38:08,081 - INFO - Validated that VN ctest-vn-96331349 is not in any agent 2026-11-06 14:38:08,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96331349 info 2026-11-06 14:38:08,367 - DEBUG - No XMPP flaps were noticed during the test 2026-11-06 14:38:08,367 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14] 2026-11-06 14:38:08,367 - INFO - -------------------------------------------------------------------------------- 2026-11-06 14:38:09,163 - INFO - Deleted project: ctest-TestBasicPolicy-18540817, ID : c379bf1b-209c-4c52-8590-cd3e4aec9b81