2026-10-29 22:18:51,967 - INFO - Domain Default found not creating 2026-10-29 22:18:52,167 - INFO - Project ctest-TestBasicPolicy-36511358 not found, creating it 2026-10-29 22:18:52,638 - INFO - Created Project:ctest-TestBasicPolicy-36511358, ID : 24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:18:54,510 - INFO - ================================================================================ 2026-10-29 22:18:54,510 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-29 22:18:54,510 - 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-29 22:18:54,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-10-29 22:18:54,783 - INFO - Initial checks done. Running the testcase now 2026-10-29 22:18:54,783 - INFO - 2026-10-29 22:18:55,439 - DEBUG - Response for create_network : {'network': {'id': 'ad849100-c29c-4d95-a837-925f590cee07', 'name': 'ctest-vn-19658196', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-19658196'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:18:55,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '67d74e94-a700-4d0e-b19e-2a1e5d60a9d6', 'name': '', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'network_id': 'ad849100-c29c-4d95-a837-925f590cee07', 'ip_version': 4, 'cidr': '155.205.41.0/26', 'allocation_pools': [{'start': '155.205.41.2', 'end': '155.205.41.62'}], 'gateway_ip': '155.205.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.205.41.2', 'tags': [], 'project_id': '24772a6a4e9346f191a7eb328711973c'}} 2026-10-29 22:18:55,612 - INFO - Created VN ctest-vn-19658196 2026-10-29 22:18:55,671 - DEBUG - VN ctest-vn-19658196 UUID is ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:56,014 - DEBUG - Response for create_network : {'network': {'id': '6637ad5e-95e8-46ec-ac7c-c773a0a8db7a', 'name': 'ctest-vn-92689168', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-92689168'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:18:56,199 - DEBUG - Response for create_subnet : {'subnet': {'id': '30560e5d-22ce-4b2d-9e35-ee0554a51eab', 'name': '', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'network_id': '6637ad5e-95e8-46ec-ac7c-c773a0a8db7a', 'ip_version': 4, 'cidr': '159.178.117.192/26', 'allocation_pools': [{'start': '159.178.117.194', 'end': '159.178.117.254'}], 'gateway_ip': '159.178.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.178.117.194', 'tags': [], 'project_id': '24772a6a4e9346f191a7eb328711973c'}} 2026-10-29 22:18:56,217 - INFO - Created VN ctest-vn-92689168 2026-10-29 22:18:56,278 - DEBUG - VN ctest-vn-92689168 UUID is 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:56,402 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196, 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-36511358:ctest-vn-92689168, 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-29 22:18:56,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad849100-c29c-4d95-a837-925f590cee07', 'name': 'ctest-vn-19658196', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['67d74e94-a700-4d0e-b19e-2a1e5d60a9d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-19658196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546']], 'subnet_ipam': [{'subnet_cidr': '155.205.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:18:56,975 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6637ad5e-95e8-46ec-ac7c-c773a0a8db7a', 'name': 'ctest-vn-92689168', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['30560e5d-22ce-4b2d-9e35-ee0554a51eab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-92689168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546']], 'subnet_ipam': [{'subnet_cidr': '159.178.117.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:18:57,150 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:18:57,520 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:18:57,558 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486 2026-10-29 22:18:57,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:18:57,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:57,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:57,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759 2026-10-29 22:18:57,692 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759 2026-10-29 22:18:57,701 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c958251d-11cd-4a7a-825c-e26b023e31c5 2026-10-29 22:18:57,710 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-29 22:18:57,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:57,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759 2026-10-29 22:18:57,740 - INFO - Verified VN network id 12 for VN ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:57,740 - INFO - Verifications in API Server for VN ctest-vn-19658196 passed 2026-10-29 22:18:57,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:57,751 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759 2026-10-29 22:18:57,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759 2026-10-29 22:18:57,767 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c958251d-11cd-4a7a-825c-e26b023e31c5 2026-10-29 22:18:57,779 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36511358', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12503277897938390421', 'uuid-lslong': '12121317860304547335'}, 'enable': 'true', 'created': '2026-10-29T22:18:55', 'last-modified': '2026-10-29T22:18:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076201'} 2026-10-29 22:18:57,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-29 22:18:57,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19658196 passed 2026-10-29 22:18:57,791 - DEBUG - ====Verifying policy data for ctest-vn-19658196 in API_Server ====== 2026-10-29 22:18:57,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:18:57,797 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486 2026-10-29 22:18:57,811 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:18:57,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07 2026-10-29 22:18:57,892 - DEBUG - ==>Verifying data for policy with id: 456259a8-0e91-4e14-8835-9a5d18ec53fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546'] 2026-10-29 22:18:57,892 - INFO - VN ctest-vn-19658196 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-29 22:18:57,892 - DEBUG - Verifying the vn in opserver 2026-10-29 22:18:57,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196 virtual network link through opserver 10.0.0.38 2026-10-29 22:18:57,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-29 22:18:58,263 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-29 22:18:58,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196?flat'} 2026-10-29 22:18:58,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196 is found in opserver 2026-10-29 22:18:58,333 - DEBUG - Do not have enough data to verify VN in agent 2026-10-29 22:18:58,341 - DEBUG - VRF ids for VN ctest-vn-19658196: {} 2026-10-29 22:18:58,341 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:18:58,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486 2026-10-29 22:18:58,361 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:18:58,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:58,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:58,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b 2026-10-29 22:18:58,467 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b 2026-10-29 22:18:58,475 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/63b80c4c-063a-469f-b46e-3a79c84c7076 2026-10-29 22:18:58,482 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-29 22:18:58,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:58,491 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b 2026-10-29 22:18:58,507 - INFO - Verified VN network id 13 for VN 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:58,507 - INFO - Verifications in API Server for VN ctest-vn-92689168 passed 2026-10-29 22:18:58,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:58,517 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b 2026-10-29 22:18:58,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b 2026-10-29 22:18:58,535 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/63b80c4c-063a-469f-b46e-3a79c84c7076 2026-10-29 22:18:58,550 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36511358', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7365546337341294316', 'uuid-lslong': '12429028371066313594'}, 'enable': 'true', 'created': '2026-10-29T22:18:55', 'last-modified': '2026-10-29T22:18:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.598982'} 2026-10-29 22:18:58,557 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-29 22:18:58,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92689168 passed 2026-10-29 22:18:58,558 - DEBUG - ====Verifying policy data for ctest-vn-92689168 in API_Server ====== 2026-10-29 22:18:58,558 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:18:58,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486 2026-10-29 22:18:58,575 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:18:58,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a 2026-10-29 22:18:58,667 - DEBUG - ==>Verifying data for policy with id: 456259a8-0e91-4e14-8835-9a5d18ec53fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546'] 2026-10-29 22:18:58,667 - INFO - VN ctest-vn-92689168 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-29 22:18:58,667 - DEBUG - Verifying the vn in opserver 2026-10-29 22:18:58,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168 virtual network link through opserver 10.0.0.38 2026-10-29 22:18:58,667 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-29 22:18:58,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168?flat'} 2026-10-29 22:18:58,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168 is found in opserver 2026-10-29 22:18:58,692 - DEBUG - Do not have enough data to verify VN in agent 2026-10-29 22:18:58,697 - DEBUG - VRF ids for VN ctest-vn-92689168: {} 2026-10-29 22:18:58,762 - DEBUG - Services list from nova: [, , ] 2026-10-29 22:18:59,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6443-1) 2026-10-29 22:18:59,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6443-1) 2026-10-29 22:18:59,658 - INFO - Waiting for VM ctest-TestBasicPolicy-36511358-46016999 to be up.. 2026-10-29 22:18:59,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:04,792 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:09,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:14,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:20,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:25,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:30,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:35,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:40,480 - DEBUG - VM is in ACTIVE state now 2026-10-29 22:19:40,480 - INFO - VM name : ctest-TestBasicPolicy-36511358-46016999 2026-10-29 22:19:40,589 - DEBUG - VM ctest-TestBasicPolicy-36511358-46016999 ID is 207af9a1-493b-49db-8bb3-58f12a3f8e15 2026-10-29 22:19:40,621 - DEBUG - VM ctest-TestBasicPolicy-36511358-46016999 launched on Node cn-jenkins-deploy-platform-ansible-os-6443-1 2026-10-29 22:19:40,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/207af9a1-493b-49db-8bb3-58f12a3f8e15 2026-10-29 22:19:40,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7f101fef-b1f7-4a39-9155-ea224e6616ad 2026-10-29 22:19:44,030 - 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 1019ms') 2026-10-29 22:19:44,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36511358-46016999 failed! 2026-10-29 22:19:44,090 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196 is 155.205.41.1 and allocation pool is NOT set 2026-10-29 22:19:48,151 - 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 1002ms') 2026-10-29 22:19:48,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36511358-46016999 failed! 2026-10-29 22:19:48,210 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196 is 155.205.41.1 and allocation pool is NOT set 2026-10-29 22:19:50,280 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.273/3.391/5.510/2.118 ms') 2026-10-29 22:19:50,280 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36511358-46016999 passed 2026-10-29 22:19:50,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:19:50,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36511358-46016999, IP 155.205.41.3, Port 22 2026-10-29 22:19:50,605 - DEBUG - VM ctest-TestBasicPolicy-36511358-46016999 is ready for SSH connections 2026-10-29 22:19:50,605 - INFO - Waiting for VM ctest-TestBasicPolicy-36511358-22913398 to be up.. 2026-10-29 22:19:50,690 - DEBUG - VM is in ACTIVE state now 2026-10-29 22:19:50,691 - INFO - VM name : ctest-TestBasicPolicy-36511358-22913398 2026-10-29 22:19:50,778 - DEBUG - VM ctest-TestBasicPolicy-36511358-22913398 ID is b0d22428-a996-4524-81a0-f7a04574a1cd 2026-10-29 22:19:50,778 - DEBUG - VM ctest-TestBasicPolicy-36511358-22913398 launched on Node cn-jenkins-deploy-platform-ansible-os-6443-1 2026-10-29 22:19:50,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b0d22428-a996-4524-81a0-f7a04574a1cd 2026-10-29 22:19:50,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/390e7d2a-e028-42ed-8a85-83f1237af272 2026-10-29 22:19:52,144 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.709 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.709/3.324/5.940/2.615 ms') 2026-10-29 22:19:52,144 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36511358-22913398 passed 2026-10-29 22:19:52,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:19:52,299 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36511358-22913398, IP 159.178.117.195, Port 22 2026-10-29 22:19:52,462 - DEBUG - VM ctest-TestBasicPolicy-36511358-22913398 is ready for SSH connections 2026-10-29 22:19:52,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:19:52,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.178.117.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-29 22:19:52,463 - DEBUG - ping -s 56 -c 3 -W 1 159.178.117.195 2026-10-29 22:19:56,617 - DEBUG - PING 159.178.117.195 (159.178.117.195): 56 data bytes 64 bytes from 159.178.117.195: seq=0 ttl=63 time=5.870 ms 64 bytes from 159.178.117.195: seq=1 ttl=63 time=1.074 ms 64 bytes from 159.178.117.195: seq=2 ttl=63 time=0.982 ms --- 159.178.117.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/2.642/5.870 ms 2026-10-29 22:19:56,617 - INFO - Ping to IP 159.178.117.195 from VM ctest-TestBasicPolicy-36511358-46016999 passed 2026-10-29 22:19:56,826 - DEBUG - Policy Update Response {"network-policy": {"uuid": "456259a8-0e91-4e14-8835-9a5d18ec53fd", "href": "http://10.0.0.38:8082/network-policy/456259a8-0e91-4e14-8835-9a5d18ec53fd"}} 2026-10-29 22:19:56,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:19:56,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.178.117.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-29 22:19:56,827 - DEBUG - ping -s 56 -c 3 -W 1 159.178.117.195 2026-10-29 22:19:59,983 - DEBUG - PING 159.178.117.195 (159.178.117.195): 56 data bytes 64 bytes from 159.178.117.195: seq=0 ttl=63 time=1.703 ms --- 159.178.117.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.703/1.703/1.703 ms 2026-10-29 22:19:59,983 - WARNING - Ping to IP 159.178.117.195 from VM ctest-TestBasicPolicy-36511358-46016999 failed 2026-10-29 22:19:59,983 - INFO - Deleting VM ctest-TestBasicPolicy-36511358-22913398 2026-10-29 22:20:00,114 - INFO - Deleting VM ctest-TestBasicPolicy-36511358-46016999 2026-10-29 22:20:00,709 - INFO - Deleted policy ctest-policy-allow-all-40048546 2026-10-29 22:20:00,710 - INFO - Deleting VN ctest-vn-92689168 2026-10-29 22:20:00,772 - DEBUG - VN 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a still in use: Unable to complete operation on network 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-431b4b21-29e3-4d2e-b651-8fab98e033b9'] 2026-10-29 22:20:00,773 - WARNING - Deleting VN ctest-vn-92689168 failed..Will retry 2026-10-29 22:20:02,841 - DEBUG - VN 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a still in use: Unable to complete operation on network 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2783b7a9-3e89-4a8d-82ea-33e53558b817'] 2026-10-29 22:20:02,841 - WARNING - Deleting VN ctest-vn-92689168 failed..Will retry 2026-10-29 22:20:04,961 - DEBUG - Response for deleting network () 2026-10-29 22:20:04,961 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b 2026-10-29 22:20:04,967 - DEBUG - Response Code: 404 2026-10-29 22:20:04,968 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:20:04,974 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486 2026-10-29 22:20:05,031 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:20:05,134 - INFO - Validated that VN ctest-vn-92689168 is not found in API Server 2026-10-29 22:20:05,148 - DEBUG - VN ctest-vn-92689168 is not present in Agent 10.0.0.38 2026-10-29 22:20:05,148 - INFO - Validated that VN ctest-vn-92689168 is not in any agent 2026-10-29 22:20:05,166 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92689168 info 2026-10-29 22:20:05,166 - INFO - Deleting VN ctest-vn-19658196 2026-10-29 22:20:05,309 - DEBUG - Response for deleting network () 2026-10-29 22:20:05,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759 2026-10-29 22:20:05,315 - DEBUG - Response Code: 404 2026-10-29 22:20:05,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-29 22:20:05,326 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486 2026-10-29 22:20:05,381 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c 2026-10-29 22:20:05,464 - INFO - Validated that VN ctest-vn-19658196 is not found in API Server 2026-10-29 22:20:05,476 - DEBUG - VN ctest-vn-19658196 is not present in Agent 10.0.0.38 2026-10-29 22:20:05,476 - INFO - Validated that VN ctest-vn-19658196 is not in any agent 2026-10-29 22:20:05,495 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19658196 info 2026-10-29 22:20:05,772 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 22:20:05,772 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-10-29 22:20:05,772 - INFO - -------------------------------------------------------------------------------- 2026-10-29 22:20:06,634 - INFO - Deleted project: ctest-TestBasicPolicy-36511358, ID : 24772a6a-4e93-46f1-91a7-eb328711973c