2026-11-06 08:07:22,602 - INFO - Domain Default found not creating 2026-11-06 08:07:22,809 - INFO - Project ctest-TestBasicPolicy-01554347 not found, creating it 2026-11-06 08:07:23,333 - INFO - Created Project:ctest-TestBasicPolicy-01554347, ID : 1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:07:25,391 - INFO - ================================================================================ 2026-11-06 08:07:25,392 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-06 08:07:25,392 - 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-11-06 08:07:25,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-06 08:07:25,667 - INFO - Initial checks done. Running the testcase now 2026-11-06 08:07:25,667 - INFO - 2026-11-06 08:07:26,381 - DEBUG - Response for create_network : {'network': {'id': '20a6145b-5571-4cae-a154-ba4720a69c46', 'name': 'ctest-vn-85619502', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-85619502'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 08:07:26,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '0be89dd0-44ca-43c7-877a-bec072ce3657', 'name': '', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'network_id': '20a6145b-5571-4cae-a154-ba4720a69c46', 'ip_version': 4, 'cidr': '211.228.192.0/26', 'allocation_pools': [{'start': '211.228.192.2', 'end': '211.228.192.62'}], 'gateway_ip': '211.228.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.228.192.2', 'tags': [], 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569'}} 2026-11-06 08:07:26,625 - INFO - Created VN ctest-vn-85619502 2026-11-06 08:07:26,693 - DEBUG - VN ctest-vn-85619502 UUID is 20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:27,115 - DEBUG - Response for create_network : {'network': {'id': 'f0fdbfd4-ac96-4e68-b8e9-1568e560b926', 'name': 'ctest-vn-31004326', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-31004326'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 08:07:27,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a725fa1-d80d-4ab9-bb70-93838e03d0c8', 'name': '', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'network_id': 'f0fdbfd4-ac96-4e68-b8e9-1568e560b926', 'ip_version': 4, 'cidr': '119.114.58.128/26', 'allocation_pools': [{'start': '119.114.58.130', 'end': '119.114.58.190'}], 'gateway_ip': '119.114.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.114.58.130', 'tags': [], 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569'}} 2026-11-06 08:07:27,354 - INFO - Created VN ctest-vn-31004326 2026-11-06 08:07:27,408 - DEBUG - VN ctest-vn-31004326 UUID is f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:27,549 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502, 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-01554347:ctest-vn-31004326, 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-11-06 08:07:27,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20a6145b-5571-4cae-a154-ba4720a69c46', 'name': 'ctest-vn-85619502', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0be89dd0-44ca-43c7-877a-bec072ce3657'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-85619502'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282']], 'subnet_ipam': [{'subnet_cidr': '211.228.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 08:07:28,173 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0fdbfd4-ac96-4e68-b8e9-1568e560b926', 'name': 'ctest-vn-31004326', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1a725fa1-d80d-4ab9-bb70-93838e03d0c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-31004326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282']], 'subnet_ipam': [{'subnet_cidr': '119.114.58.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 08:07:28,347 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:07:28,734 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:07:28,768 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac 2026-11-06 08:07:28,787 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:07:28,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:28,893 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:28,906 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27 2026-11-06 08:07:28,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27 2026-11-06 08:07:28,928 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04667a01-6d44-4815-9bc7-94b70835f3b3 2026-11-06 08:07:28,936 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 08:07:28,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:28,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27 2026-11-06 08:07:28,964 - INFO - Verified VN network id 11 for VN 20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:28,965 - INFO - Verifications in API Server for VN ctest-vn-85619502 passed 2026-11-06 08:07:28,965 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:28,976 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27 2026-11-06 08:07:28,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27 2026-11-06 08:07:28,995 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04667a01-6d44-4815-9bc7-94b70835f3b3 2026-11-06 08:07:29,015 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01554347', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2352590237855730862', 'uuid-lslong': '11625121352803327046'}, 'enable': 'true', 'created': '2026-11-06T08:07:26', 'last-modified': '2026-11-06T08:07:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.139136'} 2026-11-06 08:07:29,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 08:07:29,027 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85619502 passed 2026-11-06 08:07:29,027 - DEBUG - ====Verifying policy data for ctest-vn-85619502 in API_Server ====== 2026-11-06 08:07:29,027 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:07:29,036 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac 2026-11-06 08:07:29,052 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:07:29,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46 2026-11-06 08:07:29,150 - DEBUG - ==>Verifying data for policy with id: dc6696eb-7c41-4f21-902d-93dab7a27f5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282'] 2026-11-06 08:07:29,150 - INFO - VN ctest-vn-85619502 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 08:07:29,150 - DEBUG - Verifying the vn in opserver 2026-11-06 08:07:29,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502 virtual network link through opserver 10.0.0.50 2026-11-06 08:07:29,150 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-06 08:07:29,532 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-06 08:07:29,601 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502?flat'} 2026-11-06 08:07:29,601 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502 is found in opserver 2026-11-06 08:07:29,619 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 08:07:29,626 - DEBUG - VRF ids for VN ctest-vn-85619502: {} 2026-11-06 08:07:29,626 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:07:29,634 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac 2026-11-06 08:07:29,650 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:07:29,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:29,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:29,771 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f 2026-11-06 08:07:29,781 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f 2026-11-06 08:07:29,790 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/580ed2fa-2fcc-4a59-a4a1-d8350aeaa7fb 2026-11-06 08:07:29,799 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 08:07:29,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:29,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f 2026-11-06 08:07:29,831 - INFO - Verified VN network id 12 for VN f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:29,831 - INFO - Verifications in API Server for VN ctest-vn-31004326 passed 2026-11-06 08:07:29,831 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:29,843 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f 2026-11-06 08:07:29,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f 2026-11-06 08:07:29,861 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/580ed2fa-2fcc-4a59-a4a1-d8350aeaa7fb 2026-11-06 08:07:29,876 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01554347', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17365246658360004200', 'uuid-lslong': '13324204512821426470'}, 'enable': 'true', 'created': '2026-11-06T08:07:27', 'last-modified': '2026-11-06T08:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.738508'} 2026-11-06 08:07:29,885 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 08:07:29,886 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31004326 passed 2026-11-06 08:07:29,887 - DEBUG - ====Verifying policy data for ctest-vn-31004326 in API_Server ====== 2026-11-06 08:07:29,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:07:29,895 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac 2026-11-06 08:07:29,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:07:29,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926 2026-11-06 08:07:30,009 - DEBUG - ==>Verifying data for policy with id: dc6696eb-7c41-4f21-902d-93dab7a27f5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282'] 2026-11-06 08:07:30,009 - INFO - VN ctest-vn-31004326 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 08:07:30,009 - DEBUG - Verifying the vn in opserver 2026-11-06 08:07:30,009 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326 virtual network link through opserver 10.0.0.50 2026-11-06 08:07:30,010 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-06 08:07:30,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326?flat'} 2026-11-06 08:07:30,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326 is found in opserver 2026-11-06 08:07:30,038 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 08:07:30,044 - DEBUG - VRF ids for VN ctest-vn-31004326: {} 2026-11-06 08:07:30,122 - DEBUG - Services list from nova: [, , ] 2026-11-06 08:07:30,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6486-1) 2026-11-06 08:07:31,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6486-1) 2026-11-06 08:07:31,092 - INFO - Waiting for VM ctest-TestBasicPolicy-01554347-08648950 to be up.. 2026-11-06 08:07:31,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:07:36,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:07:41,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:07:46,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:07:51,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:07:56,668 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:08:01,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:08:07,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:08:12,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:08:17,263 - DEBUG - VM is in ACTIVE state now 2026-11-06 08:08:17,263 - INFO - VM name : ctest-TestBasicPolicy-01554347-08648950 2026-11-06 08:08:17,385 - DEBUG - VM ctest-TestBasicPolicy-01554347-08648950 ID is 610f2f1d-bdc4-44cf-bf56-105ad747bcf1 2026-11-06 08:08:17,422 - DEBUG - VM ctest-TestBasicPolicy-01554347-08648950 launched on Node cn-jenkins-deploy-platform-ansible-os-6486-1 2026-11-06 08:08:17,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/610f2f1d-bdc4-44cf-bf56-105ad747bcf1 2026-11-06 08:08:17,543 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/104b8ab9-6b8c-4aac-aa30-435a5593c4ba 2026-11-06 08:08:20,900 - 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-11-06 08:08:20,900 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01554347-08648950 failed! 2026-11-06 08:08:20,955 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502 is 211.228.192.1 and allocation pool is NOT set 2026-11-06 08:08:25,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=2 ttl=63 time=11.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 11.939/11.939/11.939/0.000 ms') 2026-11-06 08:08:25,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01554347-08648950 passed 2026-11-06 08:08:25,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:08:25,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01554347-08648950, IP 211.228.192.3, Port 22 2026-11-06 08:08:25,345 - DEBUG - VM ctest-TestBasicPolicy-01554347-08648950 is ready for SSH connections 2026-11-06 08:08:25,345 - INFO - Waiting for VM ctest-TestBasicPolicy-01554347-21467765 to be up.. 2026-11-06 08:08:25,448 - DEBUG - VM is in ACTIVE state now 2026-11-06 08:08:25,448 - INFO - VM name : ctest-TestBasicPolicy-01554347-21467765 2026-11-06 08:08:25,554 - DEBUG - VM ctest-TestBasicPolicy-01554347-21467765 ID is 7ae2c3c0-6db0-425a-bda8-b5c78f5c92a2 2026-11-06 08:08:25,554 - DEBUG - VM ctest-TestBasicPolicy-01554347-21467765 launched on Node cn-jenkins-deploy-platform-ansible-os-6486-1 2026-11-06 08:08:25,648 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7ae2c3c0-6db0-425a-bda8-b5c78f5c92a2 2026-11-06 08:08:25,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e859bee3-c4b0-45f1-b7ee-c05d4225737a 2026-11-06 08:08:26,914 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/2.738/4.993/2.254 ms') 2026-11-06 08:08:26,914 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01554347-21467765 passed 2026-11-06 08:08:27,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:08:27,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01554347-21467765, IP 119.114.58.131, Port 22 2026-11-06 08:08:27,238 - DEBUG - VM ctest-TestBasicPolicy-01554347-21467765 is ready for SSH connections 2026-11-06 08:08:27,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:08:27,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.114.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 08:08:27,238 - DEBUG - ping -s 56 -c 3 -W 1 119.114.58.131 2026-11-06 08:08:31,380 - DEBUG - PING 119.114.58.131 (119.114.58.131): 56 data bytes 64 bytes from 119.114.58.131: seq=0 ttl=63 time=5.797 ms 64 bytes from 119.114.58.131: seq=1 ttl=63 time=1.008 ms 64 bytes from 119.114.58.131: seq=2 ttl=63 time=1.161 ms --- 119.114.58.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/2.655/5.797 ms 2026-11-06 08:08:31,380 - INFO - Ping to IP 119.114.58.131 from VM ctest-TestBasicPolicy-01554347-08648950 passed 2026-11-06 08:08:31,579 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dc6696eb-7c41-4f21-902d-93dab7a27f5e", "href": "http://10.0.0.50:8082/network-policy/dc6696eb-7c41-4f21-902d-93dab7a27f5e"}} 2026-11-06 08:08:31,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:08:31,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.114.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 08:08:31,580 - DEBUG - ping -s 56 -c 3 -W 1 119.114.58.131 2026-11-06 08:08:34,758 - DEBUG - PING 119.114.58.131 (119.114.58.131): 56 data bytes 64 bytes from 119.114.58.131: seq=0 ttl=63 time=1.975 ms --- 119.114.58.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.975/1.975/1.975 ms 2026-11-06 08:08:34,758 - WARNING - Ping to IP 119.114.58.131 from VM ctest-TestBasicPolicy-01554347-08648950 failed 2026-11-06 08:08:34,758 - INFO - Deleting VM ctest-TestBasicPolicy-01554347-21467765 2026-11-06 08:08:34,859 - INFO - Deleting VM ctest-TestBasicPolicy-01554347-08648950 2026-11-06 08:08:35,319 - INFO - Deleted policy ctest-policy-allow-all-14958282 2026-11-06 08:08:35,319 - INFO - Deleting VN ctest-vn-31004326 2026-11-06 08:08:35,367 - DEBUG - VN f0fdbfd4-ac96-4e68-b8e9-1568e560b926 still in use: Unable to complete operation on network f0fdbfd4-ac96-4e68-b8e9-1568e560b926. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a43e7ed9-2531-4a86-8193-c3a6152b05b2'] 2026-11-06 08:08:35,367 - WARNING - Deleting VN ctest-vn-31004326 failed..Will retry 2026-11-06 08:08:37,425 - DEBUG - VN f0fdbfd4-ac96-4e68-b8e9-1568e560b926 still in use: Unable to complete operation on network f0fdbfd4-ac96-4e68-b8e9-1568e560b926. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b2b8ca0-e163-42c4-a3b1-ad3282b88b98'] 2026-11-06 08:08:37,425 - WARNING - Deleting VN ctest-vn-31004326 failed..Will retry 2026-11-06 08:08:39,565 - DEBUG - Response for deleting network () 2026-11-06 08:08:39,566 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f 2026-11-06 08:08:39,575 - DEBUG - Response Code: 404 2026-11-06 08:08:39,575 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:08:39,582 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac 2026-11-06 08:08:39,639 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:08:39,737 - INFO - Validated that VN ctest-vn-31004326 is not found in API Server 2026-11-06 08:08:39,751 - DEBUG - VN ctest-vn-31004326 is not present in Agent 10.0.0.50 2026-11-06 08:08:39,751 - INFO - Validated that VN ctest-vn-31004326 is not in any agent 2026-11-06 08:08:39,772 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31004326 info 2026-11-06 08:08:39,772 - INFO - Deleting VN ctest-vn-85619502 2026-11-06 08:08:39,931 - DEBUG - Response for deleting network () 2026-11-06 08:08:39,932 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27 2026-11-06 08:08:39,941 - DEBUG - Response Code: 404 2026-11-06 08:08:39,942 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 08:08:39,951 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac 2026-11-06 08:08:40,013 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569 2026-11-06 08:08:40,098 - INFO - Validated that VN ctest-vn-85619502 is not found in API Server 2026-11-06 08:08:40,112 - DEBUG - VN ctest-vn-85619502 is not present in Agent 10.0.0.50 2026-11-06 08:08:40,112 - INFO - Validated that VN ctest-vn-85619502 is not in any agent 2026-11-06 08:08:40,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85619502 info 2026-11-06 08:08:40,412 - DEBUG - No XMPP flaps were noticed during the test 2026-11-06 08:08:40,412 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15] 2026-11-06 08:08:40,412 - INFO - -------------------------------------------------------------------------------- 2026-11-06 08:08:41,335 - INFO - Deleted project: ctest-TestBasicPolicy-01554347, ID : 1ec17f80-40aa-4ad9-b103-5e6786b8e569