2026-08-17 15:56:11,773 - INFO - Domain Default found not creating 2026-08-17 15:56:11,944 - INFO - Project ctest-TestBasicPolicy-55084878 not found, creating it 2026-08-17 15:56:12,456 - INFO - Created Project:ctest-TestBasicPolicy-55084878, ID : 3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:56:14,031 - INFO - ================================================================================ 2026-08-17 15:56:14,032 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 15:56:14,032 - 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-17 15:56:14,301 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-08-17 15:56:14,301 - INFO - Initial checks done. Running the testcase now 2026-08-17 15:56:14,301 - INFO - 2026-08-17 15:56:14,903 - DEBUG - Response for create_network : {'network': {'id': '7fa94982-217c-4e2f-80a8-41291bec283a', 'name': 'ctest-vn-42962292', 'tenant_id': '3f14d896f5584e45b2521358ee10f127', 'project_id': '3f14d896f5584e45b2521358ee10f127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-vn-42962292'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:56:15,135 - DEBUG - Response for create_subnet : {'subnet': {'id': '181938c8-f6ab-4a1a-a83b-b5d409f06ee7', 'name': '', 'tenant_id': '3f14d896f5584e45b2521358ee10f127', 'network_id': '7fa94982-217c-4e2f-80a8-41291bec283a', 'ip_version': 4, 'cidr': '12.97.109.64/26', 'allocation_pools': [{'start': '12.97.109.66', 'end': '12.97.109.126'}], 'gateway_ip': '12.97.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.97.109.66', 'tags': [], 'project_id': '3f14d896f5584e45b2521358ee10f127'}} 2026-08-17 15:56:15,153 - INFO - Created VN ctest-vn-42962292 2026-08-17 15:56:15,208 - DEBUG - VN ctest-vn-42962292 UUID is 7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:15,516 - DEBUG - Response for create_network : {'network': {'id': '48db7bc5-e70b-4eb7-b701-711e6e598bf9', 'name': 'ctest-vn-51998111', 'tenant_id': '3f14d896f5584e45b2521358ee10f127', 'project_id': '3f14d896f5584e45b2521358ee10f127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-vn-51998111'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:56:15,716 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2011025-41a7-4285-ae89-5d1ac8dc7cb0', 'name': '', 'tenant_id': '3f14d896f5584e45b2521358ee10f127', 'network_id': '48db7bc5-e70b-4eb7-b701-711e6e598bf9', 'ip_version': 4, 'cidr': '63.126.253.64/26', 'allocation_pools': [{'start': '63.126.253.66', 'end': '63.126.253.126'}], 'gateway_ip': '63.126.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.126.253.66', 'tags': [], 'project_id': '3f14d896f5584e45b2521358ee10f127'}} 2026-08-17 15:56:15,732 - INFO - Created VN ctest-vn-51998111 2026-08-17 15:56:15,784 - DEBUG - VN ctest-vn-51998111 UUID is 48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:15,936 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292, 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-55084878:ctest-vn-51998111, 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-17 15:56:16,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7fa94982-217c-4e2f-80a8-41291bec283a', 'name': 'ctest-vn-42962292', 'tenant_id': '3f14d896f5584e45b2521358ee10f127', 'project_id': '3f14d896f5584e45b2521358ee10f127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['181938c8-f6ab-4a1a-a83b-b5d409f06ee7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-vn-42962292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-policy-allow-all-18413675']], 'subnet_ipam': [{'subnet_cidr': '12.97.109.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:56:16,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48db7bc5-e70b-4eb7-b701-711e6e598bf9', 'name': 'ctest-vn-51998111', 'tenant_id': '3f14d896f5584e45b2521358ee10f127', 'project_id': '3f14d896f5584e45b2521358ee10f127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e2011025-41a7-4285-ae89-5d1ac8dc7cb0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-vn-51998111'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-policy-allow-all-18413675']], 'subnet_ipam': [{'subnet_cidr': '63.126.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:56:16,732 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:56:17,065 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:56:17,094 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96701fdd-cdc5-4d69-897f-51d30045c946 2026-08-17 15:56:17,107 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:56:17,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:17,194 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:17,205 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddd07018-069d-4117-9cbe-5425310c4d1e 2026-08-17 15:56:17,213 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddd07018-069d-4117-9cbe-5425310c4d1e 2026-08-17 15:56:17,221 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c37ab432-587c-432d-ad8e-f2021010680f 2026-08-17 15:56:17,229 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 15:56:17,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:17,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddd07018-069d-4117-9cbe-5425310c4d1e 2026-08-17 15:56:17,255 - INFO - Verified VN network id 11 for VN 7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:17,255 - INFO - Verifications in API Server for VN ctest-vn-42962292 passed 2026-08-17 15:56:17,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:17,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddd07018-069d-4117-9cbe-5425310c4d1e 2026-08-17 15:56:17,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddd07018-069d-4117-9cbe-5425310c4d1e 2026-08-17 15:56:17,282 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c37ab432-587c-432d-ad8e-f2021010680f 2026-08-17 15:56:17,297 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55084878', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9198964537137319471', 'uuid-lslong': '9270731477760092218'}, 'enable': 'true', 'created': '2026-08-17T15:56:14', 'last-modified': '2026-08-17T15:56:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009208'} 2026-08-17 15:56:17,303 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 15:56:17,304 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42962292 passed 2026-08-17 15:56:17,304 - DEBUG - ====Verifying policy data for ctest-vn-42962292 in API_Server ====== 2026-08-17 15:56:17,304 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:56:17,310 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96701fdd-cdc5-4d69-897f-51d30045c946 2026-08-17 15:56:17,322 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:56:17,411 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7fa94982-217c-4e2f-80a8-41291bec283a 2026-08-17 15:56:17,421 - DEBUG - ==>Verifying data for policy with id: 122a9f42-bfbc-4f49-8480-00bc00ec4df2, fqn: ['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-policy-allow-all-18413675'] 2026-08-17 15:56:17,421 - INFO - VN ctest-vn-42962292 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 15:56:17,421 - DEBUG - Verifying the vn in opserver 2026-08-17 15:56:17,421 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292 virtual network link through opserver 10.0.0.38 2026-08-17 15:56:17,421 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 15:56:17,894 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 15:56:17,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292?flat'} 2026-08-17 15:56:17,968 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292 is found in opserver 2026-08-17 15:56:17,980 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 15:56:17,985 - DEBUG - VRF ids for VN ctest-vn-42962292: {} 2026-08-17 15:56:17,986 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:56:17,992 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96701fdd-cdc5-4d69-897f-51d30045c946 2026-08-17 15:56:18,004 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:56:18,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:18,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:18,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0a0ed1f-1148-47a0-9e25-b89530d28770 2026-08-17 15:56:18,111 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0a0ed1f-1148-47a0-9e25-b89530d28770 2026-08-17 15:56:18,119 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47a7383d-c1c5-4c6f-80bb-6466b0b42906 2026-08-17 15:56:18,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 15:56:18,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:18,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0a0ed1f-1148-47a0-9e25-b89530d28770 2026-08-17 15:56:18,151 - INFO - Verified VN network id 12 for VN 48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:18,151 - INFO - Verifications in API Server for VN ctest-vn-51998111 passed 2026-08-17 15:56:18,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:18,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0a0ed1f-1148-47a0-9e25-b89530d28770 2026-08-17 15:56:18,168 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0a0ed1f-1148-47a0-9e25-b89530d28770 2026-08-17 15:56:18,175 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47a7383d-c1c5-4c6f-80bb-6466b0b42906 2026-08-17 15:56:18,187 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-51998111', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55084878', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5249925880545496759', 'uuid-lslong': '13186945559431842809'}, 'enable': 'true', 'created': '2026-08-17T15:56:15', 'last-modified': '2026-08-17T15:56:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.653717'} 2026-08-17 15:56:18,195 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 15:56:18,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51998111 passed 2026-08-17 15:56:18,195 - DEBUG - ====Verifying policy data for ctest-vn-51998111 in API_Server ====== 2026-08-17 15:56:18,195 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:56:18,202 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96701fdd-cdc5-4d69-897f-51d30045c946 2026-08-17 15:56:18,213 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:56:18,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48db7bc5-e70b-4eb7-b701-711e6e598bf9 2026-08-17 15:56:18,313 - DEBUG - ==>Verifying data for policy with id: 122a9f42-bfbc-4f49-8480-00bc00ec4df2, fqn: ['default-domain', 'ctest-TestBasicPolicy-55084878', 'ctest-policy-allow-all-18413675'] 2026-08-17 15:56:18,313 - INFO - VN ctest-vn-51998111 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 15:56:18,313 - DEBUG - Verifying the vn in opserver 2026-08-17 15:56:18,313 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-51998111 virtual network link through opserver 10.0.0.38 2026-08-17 15:56:18,313 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 15:56:18,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-51998111', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-51998111?flat'} 2026-08-17 15:56:18,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-51998111 is found in opserver 2026-08-17 15:56:18,334 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 15:56:18,340 - DEBUG - VRF ids for VN ctest-vn-51998111: {} 2026-08-17 15:56:18,400 - DEBUG - Services list from nova: [, , ] 2026-08-17 15:56:18,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6177-1) 2026-08-17 15:56:19,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6177-1) 2026-08-17 15:56:19,240 - INFO - Waiting for VM ctest-TestBasicPolicy-55084878-41399817 to be up.. 2026-08-17 15:56:19,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:24,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:29,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:34,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:39,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:44,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:49,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:54,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:56:59,913 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:56:59,913 - INFO - VM name : ctest-TestBasicPolicy-55084878-41399817 2026-08-17 15:56:59,998 - DEBUG - VM ctest-TestBasicPolicy-55084878-41399817 ID is 153a15a9-83dd-4685-a2db-6aca2e5c0685 2026-08-17 15:57:00,019 - DEBUG - VM ctest-TestBasicPolicy-55084878-41399817 launched on Node cn-jenkins-deploy-platform-ansible-os-6177-1 2026-08-17 15:57:00,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/153a15a9-83dd-4685-a2db-6aca2e5c0685 2026-08-17 15:57:00,110 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1abfd6b5-c64f-4850-94a2-20e98416fe2f 2026-08-17 15:57:03,385 - 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 1024ms') 2026-08-17 15:57:03,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55084878-41399817 failed! 2026-08-17 15:57:03,444 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55084878:ctest-vn-42962292 is 12.97.109.65 and allocation pool is NOT set 2026-08-17 15:57:07,514 - 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=2 ttl=63 time=11.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 11.340/11.340/11.340/0.000 ms') 2026-08-17 15:57:07,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55084878-41399817 passed 2026-08-17 15:57:07,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:57:07,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55084878-41399817, IP 12.97.109.67, Port 22 2026-08-17 15:57:07,739 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-17 15:57:07,828 - DEBUG - VM ctest-TestBasicPolicy-55084878-41399817 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 15:57:12,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:57:12,829 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55084878-41399817, IP 12.97.109.67, Port 22 2026-08-17 15:57:13,002 - DEBUG - VM ctest-TestBasicPolicy-55084878-41399817 is ready for SSH connections 2026-08-17 15:57:13,003 - INFO - Waiting for VM ctest-TestBasicPolicy-55084878-08688818 to be up.. 2026-08-17 15:57:13,099 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:57:13,099 - INFO - VM name : ctest-TestBasicPolicy-55084878-08688818 2026-08-17 15:57:13,180 - DEBUG - VM ctest-TestBasicPolicy-55084878-08688818 ID is f4484ed9-144e-4bfc-8f5c-a03ebc4b9609 2026-08-17 15:57:13,180 - DEBUG - VM ctest-TestBasicPolicy-55084878-08688818 launched on Node cn-jenkins-deploy-platform-ansible-os-6177-1 2026-08-17 15:57:13,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f4484ed9-144e-4bfc-8f5c-a03ebc4b9609 2026-08-17 15:57:13,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc3082aa-f878-4699-a9d4-993f88550d76 2026-08-17 15:57:14,503 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.875/3.284/1.409 ms') 2026-08-17 15:57:14,503 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55084878-08688818 passed 2026-08-17 15:57:14,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:57:14,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55084878-08688818, IP 63.126.253.67, Port 22 2026-08-17 15:57:14,822 - DEBUG - VM ctest-TestBasicPolicy-55084878-08688818 is ready for SSH connections 2026-08-17 15:57:14,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:57:14,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.126.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-17 15:57:14,822 - DEBUG - ping -s 56 -c 3 -W 1 63.126.253.67 2026-08-17 15:57:18,831 - DEBUG - PING 63.126.253.67 (63.126.253.67): 56 data bytes 64 bytes from 63.126.253.67: seq=0 ttl=63 time=4.045 ms 64 bytes from 63.126.253.67: seq=1 ttl=63 time=1.089 ms 64 bytes from 63.126.253.67: seq=2 ttl=63 time=1.016 ms --- 63.126.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/2.050/4.045 ms 2026-08-17 15:57:18,831 - INFO - Ping to IP 63.126.253.67 from VM ctest-TestBasicPolicy-55084878-41399817 passed 2026-08-17 15:57:19,016 - DEBUG - Policy Update Response {"network-policy": {"uuid": "122a9f42-bfbc-4f49-8480-00bc00ec4df2", "href": "http://10.0.0.38:8082/network-policy/122a9f42-bfbc-4f49-8480-00bc00ec4df2"}} 2026-08-17 15:57:19,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:57:19,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.126.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-17 15:57:19,016 - DEBUG - ping -s 56 -c 3 -W 1 63.126.253.67 2026-08-17 15:57:22,146 - DEBUG - PING 63.126.253.67 (63.126.253.67): 56 data bytes 64 bytes from 63.126.253.67: seq=0 ttl=63 time=2.132 ms --- 63.126.253.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.132/2.132/2.132 ms 2026-08-17 15:57:22,146 - WARNING - Ping to IP 63.126.253.67 from VM ctest-TestBasicPolicy-55084878-41399817 failed 2026-08-17 15:57:22,146 - INFO - Deleting VM ctest-TestBasicPolicy-55084878-08688818 2026-08-17 15:57:22,218 - INFO - Deleting VM ctest-TestBasicPolicy-55084878-41399817 2026-08-17 15:57:22,602 - INFO - Deleted policy ctest-policy-allow-all-18413675 2026-08-17 15:57:22,602 - INFO - Deleting VN ctest-vn-51998111 2026-08-17 15:57:22,634 - DEBUG - VN 48db7bc5-e70b-4eb7-b701-711e6e598bf9 still in use: Unable to complete operation on network 48db7bc5-e70b-4eb7-b701-711e6e598bf9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08202acb-bb56-4588-9ea0-dd5c55e941c2'] 2026-08-17 15:57:22,635 - WARNING - Deleting VN ctest-vn-51998111 failed..Will retry 2026-08-17 15:57:24,742 - DEBUG - Response for deleting network () 2026-08-17 15:57:24,742 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0a0ed1f-1148-47a0-9e25-b89530d28770 2026-08-17 15:57:24,749 - DEBUG - Response Code: 404 2026-08-17 15:57:24,749 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:57:24,756 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96701fdd-cdc5-4d69-897f-51d30045c946 2026-08-17 15:57:24,816 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:57:24,891 - INFO - Validated that VN ctest-vn-51998111 is not found in API Server 2026-08-17 15:57:24,904 - DEBUG - VN ctest-vn-51998111 is not present in Agent 10.0.0.38 2026-08-17 15:57:24,904 - INFO - Validated that VN ctest-vn-51998111 is not in any agent 2026-08-17 15:57:24,920 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51998111 info 2026-08-17 15:57:24,920 - INFO - Deleting VN ctest-vn-42962292 2026-08-17 15:57:25,030 - DEBUG - Response for deleting network () 2026-08-17 15:57:25,030 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddd07018-069d-4117-9cbe-5425310c4d1e 2026-08-17 15:57:25,035 - DEBUG - Response Code: 404 2026-08-17 15:57:25,036 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 15:57:25,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96701fdd-cdc5-4d69-897f-51d30045c946 2026-08-17 15:57:25,097 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f14d896-f558-4e45-b252-1358ee10f127 2026-08-17 15:57:25,172 - INFO - Validated that VN ctest-vn-42962292 is not found in API Server 2026-08-17 15:57:25,183 - DEBUG - VN ctest-vn-42962292 is not present in Agent 10.0.0.38 2026-08-17 15:57:25,184 - INFO - Validated that VN ctest-vn-42962292 is not in any agent 2026-08-17 15:57:25,198 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42962292 info 2026-08-17 15:57:25,465 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 15:57:25,465 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-08-17 15:57:25,465 - INFO - -------------------------------------------------------------------------------- 2026-08-17 15:57:26,212 - INFO - Deleted project: ctest-TestBasicPolicy-55084878, ID : 3f14d896-f558-4e45-b252-1358ee10f127