2026-10-28 09:14:13,938 - INFO - Domain Default found not creating 2026-10-28 09:14:14,139 - INFO - Project ctest-TestBasicPolicy-21732212 not found, creating it 2026-10-28 09:14:14,665 - INFO - Created Project:ctest-TestBasicPolicy-21732212, ID : 55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:14:16,395 - INFO - ================================================================================ 2026-10-28 09:14:16,395 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-28 09:14:16,396 - 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-28 09:14:16,654 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-28 09:14:16,654 - INFO - Initial checks done. Running the testcase now 2026-10-28 09:14:16,655 - INFO - 2026-10-28 09:14:17,291 - DEBUG - Response for create_network : {'network': {'id': 'fff8fd5d-f17c-49b5-888b-2a95de4421da', 'name': 'ctest-vn-28173990', 'tenant_id': '55954f34fc70429db1fa97e1f1618440', 'project_id': '55954f34fc70429db1fa97e1f1618440', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-vn-28173990'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 09:14:17,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '42b9dda9-a371-4c35-a1f4-b94f69de9614', 'name': '', 'tenant_id': '55954f34fc70429db1fa97e1f1618440', 'network_id': 'fff8fd5d-f17c-49b5-888b-2a95de4421da', 'ip_version': 4, 'cidr': '141.52.130.128/26', 'allocation_pools': [{'start': '141.52.130.130', 'end': '141.52.130.190'}], 'gateway_ip': '141.52.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.52.130.130', 'tags': [], 'project_id': '55954f34fc70429db1fa97e1f1618440'}} 2026-10-28 09:14:17,470 - INFO - Created VN ctest-vn-28173990 2026-10-28 09:14:17,525 - DEBUG - VN ctest-vn-28173990 UUID is fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:17,833 - DEBUG - Response for create_network : {'network': {'id': 'f8dfe014-65f7-499f-bd4b-b5d44259fb8f', 'name': 'ctest-vn-19302486', 'tenant_id': '55954f34fc70429db1fa97e1f1618440', 'project_id': '55954f34fc70429db1fa97e1f1618440', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-vn-19302486'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 09:14:18,027 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7c41ae4-b2c3-4046-a902-d84ed6f78348', 'name': '', 'tenant_id': '55954f34fc70429db1fa97e1f1618440', 'network_id': 'f8dfe014-65f7-499f-bd4b-b5d44259fb8f', 'ip_version': 4, 'cidr': '144.157.143.0/26', 'allocation_pools': [{'start': '144.157.143.2', 'end': '144.157.143.62'}], 'gateway_ip': '144.157.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.157.143.2', 'tags': [], 'project_id': '55954f34fc70429db1fa97e1f1618440'}} 2026-10-28 09:14:18,049 - INFO - Created VN ctest-vn-19302486 2026-10-28 09:14:18,101 - DEBUG - VN ctest-vn-19302486 UUID is f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:18,257 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990, 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-21732212:ctest-vn-19302486, 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-28 09:14:18,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fff8fd5d-f17c-49b5-888b-2a95de4421da', 'name': 'ctest-vn-28173990', 'tenant_id': '55954f34fc70429db1fa97e1f1618440', 'project_id': '55954f34fc70429db1fa97e1f1618440', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['42b9dda9-a371-4c35-a1f4-b94f69de9614'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-vn-28173990'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-policy-allow-all-66851080']], 'subnet_ipam': [{'subnet_cidr': '141.52.130.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-28 09:14:18,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8dfe014-65f7-499f-bd4b-b5d44259fb8f', 'name': 'ctest-vn-19302486', 'tenant_id': '55954f34fc70429db1fa97e1f1618440', 'project_id': '55954f34fc70429db1fa97e1f1618440', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d7c41ae4-b2c3-4046-a902-d84ed6f78348'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-vn-19302486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-policy-allow-all-66851080']], 'subnet_ipam': [{'subnet_cidr': '144.157.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-28 09:14:18,969 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:14:19,333 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:14:19,362 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b7b4eb4e-14f2-4ff1-bbb4-46845da616a3 2026-10-28 09:14:19,375 - DEBUG - Requesting: http://10.0.0.161:8082/project/55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:14:19,457 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:19,470 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:19,479 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/67bb4031-1616-4848-8512-10fef2b0f3ac 2026-10-28 09:14:19,488 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/67bb4031-1616-4848-8512-10fef2b0f3ac 2026-10-28 09:14:19,495 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b44f0c14-4990-4853-8bd8-8d53a388fd14 2026-10-28 09:14:19,502 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-28 09:14:19,503 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:19,513 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/67bb4031-1616-4848-8512-10fef2b0f3ac 2026-10-28 09:14:19,528 - INFO - Verified VN network id 12 for VN fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:19,529 - INFO - Verifications in API Server for VN ctest-vn-28173990 passed 2026-10-28 09:14:19,529 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:19,538 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/67bb4031-1616-4848-8512-10fef2b0f3ac 2026-10-28 09:14:19,545 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/67bb4031-1616-4848-8512-10fef2b0f3ac 2026-10-28 09:14:19,553 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b44f0c14-4990-4853-8bd8-8d53a388fd14 2026-10-28 09:14:19,569 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21732212', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18444770853821106613', 'uuid-lslong': '9839004634088481242'}, 'enable': 'true', 'created': '2026-10-28T09:14:17', 'last-modified': '2026-10-28T09:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027641'} 2026-10-28 09:14:19,578 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-28 09:14:19,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28173990 passed 2026-10-28 09:14:19,578 - DEBUG - ====Verifying policy data for ctest-vn-28173990 in API_Server ====== 2026-10-28 09:14:19,578 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:14:19,585 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b7b4eb4e-14f2-4ff1-bbb4-46845da616a3 2026-10-28 09:14:19,597 - DEBUG - Requesting: http://10.0.0.161:8082/project/55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:14:19,670 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fff8fd5d-f17c-49b5-888b-2a95de4421da 2026-10-28 09:14:19,679 - DEBUG - ==>Verifying data for policy with id: becb79d3-c5be-44c5-bb2b-c5a4bc724407, fqn: ['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-policy-allow-all-66851080'] 2026-10-28 09:14:19,679 - INFO - VN ctest-vn-28173990 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-28 09:14:19,679 - DEBUG - Verifying the vn in opserver 2026-10-28 09:14:19,679 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990 virtual network link through opserver 10.0.0.161 2026-10-28 09:14:19,679 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-28 09:14:20,043 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-28 09:14:20,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990?flat'} 2026-10-28 09:14:20,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990 is found in opserver 2026-10-28 09:14:20,113 - DEBUG - Do not have enough data to verify VN in agent 2026-10-28 09:14:20,118 - DEBUG - VRF ids for VN ctest-vn-28173990: {} 2026-10-28 09:14:20,118 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:14:20,123 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b7b4eb4e-14f2-4ff1-bbb4-46845da616a3 2026-10-28 09:14:20,134 - DEBUG - Requesting: http://10.0.0.161:8082/project/55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:14:20,209 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:20,224 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:20,236 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/880f8622-d112-414f-88ef-66efcaad4fec 2026-10-28 09:14:20,245 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/880f8622-d112-414f-88ef-66efcaad4fec 2026-10-28 09:14:20,254 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/20eb271d-f6d5-4b25-b0a5-0878a6632b97 2026-10-28 09:14:20,263 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-28 09:14:20,263 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:20,277 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/880f8622-d112-414f-88ef-66efcaad4fec 2026-10-28 09:14:20,298 - INFO - Verified VN network id 13 for VN f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:20,298 - INFO - Verifications in API Server for VN ctest-vn-19302486 passed 2026-10-28 09:14:20,298 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:20,308 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/880f8622-d112-414f-88ef-66efcaad4fec 2026-10-28 09:14:20,316 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/880f8622-d112-414f-88ef-66efcaad4fec 2026-10-28 09:14:20,324 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/20eb271d-f6d5-4b25-b0a5-0878a6632b97 2026-10-28 09:14:20,342 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-19302486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21732212', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17933298619427277215', 'uuid-lslong': '13640195819672566671'}, 'enable': 'true', 'created': '2026-10-28T09:14:17', 'last-modified': '2026-10-28T09:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.564675'} 2026-10-28 09:14:20,356 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-28 09:14:20,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19302486 passed 2026-10-28 09:14:20,357 - DEBUG - ====Verifying policy data for ctest-vn-19302486 in API_Server ====== 2026-10-28 09:14:20,357 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:14:20,379 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b7b4eb4e-14f2-4ff1-bbb4-46845da616a3 2026-10-28 09:14:20,418 - DEBUG - Requesting: http://10.0.0.161:8082/project/55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:14:20,493 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f8dfe014-65f7-499f-bd4b-b5d44259fb8f 2026-10-28 09:14:20,504 - DEBUG - ==>Verifying data for policy with id: becb79d3-c5be-44c5-bb2b-c5a4bc724407, fqn: ['default-domain', 'ctest-TestBasicPolicy-21732212', 'ctest-policy-allow-all-66851080'] 2026-10-28 09:14:20,504 - INFO - VN ctest-vn-19302486 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-28 09:14:20,504 - DEBUG - Verifying the vn in opserver 2026-10-28 09:14:20,504 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-19302486 virtual network link through opserver 10.0.0.161 2026-10-28 09:14:20,504 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-28 09:14:20,516 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-19302486', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-19302486?flat'} 2026-10-28 09:14:20,516 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-19302486 is found in opserver 2026-10-28 09:14:20,527 - DEBUG - Do not have enough data to verify VN in agent 2026-10-28 09:14:20,532 - DEBUG - VRF ids for VN ctest-vn-19302486: {} 2026-10-28 09:14:20,593 - DEBUG - Services list from nova: [, , ] 2026-10-28 09:14:21,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6430-1) 2026-10-28 09:14:21,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6430-1) 2026-10-28 09:14:21,433 - INFO - Waiting for VM ctest-TestBasicPolicy-21732212-04489734 to be up.. 2026-10-28 09:14:21,472 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:26,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:31,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:36,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:41,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:46,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:52,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:14:57,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:15:02,229 - DEBUG - VM is in ACTIVE state now 2026-10-28 09:15:02,229 - INFO - VM name : ctest-TestBasicPolicy-21732212-04489734 2026-10-28 09:15:02,315 - DEBUG - VM ctest-TestBasicPolicy-21732212-04489734 ID is 43f769d2-23b3-4ca8-bcfd-cee888644ac7 2026-10-28 09:15:02,338 - DEBUG - VM ctest-TestBasicPolicy-21732212-04489734 launched on Node cn-jenkins-deploy-platform-ansible-os-6430-1 2026-10-28 09:15:02,433 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/43f769d2-23b3-4ca8-bcfd-cee888644ac7 2026-10-28 09:15:02,450 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/d00062c5-a6e7-42f4-a533-774f9d54ba79 2026-10-28 09:15:05,738 - 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 1003ms') 2026-10-28 09:15:05,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21732212-04489734 failed! 2026-10-28 09:15:05,793 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21732212:ctest-vn-28173990 is 141.52.130.129 and allocation pool is NOT set 2026-10-28 09:15:09,867 - 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.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 6.374/6.374/6.374/0.000 ms') 2026-10-28 09:15:09,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21732212-04489734 passed 2026-10-28 09:15:10,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:15:10,018 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21732212-04489734, IP 141.52.130.131, Port 22 2026-10-28 09:15:10,083 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-28 09:15:10,174 - DEBUG - VM ctest-TestBasicPolicy-21732212-04489734 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-28 09:15:15,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:15:15,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21732212-04489734, IP 141.52.130.131, Port 22 2026-10-28 09:15:15,351 - DEBUG - VM ctest-TestBasicPolicy-21732212-04489734 is ready for SSH connections 2026-10-28 09:15:15,351 - INFO - Waiting for VM ctest-TestBasicPolicy-21732212-88538827 to be up.. 2026-10-28 09:15:15,446 - DEBUG - VM is in ACTIVE state now 2026-10-28 09:15:15,446 - INFO - VM name : ctest-TestBasicPolicy-21732212-88538827 2026-10-28 09:15:15,534 - DEBUG - VM ctest-TestBasicPolicy-21732212-88538827 ID is fba23952-a2ef-405d-bf55-acfc3615196a 2026-10-28 09:15:15,534 - DEBUG - VM ctest-TestBasicPolicy-21732212-88538827 launched on Node cn-jenkins-deploy-platform-ansible-os-6430-1 2026-10-28 09:15:15,625 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/fba23952-a2ef-405d-bf55-acfc3615196a 2026-10-28 09:15:15,634 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/57a907cb-103f-47a9-8850-52b8665f3fec 2026-10-28 09:15:16,879 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/2.274/4.042/1.768 ms') 2026-10-28 09:15:16,879 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21732212-88538827 passed 2026-10-28 09:15:17,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:15:17,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21732212-88538827, IP 144.157.143.3, Port 22 2026-10-28 09:15:17,198 - DEBUG - VM ctest-TestBasicPolicy-21732212-88538827 is ready for SSH connections 2026-10-28 09:15:17,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:15:17,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.157.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-28 09:15:17,198 - DEBUG - ping -s 56 -c 3 -W 1 144.157.143.3 2026-10-28 09:15:21,174 - DEBUG - PING 144.157.143.3 (144.157.143.3): 56 data bytes 64 bytes from 144.157.143.3: seq=0 ttl=63 time=4.552 ms 64 bytes from 144.157.143.3: seq=1 ttl=63 time=0.995 ms 64 bytes from 144.157.143.3: seq=2 ttl=63 time=0.935 ms --- 144.157.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.160/4.552 ms 2026-10-28 09:15:21,175 - INFO - Ping to IP 144.157.143.3 from VM ctest-TestBasicPolicy-21732212-04489734 passed 2026-10-28 09:15:21,357 - DEBUG - Policy Update Response {"network-policy": {"uuid": "becb79d3-c5be-44c5-bb2b-c5a4bc724407", "href": "http://10.0.0.161:8082/network-policy/becb79d3-c5be-44c5-bb2b-c5a4bc724407"}} 2026-10-28 09:15:21,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:15:21,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.157.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-28 09:15:21,357 - DEBUG - ping -s 56 -c 3 -W 1 144.157.143.3 2026-10-28 09:15:24,500 - DEBUG - PING 144.157.143.3 (144.157.143.3): 56 data bytes 64 bytes from 144.157.143.3: seq=0 ttl=63 time=1.908 ms --- 144.157.143.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.908/1.908/1.908 ms 2026-10-28 09:15:24,500 - WARNING - Ping to IP 144.157.143.3 from VM ctest-TestBasicPolicy-21732212-04489734 failed 2026-10-28 09:15:24,500 - INFO - Deleting VM ctest-TestBasicPolicy-21732212-88538827 2026-10-28 09:15:24,579 - INFO - Deleting VM ctest-TestBasicPolicy-21732212-04489734 2026-10-28 09:15:24,954 - INFO - Deleted policy ctest-policy-allow-all-66851080 2026-10-28 09:15:24,954 - INFO - Deleting VN ctest-vn-19302486 2026-10-28 09:15:24,992 - DEBUG - VN f8dfe014-65f7-499f-bd4b-b5d44259fb8f still in use: Unable to complete operation on network f8dfe014-65f7-499f-bd4b-b5d44259fb8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d983c4ea-17dd-445e-ae7b-d6ebe398c3cb'] 2026-10-28 09:15:24,992 - WARNING - Deleting VN ctest-vn-19302486 failed..Will retry 2026-10-28 09:15:27,028 - DEBUG - VN f8dfe014-65f7-499f-bd4b-b5d44259fb8f still in use: Unable to complete operation on network f8dfe014-65f7-499f-bd4b-b5d44259fb8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89ae5b52-c612-460f-921a-f0f86381cfc6'] 2026-10-28 09:15:27,029 - WARNING - Deleting VN ctest-vn-19302486 failed..Will retry 2026-10-28 09:15:29,152 - DEBUG - Response for deleting network () 2026-10-28 09:15:29,152 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/880f8622-d112-414f-88ef-66efcaad4fec 2026-10-28 09:15:29,160 - DEBUG - Response Code: 404 2026-10-28 09:15:29,160 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:15:29,166 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b7b4eb4e-14f2-4ff1-bbb4-46845da616a3 2026-10-28 09:15:29,219 - DEBUG - Requesting: http://10.0.0.161:8082/project/55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:15:29,294 - INFO - Validated that VN ctest-vn-19302486 is not found in API Server 2026-10-28 09:15:29,306 - DEBUG - VN ctest-vn-19302486 is not present in Agent 10.0.0.161 2026-10-28 09:15:29,306 - INFO - Validated that VN ctest-vn-19302486 is not in any agent 2026-10-28 09:15:29,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19302486 info 2026-10-28 09:15:29,326 - INFO - Deleting VN ctest-vn-28173990 2026-10-28 09:15:29,438 - DEBUG - Response for deleting network () 2026-10-28 09:15:29,438 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/67bb4031-1616-4848-8512-10fef2b0f3ac 2026-10-28 09:15:29,444 - DEBUG - Response Code: 404 2026-10-28 09:15:29,444 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-28 09:15:29,458 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b7b4eb4e-14f2-4ff1-bbb4-46845da616a3 2026-10-28 09:15:29,515 - DEBUG - Requesting: http://10.0.0.161:8082/project/55954f34-fc70-429d-b1fa-97e1f1618440 2026-10-28 09:15:29,587 - INFO - Validated that VN ctest-vn-28173990 is not found in API Server 2026-10-28 09:15:29,598 - DEBUG - VN ctest-vn-28173990 is not present in Agent 10.0.0.161 2026-10-28 09:15:29,598 - INFO - Validated that VN ctest-vn-28173990 is not in any agent 2026-10-28 09:15:29,615 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28173990 info 2026-10-28 09:15:29,875 - DEBUG - No XMPP flaps were noticed during the test 2026-10-28 09:15:29,875 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:13] 2026-10-28 09:15:29,875 - INFO - -------------------------------------------------------------------------------- 2026-10-28 09:15:30,659 - INFO - Deleted project: ctest-TestBasicPolicy-21732212, ID : 55954f34-fc70-429d-b1fa-97e1f1618440