2026-03-19 18:05:34,276 - INFO - Domain Default found not creating 2026-03-19 18:05:34,616 - INFO - Project ctest-TestBasicPolicy-92587198 not found, creating it 2026-03-19 18:05:35,160 - INFO - Created Project:ctest-TestBasicPolicy-92587198, ID : 744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:05:37,095 - INFO - ================================================================================ 2026-03-19 18:05:37,095 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 18:05:37,095 - 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-03-19 18:05:37,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-03-19 18:05:37,387 - INFO - Initial checks done. Running the testcase now 2026-03-19 18:05:37,387 - INFO - 2026-03-19 18:05:38,128 - DEBUG - Response for create_network : {'network': {'id': 'e6d6056c-e683-4282-be62-0e81bf9a7de3', 'name': 'ctest-vn-95454392', 'tenant_id': '744b22b8ec86449dab914885aa46eb97', 'project_id': '744b22b8ec86449dab914885aa46eb97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-vn-95454392'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 18:05:38,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa845da9-ffb1-4dad-9374-32ca50abc9de', 'name': '', 'tenant_id': '744b22b8ec86449dab914885aa46eb97', 'network_id': 'e6d6056c-e683-4282-be62-0e81bf9a7de3', 'ip_version': 4, 'cidr': '62.196.127.192/26', 'allocation_pools': [{'start': '62.196.127.194', 'end': '62.196.127.254'}], 'gateway_ip': '62.196.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.196.127.194', 'tags': [], 'project_id': '744b22b8ec86449dab914885aa46eb97'}} 2026-03-19 18:05:38,411 - INFO - Created VN ctest-vn-95454392 2026-03-19 18:05:38,479 - DEBUG - VN ctest-vn-95454392 UUID is e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:38,935 - DEBUG - Response for create_network : {'network': {'id': '96e31d9f-980e-4ff5-8c5c-54da8b3add1b', 'name': 'ctest-vn-94531514', 'tenant_id': '744b22b8ec86449dab914885aa46eb97', 'project_id': '744b22b8ec86449dab914885aa46eb97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-vn-94531514'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 18:05:39,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '9dd122e6-fec5-4b2f-8c7f-79aca8ab6ee5', 'name': '', 'tenant_id': '744b22b8ec86449dab914885aa46eb97', 'network_id': '96e31d9f-980e-4ff5-8c5c-54da8b3add1b', 'ip_version': 4, 'cidr': '47.193.185.0/26', 'allocation_pools': [{'start': '47.193.185.2', 'end': '47.193.185.62'}], 'gateway_ip': '47.193.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.193.185.2', 'tags': [], 'project_id': '744b22b8ec86449dab914885aa46eb97'}} 2026-03-19 18:05:39,223 - INFO - Created VN ctest-vn-94531514 2026-03-19 18:05:39,278 - DEBUG - VN ctest-vn-94531514 UUID is 96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:39,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392, 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-92587198:ctest-vn-94531514, 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-03-19 18:05:39,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6d6056c-e683-4282-be62-0e81bf9a7de3', 'name': 'ctest-vn-95454392', 'tenant_id': '744b22b8ec86449dab914885aa46eb97', 'project_id': '744b22b8ec86449dab914885aa46eb97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa845da9-ffb1-4dad-9374-32ca50abc9de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-vn-95454392'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-policy-allow-all-81421559']], 'subnet_ipam': [{'subnet_cidr': '62.196.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 18:05:40,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96e31d9f-980e-4ff5-8c5c-54da8b3add1b', 'name': 'ctest-vn-94531514', 'tenant_id': '744b22b8ec86449dab914885aa46eb97', 'project_id': '744b22b8ec86449dab914885aa46eb97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9dd122e6-fec5-4b2f-8c7f-79aca8ab6ee5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-vn-94531514'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-policy-allow-all-81421559']], 'subnet_ipam': [{'subnet_cidr': '47.193.185.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 18:05:40,330 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:05:40,639 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:05:40,721 - DEBUG - Requesting: http://10.0.0.33:8082/domain/30e7d999-6d49-446f-b83a-8fc6ac7cecf0 2026-03-19 18:05:40,755 - DEBUG - Requesting: http://10.0.0.33:8082/project/744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:05:40,881 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:40,902 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:40,928 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b8ab8cc9-8bda-42cf-ad17-0ec2259e086c 2026-03-19 18:05:40,947 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b8ab8cc9-8bda-42cf-ad17-0ec2259e086c 2026-03-19 18:05:40,964 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9fbead0d-b98c-4945-a10c-b2d51e489435 2026-03-19 18:05:40,982 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 18:05:40,982 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:41,008 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b8ab8cc9-8bda-42cf-ad17-0ec2259e086c 2026-03-19 18:05:41,048 - INFO - Verified VN network id 11 for VN e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:41,048 - INFO - Verifications in API Server for VN ctest-vn-95454392 passed 2026-03-19 18:05:41,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:41,072 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b8ab8cc9-8bda-42cf-ad17-0ec2259e086c 2026-03-19 18:05:41,089 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b8ab8cc9-8bda-42cf-ad17-0ec2259e086c 2026-03-19 18:05:41,105 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9fbead0d-b98c-4945-a10c-b2d51e489435 2026-03-19 18:05:41,136 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92587198', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16633488239021474434', 'uuid-lslong': '13718543365352095203'}, 'enable': 'true', 'created': '2026-03-19T18:05:38', 'last-modified': '2026-03-19T18:05:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361353'} 2026-03-19 18:05:41,151 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 18:05:41,152 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95454392 passed 2026-03-19 18:05:41,152 - DEBUG - ====Verifying policy data for ctest-vn-95454392 in API_Server ====== 2026-03-19 18:05:41,152 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:05:41,165 - DEBUG - Requesting: http://10.0.0.33:8082/domain/30e7d999-6d49-446f-b83a-8fc6ac7cecf0 2026-03-19 18:05:41,185 - DEBUG - Requesting: http://10.0.0.33:8082/project/744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:05:41,301 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6d6056c-e683-4282-be62-0e81bf9a7de3 2026-03-19 18:05:41,326 - DEBUG - ==>Verifying data for policy with id: 440e35e2-5598-4c75-87df-844317411387, fqn: ['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-policy-allow-all-81421559'] 2026-03-19 18:05:41,326 - INFO - VN ctest-vn-95454392 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 18:05:41,327 - DEBUG - Verifying the vn in opserver 2026-03-19 18:05:41,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392 virtual network link through opserver 10.0.0.33 2026-03-19 18:05:41,327 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-19 18:05:41,680 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-19 18:05:41,780 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392?flat'} 2026-03-19 18:05:41,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392 is found in opserver 2026-03-19 18:05:41,804 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 18:05:41,815 - DEBUG - VRF ids for VN ctest-vn-95454392: {} 2026-03-19 18:05:41,815 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:05:41,827 - DEBUG - Requesting: http://10.0.0.33:8082/domain/30e7d999-6d49-446f-b83a-8fc6ac7cecf0 2026-03-19 18:05:41,860 - DEBUG - Requesting: http://10.0.0.33:8082/project/744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:05:41,985 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:42,014 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:42,039 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff12a733-10e3-42c3-97ae-049e5e942b26 2026-03-19 18:05:42,058 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff12a733-10e3-42c3-97ae-049e5e942b26 2026-03-19 18:05:42,079 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/37c104eb-1d5c-457e-897f-1b341627a541 2026-03-19 18:05:42,093 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 18:05:42,093 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:42,111 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff12a733-10e3-42c3-97ae-049e5e942b26 2026-03-19 18:05:42,140 - INFO - Verified VN network id 12 for VN 96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:42,140 - INFO - Verifications in API Server for VN ctest-vn-94531514 passed 2026-03-19 18:05:42,140 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:42,156 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff12a733-10e3-42c3-97ae-049e5e942b26 2026-03-19 18:05:42,172 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff12a733-10e3-42c3-97ae-049e5e942b26 2026-03-19 18:05:42,184 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/37c104eb-1d5c-457e-897f-1b341627a541 2026-03-19 18:05:42,211 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-94531514', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92587198', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10872566496690589685', 'uuid-lslong': '10114052160782785819'}, 'enable': 'true', 'created': '2026-03-19T18:05:38', 'last-modified': '2026-03-19T18:05:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.116740'} 2026-03-19 18:05:42,221 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 18:05:42,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94531514 passed 2026-03-19 18:05:42,221 - DEBUG - ====Verifying policy data for ctest-vn-94531514 in API_Server ====== 2026-03-19 18:05:42,221 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:05:42,229 - DEBUG - Requesting: http://10.0.0.33:8082/domain/30e7d999-6d49-446f-b83a-8fc6ac7cecf0 2026-03-19 18:05:42,245 - DEBUG - Requesting: http://10.0.0.33:8082/project/744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:05:42,339 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/96e31d9f-980e-4ff5-8c5c-54da8b3add1b 2026-03-19 18:05:42,355 - DEBUG - ==>Verifying data for policy with id: 440e35e2-5598-4c75-87df-844317411387, fqn: ['default-domain', 'ctest-TestBasicPolicy-92587198', 'ctest-policy-allow-all-81421559'] 2026-03-19 18:05:42,356 - INFO - VN ctest-vn-94531514 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 18:05:42,356 - DEBUG - Verifying the vn in opserver 2026-03-19 18:05:42,356 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-94531514 virtual network link through opserver 10.0.0.33 2026-03-19 18:05:42,356 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-19 18:05:42,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-94531514', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-94531514?flat'} 2026-03-19 18:05:42,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-94531514 is found in opserver 2026-03-19 18:05:42,390 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 18:05:42,398 - DEBUG - VRF ids for VN ctest-vn-94531514: {} 2026-03-19 18:05:42,514 - DEBUG - Services list from nova: [, , ] 2026-03-19 18:05:44,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5502-1) 2026-03-19 18:05:45,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5502-1) 2026-03-19 18:05:45,673 - INFO - Waiting for VM ctest-TestBasicPolicy-92587198-80462525 to be up.. 2026-03-19 18:05:45,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 18:05:50,939 - DEBUG - VM is in ACTIVE state now 2026-03-19 18:05:50,939 - INFO - VM name : ctest-TestBasicPolicy-92587198-80462525 2026-03-19 18:05:51,081 - DEBUG - VM ctest-TestBasicPolicy-92587198-80462525 ID is e1abfdf4-2bcb-45d7-8599-428c2873c63e 2026-03-19 18:05:51,103 - DEBUG - VM ctest-TestBasicPolicy-92587198-80462525 launched on Node cn-jenkins-deploy-platform-ansible-os-5502-1 2026-03-19 18:05:51,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e1abfdf4-2bcb-45d7-8599-428c2873c63e 2026-03-19 18:05:51,243 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/39e16024-7cff-45a7-9057-02dbcd6297ee 2026-03-19 18:05:54,536 - 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 1002ms') 2026-03-19 18:05:54,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92587198-80462525 failed! 2026-03-19 18:05:54,598 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92587198:ctest-vn-95454392 is 62.196.127.193 and allocation pool is NOT set 2026-03-19 18:05:56,662 - 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=4.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.15 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.145/3.435/4.726/1.290 ms') 2026-03-19 18:05:56,663 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92587198-80462525 passed 2026-03-19 18:05:56,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 18:05:56,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92587198-80462525, IP 62.196.127.195, Port 22 2026-03-19 18:05:56,917 - 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-03-19 18:05:57,099 - DEBUG - VM ctest-TestBasicPolicy-92587198-80462525 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 18:06:02,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 18:06:02,100 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92587198-80462525, IP 62.196.127.195, Port 22 2026-03-19 18:06:02,273 - DEBUG - VM ctest-TestBasicPolicy-92587198-80462525 is ready for SSH connections 2026-03-19 18:06:02,273 - INFO - Waiting for VM ctest-TestBasicPolicy-92587198-62641390 to be up.. 2026-03-19 18:06:02,364 - DEBUG - VM is in ACTIVE state now 2026-03-19 18:06:02,365 - INFO - VM name : ctest-TestBasicPolicy-92587198-62641390 2026-03-19 18:06:02,463 - DEBUG - VM ctest-TestBasicPolicy-92587198-62641390 ID is 13de0bc3-d25c-4b5a-894d-3f1ae4e43614 2026-03-19 18:06:02,464 - DEBUG - VM ctest-TestBasicPolicy-92587198-62641390 launched on Node cn-jenkins-deploy-platform-ansible-os-5502-1 2026-03-19 18:06:02,563 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/13de0bc3-d25c-4b5a-894d-3f1ae4e43614 2026-03-19 18:06:02,574 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b77e15d9-fd5b-4aec-9bbc-4451743cfd70 2026-03-19 18:06:03,838 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/2.402/4.274/1.871 ms') 2026-03-19 18:06:03,838 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92587198-62641390 passed 2026-03-19 18:06:04,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 18:06:04,011 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92587198-62641390, IP 47.193.185.3, Port 22 2026-03-19 18:06:04,199 - DEBUG - VM ctest-TestBasicPolicy-92587198-62641390 is ready for SSH connections 2026-03-19 18:06:04,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 18:06:04,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.193.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-19 18:06:04,200 - DEBUG - ping -s 56 -c 3 -W 1 47.193.185.3 2026-03-19 18:06:08,562 - DEBUG - PING 47.193.185.3 (47.193.185.3): 56 data bytes 64 bytes from 47.193.185.3: seq=0 ttl=63 time=4.962 ms 64 bytes from 47.193.185.3: seq=1 ttl=63 time=2.288 ms 64 bytes from 47.193.185.3: seq=2 ttl=63 time=1.083 ms --- 47.193.185.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.083/2.777/4.962 ms 2026-03-19 18:06:08,563 - INFO - Ping to IP 47.193.185.3 from VM ctest-TestBasicPolicy-92587198-80462525 passed 2026-03-19 18:06:08,769 - DEBUG - Policy Update Response {"network-policy": {"uuid": "440e35e2-5598-4c75-87df-844317411387", "href": "http://10.0.0.33:8082/network-policy/440e35e2-5598-4c75-87df-844317411387"}} 2026-03-19 18:06:08,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 18:06:08,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.193.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-19 18:06:08,770 - DEBUG - ping -s 56 -c 3 -W 1 47.193.185.3 2026-03-19 18:06:12,024 - DEBUG - PING 47.193.185.3 (47.193.185.3): 56 data bytes --- 47.193.185.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 18:06:12,024 - WARNING - Ping to IP 47.193.185.3 from VM ctest-TestBasicPolicy-92587198-80462525 failed 2026-03-19 18:06:12,024 - INFO - Deleting VM ctest-TestBasicPolicy-92587198-62641390 2026-03-19 18:06:12,134 - INFO - Deleting VM ctest-TestBasicPolicy-92587198-80462525 2026-03-19 18:06:12,576 - INFO - Deleted policy ctest-policy-allow-all-81421559 2026-03-19 18:06:12,576 - INFO - Deleting VN ctest-vn-94531514 2026-03-19 18:06:12,623 - DEBUG - VN 96e31d9f-980e-4ff5-8c5c-54da8b3add1b still in use: Unable to complete operation on network 96e31d9f-980e-4ff5-8c5c-54da8b3add1b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd91d805-0461-4759-af53-7d85c6b85208'] 2026-03-19 18:06:12,623 - WARNING - Deleting VN ctest-vn-94531514 failed..Will retry 2026-03-19 18:06:14,787 - DEBUG - Response for deleting network () 2026-03-19 18:06:14,787 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff12a733-10e3-42c3-97ae-049e5e942b26 2026-03-19 18:06:14,793 - DEBUG - Response Code: 404 2026-03-19 18:06:14,793 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:06:14,800 - DEBUG - Requesting: http://10.0.0.33:8082/domain/30e7d999-6d49-446f-b83a-8fc6ac7cecf0 2026-03-19 18:06:14,864 - DEBUG - Requesting: http://10.0.0.33:8082/project/744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:06:14,966 - INFO - Validated that VN ctest-vn-94531514 is not found in API Server 2026-03-19 18:06:14,980 - DEBUG - VN ctest-vn-94531514 is not present in Agent 10.0.0.33 2026-03-19 18:06:14,980 - INFO - Validated that VN ctest-vn-94531514 is not in any agent 2026-03-19 18:06:15,005 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94531514 info 2026-03-19 18:06:15,005 - INFO - Deleting VN ctest-vn-95454392 2026-03-19 18:06:15,152 - DEBUG - Response for deleting network () 2026-03-19 18:06:15,152 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b8ab8cc9-8bda-42cf-ad17-0ec2259e086c 2026-03-19 18:06:15,159 - DEBUG - Response Code: 404 2026-03-19 18:06:15,159 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-19 18:06:15,165 - DEBUG - Requesting: http://10.0.0.33:8082/domain/30e7d999-6d49-446f-b83a-8fc6ac7cecf0 2026-03-19 18:06:15,222 - DEBUG - Requesting: http://10.0.0.33:8082/project/744b22b8-ec86-449d-ab91-4885aa46eb97 2026-03-19 18:06:15,298 - INFO - Validated that VN ctest-vn-95454392 is not found in API Server 2026-03-19 18:06:15,312 - DEBUG - VN ctest-vn-95454392 is not present in Agent 10.0.0.33 2026-03-19 18:06:15,312 - INFO - Validated that VN ctest-vn-95454392 is not in any agent 2026-03-19 18:06:15,328 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95454392 info 2026-03-19 18:06:15,602 - DEBUG - No XMPP flaps were noticed during the test 2026-03-19 18:06:15,602 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-03-19 18:06:15,602 - INFO - -------------------------------------------------------------------------------- 2026-03-19 18:06:16,531 - INFO - Deleted project: ctest-TestBasicPolicy-92587198, ID : 744b22b8-ec86-449d-ab91-4885aa46eb97