2026-10-12 02:14:14,560 - INFO - Domain Default found not creating 2026-10-12 02:14:14,691 - INFO - Project ctest-TestBasicPolicy-80408004 not found, creating it 2026-10-12 02:14:15,150 - INFO - Created Project:ctest-TestBasicPolicy-80408004, ID : b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:14:16,683 - INFO - ================================================================================ 2026-10-12 02:14:16,683 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-12 02:14:16,683 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-10-12 02:14:16,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with 2026-10-12 02:14:16,934 - INFO - Initial checks done. Running the testcase now 2026-10-12 02:14:16,934 - INFO - 2026-10-12 02:14:17,513 - DEBUG - Response for create_network : {'network': {'id': 'b72006ca-2935-486a-b04c-cd5e5bb991f9', 'name': 'ctest-vn-29067775', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-29067775'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-12 02:14:17,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e86064e-4941-46f2-a565-aec02efe41f7', 'name': '', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'network_id': 'b72006ca-2935-486a-b04c-cd5e5bb991f9', 'ip_version': 4, 'cidr': '120.25.178.192/26', 'allocation_pools': [{'start': '120.25.178.194', 'end': '120.25.178.254'}], 'gateway_ip': '120.25.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-12T02:14:17.620114', 'updated_at': '2026-10-12T02:14:17.620114', 'dns_server_address': '120.25.178.194', 'tags': [], 'project_id': 'b997e86f09064fb183f0a971ce60df18'}} 2026-10-12 02:14:17,680 - INFO - Created VN ctest-vn-29067775 2026-10-12 02:14:17,734 - DEBUG - VN ctest-vn-29067775 UUID is b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:18,051 - DEBUG - Response for create_network : {'network': {'id': 'f8a0a196-ff87-466c-8ea2-93ed71b5edf2', 'name': 'ctest-vn-90419549', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-90419549'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-12 02:14:18,209 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb91e98f-3b63-479f-af0d-fb2960925bc9', 'name': '', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'network_id': 'f8a0a196-ff87-466c-8ea2-93ed71b5edf2', 'ip_version': 4, 'cidr': '123.122.116.64/26', 'allocation_pools': [{'start': '123.122.116.66', 'end': '123.122.116.126'}], 'gateway_ip': '123.122.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-12T02:14:18.168237', 'updated_at': '2026-10-12T02:14:18.168237', 'dns_server_address': '123.122.116.66', 'tags': [], 'project_id': 'b997e86f09064fb183f0a971ce60df18'}} 2026-10-12 02:14:18,223 - INFO - Created VN ctest-vn-90419549 2026-10-12 02:14:18,274 - DEBUG - VN ctest-vn-90419549 UUID is f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:18,410 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775, 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-80408004:ctest-vn-90419549, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-10-12 02:14:18,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b72006ca-2935-486a-b04c-cd5e5bb991f9', 'name': 'ctest-vn-29067775', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6e86064e-4941-46f2-a565-aec02efe41f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-29067775'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442']], 'subnet_ipam': [{'subnet_cidr': '120.25.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-12T02:14:17.486877', 'updated_at': '2026-10-12T02:14:17.630618'}} 2026-10-12 02:14:18,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8a0a196-ff87-466c-8ea2-93ed71b5edf2', 'name': 'ctest-vn-90419549', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cb91e98f-3b63-479f-af0d-fb2960925bc9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-90419549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442']], 'subnet_ipam': [{'subnet_cidr': '123.122.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-12T02:14:18.020379', 'updated_at': '2026-10-12T02:14:18.179247'}} 2026-10-12 02:14:19,062 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:14:19,422 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:14:19,459 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3 2026-10-12 02:14:19,472 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:14:19,546 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:19,556 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:19,563 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed 2026-10-12 02:14:19,570 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed 2026-10-12 02:14:19,575 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/87899560-2309-48c3-a31f-0827d44e0176 2026-10-12 02:14:19,580 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-12 02:14:19,580 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:19,587 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed 2026-10-12 02:14:19,597 - INFO - Verified VN network id 12 for VN b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:19,597 - INFO - Verifications in API Server for VN ctest-vn-29067775 passed 2026-10-12 02:14:19,597 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:19,605 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed 2026-10-12 02:14:19,610 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed 2026-10-12 02:14:19,615 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/87899560-2309-48c3-a31f-0827d44e0176 2026-10-12 02:14:19,626 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80408004', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13195554373540071530', 'uuid-lslong': '12703754454054834681'}, 'enable': 'true', 'created': '2026-10-12T02:14:17', 'last-modified': '2026-10-12T02:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957190'} 2026-10-12 02:14:19,632 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-12 02:14:19,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29067775 passed 2026-10-12 02:14:19,632 - DEBUG - ====Verifying policy data for ctest-vn-29067775 in API_Server ====== 2026-10-12 02:14:19,632 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:14:19,636 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3 2026-10-12 02:14:19,645 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:14:19,709 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9 2026-10-12 02:14:19,717 - DEBUG - ==>Verifying data for policy with id: a23c14c6-290e-480c-8e1c-c20f43ebf2be, fqn: ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442'] 2026-10-12 02:14:19,717 - INFO - VN ctest-vn-29067775 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-12 02:14:19,717 - DEBUG - Verifying the vn in opserver 2026-10-12 02:14:19,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775 virtual network link through opserver 10.0.0.190 2026-10-12 02:14:19,717 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-12 02:14:20,074 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-12 02:14:20,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775?flat'} 2026-10-12 02:14:20,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775 is found in opserver 2026-10-12 02:14:20,128 - DEBUG - Do not have enough data to verify VN in agent 2026-10-12 02:14:20,146 - DEBUG - VRF ids for VN ctest-vn-29067775: {} 2026-10-12 02:14:20,146 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:14:20,151 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3 2026-10-12 02:14:20,186 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:14:20,257 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:20,268 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:20,277 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c 2026-10-12 02:14:20,283 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c 2026-10-12 02:14:20,289 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2476671-86c5-4adb-9988-aa6f1f2ee36b 2026-10-12 02:14:20,295 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-12 02:14:20,295 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:20,303 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c 2026-10-12 02:14:20,315 - INFO - Verified VN network id 13 for VN f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:20,315 - INFO - Verifications in API Server for VN ctest-vn-90419549 passed 2026-10-12 02:14:20,315 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:20,323 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c 2026-10-12 02:14:20,329 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c 2026-10-12 02:14:20,335 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2476671-86c5-4adb-9988-aa6f1f2ee36b 2026-10-12 02:14:20,344 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80408004', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17915496987584054892', 'uuid-lslong': '10277939947637173746'}, 'enable': 'true', 'created': '2026-10-12T02:14:18', 'last-modified': '2026-10-12T02:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458507'} 2026-10-12 02:14:20,349 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-12 02:14:20,349 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90419549 passed 2026-10-12 02:14:20,349 - DEBUG - ====Verifying policy data for ctest-vn-90419549 in API_Server ====== 2026-10-12 02:14:20,349 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:14:20,354 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3 2026-10-12 02:14:20,363 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:14:20,435 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2 2026-10-12 02:14:20,443 - DEBUG - ==>Verifying data for policy with id: a23c14c6-290e-480c-8e1c-c20f43ebf2be, fqn: ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442'] 2026-10-12 02:14:20,443 - INFO - VN ctest-vn-90419549 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-12 02:14:20,443 - DEBUG - Verifying the vn in opserver 2026-10-12 02:14:20,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549 virtual network link through opserver 10.0.0.190 2026-10-12 02:14:20,443 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-12 02:14:20,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549?flat'} 2026-10-12 02:14:20,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549 is found in opserver 2026-10-12 02:14:20,462 - DEBUG - Do not have enough data to verify VN in agent 2026-10-12 02:14:20,467 - DEBUG - VRF ids for VN ctest-vn-90419549: {} 2026-10-12 02:14:20,518 - DEBUG - Services list from nova: [, , ] 2026-10-12 02:14:20,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6356-1) 2026-10-12 02:14:21,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6356-1) 2026-10-12 02:14:21,274 - INFO - Waiting for VM ctest-TestBasicPolicy-80408004-99919440 to be up.. 2026-10-12 02:14:21,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:26,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:31,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:36,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:41,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:46,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:51,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:14:56,845 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:14:56,845 - INFO - VM name : ctest-TestBasicPolicy-80408004-99919440 2026-10-12 02:14:56,952 - DEBUG - VM ctest-TestBasicPolicy-80408004-99919440 ID is 96aac172-890f-4480-a517-f64557e8a6f2 2026-10-12 02:14:56,977 - DEBUG - VM ctest-TestBasicPolicy-80408004-99919440 launched on Node cn-jenkins-deploy-platform-ansible-os-6356-1 2026-10-12 02:14:57,052 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/96aac172-890f-4480-a517-f64557e8a6f2 2026-10-12 02:14:57,061 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/dab1e176-fead-4d2f-81dc-aae11621d5de 2026-10-12 02:15:00,307 - 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-10-12 02:15:00,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80408004-99919440 failed! 2026-10-12 02:15:00,358 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775 is 120.25.178.193 and allocation pool is NOT set 2026-10-12 02:15:02,414 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.505/2.038/3.572/1.533 ms') 2026-10-12 02:15:02,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80408004-99919440 passed 2026-10-12 02:15:02,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:15:02,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80408004-99919440, IP 120.25.178.195, Port 22 2026-10-12 02:15:02,726 - DEBUG - VM ctest-TestBasicPolicy-80408004-99919440 is ready for SSH connections 2026-10-12 02:15:02,726 - INFO - Waiting for VM ctest-TestBasicPolicy-80408004-99720069 to be up.. 2026-10-12 02:15:02,792 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:15:02,792 - INFO - VM name : ctest-TestBasicPolicy-80408004-99720069 2026-10-12 02:15:02,850 - DEBUG - VM ctest-TestBasicPolicy-80408004-99720069 ID is 030e3d35-1844-4c61-ba7e-6a6de5522d4e 2026-10-12 02:15:02,850 - DEBUG - VM ctest-TestBasicPolicy-80408004-99720069 launched on Node cn-jenkins-deploy-platform-ansible-os-6356-1 2026-10-12 02:15:02,910 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/030e3d35-1844-4c61-ba7e-6a6de5522d4e 2026-10-12 02:15:02,916 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/f7ff5b24-64f8-4d2b-80ce-eb2d3d59bf2d 2026-10-12 02:15:06,165 - 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 1019ms') 2026-10-12 02:15:06,165 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80408004-99720069 failed! 2026-10-12 02:15:06,222 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549 is 123.122.116.65 and allocation pool is NOT set 2026-10-12 02:15:08,280 - 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.374 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.374/1.824/3.275/1.450 ms') 2026-10-12 02:15:08,280 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80408004-99720069 passed 2026-10-12 02:15:08,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:15:08,422 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80408004-99720069, IP 123.122.116.67, Port 22 2026-10-12 02:15:08,581 - DEBUG - VM ctest-TestBasicPolicy-80408004-99720069 is ready for SSH connections 2026-10-12 02:15:08,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:15:08,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.122.116.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-12 02:15:08,582 - DEBUG - ping -s 56 -c 3 -W 1 123.122.116.67 2026-10-12 02:15:12,506 - DEBUG - PING 123.122.116.67 (123.122.116.67): 56 data bytes 64 bytes from 123.122.116.67: seq=0 ttl=63 time=3.921 ms 64 bytes from 123.122.116.67: seq=1 ttl=63 time=0.743 ms 64 bytes from 123.122.116.67: seq=2 ttl=63 time=0.785 ms --- 123.122.116.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/1.816/3.921 ms 2026-10-12 02:15:12,506 - INFO - Ping to IP 123.122.116.67 from VM ctest-TestBasicPolicy-80408004-99919440 passed 2026-10-12 02:15:12,686 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a23c14c6-290e-480c-8e1c-c20f43ebf2be", "href": "http://10.0.0.190:8082/network-policy/a23c14c6-290e-480c-8e1c-c20f43ebf2be"}} 2026-10-12 02:15:12,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:15:12,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.122.116.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-12 02:15:12,686 - DEBUG - ping -s 56 -c 3 -W 1 123.122.116.67 2026-10-12 02:15:15,805 - DEBUG - PING 123.122.116.67 (123.122.116.67): 56 data bytes 64 bytes from 123.122.116.67: seq=0 ttl=63 time=1.275 ms --- 123.122.116.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.275/1.275/1.275 ms 2026-10-12 02:15:15,805 - WARNING - Ping to IP 123.122.116.67 from VM ctest-TestBasicPolicy-80408004-99919440 failed 2026-10-12 02:15:15,805 - INFO - Deleting VM ctest-TestBasicPolicy-80408004-99720069 2026-10-12 02:15:15,866 - INFO - Deleting VM ctest-TestBasicPolicy-80408004-99919440 2026-10-12 02:15:16,161 - INFO - Deleted policy ctest-policy-allow-all-43865442 2026-10-12 02:15:16,161 - INFO - Deleting VN ctest-vn-90419549 2026-10-12 02:15:16,189 - DEBUG - VN f8a0a196-ff87-466c-8ea2-93ed71b5edf2 still in use: Unable to complete operation on network f8a0a196-ff87-466c-8ea2-93ed71b5edf2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df23840a-5b46-403c-bfd7-dba2455cd3ba'] 2026-10-12 02:15:16,189 - WARNING - Deleting VN ctest-vn-90419549 failed..Will retry 2026-10-12 02:15:18,276 - DEBUG - Response for deleting network () 2026-10-12 02:15:18,276 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c 2026-10-12 02:15:18,281 - DEBUG - Response Code: 404 2026-10-12 02:15:18,282 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:15:18,285 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3 2026-10-12 02:15:18,339 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:15:18,407 - INFO - Validated that VN ctest-vn-90419549 is not found in API Server 2026-10-12 02:15:18,417 - DEBUG - VN ctest-vn-90419549 is not present in Agent 10.0.0.190 2026-10-12 02:15:18,417 - INFO - Validated that VN ctest-vn-90419549 is not in any agent 2026-10-12 02:15:18,431 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90419549 info 2026-10-12 02:15:18,431 - INFO - Deleting VN ctest-vn-29067775 2026-10-12 02:15:18,520 - DEBUG - Response for deleting network () 2026-10-12 02:15:18,520 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed 2026-10-12 02:15:18,526 - DEBUG - Response Code: 404 2026-10-12 02:15:18,526 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-12 02:15:18,530 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3 2026-10-12 02:15:18,582 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18 2026-10-12 02:15:18,653 - INFO - Validated that VN ctest-vn-29067775 is not found in API Server 2026-10-12 02:15:18,662 - DEBUG - VN ctest-vn-29067775 is not present in Agent 10.0.0.190 2026-10-12 02:15:18,662 - INFO - Validated that VN ctest-vn-29067775 is not in any agent 2026-10-12 02:15:18,675 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29067775 info 2026-10-12 02:15:18,936 - DEBUG - No XMPP flaps were noticed during the test 2026-10-12 02:15:18,936 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02] 2026-10-12 02:15:18,936 - INFO - -------------------------------------------------------------------------------- 2026-10-12 02:15:19,664 - INFO - Deleted project: ctest-TestBasicPolicy-80408004, ID : b997e86f-0906-4fb1-83f0-a971ce60df18