2025-12-19 16:21:19,134 - INFO - Domain Default found not creating 2025-12-19 16:21:19,462 - INFO - Project ctest-TestBasicPolicy-87580539 not found, creating it 2025-12-19 16:21:20,004 - INFO - Created Project:ctest-TestBasicPolicy-87580539, ID : 8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:21,961 - INFO - ================================================================================ 2025-12-19 16:21:21,962 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-19 16:21:21,962 - 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 2025-12-19 16:21:22,266 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-19 16:21:22,266 - INFO - Initial checks done. Running the testcase now 2025-12-19 16:21:22,266 - INFO - 2025-12-19 16:21:22,906 - DEBUG - Response for create_network : {'network': {'id': '57f16d93-d810-41a3-83de-0a68bf51b0b4', 'name': 'ctest-vn-77283175', 'tenant_id': '8117f0a420b84be69280f016f22bccf7', 'project_id': '8117f0a420b84be69280f016f22bccf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-vn-77283175'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:21:23,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '16e7199e-0a30-4aea-bfc0-1cf884faf88b', 'name': '', 'tenant_id': '8117f0a420b84be69280f016f22bccf7', 'network_id': '57f16d93-d810-41a3-83de-0a68bf51b0b4', 'ip_version': 4, 'cidr': '61.126.141.0/26', 'allocation_pools': [{'start': '61.126.141.2', 'end': '61.126.141.62'}], 'gateway_ip': '61.126.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.126.141.2', 'tags': [], 'project_id': '8117f0a420b84be69280f016f22bccf7'}} 2025-12-19 16:21:23,151 - INFO - Created VN ctest-vn-77283175 2025-12-19 16:21:23,204 - DEBUG - VN ctest-vn-77283175 UUID is 57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:23,572 - DEBUG - Response for create_network : {'network': {'id': '37674f07-5899-4b98-9965-5e249535412d', 'name': 'ctest-vn-85236325', 'tenant_id': '8117f0a420b84be69280f016f22bccf7', 'project_id': '8117f0a420b84be69280f016f22bccf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-vn-85236325'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:21:23,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e56102ba-ec89-47da-9263-326358b9e40b', 'name': '', 'tenant_id': '8117f0a420b84be69280f016f22bccf7', 'network_id': '37674f07-5899-4b98-9965-5e249535412d', 'ip_version': 4, 'cidr': '12.135.28.0/26', 'allocation_pools': [{'start': '12.135.28.2', 'end': '12.135.28.62'}], 'gateway_ip': '12.135.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.135.28.2', 'tags': [], 'project_id': '8117f0a420b84be69280f016f22bccf7'}} 2025-12-19 16:21:23,762 - INFO - Created VN ctest-vn-85236325 2025-12-19 16:21:23,819 - DEBUG - VN ctest-vn-85236325 UUID is 37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:23,948 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175, 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-87580539:ctest-vn-85236325, 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] 2025-12-19 16:21:24,268 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57f16d93-d810-41a3-83de-0a68bf51b0b4', 'name': 'ctest-vn-77283175', 'tenant_id': '8117f0a420b84be69280f016f22bccf7', 'project_id': '8117f0a420b84be69280f016f22bccf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16e7199e-0a30-4aea-bfc0-1cf884faf88b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-vn-77283175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-policy-allow-all-04917166']], 'subnet_ipam': [{'subnet_cidr': '61.126.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:21:24,527 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37674f07-5899-4b98-9965-5e249535412d', 'name': 'ctest-vn-85236325', 'tenant_id': '8117f0a420b84be69280f016f22bccf7', 'project_id': '8117f0a420b84be69280f016f22bccf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e56102ba-ec89-47da-9263-326358b9e40b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-vn-85236325'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-policy-allow-all-04917166']], 'subnet_ipam': [{'subnet_cidr': '12.135.28.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:21:24,703 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:25,020 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:25,056 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:21:25,073 - DEBUG - Requesting: http://10.0.0.33:8082/project/8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:25,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:25,173 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:25,185 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7984873b-9179-4394-b79b-6b95b95237e0 2025-12-19 16:21:25,194 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7984873b-9179-4394-b79b-6b95b95237e0 2025-12-19 16:21:25,202 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b810fb76-bb57-4417-aee8-8f360a74287f 2025-12-19 16:21:25,211 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-19 16:21:25,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:25,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7984873b-9179-4394-b79b-6b95b95237e0 2025-12-19 16:21:25,238 - INFO - Verified VN network id 11 for VN 57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:25,238 - INFO - Verifications in API Server for VN ctest-vn-77283175 passed 2025-12-19 16:21:25,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:25,249 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7984873b-9179-4394-b79b-6b95b95237e0 2025-12-19 16:21:25,256 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7984873b-9179-4394-b79b-6b95b95237e0 2025-12-19 16:21:25,265 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b810fb76-bb57-4417-aee8-8f360a74287f 2025-12-19 16:21:25,279 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87580539', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6336966632439562659', 'uuid-lslong': '9502043708801003700'}, 'enable': 'true', 'created': '2025-12-19T16:21:22', 'last-modified': '2025-12-19T16:21:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038841'} 2025-12-19 16:21:25,285 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-19 16:21:25,286 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77283175 passed 2025-12-19 16:21:25,286 - DEBUG - ====Verifying policy data for ctest-vn-77283175 in API_Server ====== 2025-12-19 16:21:25,286 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:25,291 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:21:25,304 - DEBUG - Requesting: http://10.0.0.33:8082/project/8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:25,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57f16d93-d810-41a3-83de-0a68bf51b0b4 2025-12-19 16:21:25,385 - DEBUG - ==>Verifying data for policy with id: c900d079-5946-42cb-b845-fc9e7d45841f, fqn: ['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-policy-allow-all-04917166'] 2025-12-19 16:21:25,385 - INFO - VN ctest-vn-77283175 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-19 16:21:25,385 - DEBUG - Verifying the vn in opserver 2025-12-19 16:21:25,386 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175 virtual network link through opserver 10.0.0.33 2025-12-19 16:21:25,386 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-19 16:21:25,682 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-19 16:21:25,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175?flat'} 2025-12-19 16:21:25,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175 is found in opserver 2025-12-19 16:21:25,782 - DEBUG - Do not have enough data to verify VN in agent 2025-12-19 16:21:25,791 - DEBUG - VRF ids for VN ctest-vn-77283175: {} 2025-12-19 16:21:25,791 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:25,804 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:21:25,825 - DEBUG - Requesting: http://10.0.0.33:8082/project/8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:25,926 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:25,942 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:25,958 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a1ed40e-57fd-42a6-8833-e985d9cd5ae8 2025-12-19 16:21:25,968 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a1ed40e-57fd-42a6-8833-e985d9cd5ae8 2025-12-19 16:21:25,978 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1a8a12f7-0ddf-4e00-b4b9-fd532a7ba8ee 2025-12-19 16:21:25,991 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-19 16:21:25,991 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:26,002 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a1ed40e-57fd-42a6-8833-e985d9cd5ae8 2025-12-19 16:21:26,022 - INFO - Verified VN network id 12 for VN 37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:26,022 - INFO - Verifications in API Server for VN ctest-vn-85236325 passed 2025-12-19 16:21:26,022 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:26,034 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a1ed40e-57fd-42a6-8833-e985d9cd5ae8 2025-12-19 16:21:26,041 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a1ed40e-57fd-42a6-8833-e985d9cd5ae8 2025-12-19 16:21:26,049 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1a8a12f7-0ddf-4e00-b4b9-fd532a7ba8ee 2025-12-19 16:21:26,064 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-85236325', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87580539', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3992246487657040792', 'uuid-lslong': '11053344371665879341'}, 'enable': 'true', 'created': '2025-12-19T16:21:23', 'last-modified': '2025-12-19T16:21:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.550482'} 2025-12-19 16:21:26,072 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-19 16:21:26,073 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85236325 passed 2025-12-19 16:21:26,073 - DEBUG - ====Verifying policy data for ctest-vn-85236325 in API_Server ====== 2025-12-19 16:21:26,073 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:26,084 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:21:26,098 - DEBUG - Requesting: http://10.0.0.33:8082/project/8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:26,181 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37674f07-5899-4b98-9965-5e249535412d 2025-12-19 16:21:26,197 - DEBUG - ==>Verifying data for policy with id: c900d079-5946-42cb-b845-fc9e7d45841f, fqn: ['default-domain', 'ctest-TestBasicPolicy-87580539', 'ctest-policy-allow-all-04917166'] 2025-12-19 16:21:26,197 - INFO - VN ctest-vn-85236325 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-19 16:21:26,197 - DEBUG - Verifying the vn in opserver 2025-12-19 16:21:26,197 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-85236325 virtual network link through opserver 10.0.0.33 2025-12-19 16:21:26,197 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-19 16:21:26,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-85236325', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-85236325?flat'} 2025-12-19 16:21:26,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-85236325 is found in opserver 2025-12-19 16:21:26,229 - DEBUG - Do not have enough data to verify VN in agent 2025-12-19 16:21:26,236 - DEBUG - VRF ids for VN ctest-vn-85236325: {} 2025-12-19 16:21:26,307 - DEBUG - Services list from nova: [, , ] 2025-12-19 16:21:27,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4910-1) 2025-12-19 16:21:29,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4910-1) 2025-12-19 16:21:29,105 - INFO - Waiting for VM ctest-TestBasicPolicy-87580539-80071305 to be up.. 2025-12-19 16:21:29,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 16:21:34,332 - DEBUG - VM is in ACTIVE state now 2025-12-19 16:21:34,332 - INFO - VM name : ctest-TestBasicPolicy-87580539-80071305 2025-12-19 16:21:34,440 - DEBUG - VM ctest-TestBasicPolicy-87580539-80071305 ID is 66fc5094-e061-4cd2-a91d-d559d5f6417d 2025-12-19 16:21:34,468 - DEBUG - VM ctest-TestBasicPolicy-87580539-80071305 launched on Node cn-jenkins-deploy-platform-ansible-os-4910-1 2025-12-19 16:21:34,563 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/66fc5094-e061-4cd2-a91d-d559d5f6417d 2025-12-19 16:21:34,578 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ef0db42e-73ea-4573-a27c-1dfde698a542 2025-12-19 16:21:37,881 - 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 1023ms') 2025-12-19 16:21:37,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87580539-80071305 failed! 2025-12-19 16:21:37,948 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87580539:ctest-vn-77283175 is 61.126.141.1 and allocation pool is NOT set 2025-12-19 16:21:40,028 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.214/6.084/10.954/4.870 ms') 2025-12-19 16:21:40,029 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87580539-80071305 passed 2025-12-19 16:21:40,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:21:40,209 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87580539-80071305, IP 61.126.141.3, Port 22 2025-12-19 16:21:40,279 - 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': ''} 2025-12-19 16:21:40,403 - DEBUG - VM ctest-TestBasicPolicy-87580539-80071305 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-19 16:21:45,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:21:45,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87580539-80071305, IP 61.126.141.3, Port 22 2025-12-19 16:21:45,594 - DEBUG - VM ctest-TestBasicPolicy-87580539-80071305 is ready for SSH connections 2025-12-19 16:21:45,594 - INFO - Waiting for VM ctest-TestBasicPolicy-87580539-87347949 to be up.. 2025-12-19 16:21:45,703 - DEBUG - VM is in ACTIVE state now 2025-12-19 16:21:45,703 - INFO - VM name : ctest-TestBasicPolicy-87580539-87347949 2025-12-19 16:21:45,802 - DEBUG - VM ctest-TestBasicPolicy-87580539-87347949 ID is 8cef71b4-4a94-43d1-a08a-1707c100b323 2025-12-19 16:21:45,802 - DEBUG - VM ctest-TestBasicPolicy-87580539-87347949 launched on Node cn-jenkins-deploy-platform-ansible-os-4910-1 2025-12-19 16:21:45,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8cef71b4-4a94-43d1-a08a-1707c100b323 2025-12-19 16:21:45,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1f87897c-0186-4ab1-98bc-dd7c0958993c 2025-12-19 16:21:47,213 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 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.731/2.256/3.782/1.525 ms') 2025-12-19 16:21:47,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87580539-87347949 passed 2025-12-19 16:21:47,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:21:47,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87580539-87347949, IP 12.135.28.3, Port 22 2025-12-19 16:21:47,569 - DEBUG - VM ctest-TestBasicPolicy-87580539-87347949 is ready for SSH connections 2025-12-19 16:21:47,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:21:47,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.135.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-19 16:21:47,570 - DEBUG - ping -s 56 -c 3 -W 1 12.135.28.3 2025-12-19 16:21:52,157 - DEBUG - PING 12.135.28.3 (12.135.28.3): 56 data bytes 64 bytes from 12.135.28.3: seq=0 ttl=63 time=3.524 ms 64 bytes from 12.135.28.3: seq=1 ttl=63 time=1.775 ms 64 bytes from 12.135.28.3: seq=2 ttl=63 time=2.231 ms --- 12.135.28.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.775/2.510/3.524 ms 2025-12-19 16:21:52,157 - INFO - Ping to IP 12.135.28.3 from VM ctest-TestBasicPolicy-87580539-80071305 passed 2025-12-19 16:21:52,395 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c900d079-5946-42cb-b845-fc9e7d45841f", "href": "http://10.0.0.33:8082/network-policy/c900d079-5946-42cb-b845-fc9e7d45841f"}} 2025-12-19 16:21:52,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:21:52,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.135.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-19 16:21:52,396 - DEBUG - ping -s 56 -c 3 -W 1 12.135.28.3 2025-12-19 16:21:55,692 - DEBUG - PING 12.135.28.3 (12.135.28.3): 56 data bytes --- 12.135.28.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 16:21:55,692 - WARNING - Ping to IP 12.135.28.3 from VM ctest-TestBasicPolicy-87580539-80071305 failed 2025-12-19 16:21:55,693 - INFO - Deleting VM ctest-TestBasicPolicy-87580539-87347949 2025-12-19 16:21:55,848 - INFO - Deleting VM ctest-TestBasicPolicy-87580539-80071305 2025-12-19 16:21:56,365 - INFO - Deleted policy ctest-policy-allow-all-04917166 2025-12-19 16:21:56,365 - INFO - Deleting VN ctest-vn-85236325 2025-12-19 16:21:56,400 - DEBUG - VN 37674f07-5899-4b98-9965-5e249535412d still in use: Unable to complete operation on network 37674f07-5899-4b98-9965-5e249535412d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22188391-a6b0-4777-9fee-e8b8831fbc44'] 2025-12-19 16:21:56,400 - WARNING - Deleting VN ctest-vn-85236325 failed..Will retry 2025-12-19 16:21:58,550 - DEBUG - Response for deleting network () 2025-12-19 16:21:58,550 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a1ed40e-57fd-42a6-8833-e985d9cd5ae8 2025-12-19 16:21:58,556 - DEBUG - Response Code: 404 2025-12-19 16:21:58,556 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:58,566 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:21:58,632 - DEBUG - Requesting: http://10.0.0.33:8082/project/8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:58,724 - INFO - Validated that VN ctest-vn-85236325 is not found in API Server 2025-12-19 16:21:58,737 - DEBUG - VN ctest-vn-85236325 is not present in Agent 10.0.0.33 2025-12-19 16:21:58,737 - INFO - Validated that VN ctest-vn-85236325 is not in any agent 2025-12-19 16:21:58,768 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85236325 info 2025-12-19 16:21:58,768 - INFO - Deleting VN ctest-vn-77283175 2025-12-19 16:21:58,927 - DEBUG - Response for deleting network () 2025-12-19 16:21:58,928 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7984873b-9179-4394-b79b-6b95b95237e0 2025-12-19 16:21:58,934 - DEBUG - Response Code: 404 2025-12-19 16:21:58,934 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:21:58,940 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:21:58,993 - DEBUG - Requesting: http://10.0.0.33:8082/project/8117f0a4-20b8-4be6-9280-f016f22bccf7 2025-12-19 16:21:59,080 - INFO - Validated that VN ctest-vn-77283175 is not found in API Server 2025-12-19 16:21:59,092 - DEBUG - VN ctest-vn-77283175 is not present in Agent 10.0.0.33 2025-12-19 16:21:59,092 - INFO - Validated that VN ctest-vn-77283175 is not in any agent 2025-12-19 16:21:59,113 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77283175 info 2025-12-19 16:21:59,437 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 16:21:59,437 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2025-12-19 16:21:59,438 - INFO - -------------------------------------------------------------------------------- 2025-12-19 16:22:00,331 - INFO - Deleted project: ctest-TestBasicPolicy-87580539, ID : 8117f0a4-20b8-4be6-9280-f016f22bccf7