2026-08-14 14:32:49,621 - INFO - Domain Default found not creating 2026-08-14 14:32:49,820 - INFO - Project ctest-TestBasicPolicy-45897928 not found, creating it 2026-08-14 14:32:50,320 - INFO - Created Project:ctest-TestBasicPolicy-45897928, ID : 8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:32:51,909 - INFO - ================================================================================ 2026-08-14 14:32:51,909 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 14:32:51,909 - 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-08-14 14:32:52,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-08-14 14:32:52,170 - INFO - Initial checks done. Running the testcase now 2026-08-14 14:32:52,170 - INFO - 2026-08-14 14:32:52,786 - DEBUG - Response for create_network : {'network': {'id': 'a1409bc1-478f-4252-9c40-9d41f5f6cdb8', 'name': 'ctest-vn-93272198', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-93272198'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 14:32:53,026 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd76bb417-7f92-49b0-a76d-2e76078ac834', 'name': '', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'network_id': 'a1409bc1-478f-4252-9c40-9d41f5f6cdb8', 'ip_version': 4, 'cidr': '27.237.245.0/26', 'allocation_pools': [{'start': '27.237.245.2', 'end': '27.237.245.62'}], 'gateway_ip': '27.237.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.237.245.2', 'tags': [], 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9'}} 2026-08-14 14:32:53,046 - INFO - Created VN ctest-vn-93272198 2026-08-14 14:32:53,099 - DEBUG - VN ctest-vn-93272198 UUID is a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:53,425 - DEBUG - Response for create_network : {'network': {'id': 'fbcb4178-9421-46b4-893a-f052991b31bb', 'name': 'ctest-vn-63901287', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-63901287'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 14:32:53,613 - DEBUG - Response for create_subnet : {'subnet': {'id': '3027973c-70ac-4482-a8a1-1b8af6e34d72', 'name': '', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'network_id': 'fbcb4178-9421-46b4-893a-f052991b31bb', 'ip_version': 4, 'cidr': '134.185.114.64/26', 'allocation_pools': [{'start': '134.185.114.66', 'end': '134.185.114.126'}], 'gateway_ip': '134.185.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.185.114.66', 'tags': [], 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9'}} 2026-08-14 14:32:53,630 - INFO - Created VN ctest-vn-63901287 2026-08-14 14:32:53,683 - DEBUG - VN ctest-vn-63901287 UUID is fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:53,802 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198, 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-45897928:ctest-vn-63901287, 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-08-14 14:32:54,116 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1409bc1-478f-4252-9c40-9d41f5f6cdb8', 'name': 'ctest-vn-93272198', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d76bb417-7f92-49b0-a76d-2e76078ac834'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-93272198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450']], 'subnet_ipam': [{'subnet_cidr': '27.237.245.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 14:32:54,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbcb4178-9421-46b4-893a-f052991b31bb', 'name': 'ctest-vn-63901287', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3027973c-70ac-4482-a8a1-1b8af6e34d72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-63901287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450']], 'subnet_ipam': [{'subnet_cidr': '134.185.114.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 14:32:54,519 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:32:54,839 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:32:54,869 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56 2026-08-14 14:32:54,882 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:32:54,957 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:54,970 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:54,979 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9 2026-08-14 14:32:54,987 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9 2026-08-14 14:32:54,995 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/956ab49d-986a-4a2a-ac8f-a143f4d984c0 2026-08-14 14:32:55,003 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 14:32:55,003 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:55,014 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9 2026-08-14 14:32:55,029 - INFO - Verified VN network id 12 for VN a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:55,030 - INFO - Verifications in API Server for VN ctest-vn-93272198 passed 2026-08-14 14:32:55,030 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:55,040 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9 2026-08-14 14:32:55,049 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9 2026-08-14 14:32:55,056 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/956ab49d-986a-4a2a-ac8f-a143f4d984c0 2026-08-14 14:32:55,069 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45897928', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11619458293047444050', 'uuid-lslong': '11259171975051267512'}, 'enable': 'true', 'created': '2026-08-14T14:32:52', 'last-modified': '2026-08-14T14:32:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984660'} 2026-08-14 14:32:55,076 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 14:32:55,076 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93272198 passed 2026-08-14 14:32:55,077 - DEBUG - ====Verifying policy data for ctest-vn-93272198 in API_Server ====== 2026-08-14 14:32:55,077 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:32:55,082 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56 2026-08-14 14:32:55,095 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:32:55,173 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8 2026-08-14 14:32:55,183 - DEBUG - ==>Verifying data for policy with id: 6447bf39-7bbd-4dc3-90c7-b9492ce21153, fqn: ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450'] 2026-08-14 14:32:55,183 - INFO - VN ctest-vn-93272198 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 14:32:55,183 - DEBUG - Verifying the vn in opserver 2026-08-14 14:32:55,184 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198 virtual network link through opserver 10.0.0.162 2026-08-14 14:32:55,184 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-14 14:32:55,513 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-14 14:32:55,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198?flat'} 2026-08-14 14:32:55,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198 is found in opserver 2026-08-14 14:32:55,580 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 14:32:55,586 - DEBUG - VRF ids for VN ctest-vn-93272198: {} 2026-08-14 14:32:55,586 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:32:55,591 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56 2026-08-14 14:32:55,603 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:32:55,681 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:55,696 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:55,706 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec 2026-08-14 14:32:55,714 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec 2026-08-14 14:32:55,722 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e11817bb-be3f-4a9a-938e-4d2caac7aba3 2026-08-14 14:32:55,729 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-14 14:32:55,729 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:55,740 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec 2026-08-14 14:32:55,755 - INFO - Verified VN network id 13 for VN fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:55,755 - INFO - Verifications in API Server for VN ctest-vn-63901287 passed 2026-08-14 14:32:55,755 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:55,766 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec 2026-08-14 14:32:55,774 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec 2026-08-14 14:32:55,782 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e11817bb-be3f-4a9a-938e-4d2caac7aba3 2026-08-14 14:32:55,795 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45897928', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18143667509929264820', 'uuid-lslong': '9888480169392026043'}, 'enable': 'true', 'created': '2026-08-14T14:32:53', 'last-modified': '2026-08-14T14:32:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471091'} 2026-08-14 14:32:55,803 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-14 14:32:55,803 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63901287 passed 2026-08-14 14:32:55,803 - DEBUG - ====Verifying policy data for ctest-vn-63901287 in API_Server ====== 2026-08-14 14:32:55,803 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:32:55,810 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56 2026-08-14 14:32:55,826 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:32:55,908 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb 2026-08-14 14:32:55,919 - DEBUG - ==>Verifying data for policy with id: 6447bf39-7bbd-4dc3-90c7-b9492ce21153, fqn: ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450'] 2026-08-14 14:32:55,919 - INFO - VN ctest-vn-63901287 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 14:32:55,919 - DEBUG - Verifying the vn in opserver 2026-08-14 14:32:55,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287 virtual network link through opserver 10.0.0.162 2026-08-14 14:32:55,919 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-14 14:32:55,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287?flat'} 2026-08-14 14:32:55,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287 is found in opserver 2026-08-14 14:32:55,943 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 14:32:55,951 - DEBUG - VRF ids for VN ctest-vn-63901287: {} 2026-08-14 14:32:56,016 - DEBUG - Services list from nova: [, , ] 2026-08-14 14:32:56,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6163-1) 2026-08-14 14:32:56,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6163-1) 2026-08-14 14:32:56,899 - INFO - Waiting for VM ctest-TestBasicPolicy-45897928-56466366 to be up.. 2026-08-14 14:32:56,940 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:02,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:07,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:12,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:17,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:22,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:27,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:33:32,552 - DEBUG - VM is in ACTIVE state now 2026-08-14 14:33:32,552 - INFO - VM name : ctest-TestBasicPolicy-45897928-56466366 2026-08-14 14:33:32,672 - DEBUG - VM ctest-TestBasicPolicy-45897928-56466366 ID is 64244f89-3274-406f-ac11-d9c3a812dcd8 2026-08-14 14:33:32,706 - DEBUG - VM ctest-TestBasicPolicy-45897928-56466366 launched on Node cn-jenkins-deploy-platform-ansible-os-6163-1 2026-08-14 14:33:32,859 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/64244f89-3274-406f-ac11-d9c3a812dcd8 2026-08-14 14:33:32,879 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/7add2e13-bf14-4674-aaca-d8101abc3682 2026-08-14 14:33:36,173 - 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-08-14 14:33:36,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45897928-56466366 failed! 2026-08-14 14:33:36,227 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198 is 27.237.245.1 and allocation pool is NOT set 2026-08-14 14:33:38,285 - 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=3.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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 = 0.535/2.077/3.619/1.542 ms') 2026-08-14 14:33:38,285 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45897928-56466366 passed 2026-08-14 14:33:38,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:33:38,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45897928-56466366, IP 27.237.245.3, Port 22 2026-08-14 14:33:38,607 - DEBUG - VM ctest-TestBasicPolicy-45897928-56466366 is ready for SSH connections 2026-08-14 14:33:38,607 - INFO - Waiting for VM ctest-TestBasicPolicy-45897928-78391612 to be up.. 2026-08-14 14:33:38,689 - DEBUG - VM is in ACTIVE state now 2026-08-14 14:33:38,689 - INFO - VM name : ctest-TestBasicPolicy-45897928-78391612 2026-08-14 14:33:38,768 - DEBUG - VM ctest-TestBasicPolicy-45897928-78391612 ID is e4d8cf8b-5ca3-4971-ba6e-961656d114c4 2026-08-14 14:33:38,768 - DEBUG - VM ctest-TestBasicPolicy-45897928-78391612 launched on Node cn-jenkins-deploy-platform-ansible-os-6163-1 2026-08-14 14:33:38,842 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/e4d8cf8b-5ca3-4971-ba6e-961656d114c4 2026-08-14 14:33:38,852 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/39d52009-9906-44c2-8971-9bd36b0bb7e1 2026-08-14 14:33:42,125 - 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 1030ms') 2026-08-14 14:33:42,126 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45897928-78391612 failed! 2026-08-14 14:33:42,179 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287 is 134.185.114.65 and allocation pool is NOT set 2026-08-14 14:33:44,241 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.80 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 = 1.796/3.683/5.571/1.887 ms') 2026-08-14 14:33:44,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45897928-78391612 passed 2026-08-14 14:33:44,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:33:44,391 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45897928-78391612, IP 134.185.114.67, Port 22 2026-08-14 14:33:44,566 - DEBUG - VM ctest-TestBasicPolicy-45897928-78391612 is ready for SSH connections 2026-08-14 14:33:44,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:33:44,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.185.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:33:44,567 - DEBUG - ping -s 56 -c 3 -W 1 134.185.114.67 2026-08-14 14:33:48,137 - DEBUG - PING 134.185.114.67 (134.185.114.67): 56 data bytes 64 bytes from 134.185.114.67: seq=0 ttl=63 time=5.798 ms 64 bytes from 134.185.114.67: seq=1 ttl=63 time=1.288 ms 64 bytes from 134.185.114.67: seq=2 ttl=63 time=1.072 ms --- 134.185.114.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.072/2.719/5.798 ms 2026-08-14 14:33:48,137 - INFO - Ping to IP 134.185.114.67 from VM ctest-TestBasicPolicy-45897928-56466366 passed 2026-08-14 14:33:48,319 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6447bf39-7bbd-4dc3-90c7-b9492ce21153", "href": "http://10.0.0.162:8082/network-policy/6447bf39-7bbd-4dc3-90c7-b9492ce21153"}} 2026-08-14 14:33:48,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:33:48,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.185.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:33:48,319 - DEBUG - ping -s 56 -c 3 -W 1 134.185.114.67 2026-08-14 14:33:51,436 - DEBUG - PING 134.185.114.67 (134.185.114.67): 56 data bytes 64 bytes from 134.185.114.67: seq=0 ttl=63 time=1.362 ms --- 134.185.114.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.362/1.362/1.362 ms 2026-08-14 14:33:51,436 - WARNING - Ping to IP 134.185.114.67 from VM ctest-TestBasicPolicy-45897928-56466366 failed 2026-08-14 14:33:51,436 - INFO - Deleting VM ctest-TestBasicPolicy-45897928-78391612 2026-08-14 14:33:51,527 - INFO - Deleting VM ctest-TestBasicPolicy-45897928-56466366 2026-08-14 14:33:51,892 - INFO - Deleted policy ctest-policy-allow-all-41494450 2026-08-14 14:33:51,892 - INFO - Deleting VN ctest-vn-63901287 2026-08-14 14:33:51,927 - DEBUG - VN fbcb4178-9421-46b4-893a-f052991b31bb still in use: Unable to complete operation on network fbcb4178-9421-46b4-893a-f052991b31bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05bc8195-0c35-4da2-a9e5-ee4ff528da8e'] 2026-08-14 14:33:51,927 - WARNING - Deleting VN ctest-vn-63901287 failed..Will retry 2026-08-14 14:33:54,034 - DEBUG - Response for deleting network () 2026-08-14 14:33:54,034 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec 2026-08-14 14:33:54,042 - DEBUG - Response Code: 404 2026-08-14 14:33:54,043 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:33:54,048 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56 2026-08-14 14:33:54,102 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:33:54,194 - INFO - Validated that VN ctest-vn-63901287 is not found in API Server 2026-08-14 14:33:54,205 - DEBUG - VN ctest-vn-63901287 is not present in Agent 10.0.0.162 2026-08-14 14:33:54,205 - INFO - Validated that VN ctest-vn-63901287 is not in any agent 2026-08-14 14:33:54,223 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63901287 info 2026-08-14 14:33:54,223 - INFO - Deleting VN ctest-vn-93272198 2026-08-14 14:33:54,339 - DEBUG - Response for deleting network () 2026-08-14 14:33:54,339 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9 2026-08-14 14:33:54,350 - DEBUG - Response Code: 404 2026-08-14 14:33:54,350 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 14:33:54,355 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56 2026-08-14 14:33:54,409 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9 2026-08-14 14:33:54,487 - INFO - Validated that VN ctest-vn-93272198 is not found in API Server 2026-08-14 14:33:54,498 - DEBUG - VN ctest-vn-93272198 is not present in Agent 10.0.0.162 2026-08-14 14:33:54,498 - INFO - Validated that VN ctest-vn-93272198 is not in any agent 2026-08-14 14:33:54,513 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93272198 info 2026-08-14 14:33:54,781 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 14:33:54,781 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-08-14 14:33:54,781 - INFO - -------------------------------------------------------------------------------- 2026-08-14 14:33:55,504 - INFO - Deleted project: ctest-TestBasicPolicy-45897928, ID : 8a8f8b08-ba27-4d58-abd2-b19fe774f3f9