2026-10-23 11:21:45,648 - INFO - Domain Default found not creating 2026-10-23 11:21:45,998 - INFO - Project ctest-TestBasicPolicy-92121358 not found, creating it 2026-10-23 11:21:46,728 - INFO - Created Project:ctest-TestBasicPolicy-92121358, ID : c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:21:49,402 - INFO - ================================================================================ 2026-10-23 11:21:49,402 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-23 11:21:49,402 - 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-23 11:21:49,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.29': '0'}} with 2026-10-23 11:21:49,696 - INFO - Initial checks done. Running the testcase now 2026-10-23 11:21:49,697 - INFO - 2026-10-23 11:21:50,606 - DEBUG - Response for create_network : {'network': {'id': '9c8f0967-2c06-4cea-b2cb-f207c4319a24', 'name': 'ctest-vn-12202520', 'tenant_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'project_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-vn-12202520'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 11:21:50,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '4436e45d-f381-4c16-91b3-40fa117f7ba6', 'name': '', 'tenant_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'network_id': '9c8f0967-2c06-4cea-b2cb-f207c4319a24', 'ip_version': 4, 'cidr': '200.90.220.0/26', 'allocation_pools': [{'start': '200.90.220.2', 'end': '200.90.220.62'}], 'gateway_ip': '200.90.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.90.220.2', 'tags': [], 'project_id': 'c5387805d178495aaddb5e5e59d5b2dd'}} 2026-10-23 11:21:50,896 - INFO - Created VN ctest-vn-12202520 2026-10-23 11:21:50,958 - DEBUG - VN ctest-vn-12202520 UUID is 9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:51,435 - DEBUG - Response for create_network : {'network': {'id': '8a8acbaa-c03d-4aa7-8892-f82540dad86a', 'name': 'ctest-vn-84494637', 'tenant_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'project_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-vn-84494637'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 11:21:51,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcff7d50-2dc5-4c27-b7a8-310b43fa7800', 'name': '', 'tenant_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'network_id': '8a8acbaa-c03d-4aa7-8892-f82540dad86a', 'ip_version': 4, 'cidr': '30.119.69.192/26', 'allocation_pools': [{'start': '30.119.69.194', 'end': '30.119.69.254'}], 'gateway_ip': '30.119.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.119.69.194', 'tags': [], 'project_id': 'c5387805d178495aaddb5e5e59d5b2dd'}} 2026-10-23 11:21:51,731 - INFO - Created VN ctest-vn-84494637 2026-10-23 11:21:51,794 - DEBUG - VN ctest-vn-84494637 UUID is 8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:51,948 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520, 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-92121358:ctest-vn-84494637, 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-23 11:21:52,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c8f0967-2c06-4cea-b2cb-f207c4319a24', 'name': 'ctest-vn-12202520', 'tenant_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'project_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4436e45d-f381-4c16-91b3-40fa117f7ba6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-vn-12202520'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-policy-allow-all-70888558']], 'subnet_ipam': [{'subnet_cidr': '200.90.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-23 11:21:52,665 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a8acbaa-c03d-4aa7-8892-f82540dad86a', 'name': 'ctest-vn-84494637', 'tenant_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'project_id': 'c5387805d178495aaddb5e5e59d5b2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dcff7d50-2dc5-4c27-b7a8-310b43fa7800'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-vn-84494637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-policy-allow-all-70888558']], 'subnet_ipam': [{'subnet_cidr': '30.119.69.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-23 11:21:52,850 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:21:53,280 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:21:53,326 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc0fbfc7-3a2e-4984-802f-e3b5fa3d36de 2026-10-23 11:21:53,348 - DEBUG - Requesting: http://10.0.0.162:8082/project/c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:21:53,453 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:53,476 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:53,492 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/fa634d82-dbc9-4aa3-a0e2-9945dae775df 2026-10-23 11:21:53,505 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/fa634d82-dbc9-4aa3-a0e2-9945dae775df 2026-10-23 11:21:53,519 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/ed03a459-9289-48e5-bb04-9ecb2b359398 2026-10-23 11:21:53,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-23 11:21:53,530 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:53,547 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/fa634d82-dbc9-4aa3-a0e2-9945dae775df 2026-10-23 11:21:53,573 - INFO - Verified VN network id 11 for VN 9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:53,573 - INFO - Verifications in API Server for VN ctest-vn-12202520 passed 2026-10-23 11:21:53,574 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:53,592 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/fa634d82-dbc9-4aa3-a0e2-9945dae775df 2026-10-23 11:21:53,604 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/fa634d82-dbc9-4aa3-a0e2-9945dae775df 2026-10-23 11:21:53,617 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/ed03a459-9289-48e5-bb04-9ecb2b359398 2026-10-23 11:21:53,640 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92121358', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11281245930311273706', 'uuid-lslong': '12883657274193713700'}, 'enable': 'true', 'created': '2026-10-23T11:21:50', 'last-modified': '2026-10-23T11:21:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329393'} 2026-10-23 11:21:53,652 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-23 11:21:53,652 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12202520 passed 2026-10-23 11:21:53,652 - DEBUG - ====Verifying policy data for ctest-vn-12202520 in API_Server ====== 2026-10-23 11:21:53,652 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:21:53,661 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc0fbfc7-3a2e-4984-802f-e3b5fa3d36de 2026-10-23 11:21:53,679 - DEBUG - Requesting: http://10.0.0.162:8082/project/c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:21:53,780 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/9c8f0967-2c06-4cea-b2cb-f207c4319a24 2026-10-23 11:21:53,799 - DEBUG - ==>Verifying data for policy with id: 5d6c8ede-d240-47f2-bac7-ec7bf4b63fe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-policy-allow-all-70888558'] 2026-10-23 11:21:53,799 - INFO - VN ctest-vn-12202520 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-23 11:21:53,799 - DEBUG - Verifying the vn in opserver 2026-10-23 11:21:53,799 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520 virtual network link through opserver 10.0.0.162 2026-10-23 11:21:53,799 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-10-23 11:21:54,219 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-10-23 11:21:54,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520?flat'} 2026-10-23 11:21:54,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520 is found in opserver 2026-10-23 11:21:54,338 - DEBUG - Do not have enough data to verify VN in agent 2026-10-23 11:21:54,347 - DEBUG - VRF ids for VN ctest-vn-12202520: {} 2026-10-23 11:21:54,347 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:21:54,358 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc0fbfc7-3a2e-4984-802f-e3b5fa3d36de 2026-10-23 11:21:54,377 - DEBUG - Requesting: http://10.0.0.162:8082/project/c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:21:54,480 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:54,504 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:54,523 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4ef89570-7d2c-474f-86c3-9efe4428ccc6 2026-10-23 11:21:54,536 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4ef89570-7d2c-474f-86c3-9efe4428ccc6 2026-10-23 11:21:54,551 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2ba1c401-e2d4-4f8b-8c80-30f935e5080e 2026-10-23 11:21:54,566 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-23 11:21:54,566 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:54,584 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4ef89570-7d2c-474f-86c3-9efe4428ccc6 2026-10-23 11:21:54,613 - INFO - Verified VN network id 12 for VN 8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:54,613 - INFO - Verifications in API Server for VN ctest-vn-84494637 passed 2026-10-23 11:21:54,613 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:54,632 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4ef89570-7d2c-474f-86c3-9efe4428ccc6 2026-10-23 11:21:54,644 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4ef89570-7d2c-474f-86c3-9efe4428ccc6 2026-10-23 11:21:54,656 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2ba1c401-e2d4-4f8b-8c80-30f935e5080e 2026-10-23 11:21:54,680 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-84494637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92121358', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9983015458250246823', 'uuid-lslong': '9841200974643517546'}, 'enable': 'true', 'created': '2026-10-23T11:21:51', 'last-modified': '2026-10-23T11:21:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.055216'} 2026-10-23 11:21:54,691 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-23 11:21:54,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84494637 passed 2026-10-23 11:21:54,692 - DEBUG - ====Verifying policy data for ctest-vn-84494637 in API_Server ====== 2026-10-23 11:21:54,692 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:21:54,704 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc0fbfc7-3a2e-4984-802f-e3b5fa3d36de 2026-10-23 11:21:54,725 - DEBUG - Requesting: http://10.0.0.162:8082/project/c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:21:54,823 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/8a8acbaa-c03d-4aa7-8892-f82540dad86a 2026-10-23 11:21:54,843 - DEBUG - ==>Verifying data for policy with id: 5d6c8ede-d240-47f2-bac7-ec7bf4b63fe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-92121358', 'ctest-policy-allow-all-70888558'] 2026-10-23 11:21:54,844 - INFO - VN ctest-vn-84494637 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-23 11:21:54,844 - DEBUG - Verifying the vn in opserver 2026-10-23 11:21:54,844 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-84494637 virtual network link through opserver 10.0.0.162 2026-10-23 11:21:54,844 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-10-23 11:21:54,863 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-84494637', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-84494637?flat'} 2026-10-23 11:21:54,863 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-84494637 is found in opserver 2026-10-23 11:21:54,884 - DEBUG - Do not have enough data to verify VN in agent 2026-10-23 11:21:54,896 - DEBUG - VRF ids for VN ctest-vn-84494637: {} 2026-10-23 11:21:55,008 - DEBUG - Services list from nova: [, , ] 2026-10-23 11:21:55,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6395-1) 2026-10-23 11:21:56,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6395-1) 2026-10-23 11:21:56,905 - INFO - Waiting for VM ctest-TestBasicPolicy-92121358-56882491 to be up.. 2026-10-23 11:21:57,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:02,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:07,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:12,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:17,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:22,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:27,993 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:33,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:38,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:43,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 11:22:48,616 - DEBUG - VM is in ACTIVE state now 2026-10-23 11:22:48,616 - INFO - VM name : ctest-TestBasicPolicy-92121358-56882491 2026-10-23 11:22:48,765 - DEBUG - VM ctest-TestBasicPolicy-92121358-56882491 ID is 8af64561-e8ba-400e-9fac-77ba30d46902 2026-10-23 11:22:48,809 - DEBUG - VM ctest-TestBasicPolicy-92121358-56882491 launched on Node cn-jenkins-deploy-platform-ansible-os-6395-1 2026-10-23 11:22:49,338 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/8af64561-e8ba-400e-9fac-77ba30d46902 2026-10-23 11:22:49,356 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/665006ef-eff9-4229-ba0a-396ae2e6878c 2026-10-23 11:22:52,704 - 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 1022ms') 2026-10-23 11:22:52,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92121358-56882491 failed! 2026-10-23 11:22:52,778 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520 is 200.90.220.1 and allocation pool is NOT set 2026-10-23 11:22:56,869 - 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 1014ms') 2026-10-23 11:22:56,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92121358-56882491 failed! 2026-10-23 11:22:56,934 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92121358:ctest-vn-12202520 is 200.90.220.1 and allocation pool is NOT set 2026-10-23 11:22:59,090 - 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=26.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.68 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 = 3.683/15.038/26.393/11.355 ms') 2026-10-23 11:22:59,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92121358-56882491 passed 2026-10-23 11:22:59,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 11:22:59,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92121358-56882491, IP 200.90.220.3, Port 22 2026-10-23 11:22:59,450 - DEBUG - VM ctest-TestBasicPolicy-92121358-56882491 is ready for SSH connections 2026-10-23 11:22:59,450 - INFO - Waiting for VM ctest-TestBasicPolicy-92121358-42881781 to be up.. 2026-10-23 11:22:59,615 - DEBUG - VM is in ACTIVE state now 2026-10-23 11:22:59,615 - INFO - VM name : ctest-TestBasicPolicy-92121358-42881781 2026-10-23 11:22:59,759 - DEBUG - VM ctest-TestBasicPolicy-92121358-42881781 ID is 95ad294b-4f32-4d01-ab48-5bc04cf8370a 2026-10-23 11:22:59,759 - DEBUG - VM ctest-TestBasicPolicy-92121358-42881781 launched on Node cn-jenkins-deploy-platform-ansible-os-6395-1 2026-10-23 11:22:59,893 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/95ad294b-4f32-4d01-ab48-5bc04cf8370a 2026-10-23 11:22:59,909 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/4e33b1ff-9ac0-4b11-823b-b15d5dcc6199 2026-10-23 11:23:03,235 - 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=2 ttl=63 time=8.27 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1036ms\r\nrtt min/avg/max/mdev = 8.265/8.265/8.265/0.000 ms') 2026-10-23 11:23:03,235 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92121358-42881781 passed 2026-10-23 11:23:03,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 11:23:03,402 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92121358-42881781, IP 30.119.69.195, Port 22 2026-10-23 11:23:03,586 - DEBUG - VM ctest-TestBasicPolicy-92121358-42881781 is ready for SSH connections 2026-10-23 11:23:03,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 11:23:03,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.119.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-10-23 11:23:03,586 - DEBUG - ping -s 56 -c 3 -W 1 30.119.69.195 2026-10-23 11:23:08,174 - DEBUG - PING 30.119.69.195 (30.119.69.195): 56 data bytes 64 bytes from 30.119.69.195: seq=0 ttl=63 time=6.415 ms 64 bytes from 30.119.69.195: seq=1 ttl=63 time=1.788 ms 64 bytes from 30.119.69.195: seq=2 ttl=63 time=1.884 ms --- 30.119.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.788/3.362/6.415 ms 2026-10-23 11:23:08,174 - INFO - Ping to IP 30.119.69.195 from VM ctest-TestBasicPolicy-92121358-56882491 passed 2026-10-23 11:23:08,474 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5d6c8ede-d240-47f2-bac7-ec7bf4b63fe2", "href": "http://10.0.0.162:8082/network-policy/5d6c8ede-d240-47f2-bac7-ec7bf4b63fe2"}} 2026-10-23 11:23:08,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 11:23:08,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.119.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-10-23 11:23:08,475 - DEBUG - ping -s 56 -c 3 -W 1 30.119.69.195 2026-10-23 11:23:11,691 - DEBUG - PING 30.119.69.195 (30.119.69.195): 56 data bytes 64 bytes from 30.119.69.195: seq=0 ttl=63 time=3.007 ms --- 30.119.69.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.007/3.007/3.007 ms 2026-10-23 11:23:11,691 - WARNING - Ping to IP 30.119.69.195 from VM ctest-TestBasicPolicy-92121358-56882491 failed 2026-10-23 11:23:11,691 - INFO - Deleting VM ctest-TestBasicPolicy-92121358-42881781 2026-10-23 11:23:11,847 - INFO - Deleting VM ctest-TestBasicPolicy-92121358-56882491 2026-10-23 11:23:12,556 - INFO - Deleted policy ctest-policy-allow-all-70888558 2026-10-23 11:23:12,557 - INFO - Deleting VN ctest-vn-84494637 2026-10-23 11:23:12,629 - DEBUG - VN 8a8acbaa-c03d-4aa7-8892-f82540dad86a still in use: Unable to complete operation on network 8a8acbaa-c03d-4aa7-8892-f82540dad86a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aaba1365-5a85-499c-9834-4b499a06a773'] 2026-10-23 11:23:12,630 - WARNING - Deleting VN ctest-vn-84494637 failed..Will retry 2026-10-23 11:23:14,731 - DEBUG - VN 8a8acbaa-c03d-4aa7-8892-f82540dad86a still in use: Unable to complete operation on network 8a8acbaa-c03d-4aa7-8892-f82540dad86a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad2ef8db-0077-4f30-b1b4-d4a04f9b54b1'] 2026-10-23 11:23:14,731 - WARNING - Deleting VN ctest-vn-84494637 failed..Will retry 2026-10-23 11:23:16,948 - DEBUG - Response for deleting network () 2026-10-23 11:23:16,948 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4ef89570-7d2c-474f-86c3-9efe4428ccc6 2026-10-23 11:23:16,959 - DEBUG - Response Code: 404 2026-10-23 11:23:16,959 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:23:16,974 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc0fbfc7-3a2e-4984-802f-e3b5fa3d36de 2026-10-23 11:23:16,995 - DEBUG - Requesting: http://10.0.0.162:8082/project/c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:23:17,096 - INFO - Validated that VN ctest-vn-84494637 is not found in API Server 2026-10-23 11:23:17,115 - DEBUG - VN ctest-vn-84494637 is not present in Agent 10.0.0.162 2026-10-23 11:23:17,115 - INFO - Validated that VN ctest-vn-84494637 is not in any agent 2026-10-23 11:23:17,143 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84494637 info 2026-10-23 11:23:17,143 - INFO - Deleting VN ctest-vn-12202520 2026-10-23 11:23:17,336 - DEBUG - Response for deleting network () 2026-10-23 11:23:17,336 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/fa634d82-dbc9-4aa3-a0e2-9945dae775df 2026-10-23 11:23:17,347 - DEBUG - Response Code: 404 2026-10-23 11:23:17,347 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-23 11:23:17,358 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc0fbfc7-3a2e-4984-802f-e3b5fa3d36de 2026-10-23 11:23:17,382 - DEBUG - Requesting: http://10.0.0.162:8082/project/c5387805-d178-495a-addb-5e5e59d5b2dd 2026-10-23 11:23:17,487 - INFO - Validated that VN ctest-vn-12202520 is not found in API Server 2026-10-23 11:23:17,506 - DEBUG - VN ctest-vn-12202520 is not present in Agent 10.0.0.162 2026-10-23 11:23:17,506 - INFO - Validated that VN ctest-vn-12202520 is not in any agent 2026-10-23 11:23:17,537 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12202520 info 2026-10-23 11:23:17,833 - DEBUG - No XMPP flaps were noticed during the test 2026-10-23 11:23:17,833 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:28] 2026-10-23 11:23:17,834 - INFO - -------------------------------------------------------------------------------- 2026-10-23 11:23:18,844 - INFO - Deleted project: ctest-TestBasicPolicy-92121358, ID : c5387805-d178-495a-addb-5e5e59d5b2dd