2026-07-29 15:35:06,326 - INFO - Domain Default found not creating 2026-07-29 15:35:06,525 - INFO - Project ctest-TestBasicPolicy-82225848 not found, creating it 2026-07-29 15:35:07,032 - INFO - Created Project:ctest-TestBasicPolicy-82225848, ID : 86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:35:08,878 - INFO - ================================================================================ 2026-07-29 15:35:08,878 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-29 15:35:08,878 - 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-07-29 15:35:09,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-29 15:35:09,160 - INFO - Initial checks done. Running the testcase now 2026-07-29 15:35:09,160 - INFO - 2026-07-29 15:35:09,872 - DEBUG - Response for create_network : {'network': {'id': '2c33b4a9-6c02-4e23-92f2-b04eff1251d6', 'name': 'ctest-vn-82432773', 'tenant_id': '8693973980b3466db3ed4b9c45f4deba', 'project_id': '8693973980b3466db3ed4b9c45f4deba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-vn-82432773'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:35:10,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '630bb5df-9555-4639-a427-ce8f7bdc2a6f', 'name': '', 'tenant_id': '8693973980b3466db3ed4b9c45f4deba', 'network_id': '2c33b4a9-6c02-4e23-92f2-b04eff1251d6', 'ip_version': 4, 'cidr': '79.137.0.192/26', 'allocation_pools': [{'start': '79.137.0.194', 'end': '79.137.0.254'}], 'gateway_ip': '79.137.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.137.0.194', 'tags': [], 'project_id': '8693973980b3466db3ed4b9c45f4deba'}} 2026-07-29 15:35:10,125 - INFO - Created VN ctest-vn-82432773 2026-07-29 15:35:10,181 - DEBUG - VN ctest-vn-82432773 UUID is 2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:10,834 - DEBUG - Response for create_network : {'network': {'id': '6e3b4c57-2dc6-45d2-8d44-a62002abb4d5', 'name': 'ctest-vn-72224792', 'tenant_id': '8693973980b3466db3ed4b9c45f4deba', 'project_id': '8693973980b3466db3ed4b9c45f4deba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-vn-72224792'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:35:11,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '233f4022-34fe-412a-bcbc-40c61f3205c9', 'name': '', 'tenant_id': '8693973980b3466db3ed4b9c45f4deba', 'network_id': '6e3b4c57-2dc6-45d2-8d44-a62002abb4d5', 'ip_version': 4, 'cidr': '14.233.79.128/26', 'allocation_pools': [{'start': '14.233.79.130', 'end': '14.233.79.190'}], 'gateway_ip': '14.233.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.233.79.130', 'tags': [], 'project_id': '8693973980b3466db3ed4b9c45f4deba'}} 2026-07-29 15:35:11,088 - INFO - Created VN ctest-vn-72224792 2026-07-29 15:35:11,145 - DEBUG - VN ctest-vn-72224792 UUID is 6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:11,276 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773, 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-82225848:ctest-vn-72224792, 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-07-29 15:35:11,622 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c33b4a9-6c02-4e23-92f2-b04eff1251d6', 'name': 'ctest-vn-82432773', 'tenant_id': '8693973980b3466db3ed4b9c45f4deba', 'project_id': '8693973980b3466db3ed4b9c45f4deba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['630bb5df-9555-4639-a427-ce8f7bdc2a6f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-vn-82432773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-policy-allow-all-67577387']], 'subnet_ipam': [{'subnet_cidr': '79.137.0.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:35:11,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e3b4c57-2dc6-45d2-8d44-a62002abb4d5', 'name': 'ctest-vn-72224792', 'tenant_id': '8693973980b3466db3ed4b9c45f4deba', 'project_id': '8693973980b3466db3ed4b9c45f4deba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['233f4022-34fe-412a-bcbc-40c61f3205c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-vn-72224792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-policy-allow-all-67577387']], 'subnet_ipam': [{'subnet_cidr': '14.233.79.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:35:12,053 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:35:12,437 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:35:12,469 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d0cfa024-0e49-44b6-bd63-52d69750acc1 2026-07-29 15:35:12,484 - DEBUG - Requesting: http://10.0.0.38:8082/project/86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:35:12,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:12,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:12,600 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42692b1b-13c6-4c73-a6a4-e470205e7ff2 2026-07-29 15:35:12,608 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42692b1b-13c6-4c73-a6a4-e470205e7ff2 2026-07-29 15:35:12,617 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b568314-56f0-4a50-b706-2d8a25907753 2026-07-29 15:35:12,626 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-29 15:35:12,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:12,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42692b1b-13c6-4c73-a6a4-e470205e7ff2 2026-07-29 15:35:12,657 - INFO - Verified VN network id 11 for VN 2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:12,657 - INFO - Verifications in API Server for VN ctest-vn-82432773 passed 2026-07-29 15:35:12,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:12,671 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42692b1b-13c6-4c73-a6a4-e470205e7ff2 2026-07-29 15:35:12,680 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42692b1b-13c6-4c73-a6a4-e470205e7ff2 2026-07-29 15:35:12,689 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b568314-56f0-4a50-b706-2d8a25907753 2026-07-29 15:35:12,703 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82225848', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3185088001235635747', 'uuid-lslong': '10588719527234785750'}, 'enable': 'true', 'created': '2026-07-29T15:35:09', 'last-modified': '2026-07-29T15:35:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.104743'} 2026-07-29 15:35:12,711 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-29 15:35:12,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82432773 passed 2026-07-29 15:35:12,712 - DEBUG - ====Verifying policy data for ctest-vn-82432773 in API_Server ====== 2026-07-29 15:35:12,712 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:35:12,719 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d0cfa024-0e49-44b6-bd63-52d69750acc1 2026-07-29 15:35:12,733 - DEBUG - Requesting: http://10.0.0.38:8082/project/86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:35:12,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2c33b4a9-6c02-4e23-92f2-b04eff1251d6 2026-07-29 15:35:12,826 - DEBUG - ==>Verifying data for policy with id: d815457e-c5f5-438e-a6a7-70f6e1032ca1, fqn: ['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-policy-allow-all-67577387'] 2026-07-29 15:35:12,826 - INFO - VN ctest-vn-82432773 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-29 15:35:12,826 - DEBUG - Verifying the vn in opserver 2026-07-29 15:35:12,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773 virtual network link through opserver 10.0.0.38 2026-07-29 15:35:12,827 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-29 15:35:13,201 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-29 15:35:13,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773?flat'} 2026-07-29 15:35:13,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773 is found in opserver 2026-07-29 15:35:13,274 - DEBUG - Do not have enough data to verify VN in agent 2026-07-29 15:35:13,279 - DEBUG - VRF ids for VN ctest-vn-82432773: {} 2026-07-29 15:35:13,279 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:35:13,286 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d0cfa024-0e49-44b6-bd63-52d69750acc1 2026-07-29 15:35:13,299 - DEBUG - Requesting: http://10.0.0.38:8082/project/86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:35:13,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:13,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:13,408 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2427ce1f-34fe-4b99-b295-90bfe1ed3532 2026-07-29 15:35:13,418 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2427ce1f-34fe-4b99-b295-90bfe1ed3532 2026-07-29 15:35:13,427 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0846aecf-f2be-4432-9696-b3c988f6d10e 2026-07-29 15:35:13,434 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-29 15:35:13,434 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:13,445 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2427ce1f-34fe-4b99-b295-90bfe1ed3532 2026-07-29 15:35:13,462 - INFO - Verified VN network id 12 for VN 6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:13,462 - INFO - Verifications in API Server for VN ctest-vn-72224792 passed 2026-07-29 15:35:13,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:13,473 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2427ce1f-34fe-4b99-b295-90bfe1ed3532 2026-07-29 15:35:13,481 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2427ce1f-34fe-4b99-b295-90bfe1ed3532 2026-07-29 15:35:13,490 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0846aecf-f2be-4432-9696-b3c988f6d10e 2026-07-29 15:35:13,505 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-72224792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82225848', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7943026305111836114', 'uuid-lslong': '10179443714178135253'}, 'enable': 'true', 'created': '2026-07-29T15:35:10', 'last-modified': '2026-07-29T15:35:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.649565'} 2026-07-29 15:35:13,513 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-29 15:35:13,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72224792 passed 2026-07-29 15:35:13,513 - DEBUG - ====Verifying policy data for ctest-vn-72224792 in API_Server ====== 2026-07-29 15:35:13,513 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:35:13,521 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d0cfa024-0e49-44b6-bd63-52d69750acc1 2026-07-29 15:35:13,537 - DEBUG - Requesting: http://10.0.0.38:8082/project/86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:35:13,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 2026-07-29 15:35:13,634 - DEBUG - ==>Verifying data for policy with id: d815457e-c5f5-438e-a6a7-70f6e1032ca1, fqn: ['default-domain', 'ctest-TestBasicPolicy-82225848', 'ctest-policy-allow-all-67577387'] 2026-07-29 15:35:13,634 - INFO - VN ctest-vn-72224792 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-29 15:35:13,635 - DEBUG - Verifying the vn in opserver 2026-07-29 15:35:13,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-72224792 virtual network link through opserver 10.0.0.38 2026-07-29 15:35:13,635 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-29 15:35:13,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-72224792', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-72224792?flat'} 2026-07-29 15:35:13,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-72224792 is found in opserver 2026-07-29 15:35:13,660 - DEBUG - Do not have enough data to verify VN in agent 2026-07-29 15:35:13,666 - DEBUG - VRF ids for VN ctest-vn-72224792: {} 2026-07-29 15:35:13,748 - DEBUG - Services list from nova: [, , ] 2026-07-29 15:35:14,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6120-1) 2026-07-29 15:35:14,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6120-1) 2026-07-29 15:35:14,591 - INFO - Waiting for VM ctest-TestBasicPolicy-82225848-74627279 to be up.. 2026-07-29 15:35:14,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:19,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:24,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:29,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:35,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:40,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:45,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:50,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:35:55,423 - DEBUG - VM is in ACTIVE state now 2026-07-29 15:35:55,424 - INFO - VM name : ctest-TestBasicPolicy-82225848-74627279 2026-07-29 15:35:55,508 - DEBUG - VM ctest-TestBasicPolicy-82225848-74627279 ID is f22cec17-f23f-433a-b079-e2a8f8e1aeef 2026-07-29 15:35:55,529 - DEBUG - VM ctest-TestBasicPolicy-82225848-74627279 launched on Node cn-jenkins-deploy-platform-ansible-os-6120-1 2026-07-29 15:35:55,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f22cec17-f23f-433a-b079-e2a8f8e1aeef 2026-07-29 15:35:55,624 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/29f4fc4d-ee98-4d35-97e4-2a399ae7a97c 2026-07-29 15:35:58,898 - 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-07-29 15:35:58,898 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82225848-74627279 failed! 2026-07-29 15:35:58,953 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-82432773 is 79.137.0.193 and allocation pool is NOT set 2026-07-29 15:36:01,024 - 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=15.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/7.863/15.291/7.428 ms') 2026-07-29 15:36:01,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82225848-74627279 passed 2026-07-29 15:36:01,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:36:01,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82225848-74627279, IP 79.137.0.195, Port 22 2026-07-29 15:36:01,351 - DEBUG - VM ctest-TestBasicPolicy-82225848-74627279 is ready for SSH connections 2026-07-29 15:36:01,352 - INFO - Waiting for VM ctest-TestBasicPolicy-82225848-72424513 to be up.. 2026-07-29 15:36:01,448 - DEBUG - VM is in ACTIVE state now 2026-07-29 15:36:01,449 - INFO - VM name : ctest-TestBasicPolicy-82225848-72424513 2026-07-29 15:36:01,535 - DEBUG - VM ctest-TestBasicPolicy-82225848-72424513 ID is 447333da-7464-4acb-bf4b-646a2c0a6325 2026-07-29 15:36:01,535 - DEBUG - VM ctest-TestBasicPolicy-82225848-72424513 launched on Node cn-jenkins-deploy-platform-ansible-os-6120-1 2026-07-29 15:36:01,630 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/447333da-7464-4acb-bf4b-646a2c0a6325 2026-07-29 15:36:01,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/55166663-4763-40dd-beca-ad32f5423a5f 2026-07-29 15:36:04,911 - 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-07-29 15:36:04,912 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82225848-72424513 failed! 2026-07-29 15:36:04,969 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82225848:ctest-vn-72224792 is 14.233.79.129 and allocation pool is NOT set 2026-07-29 15:36:07,035 - 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.538 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.538/2.397/4.256/1.859 ms') 2026-07-29 15:36:07,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82225848-72424513 passed 2026-07-29 15:36:07,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:36:07,189 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82225848-72424513, IP 14.233.79.131, Port 22 2026-07-29 15:36:07,360 - DEBUG - VM ctest-TestBasicPolicy-82225848-72424513 is ready for SSH connections 2026-07-29 15:36:07,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:36:07,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.233.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 15:36:07,361 - DEBUG - ping -s 56 -c 3 -W 1 14.233.79.131 2026-07-29 15:36:11,426 - DEBUG - PING 14.233.79.131 (14.233.79.131): 56 data bytes 64 bytes from 14.233.79.131: seq=0 ttl=63 time=4.748 ms 64 bytes from 14.233.79.131: seq=1 ttl=63 time=1.194 ms 64 bytes from 14.233.79.131: seq=2 ttl=63 time=1.349 ms --- 14.233.79.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.194/2.430/4.748 ms 2026-07-29 15:36:11,426 - INFO - Ping to IP 14.233.79.131 from VM ctest-TestBasicPolicy-82225848-74627279 passed 2026-07-29 15:36:11,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d815457e-c5f5-438e-a6a7-70f6e1032ca1", "href": "http://10.0.0.38:8082/network-policy/d815457e-c5f5-438e-a6a7-70f6e1032ca1"}} 2026-07-29 15:36:11,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:36:11,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.233.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 15:36:11,625 - DEBUG - ping -s 56 -c 3 -W 1 14.233.79.131 2026-07-29 15:36:14,763 - DEBUG - PING 14.233.79.131 (14.233.79.131): 56 data bytes 64 bytes from 14.233.79.131: seq=0 ttl=63 time=2.683 ms --- 14.233.79.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.683/2.683/2.683 ms 2026-07-29 15:36:14,763 - WARNING - Ping to IP 14.233.79.131 from VM ctest-TestBasicPolicy-82225848-74627279 failed 2026-07-29 15:36:14,763 - INFO - Deleting VM ctest-TestBasicPolicy-82225848-72424513 2026-07-29 15:36:14,853 - INFO - Deleting VM ctest-TestBasicPolicy-82225848-74627279 2026-07-29 15:36:15,288 - INFO - Deleted policy ctest-policy-allow-all-67577387 2026-07-29 15:36:15,288 - INFO - Deleting VN ctest-vn-72224792 2026-07-29 15:36:15,330 - DEBUG - VN 6e3b4c57-2dc6-45d2-8d44-a62002abb4d5 still in use: Unable to complete operation on network 6e3b4c57-2dc6-45d2-8d44-a62002abb4d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5dcc121-2556-410d-bcce-d739211a4f91'] 2026-07-29 15:36:15,330 - WARNING - Deleting VN ctest-vn-72224792 failed..Will retry 2026-07-29 15:36:17,469 - DEBUG - Response for deleting network () 2026-07-29 15:36:17,469 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2427ce1f-34fe-4b99-b295-90bfe1ed3532 2026-07-29 15:36:17,478 - DEBUG - Response Code: 404 2026-07-29 15:36:17,478 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:36:17,487 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d0cfa024-0e49-44b6-bd63-52d69750acc1 2026-07-29 15:36:17,543 - DEBUG - Requesting: http://10.0.0.38:8082/project/86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:36:17,621 - INFO - Validated that VN ctest-vn-72224792 is not found in API Server 2026-07-29 15:36:17,640 - DEBUG - VN ctest-vn-72224792 is not present in Agent 10.0.0.38 2026-07-29 15:36:17,640 - INFO - Validated that VN ctest-vn-72224792 is not in any agent 2026-07-29 15:36:17,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72224792 info 2026-07-29 15:36:17,670 - INFO - Deleting VN ctest-vn-82432773 2026-07-29 15:36:17,805 - DEBUG - Response for deleting network () 2026-07-29 15:36:17,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42692b1b-13c6-4c73-a6a4-e470205e7ff2 2026-07-29 15:36:17,813 - DEBUG - Response Code: 404 2026-07-29 15:36:17,814 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-29 15:36:17,819 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d0cfa024-0e49-44b6-bd63-52d69750acc1 2026-07-29 15:36:17,880 - DEBUG - Requesting: http://10.0.0.38:8082/project/86939739-80b3-466d-b3ed-4b9c45f4deba 2026-07-29 15:36:17,961 - INFO - Validated that VN ctest-vn-82432773 is not found in API Server 2026-07-29 15:36:17,974 - DEBUG - VN ctest-vn-82432773 is not present in Agent 10.0.0.38 2026-07-29 15:36:17,974 - INFO - Validated that VN ctest-vn-82432773 is not in any agent 2026-07-29 15:36:18,003 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82432773 info 2026-07-29 15:36:18,284 - DEBUG - No XMPP flaps were noticed during the test 2026-07-29 15:36:18,284 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-07-29 15:36:18,284 - INFO - -------------------------------------------------------------------------------- 2026-07-29 15:36:19,121 - INFO - Deleted project: ctest-TestBasicPolicy-82225848, ID : 86939739-80b3-466d-b3ed-4b9c45f4deba