2026-01-20 16:06:52,621 - INFO - Domain Default found not creating 2026-01-20 16:06:52,802 - INFO - Project ctest-TestBasicPolicy-74723667 not found, creating it 2026-01-20 16:06:53,264 - INFO - Created Project:ctest-TestBasicPolicy-74723667, ID : 037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:06:54,751 - INFO - ================================================================================ 2026-01-20 16:06:54,752 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-20 16:06:54,752 - 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-01-20 16:06:55,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-20 16:06:55,007 - INFO - Initial checks done. Running the testcase now 2026-01-20 16:06:55,007 - INFO - 2026-01-20 16:06:55,587 - DEBUG - Response for create_network : {'network': {'id': 'fd6da30f-e5e7-4005-bddc-9c2477677808', 'name': 'ctest-vn-86175116', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-86175116'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 16:06:55,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '7496e023-0840-43d4-9a96-7e3ca91fc04c', 'name': '', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'network_id': 'fd6da30f-e5e7-4005-bddc-9c2477677808', 'ip_version': 4, 'cidr': '144.173.244.128/26', 'allocation_pools': [{'start': '144.173.244.130', 'end': '144.173.244.190'}], 'gateway_ip': '144.173.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.173.244.130', 'tags': [], 'project_id': '037c6e92be574e72b3d7714b323e96e4'}} 2026-01-20 16:06:55,833 - INFO - Created VN ctest-vn-86175116 2026-01-20 16:06:55,886 - DEBUG - VN ctest-vn-86175116 UUID is fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:56,172 - DEBUG - Response for create_network : {'network': {'id': '9e8da327-aa07-4c0b-950e-befcee8c9be9', 'name': 'ctest-vn-55044633', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-55044633'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 16:06:56,392 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cefba39f-4ba7-475e-a209-f156ac262e50', 'name': '', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'network_id': '9e8da327-aa07-4c0b-950e-befcee8c9be9', 'ip_version': 4, 'cidr': '53.6.131.192/26', 'allocation_pools': [{'start': '53.6.131.194', 'end': '53.6.131.254'}], 'gateway_ip': '53.6.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.6.131.194', 'tags': [], 'project_id': '037c6e92be574e72b3d7714b323e96e4'}} 2026-01-20 16:06:56,409 - INFO - Created VN ctest-vn-55044633 2026-01-20 16:06:56,462 - DEBUG - VN ctest-vn-55044633 UUID is 9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:56,610 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116, 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-74723667:ctest-vn-55044633, 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-01-20 16:06:56,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd6da30f-e5e7-4005-bddc-9c2477677808', 'name': 'ctest-vn-86175116', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7496e023-0840-43d4-9a96-7e3ca91fc04c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-86175116'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743']], 'subnet_ipam': [{'subnet_cidr': '144.173.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-20 16:06:57,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e8da327-aa07-4c0b-950e-befcee8c9be9', 'name': 'ctest-vn-55044633', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cefba39f-4ba7-475e-a209-f156ac262e50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-55044633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743']], 'subnet_ipam': [{'subnet_cidr': '53.6.131.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-20 16:06:57,290 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:06:57,598 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:06:57,628 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549 2026-01-20 16:06:57,640 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:06:57,716 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:57,727 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:57,736 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09 2026-01-20 16:06:57,744 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09 2026-01-20 16:06:57,752 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8a6ae813-32ec-4a56-921a-f4114f1d7aed 2026-01-20 16:06:57,758 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-20 16:06:57,758 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:57,768 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09 2026-01-20 16:06:57,784 - INFO - Verified VN network id 11 for VN fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:57,784 - INFO - Verifications in API Server for VN ctest-vn-86175116 passed 2026-01-20 16:06:57,785 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:57,795 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09 2026-01-20 16:06:57,802 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09 2026-01-20 16:06:57,810 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8a6ae813-32ec-4a56-921a-f4114f1d7aed 2026-01-20 16:06:57,823 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74723667', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18261431352734203909', 'uuid-lslong': '13680981448480749576'}, 'enable': 'true', 'created': '2026-01-20T16:06:55', 'last-modified': '2026-01-20T16:06:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949581'} 2026-01-20 16:06:57,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-20 16:06:57,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86175116 passed 2026-01-20 16:06:57,829 - DEBUG - ====Verifying policy data for ctest-vn-86175116 in API_Server ====== 2026-01-20 16:06:57,829 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:06:57,834 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549 2026-01-20 16:06:57,845 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:06:57,920 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808 2026-01-20 16:06:57,929 - DEBUG - ==>Verifying data for policy with id: fbd6cf9a-ccf3-44f8-8f21-df629410eac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743'] 2026-01-20 16:06:57,929 - INFO - VN ctest-vn-86175116 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-20 16:06:57,929 - DEBUG - Verifying the vn in opserver 2026-01-20 16:06:57,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116 virtual network link through opserver 10.0.0.249 2026-01-20 16:06:57,930 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-20 16:06:58,228 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-20 16:06:58,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116?flat'} 2026-01-20 16:06:58,291 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116 is found in opserver 2026-01-20 16:06:58,301 - DEBUG - Do not have enough data to verify VN in agent 2026-01-20 16:06:58,306 - DEBUG - VRF ids for VN ctest-vn-86175116: {} 2026-01-20 16:06:58,306 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:06:58,311 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549 2026-01-20 16:06:58,322 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:06:58,388 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:58,399 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:58,408 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9 2026-01-20 16:06:58,415 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9 2026-01-20 16:06:58,422 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/51704b13-246b-46fa-8428-00e494b70d8f 2026-01-20 16:06:58,429 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 16:06:58,429 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:58,438 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9 2026-01-20 16:06:58,452 - INFO - Verified VN network id 12 for VN 9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:58,452 - INFO - Verifications in API Server for VN ctest-vn-55044633 passed 2026-01-20 16:06:58,453 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:58,461 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9 2026-01-20 16:06:58,468 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9 2026-01-20 16:06:58,475 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/51704b13-246b-46fa-8428-00e494b70d8f 2026-01-20 16:06:58,486 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74723667', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11424967220460473355', 'uuid-lslong': '10740732154868440041'}, 'enable': 'true', 'created': '2026-01-20T16:06:56', 'last-modified': '2026-01-20T16:06:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383006'} 2026-01-20 16:06:58,492 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 16:06:58,492 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55044633 passed 2026-01-20 16:06:58,492 - DEBUG - ====Verifying policy data for ctest-vn-55044633 in API_Server ====== 2026-01-20 16:06:58,492 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:06:58,498 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549 2026-01-20 16:06:58,508 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:06:58,582 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9 2026-01-20 16:06:58,593 - DEBUG - ==>Verifying data for policy with id: fbd6cf9a-ccf3-44f8-8f21-df629410eac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743'] 2026-01-20 16:06:58,593 - INFO - VN ctest-vn-55044633 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-20 16:06:58,593 - DEBUG - Verifying the vn in opserver 2026-01-20 16:06:58,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633 virtual network link through opserver 10.0.0.249 2026-01-20 16:06:58,594 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-20 16:06:58,604 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633?flat'} 2026-01-20 16:06:58,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633 is found in opserver 2026-01-20 16:06:58,617 - DEBUG - Do not have enough data to verify VN in agent 2026-01-20 16:06:58,623 - DEBUG - VRF ids for VN ctest-vn-55044633: {} 2026-01-20 16:06:58,682 - DEBUG - Services list from nova: [, , ] 2026-01-20 16:06:59,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5050-1) 2026-01-20 16:07:00,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5050-1) 2026-01-20 16:07:00,837 - INFO - Waiting for VM ctest-TestBasicPolicy-74723667-10860988 to be up.. 2026-01-20 16:07:00,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 16:07:05,993 - DEBUG - VM is in ACTIVE state now 2026-01-20 16:07:05,993 - INFO - VM name : ctest-TestBasicPolicy-74723667-10860988 2026-01-20 16:07:06,072 - DEBUG - VM ctest-TestBasicPolicy-74723667-10860988 ID is a3130b28-9c0b-413c-9f38-28dfba896ad5 2026-01-20 16:07:06,096 - DEBUG - VM ctest-TestBasicPolicy-74723667-10860988 launched on Node cn-jenkins-deploy-platform-ansible-os-5050-1 2026-01-20 16:07:06,180 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a3130b28-9c0b-413c-9f38-28dfba896ad5 2026-01-20 16:07:06,189 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3d0cb97b-2914-4462-80ff-7ca20961aedc 2026-01-20 16:07:09,456 - 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 1026ms') 2026-01-20 16:07:09,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74723667-10860988 failed! 2026-01-20 16:07:09,510 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116 is 144.173.244.129 and allocation pool is NOT set 2026-01-20 16:07:11,573 - 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=9.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.651/5.736/9.821/4.085 ms') 2026-01-20 16:07:11,573 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74723667-10860988 passed 2026-01-20 16:07:11,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:07:11,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74723667-10860988, IP 144.173.244.131, Port 22 2026-01-20 16:07:11,777 - 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-01-20 16:07:11,857 - DEBUG - VM ctest-TestBasicPolicy-74723667-10860988 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-20 16:07:16,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:07:16,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74723667-10860988, IP 144.173.244.131, Port 22 2026-01-20 16:07:17,017 - DEBUG - VM ctest-TestBasicPolicy-74723667-10860988 is ready for SSH connections 2026-01-20 16:07:17,017 - INFO - Waiting for VM ctest-TestBasicPolicy-74723667-96447825 to be up.. 2026-01-20 16:07:17,092 - DEBUG - VM is in ACTIVE state now 2026-01-20 16:07:17,093 - INFO - VM name : ctest-TestBasicPolicy-74723667-96447825 2026-01-20 16:07:17,164 - DEBUG - VM ctest-TestBasicPolicy-74723667-96447825 ID is 2d58f8b1-a8b5-4d40-9d12-d6735c565b85 2026-01-20 16:07:17,164 - DEBUG - VM ctest-TestBasicPolicy-74723667-96447825 launched on Node cn-jenkins-deploy-platform-ansible-os-5050-1 2026-01-20 16:07:17,241 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2d58f8b1-a8b5-4d40-9d12-d6735c565b85 2026-01-20 16:07:17,249 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e07a1411-ab18-4454-be5c-69939da648a7 2026-01-20 16:07:18,485 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.425/2.004/3.583/1.579 ms') 2026-01-20 16:07:18,485 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74723667-96447825 passed 2026-01-20 16:07:18,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:07:18,634 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74723667-96447825, IP 53.6.131.195, Port 22 2026-01-20 16:07:18,789 - DEBUG - VM ctest-TestBasicPolicy-74723667-96447825 is ready for SSH connections 2026-01-20 16:07:18,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:07:18,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.6.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-20 16:07:18,789 - DEBUG - ping -s 56 -c 3 -W 1 53.6.131.195 2026-01-20 16:07:22,830 - DEBUG - PING 53.6.131.195 (53.6.131.195): 56 data bytes 64 bytes from 53.6.131.195: seq=0 ttl=63 time=3.343 ms 64 bytes from 53.6.131.195: seq=1 ttl=63 time=0.939 ms 64 bytes from 53.6.131.195: seq=2 ttl=63 time=0.904 ms --- 53.6.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/1.728/3.343 ms 2026-01-20 16:07:22,830 - INFO - Ping to IP 53.6.131.195 from VM ctest-TestBasicPolicy-74723667-10860988 passed 2026-01-20 16:07:23,010 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fbd6cf9a-ccf3-44f8-8f21-df629410eac0", "href": "http://10.0.0.249:8082/network-policy/fbd6cf9a-ccf3-44f8-8f21-df629410eac0"}} 2026-01-20 16:07:23,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:07:23,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.6.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-20 16:07:23,010 - DEBUG - ping -s 56 -c 3 -W 1 53.6.131.195 2026-01-20 16:07:26,238 - DEBUG - PING 53.6.131.195 (53.6.131.195): 56 data bytes --- 53.6.131.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-20 16:07:26,239 - WARNING - Ping to IP 53.6.131.195 from VM ctest-TestBasicPolicy-74723667-10860988 failed 2026-01-20 16:07:26,239 - INFO - Deleting VM ctest-TestBasicPolicy-74723667-96447825 2026-01-20 16:07:26,314 - INFO - Deleting VM ctest-TestBasicPolicy-74723667-10860988 2026-01-20 16:07:26,674 - INFO - Deleted policy ctest-policy-allow-all-86095743 2026-01-20 16:07:26,674 - INFO - Deleting VN ctest-vn-55044633 2026-01-20 16:07:26,707 - DEBUG - VN 9e8da327-aa07-4c0b-950e-befcee8c9be9 still in use: Unable to complete operation on network 9e8da327-aa07-4c0b-950e-befcee8c9be9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f5c74db-f2a2-4c9d-8c31-af2bd9e81868'] 2026-01-20 16:07:26,707 - WARNING - Deleting VN ctest-vn-55044633 failed..Will retry 2026-01-20 16:07:28,796 - DEBUG - Response for deleting network () 2026-01-20 16:07:28,797 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9 2026-01-20 16:07:28,801 - DEBUG - Response Code: 404 2026-01-20 16:07:28,802 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:07:28,806 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549 2026-01-20 16:07:28,858 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:07:28,925 - INFO - Validated that VN ctest-vn-55044633 is not found in API Server 2026-01-20 16:07:28,936 - DEBUG - VN ctest-vn-55044633 is not present in Agent 10.0.0.249 2026-01-20 16:07:28,936 - INFO - Validated that VN ctest-vn-55044633 is not in any agent 2026-01-20 16:07:28,951 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55044633 info 2026-01-20 16:07:28,951 - INFO - Deleting VN ctest-vn-86175116 2026-01-20 16:07:29,047 - DEBUG - Response for deleting network () 2026-01-20 16:07:29,047 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09 2026-01-20 16:07:29,053 - DEBUG - Response Code: 404 2026-01-20 16:07:29,053 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-20 16:07:29,059 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549 2026-01-20 16:07:29,110 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4 2026-01-20 16:07:29,179 - INFO - Validated that VN ctest-vn-86175116 is not found in API Server 2026-01-20 16:07:29,188 - DEBUG - VN ctest-vn-86175116 is not present in Agent 10.0.0.249 2026-01-20 16:07:29,188 - INFO - Validated that VN ctest-vn-86175116 is not in any agent 2026-01-20 16:07:29,200 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86175116 info 2026-01-20 16:07:29,459 - DEBUG - No XMPP flaps were noticed during the test 2026-01-20 16:07:29,459 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-20 16:07:29,459 - INFO - -------------------------------------------------------------------------------- 2026-01-20 16:07:30,159 - INFO - Deleted project: ctest-TestBasicPolicy-74723667, ID : 037c6e92-be57-4e72-b3d7-714b323e96e4