2026-09-15 08:13:55,537 - INFO - Domain Default found not creating 2026-09-15 08:13:55,703 - INFO - Project ctest-TestBasicPolicy-86561485 not found, creating it 2026-09-15 08:13:56,190 - INFO - Created Project:ctest-TestBasicPolicy-86561485, ID : aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:13:57,906 - INFO - ================================================================================ 2026-09-15 08:13:57,906 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-15 08:13:57,906 - 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-09-15 08:13:58,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-09-15 08:13:58,181 - INFO - Initial checks done. Running the testcase now 2026-09-15 08:13:58,181 - INFO - 2026-09-15 08:13:58,816 - DEBUG - Response for create_network : {'network': {'id': '23780c57-6aa1-456f-a51b-583b998125b6', 'name': 'ctest-vn-20789789', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-20789789'], 'port_security_enabled': True, 'description': ''}} 2026-09-15 08:13:59,037 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd30633c-2ad6-4098-a3b4-d9430c540bb6', 'name': '', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'network_id': '23780c57-6aa1-456f-a51b-583b998125b6', 'ip_version': 4, 'cidr': '87.61.94.64/26', 'allocation_pools': [{'start': '87.61.94.66', 'end': '87.61.94.126'}], 'gateway_ip': '87.61.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.61.94.66', 'tags': [], 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d'}} 2026-09-15 08:13:59,055 - INFO - Created VN ctest-vn-20789789 2026-09-15 08:13:59,106 - DEBUG - VN ctest-vn-20789789 UUID is 23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:13:59,420 - DEBUG - Response for create_network : {'network': {'id': '86798ce0-82e6-4102-9e98-b74bf4939822', 'name': 'ctest-vn-15866604', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-15866604'], 'port_security_enabled': True, 'description': ''}} 2026-09-15 08:13:59,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cde255f7-7fb1-4bde-a175-fce8010142ca', 'name': '', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'network_id': '86798ce0-82e6-4102-9e98-b74bf4939822', 'ip_version': 4, 'cidr': '73.162.194.128/26', 'allocation_pools': [{'start': '73.162.194.130', 'end': '73.162.194.190'}], 'gateway_ip': '73.162.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.162.194.130', 'tags': [], 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d'}} 2026-09-15 08:13:59,648 - INFO - Created VN ctest-vn-15866604 2026-09-15 08:13:59,702 - DEBUG - VN ctest-vn-15866604 UUID is 86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:13:59,814 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789, 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-86561485:ctest-vn-15866604, 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-09-15 08:14:00,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23780c57-6aa1-456f-a51b-583b998125b6', 'name': 'ctest-vn-20789789', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dd30633c-2ad6-4098-a3b4-d9430c540bb6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-20789789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626']], 'subnet_ipam': [{'subnet_cidr': '87.61.94.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-15 08:14:00,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86798ce0-82e6-4102-9e98-b74bf4939822', 'name': 'ctest-vn-15866604', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cde255f7-7fb1-4bde-a175-fce8010142ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-15866604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626']], 'subnet_ipam': [{'subnet_cidr': '73.162.194.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-15 08:14:00,554 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:14:00,928 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:14:00,962 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245 2026-09-15 08:14:00,977 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:14:01,055 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:14:01,068 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:14:01,078 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814 2026-09-15 08:14:01,087 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814 2026-09-15 08:14:01,095 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/ffe7005a-dfc6-4939-8dca-cd77c5e2ef39 2026-09-15 08:14:01,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-15 08:14:01,101 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:14:01,110 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814 2026-09-15 08:14:01,124 - INFO - Verified VN network id 12 for VN 23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:14:01,124 - INFO - Verifications in API Server for VN ctest-vn-20789789 passed 2026-09-15 08:14:01,124 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:14:01,134 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814 2026-09-15 08:14:01,142 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814 2026-09-15 08:14:01,150 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/ffe7005a-dfc6-4939-8dca-cd77c5e2ef39 2026-09-15 08:14:01,167 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86561485', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2555806358123398511', 'uuid-lslong': '11897199853630989750'}, 'enable': 'true', 'created': '2026-09-15T08:13:58', 'last-modified': '2026-09-15T08:14:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.049148'} 2026-09-15 08:14:01,176 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-15 08:14:01,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20789789 passed 2026-09-15 08:14:01,177 - DEBUG - ====Verifying policy data for ctest-vn-20789789 in API_Server ====== 2026-09-15 08:14:01,177 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:14:01,183 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245 2026-09-15 08:14:01,195 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:14:01,278 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6 2026-09-15 08:14:01,289 - DEBUG - ==>Verifying data for policy with id: da0dd324-60f2-4b45-8cdd-45d738407a4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626'] 2026-09-15 08:14:01,289 - INFO - VN ctest-vn-20789789 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-15 08:14:01,289 - DEBUG - Verifying the vn in opserver 2026-09-15 08:14:01,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789 virtual network link through opserver 10.0.0.177 2026-09-15 08:14:01,289 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-15 08:14:01,660 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-15 08:14:01,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789?flat'} 2026-09-15 08:14:01,716 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789 is found in opserver 2026-09-15 08:14:01,729 - DEBUG - Do not have enough data to verify VN in agent 2026-09-15 08:14:01,733 - DEBUG - VRF ids for VN ctest-vn-20789789: {} 2026-09-15 08:14:01,734 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:14:01,739 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245 2026-09-15 08:14:01,750 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:14:01,827 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:14:01,840 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:14:01,851 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3 2026-09-15 08:14:01,861 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3 2026-09-15 08:14:01,869 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2c25c5f7-cde3-404c-bf55-330967919e9e 2026-09-15 08:14:01,876 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-15 08:14:01,876 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:14:01,886 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3 2026-09-15 08:14:01,906 - INFO - Verified VN network id 13 for VN 86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:14:01,906 - INFO - Verifications in API Server for VN ctest-vn-15866604 passed 2026-09-15 08:14:01,907 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:14:01,917 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3 2026-09-15 08:14:01,926 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3 2026-09-15 08:14:01,935 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2c25c5f7-cde3-404c-bf55-330967919e9e 2026-09-15 08:14:01,950 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86561485', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9689930969161023746', 'uuid-lslong': '11428085591306377250'}, 'enable': 'true', 'created': '2026-09-15T08:13:59', 'last-modified': '2026-09-15T08:14:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.593265'} 2026-09-15 08:14:01,957 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-15 08:14:01,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15866604 passed 2026-09-15 08:14:01,957 - DEBUG - ====Verifying policy data for ctest-vn-15866604 in API_Server ====== 2026-09-15 08:14:01,957 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:14:01,964 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245 2026-09-15 08:14:01,975 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:14:02,055 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822 2026-09-15 08:14:02,066 - DEBUG - ==>Verifying data for policy with id: da0dd324-60f2-4b45-8cdd-45d738407a4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626'] 2026-09-15 08:14:02,066 - INFO - VN ctest-vn-15866604 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-15 08:14:02,066 - DEBUG - Verifying the vn in opserver 2026-09-15 08:14:02,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604 virtual network link through opserver 10.0.0.177 2026-09-15 08:14:02,066 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-15 08:14:02,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604?flat'} 2026-09-15 08:14:02,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604 is found in opserver 2026-09-15 08:14:02,089 - DEBUG - Do not have enough data to verify VN in agent 2026-09-15 08:14:02,094 - DEBUG - VRF ids for VN ctest-vn-15866604: {} 2026-09-15 08:14:02,164 - DEBUG - Services list from nova: [, , ] 2026-09-15 08:14:02,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6285-1) 2026-09-15 08:14:03,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6285-1) 2026-09-15 08:14:03,006 - INFO - Waiting for VM ctest-TestBasicPolicy-86561485-51290262 to be up.. 2026-09-15 08:14:03,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:08,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:13,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:18,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:23,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:28,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:33,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 08:14:38,638 - DEBUG - VM is in ACTIVE state now 2026-09-15 08:14:38,638 - INFO - VM name : ctest-TestBasicPolicy-86561485-51290262 2026-09-15 08:14:38,716 - DEBUG - VM ctest-TestBasicPolicy-86561485-51290262 ID is cf6ffe4e-0dd7-4bf9-bdfa-a6e348d989ae 2026-09-15 08:14:38,736 - DEBUG - VM ctest-TestBasicPolicy-86561485-51290262 launched on Node cn-jenkins-deploy-platform-ansible-os-6285-1 2026-09-15 08:14:38,816 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/cf6ffe4e-0dd7-4bf9-bdfa-a6e348d989ae 2026-09-15 08:14:38,825 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0e737e35-70b7-4d02-bdcc-31d92638f730 2026-09-15 08:14:42,086 - 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 1013ms') 2026-09-15 08:14:42,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86561485-51290262 failed! 2026-09-15 08:14:42,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789 is 87.61.94.65 and allocation pool is NOT set 2026-09-15 08:14:46,213 - 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=6.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 6.742/6.742/6.742/0.000 ms') 2026-09-15 08:14:46,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86561485-51290262 passed 2026-09-15 08:14:46,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 08:14:46,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86561485-51290262, IP 87.61.94.67, Port 22 2026-09-15 08:14:46,537 - DEBUG - VM ctest-TestBasicPolicy-86561485-51290262 is ready for SSH connections 2026-09-15 08:14:46,537 - INFO - Waiting for VM ctest-TestBasicPolicy-86561485-34561568 to be up.. 2026-09-15 08:14:46,617 - DEBUG - VM is in ACTIVE state now 2026-09-15 08:14:46,617 - INFO - VM name : ctest-TestBasicPolicy-86561485-34561568 2026-09-15 08:14:46,694 - DEBUG - VM ctest-TestBasicPolicy-86561485-34561568 ID is 1450db0c-07e5-44d7-acf2-6b7e1e57c960 2026-09-15 08:14:46,694 - DEBUG - VM ctest-TestBasicPolicy-86561485-34561568 launched on Node cn-jenkins-deploy-platform-ansible-os-6285-1 2026-09-15 08:14:46,769 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/1450db0c-07e5-44d7-acf2-6b7e1e57c960 2026-09-15 08:14:46,778 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/2750c0e0-6b5d-4e44-9ada-1c91b5134fb0 2026-09-15 08:14:50,019 - 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 1003ms') 2026-09-15 08:14:50,019 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86561485-34561568 failed! 2026-09-15 08:14:50,074 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604 is 73.162.194.129 and allocation pool is NOT set 2026-09-15 08:14:52,134 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.85 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 = 2.852/4.218/5.585/1.366 ms') 2026-09-15 08:14:52,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86561485-34561568 passed 2026-09-15 08:14:52,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 08:14:52,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86561485-34561568, IP 73.162.194.131, Port 22 2026-09-15 08:14:52,452 - DEBUG - VM ctest-TestBasicPolicy-86561485-34561568 is ready for SSH connections 2026-09-15 08:14:52,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 08:14:52,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.162.194.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-15 08:14:52,453 - DEBUG - ping -s 56 -c 3 -W 1 73.162.194.131 2026-09-15 08:14:56,448 - DEBUG - PING 73.162.194.131 (73.162.194.131): 56 data bytes 64 bytes from 73.162.194.131: seq=0 ttl=63 time=5.703 ms 64 bytes from 73.162.194.131: seq=1 ttl=63 time=1.557 ms 64 bytes from 73.162.194.131: seq=2 ttl=63 time=1.399 ms --- 73.162.194.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.399/2.886/5.703 ms 2026-09-15 08:14:56,448 - INFO - Ping to IP 73.162.194.131 from VM ctest-TestBasicPolicy-86561485-51290262 passed 2026-09-15 08:14:56,634 - DEBUG - Policy Update Response {"network-policy": {"uuid": "da0dd324-60f2-4b45-8cdd-45d738407a4a", "href": "http://10.0.0.177:8082/network-policy/da0dd324-60f2-4b45-8cdd-45d738407a4a"}} 2026-09-15 08:14:56,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 08:14:56,634 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.162.194.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-15 08:14:56,634 - DEBUG - ping -s 56 -c 3 -W 1 73.162.194.131 2026-09-15 08:14:59,770 - DEBUG - PING 73.162.194.131 (73.162.194.131): 56 data bytes 64 bytes from 73.162.194.131: seq=0 ttl=63 time=1.541 ms --- 73.162.194.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.541/1.541/1.541 ms 2026-09-15 08:14:59,770 - WARNING - Ping to IP 73.162.194.131 from VM ctest-TestBasicPolicy-86561485-51290262 failed 2026-09-15 08:14:59,770 - INFO - Deleting VM ctest-TestBasicPolicy-86561485-34561568 2026-09-15 08:14:59,850 - INFO - Deleting VM ctest-TestBasicPolicy-86561485-51290262 2026-09-15 08:15:00,242 - INFO - Deleted policy ctest-policy-allow-all-60628626 2026-09-15 08:15:00,242 - INFO - Deleting VN ctest-vn-15866604 2026-09-15 08:15:00,278 - DEBUG - VN 86798ce0-82e6-4102-9e98-b74bf4939822 still in use: Unable to complete operation on network 86798ce0-82e6-4102-9e98-b74bf4939822. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4724d070-279d-45cc-a52d-bd272d1d616d'] 2026-09-15 08:15:00,278 - WARNING - Deleting VN ctest-vn-15866604 failed..Will retry 2026-09-15 08:15:02,390 - DEBUG - Response for deleting network () 2026-09-15 08:15:02,390 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3 2026-09-15 08:15:02,395 - DEBUG - Response Code: 404 2026-09-15 08:15:02,395 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:15:02,408 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245 2026-09-15 08:15:02,467 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:15:02,551 - INFO - Validated that VN ctest-vn-15866604 is not found in API Server 2026-09-15 08:15:02,563 - DEBUG - VN ctest-vn-15866604 is not present in Agent 10.0.0.177 2026-09-15 08:15:02,563 - INFO - Validated that VN ctest-vn-15866604 is not in any agent 2026-09-15 08:15:02,579 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15866604 info 2026-09-15 08:15:02,580 - INFO - Deleting VN ctest-vn-20789789 2026-09-15 08:15:02,745 - DEBUG - Response for deleting network () 2026-09-15 08:15:02,745 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814 2026-09-15 08:15:02,751 - DEBUG - Response Code: 404 2026-09-15 08:15:02,751 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-15 08:15:02,762 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245 2026-09-15 08:15:02,819 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d 2026-09-15 08:15:02,895 - INFO - Validated that VN ctest-vn-20789789 is not found in API Server 2026-09-15 08:15:02,912 - DEBUG - VN ctest-vn-20789789 is not present in Agent 10.0.0.177 2026-09-15 08:15:02,912 - INFO - Validated that VN ctest-vn-20789789 is not in any agent 2026-09-15 08:15:02,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20789789 info 2026-09-15 08:15:03,203 - DEBUG - No XMPP flaps were noticed during the test
2026-09-15 08:15:03,203 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-09-15 08:15:03,203 - INFO - -------------------------------------------------------------------------------- 2026-09-15 08:15:03,979 - INFO - Deleted project: ctest-TestBasicPolicy-86561485, ID : aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d