2026-10-26 10:45:39,586 - INFO - Domain Default found not creating 2026-10-26 10:45:39,891 - INFO - Project ctest-TestBasicPolicy-25706450 not found, creating it 2026-10-26 10:45:40,518 - INFO - Created Project:ctest-TestBasicPolicy-25706450, ID : d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:45:42,832 - INFO - ================================================================================ 2026-10-26 10:45:42,832 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 10:45:42,832 - 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-26 10:45:43,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-26 10:45:43,119 - INFO - Initial checks done. Running the testcase now 2026-10-26 10:45:43,119 - INFO - 2026-10-26 10:45:43,952 - DEBUG - Response for create_network : {'network': {'id': 'ab87a445-a9f5-4449-8417-3e11401969f5', 'name': 'ctest-vn-60247879', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-60247879'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 10:45:44,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '45206da0-9856-4578-ac39-eda39b3a141a', 'name': '', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'network_id': 'ab87a445-a9f5-4449-8417-3e11401969f5', 'ip_version': 4, 'cidr': '142.251.206.64/26', 'allocation_pools': [{'start': '142.251.206.66', 'end': '142.251.206.126'}], 'gateway_ip': '142.251.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.251.206.66', 'tags': [], 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90'}} 2026-10-26 10:45:44,232 - INFO - Created VN ctest-vn-60247879 2026-10-26 10:45:44,290 - DEBUG - VN ctest-vn-60247879 UUID is ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:44,730 - DEBUG - Response for create_network : {'network': {'id': 'c3bb8a42-91c5-402b-a10c-c79f01520399', 'name': 'ctest-vn-02443253', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-02443253'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 10:45:44,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b08882d5-4ae8-41f8-be72-ccd1d9524568', 'name': '', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'network_id': 'c3bb8a42-91c5-402b-a10c-c79f01520399', 'ip_version': 4, 'cidr': '192.178.153.64/26', 'allocation_pools': [{'start': '192.178.153.66', 'end': '192.178.153.126'}], 'gateway_ip': '192.178.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.178.153.66', 'tags': [], 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90'}} 2026-10-26 10:45:44,973 - INFO - Created VN ctest-vn-02443253 2026-10-26 10:45:45,031 - DEBUG - VN ctest-vn-02443253 UUID is c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:45,181 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879, 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-25706450:ctest-vn-02443253, 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-26 10:45:45,561 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab87a445-a9f5-4449-8417-3e11401969f5', 'name': 'ctest-vn-60247879', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['45206da0-9856-4578-ac39-eda39b3a141a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-60247879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169']], 'subnet_ipam': [{'subnet_cidr': '142.251.206.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 10:45:45,812 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c3bb8a42-91c5-402b-a10c-c79f01520399', 'name': 'ctest-vn-02443253', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b08882d5-4ae8-41f8-be72-ccd1d9524568'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-02443253'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169']], 'subnet_ipam': [{'subnet_cidr': '192.178.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 10:45:45,958 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:45:46,372 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:45:46,414 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4 2026-10-26 10:45:46,432 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:45:46,521 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:46,540 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:46,553 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d 2026-10-26 10:45:46,564 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d 2026-10-26 10:45:46,575 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d64ab645-88cf-4392-a4c1-5ddcb8d986db 2026-10-26 10:45:46,586 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 10:45:46,586 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:46,599 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d 2026-10-26 10:45:46,621 - INFO - Verified VN network id 12 for VN ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:46,621 - INFO - Verifications in API Server for VN ctest-vn-60247879 passed 2026-10-26 10:45:46,621 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:46,634 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d 2026-10-26 10:45:46,646 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d 2026-10-26 10:45:46,658 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d64ab645-88cf-4392-a4c1-5ddcb8d986db 2026-10-26 10:45:46,679 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25706450', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12360028321452737609', 'uuid-lslong': '9518144581281606133'}, 'enable': 'true', 'created': '2026-10-26T10:45:43', 'last-modified': '2026-10-26T10:45:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.159088'} 2026-10-26 10:45:46,690 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 10:45:46,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60247879 passed 2026-10-26 10:45:46,690 - DEBUG - ====Verifying policy data for ctest-vn-60247879 in API_Server ====== 2026-10-26 10:45:46,691 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:45:46,698 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4 2026-10-26 10:45:46,714 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:45:46,809 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5 2026-10-26 10:45:46,824 - DEBUG - ==>Verifying data for policy with id: f0549e51-0804-4157-92ce-0062880c0140, fqn: ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169'] 2026-10-26 10:45:46,824 - INFO - VN ctest-vn-60247879 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 10:45:46,824 - DEBUG - Verifying the vn in opserver 2026-10-26 10:45:46,824 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879 virtual network link through opserver 10.0.0.161 2026-10-26 10:45:46,824 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 10:45:47,239 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 10:45:47,329 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879?flat'} 2026-10-26 10:45:47,329 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879 is found in opserver 2026-10-26 10:45:47,349 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 10:45:47,357 - DEBUG - VRF ids for VN ctest-vn-60247879: {} 2026-10-26 10:45:47,358 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:45:47,367 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4 2026-10-26 10:45:47,387 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:45:47,487 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:47,513 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:47,531 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f 2026-10-26 10:45:47,546 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f 2026-10-26 10:45:47,559 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/323de7ec-e1e0-4526-8462-1f5bd53741a0 2026-10-26 10:45:47,572 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 10:45:47,572 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:47,591 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f 2026-10-26 10:45:47,618 - INFO - Verified VN network id 13 for VN c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:47,619 - INFO - Verifications in API Server for VN ctest-vn-02443253 passed 2026-10-26 10:45:47,619 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:47,638 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f 2026-10-26 10:45:47,651 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f 2026-10-26 10:45:47,666 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/323de7ec-e1e0-4526-8462-1f5bd53741a0 2026-10-26 10:45:47,688 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25706450', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14104018676558938155', 'uuid-lslong': '11604869825562805145'}, 'enable': 'true', 'created': '2026-10-26T10:45:44', 'last-modified': '2026-10-26T10:45:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.915417'} 2026-10-26 10:45:47,699 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 10:45:47,699 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02443253 passed 2026-10-26 10:45:47,699 - DEBUG - ====Verifying policy data for ctest-vn-02443253 in API_Server ====== 2026-10-26 10:45:47,699 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:45:47,710 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4 2026-10-26 10:45:47,729 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:45:47,825 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399 2026-10-26 10:45:47,843 - DEBUG - ==>Verifying data for policy with id: f0549e51-0804-4157-92ce-0062880c0140, fqn: ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169'] 2026-10-26 10:45:47,843 - INFO - VN ctest-vn-02443253 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 10:45:47,843 - DEBUG - Verifying the vn in opserver 2026-10-26 10:45:47,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253 virtual network link through opserver 10.0.0.161 2026-10-26 10:45:47,843 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 10:45:47,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253?flat'} 2026-10-26 10:45:47,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253 is found in opserver 2026-10-26 10:45:47,880 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 10:45:47,888 - DEBUG - VRF ids for VN ctest-vn-02443253: {} 2026-10-26 10:45:47,991 - DEBUG - Services list from nova: [, , ] 2026-10-26 10:45:48,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6409-1) 2026-10-26 10:45:49,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6409-1) 2026-10-26 10:45:49,672 - INFO - Waiting for VM ctest-TestBasicPolicy-25706450-69599082 to be up.. 2026-10-26 10:45:49,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:45:54,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:00,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:05,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:10,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:15,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:20,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:25,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:30,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 10:46:35,889 - DEBUG - VM is in ACTIVE state now 2026-10-26 10:46:35,890 - INFO - VM name : ctest-TestBasicPolicy-25706450-69599082 2026-10-26 10:46:36,001 - DEBUG - VM ctest-TestBasicPolicy-25706450-69599082 ID is 5a8a9de7-61de-461f-8db6-8713abd2eda6 2026-10-26 10:46:36,036 - DEBUG - VM ctest-TestBasicPolicy-25706450-69599082 launched on Node cn-jenkins-deploy-platform-ansible-os-6409-1 2026-10-26 10:46:36,161 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5a8a9de7-61de-461f-8db6-8713abd2eda6 2026-10-26 10:46:36,177 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/37fa68f7-50c2-4f92-86e6-16786d57d914 2026-10-26 10:46:39,517 - 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 1008ms') 2026-10-26 10:46:39,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25706450-69599082 failed! 2026-10-26 10:46:39,583 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879 is 142.251.206.65 and allocation pool is NOT set 2026-10-26 10:46:43,677 - 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-10-26 10:46:43,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25706450-69599082 failed! 2026-10-26 10:46:43,738 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879 is 142.251.206.65 and allocation pool is NOT set 2026-10-26 10:46:45,814 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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 = 2.049/3.856/5.664/1.807 ms') 2026-10-26 10:46:45,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25706450-69599082 passed 2026-10-26 10:46:45,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 10:46:45,983 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25706450-69599082, IP 142.251.206.67, Port 22 2026-10-26 10:46:46,162 - DEBUG - VM ctest-TestBasicPolicy-25706450-69599082 is ready for SSH connections 2026-10-26 10:46:46,162 - INFO - Waiting for VM ctest-TestBasicPolicy-25706450-14595965 to be up.. 2026-10-26 10:46:46,278 - DEBUG - VM is in ACTIVE state now 2026-10-26 10:46:46,279 - INFO - VM name : ctest-TestBasicPolicy-25706450-14595965 2026-10-26 10:46:46,396 - DEBUG - VM ctest-TestBasicPolicy-25706450-14595965 ID is b1036d28-f69c-4037-9c11-8f57bbc00fbb 2026-10-26 10:46:46,397 - DEBUG - VM ctest-TestBasicPolicy-25706450-14595965 launched on Node cn-jenkins-deploy-platform-ansible-os-6409-1 2026-10-26 10:46:46,515 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/b1036d28-f69c-4037-9c11-8f57bbc00fbb 2026-10-26 10:46:46,529 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/f9a54082-76a3-43c4-94ae-ca6b52372cbf 2026-10-26 10:46:49,823 - 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 1020ms') 2026-10-26 10:46:49,823 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25706450-14595965 failed! 2026-10-26 10:46:49,882 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253 is 192.178.153.65 and allocation pool is NOT set 2026-10-26 10:46:51,955 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.641 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 = 0.641/2.450/4.260/1.809 ms') 2026-10-26 10:46:51,956 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25706450-14595965 passed 2026-10-26 10:46:52,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 10:46:52,115 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25706450-14595965, IP 192.178.153.67, Port 22 2026-10-26 10:46:52,284 - DEBUG - VM ctest-TestBasicPolicy-25706450-14595965 is ready for SSH connections 2026-10-26 10:46:52,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 10:46:52,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.178.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 10:46:52,285 - DEBUG - ping -s 56 -c 3 -W 1 192.178.153.67 2026-10-26 10:46:56,676 - DEBUG - PING 192.178.153.67 (192.178.153.67): 56 data bytes 64 bytes from 192.178.153.67: seq=0 ttl=63 time=6.574 ms 64 bytes from 192.178.153.67: seq=1 ttl=63 time=1.441 ms 64 bytes from 192.178.153.67: seq=2 ttl=63 time=1.113 ms --- 192.178.153.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.113/3.042/6.574 ms 2026-10-26 10:46:56,676 - INFO - Ping to IP 192.178.153.67 from VM ctest-TestBasicPolicy-25706450-69599082 passed 2026-10-26 10:46:56,898 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f0549e51-0804-4157-92ce-0062880c0140", "href": "http://10.0.0.161:8082/network-policy/f0549e51-0804-4157-92ce-0062880c0140"}} 2026-10-26 10:46:56,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 10:46:56,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.178.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 10:46:56,899 - DEBUG - ping -s 56 -c 3 -W 1 192.178.153.67 2026-10-26 10:47:00,091 - DEBUG - PING 192.178.153.67 (192.178.153.67): 56 data bytes 64 bytes from 192.178.153.67: seq=0 ttl=63 time=2.566 ms --- 192.178.153.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.566/2.566/2.566 ms 2026-10-26 10:47:00,091 - WARNING - Ping to IP 192.178.153.67 from VM ctest-TestBasicPolicy-25706450-69599082 failed 2026-10-26 10:47:00,091 - INFO - Deleting VM ctest-TestBasicPolicy-25706450-14595965 2026-10-26 10:47:00,237 - INFO - Deleting VM ctest-TestBasicPolicy-25706450-69599082 2026-10-26 10:47:00,848 - INFO - Deleted policy ctest-policy-allow-all-67223169 2026-10-26 10:47:00,848 - INFO - Deleting VN ctest-vn-02443253 2026-10-26 10:47:00,905 - DEBUG - VN c3bb8a42-91c5-402b-a10c-c79f01520399 still in use: Unable to complete operation on network c3bb8a42-91c5-402b-a10c-c79f01520399. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eaafd95c-e35a-4cd1-be9e-4e5cfe72bab4'] 2026-10-26 10:47:00,905 - WARNING - Deleting VN ctest-vn-02443253 failed..Will retry 2026-10-26 10:47:02,975 - DEBUG - VN c3bb8a42-91c5-402b-a10c-c79f01520399 still in use: Unable to complete operation on network c3bb8a42-91c5-402b-a10c-c79f01520399. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5a8e056-4468-4b8e-9bdc-4cd6920fa81e'] 2026-10-26 10:47:02,975 - WARNING - Deleting VN ctest-vn-02443253 failed..Will retry 2026-10-26 10:47:05,258 - DEBUG - Response for deleting network () 2026-10-26 10:47:05,258 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f 2026-10-26 10:47:05,270 - DEBUG - Response Code: 404 2026-10-26 10:47:05,270 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:47:05,298 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4 2026-10-26 10:47:05,319 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:47:05,408 - INFO - Validated that VN ctest-vn-02443253 is not found in API Server 2026-10-26 10:47:05,426 - DEBUG - VN ctest-vn-02443253 is not present in Agent 10.0.0.161 2026-10-26 10:47:05,426 - INFO - Validated that VN ctest-vn-02443253 is not in any agent 2026-10-26 10:47:05,447 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02443253 info 2026-10-26 10:47:05,448 - INFO - Deleting VN ctest-vn-60247879 2026-10-26 10:47:05,677 - DEBUG - Response for deleting network () 2026-10-26 10:47:05,677 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d 2026-10-26 10:47:05,686 - DEBUG - Response Code: 404 2026-10-26 10:47:05,686 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 10:47:05,694 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4 2026-10-26 10:47:05,711 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90 2026-10-26 10:47:05,795 - INFO - Validated that VN ctest-vn-60247879 is not found in API Server 2026-10-26 10:47:05,813 - DEBUG - VN ctest-vn-60247879 is not present in Agent 10.0.0.161 2026-10-26 10:47:05,814 - INFO - Validated that VN ctest-vn-60247879 is not in any agent 2026-10-26 10:47:05,842 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60247879 info 2026-10-26 10:47:06,122 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 10:47:06,123 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:24]
2026-10-26 10:47:06,123 - INFO - -------------------------------------------------------------------------------- 2026-10-26 10:47:07,099 - INFO - Deleted project: ctest-TestBasicPolicy-25706450, ID : d88e4cda-0e8a-4740-8ae4-c5dd8820ce90