2026-04-25 21:46:50,307 - INFO - Domain Default found not creating 2026-04-25 21:46:50,487 - INFO - Project ctest-TestBasicPolicy-39198586 not found, creating it 2026-04-25 21:46:50,962 - INFO - Created Project:ctest-TestBasicPolicy-39198586, ID : 0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:46:52,473 - INFO - ================================================================================ 2026-04-25 21:46:52,473 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-25 21:46:52,473 - 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-04-25 21:46:52,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-25 21:46:52,728 - INFO - Initial checks done. Running the testcase now 2026-04-25 21:46:52,728 - INFO - 2026-04-25 21:46:53,309 - DEBUG - Response for create_network : {'network': {'id': '553f4b85-7ce3-4a25-a249-a5b81c41fa9e', 'name': 'ctest-vn-54918998', 'tenant_id': '0f404e3e03c44d23828f812821aeec39', 'project_id': '0f404e3e03c44d23828f812821aeec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-vn-54918998'], 'port_security_enabled': True, 'description': ''}} 2026-04-25 21:46:53,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9c0d70e-1266-450c-8cb2-dd3c2906e8e1', 'name': '', 'tenant_id': '0f404e3e03c44d23828f812821aeec39', 'network_id': '553f4b85-7ce3-4a25-a249-a5b81c41fa9e', 'ip_version': 4, 'cidr': '84.255.19.192/26', 'allocation_pools': [{'start': '84.255.19.194', 'end': '84.255.19.254'}], 'gateway_ip': '84.255.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.255.19.194', 'tags': [], 'project_id': '0f404e3e03c44d23828f812821aeec39'}} 2026-04-25 21:46:53,532 - INFO - Created VN ctest-vn-54918998 2026-04-25 21:46:53,584 - DEBUG - VN ctest-vn-54918998 UUID is 553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:53,895 - DEBUG - Response for create_network : {'network': {'id': '829162d7-75f1-4d07-86b8-7a325d39fa05', 'name': 'ctest-vn-56126207', 'tenant_id': '0f404e3e03c44d23828f812821aeec39', 'project_id': '0f404e3e03c44d23828f812821aeec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-vn-56126207'], 'port_security_enabled': True, 'description': ''}} 2026-04-25 21:46:54,040 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a8a3ae0-532c-4f3a-a4e6-56bdd45f4190', 'name': '', 'tenant_id': '0f404e3e03c44d23828f812821aeec39', 'network_id': '829162d7-75f1-4d07-86b8-7a325d39fa05', 'ip_version': 4, 'cidr': '11.183.106.192/26', 'allocation_pools': [{'start': '11.183.106.194', 'end': '11.183.106.254'}], 'gateway_ip': '11.183.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.183.106.194', 'tags': [], 'project_id': '0f404e3e03c44d23828f812821aeec39'}} 2026-04-25 21:46:54,058 - INFO - Created VN ctest-vn-56126207 2026-04-25 21:46:54,108 - DEBUG - VN ctest-vn-56126207 UUID is 829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:54,229 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998, 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-39198586:ctest-vn-56126207, 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-04-25 21:46:54,522 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '553f4b85-7ce3-4a25-a249-a5b81c41fa9e', 'name': 'ctest-vn-54918998', 'tenant_id': '0f404e3e03c44d23828f812821aeec39', 'project_id': '0f404e3e03c44d23828f812821aeec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9c0d70e-1266-450c-8cb2-dd3c2906e8e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-vn-54918998'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-policy-allow-all-29096317']], 'subnet_ipam': [{'subnet_cidr': '84.255.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-25 21:46:54,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '829162d7-75f1-4d07-86b8-7a325d39fa05', 'name': 'ctest-vn-56126207', 'tenant_id': '0f404e3e03c44d23828f812821aeec39', 'project_id': '0f404e3e03c44d23828f812821aeec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a8a3ae0-532c-4f3a-a4e6-56bdd45f4190'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-vn-56126207'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-policy-allow-all-29096317']], 'subnet_ipam': [{'subnet_cidr': '11.183.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-25 21:46:54,932 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:46:55,228 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:46:55,264 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c006664f-c0c0-4f0d-a597-06af468ee77c 2026-04-25 21:46:55,275 - DEBUG - Requesting: http://10.0.0.50:8082/project/0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:46:55,344 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:55,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:55,367 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/495fa1ae-24ff-4426-a665-57f8c8e94729 2026-04-25 21:46:55,376 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/495fa1ae-24ff-4426-a665-57f8c8e94729 2026-04-25 21:46:55,384 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/812d2339-1c11-4a6c-bf1d-1a0ab085fea0 2026-04-25 21:46:55,390 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-25 21:46:55,391 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:55,399 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/495fa1ae-24ff-4426-a665-57f8c8e94729 2026-04-25 21:46:55,412 - INFO - Verified VN network id 11 for VN 553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:55,412 - INFO - Verifications in API Server for VN ctest-vn-54918998 passed 2026-04-25 21:46:55,412 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:55,421 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/495fa1ae-24ff-4426-a665-57f8c8e94729 2026-04-25 21:46:55,430 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/495fa1ae-24ff-4426-a665-57f8c8e94729 2026-04-25 21:46:55,441 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/812d2339-1c11-4a6c-bf1d-1a0ab085fea0 2026-04-25 21:46:55,451 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39198586', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6142711453454649893', 'uuid-lslong': '11694060117610855070'}, 'enable': 'true', 'created': '2026-04-25T21:46:53', 'last-modified': '2026-04-25T21:46:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952807'} 2026-04-25 21:46:55,457 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-25 21:46:55,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54918998 passed 2026-04-25 21:46:55,458 - DEBUG - ====Verifying policy data for ctest-vn-54918998 in API_Server ====== 2026-04-25 21:46:55,458 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:46:55,463 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c006664f-c0c0-4f0d-a597-06af468ee77c 2026-04-25 21:46:55,473 - DEBUG - Requesting: http://10.0.0.50:8082/project/0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:46:55,542 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553f4b85-7ce3-4a25-a249-a5b81c41fa9e 2026-04-25 21:46:55,550 - DEBUG - ==>Verifying data for policy with id: dd73424d-eeab-45b9-94c8-a60cddc23d34, fqn: ['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-policy-allow-all-29096317'] 2026-04-25 21:46:55,550 - INFO - VN ctest-vn-54918998 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-25 21:46:55,550 - DEBUG - Verifying the vn in opserver 2026-04-25 21:46:55,550 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998 virtual network link through opserver 10.0.0.50 2026-04-25 21:46:55,550 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-25 21:46:55,844 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-25 21:46:55,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998?flat'} 2026-04-25 21:46:55,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998 is found in opserver 2026-04-25 21:46:55,915 - DEBUG - Do not have enough data to verify VN in agent 2026-04-25 21:46:55,921 - DEBUG - VRF ids for VN ctest-vn-54918998: {} 2026-04-25 21:46:55,921 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:46:55,926 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c006664f-c0c0-4f0d-a597-06af468ee77c 2026-04-25 21:46:55,940 - DEBUG - Requesting: http://10.0.0.50:8082/project/0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:46:56,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:56,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:56,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b2f902b9-b440-4582-92ee-9a3a7b936158 2026-04-25 21:46:56,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b2f902b9-b440-4582-92ee-9a3a7b936158 2026-04-25 21:46:56,042 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4511e6fb-5b0d-41c1-8823-db9e2846da01 2026-04-25 21:46:56,047 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-25 21:46:56,047 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:56,055 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b2f902b9-b440-4582-92ee-9a3a7b936158 2026-04-25 21:46:56,067 - INFO - Verified VN network id 12 for VN 829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:56,067 - INFO - Verifications in API Server for VN ctest-vn-56126207 passed 2026-04-25 21:46:56,067 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:56,075 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b2f902b9-b440-4582-92ee-9a3a7b936158 2026-04-25 21:46:56,081 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b2f902b9-b440-4582-92ee-9a3a7b936158 2026-04-25 21:46:56,087 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4511e6fb-5b0d-41c1-8823-db9e2846da01 2026-04-25 21:46:56,098 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-56126207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39198586', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9408409774089915655', 'uuid-lslong': '9707643353528138245'}, 'enable': 'true', 'created': '2026-04-25T21:46:53', 'last-modified': '2026-04-25T21:46:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358456'} 2026-04-25 21:46:56,104 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-25 21:46:56,104 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56126207 passed 2026-04-25 21:46:56,104 - DEBUG - ====Verifying policy data for ctest-vn-56126207 in API_Server ====== 2026-04-25 21:46:56,104 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:46:56,108 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c006664f-c0c0-4f0d-a597-06af468ee77c 2026-04-25 21:46:56,118 - DEBUG - Requesting: http://10.0.0.50:8082/project/0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:46:56,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/829162d7-75f1-4d07-86b8-7a325d39fa05 2026-04-25 21:46:56,199 - DEBUG - ==>Verifying data for policy with id: dd73424d-eeab-45b9-94c8-a60cddc23d34, fqn: ['default-domain', 'ctest-TestBasicPolicy-39198586', 'ctest-policy-allow-all-29096317'] 2026-04-25 21:46:56,199 - INFO - VN ctest-vn-56126207 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-25 21:46:56,199 - DEBUG - Verifying the vn in opserver 2026-04-25 21:46:56,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-56126207 virtual network link through opserver 10.0.0.50 2026-04-25 21:46:56,199 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-25 21:46:56,209 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-56126207', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-56126207?flat'} 2026-04-25 21:46:56,209 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-56126207 is found in opserver 2026-04-25 21:46:56,218 - DEBUG - Do not have enough data to verify VN in agent 2026-04-25 21:46:56,223 - DEBUG - VRF ids for VN ctest-vn-56126207: {} 2026-04-25 21:46:56,279 - DEBUG - Services list from nova: [, , ] 2026-04-25 21:46:57,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5686-1) 2026-04-25 21:46:58,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5686-1) 2026-04-25 21:46:58,503 - INFO - Waiting for VM ctest-TestBasicPolicy-39198586-72096638 to be up.. 2026-04-25 21:46:58,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-25 21:47:03,679 - DEBUG - VM is in ACTIVE state now 2026-04-25 21:47:03,679 - INFO - VM name : ctest-TestBasicPolicy-39198586-72096638 2026-04-25 21:47:03,769 - DEBUG - VM ctest-TestBasicPolicy-39198586-72096638 ID is 6960f0d1-1bd7-43c3-ad4b-6b505df47525 2026-04-25 21:47:03,792 - DEBUG - VM ctest-TestBasicPolicy-39198586-72096638 launched on Node cn-jenkins-deploy-platform-ansible-os-5686-1 2026-04-25 21:47:03,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6960f0d1-1bd7-43c3-ad4b-6b505df47525 2026-04-25 21:47:03,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/82a7892d-120d-4c59-a8c4-1c5bd3e171d6 2026-04-25 21:47:07,132 - 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 1006ms') 2026-04-25 21:47:07,132 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39198586-72096638 failed! 2026-04-25 21:47:07,188 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39198586:ctest-vn-54918998 is 84.255.19.193 and allocation pool is NOT set 2026-04-25 21:47:09,250 - 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=8.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.217/5.290/8.363/3.073 ms') 2026-04-25 21:47:09,250 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39198586-72096638 passed 2026-04-25 21:47:09,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 21:47:09,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39198586-72096638, IP 84.255.19.195, Port 22 2026-04-25 21:47:09,466 - 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-04-25 21:47:09,571 - DEBUG - VM ctest-TestBasicPolicy-39198586-72096638 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-25 21:47:14,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 21:47:14,572 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39198586-72096638, IP 84.255.19.195, Port 22 2026-04-25 21:47:14,727 - DEBUG - VM ctest-TestBasicPolicy-39198586-72096638 is ready for SSH connections 2026-04-25 21:47:14,727 - INFO - Waiting for VM ctest-TestBasicPolicy-39198586-76332590 to be up.. 2026-04-25 21:47:14,803 - DEBUG - VM is in ACTIVE state now 2026-04-25 21:47:14,803 - INFO - VM name : ctest-TestBasicPolicy-39198586-76332590 2026-04-25 21:47:14,880 - DEBUG - VM ctest-TestBasicPolicy-39198586-76332590 ID is 55cb4cf2-04e3-4ac9-9fb8-0258018c2461 2026-04-25 21:47:14,880 - DEBUG - VM ctest-TestBasicPolicy-39198586-76332590 launched on Node cn-jenkins-deploy-platform-ansible-os-5686-1 2026-04-25 21:47:14,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/55cb4cf2-04e3-4ac9-9fb8-0258018c2461 2026-04-25 21:47:14,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d7210cef-5e7f-4f8b-b631-73be49deb932 2026-04-25 21:47:16,206 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/2.042/3.682/1.639 ms') 2026-04-25 21:47:16,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39198586-76332590 passed 2026-04-25 21:47:16,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 21:47:16,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39198586-76332590, IP 11.183.106.195, Port 22 2026-04-25 21:47:16,516 - DEBUG - VM ctest-TestBasicPolicy-39198586-76332590 is ready for SSH connections 2026-04-25 21:47:16,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 21:47:16,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.183.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-25 21:47:16,516 - DEBUG - ping -s 56 -c 3 -W 1 11.183.106.195 2026-04-25 21:47:20,722 - DEBUG - PING 11.183.106.195 (11.183.106.195): 56 data bytes 64 bytes from 11.183.106.195: seq=0 ttl=63 time=3.752 ms 64 bytes from 11.183.106.195: seq=1 ttl=63 time=0.788 ms 64 bytes from 11.183.106.195: seq=2 ttl=63 time=0.936 ms --- 11.183.106.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.825/3.752 ms 2026-04-25 21:47:20,722 - INFO - Ping to IP 11.183.106.195 from VM ctest-TestBasicPolicy-39198586-72096638 passed 2026-04-25 21:47:20,904 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dd73424d-eeab-45b9-94c8-a60cddc23d34", "href": "http://10.0.0.50:8082/network-policy/dd73424d-eeab-45b9-94c8-a60cddc23d34"}} 2026-04-25 21:47:20,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 21:47:20,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.183.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-25 21:47:20,904 - DEBUG - ping -s 56 -c 3 -W 1 11.183.106.195 2026-04-25 21:47:24,105 - DEBUG - PING 11.183.106.195 (11.183.106.195): 56 data bytes --- 11.183.106.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-25 21:47:24,106 - WARNING - Ping to IP 11.183.106.195 from VM ctest-TestBasicPolicy-39198586-72096638 failed 2026-04-25 21:47:24,106 - INFO - Deleting VM ctest-TestBasicPolicy-39198586-76332590 2026-04-25 21:47:24,193 - INFO - Deleting VM ctest-TestBasicPolicy-39198586-72096638 2026-04-25 21:47:24,580 - INFO - Deleted policy ctest-policy-allow-all-29096317 2026-04-25 21:47:24,580 - INFO - Deleting VN ctest-vn-56126207 2026-04-25 21:47:24,622 - DEBUG - VN 829162d7-75f1-4d07-86b8-7a325d39fa05 still in use: Unable to complete operation on network 829162d7-75f1-4d07-86b8-7a325d39fa05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86fa90d0-554f-4b92-aa08-ae51731b926e'] 2026-04-25 21:47:24,622 - WARNING - Deleting VN ctest-vn-56126207 failed..Will retry 2026-04-25 21:47:26,757 - DEBUG - Response for deleting network () 2026-04-25 21:47:26,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b2f902b9-b440-4582-92ee-9a3a7b936158 2026-04-25 21:47:26,767 - DEBUG - Response Code: 404 2026-04-25 21:47:26,767 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:47:26,779 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c006664f-c0c0-4f0d-a597-06af468ee77c 2026-04-25 21:47:26,835 - DEBUG - Requesting: http://10.0.0.50:8082/project/0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:47:26,916 - INFO - Validated that VN ctest-vn-56126207 is not found in API Server 2026-04-25 21:47:26,933 - DEBUG - VN ctest-vn-56126207 is not present in Agent 10.0.0.50 2026-04-25 21:47:26,933 - INFO - Validated that VN ctest-vn-56126207 is not in any agent 2026-04-25 21:47:26,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56126207 info 2026-04-25 21:47:26,954 - INFO - Deleting VN ctest-vn-54918998 2026-04-25 21:47:27,079 - DEBUG - Response for deleting network () 2026-04-25 21:47:27,079 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/495fa1ae-24ff-4426-a665-57f8c8e94729 2026-04-25 21:47:27,085 - DEBUG - Response Code: 404 2026-04-25 21:47:27,085 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 21:47:27,090 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c006664f-c0c0-4f0d-a597-06af468ee77c 2026-04-25 21:47:27,156 - DEBUG - Requesting: http://10.0.0.50:8082/project/0f404e3e-03c4-4d23-828f-812821aeec39 2026-04-25 21:47:27,236 - INFO - Validated that VN ctest-vn-54918998 is not found in API Server 2026-04-25 21:47:27,252 - DEBUG - VN ctest-vn-54918998 is not present in Agent 10.0.0.50 2026-04-25 21:47:27,252 - INFO - Validated that VN ctest-vn-54918998 is not in any agent 2026-04-25 21:47:27,272 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54918998 info 2026-04-25 21:47:27,534 - DEBUG - No XMPP flaps were noticed during the test 2026-04-25 21:47:27,534 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-25 21:47:27,535 - INFO - -------------------------------------------------------------------------------- 2026-04-25 21:47:28,256 - INFO - Deleted project: ctest-TestBasicPolicy-39198586, ID : 0f404e3e-03c4-4d23-828f-812821aeec39