2025-10-30 21:29:11,664 - INFO - Domain Default found not creating 2025-10-30 21:29:11,961 - INFO - Project ctest-TestBasicPolicy-29810524 not found, creating it 2025-10-30 21:29:12,488 - INFO - Created Project:ctest-TestBasicPolicy-29810524, ID : 50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:14,317 - INFO - ================================================================================ 2025-10-30 21:29:14,317 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 21:29:14,318 - 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-10-30 21:29:14,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with 2025-10-30 21:29:14,640 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:29:14,640 - INFO - 2025-10-30 21:29:15,385 - DEBUG - Response for create_network : {'network': {'id': '628b09c7-0cc2-4763-a831-72d5bfe9bf97', 'name': 'ctest-vn-62544587', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-62544587'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:29:15,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '77083be4-1827-4124-86c3-60cbc67285ea', 'name': '', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'network_id': '628b09c7-0cc2-4763-a831-72d5bfe9bf97', 'ip_version': 4, 'cidr': '179.80.229.128/26', 'allocation_pools': [{'start': '179.80.229.130', 'end': '179.80.229.190'}], 'gateway_ip': '179.80.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.80.229.130', 'tags': [], 'project_id': '5030907288654e4abb40f7d543074cbc'}} 2025-10-30 21:29:15,690 - INFO - Created VN ctest-vn-62544587 2025-10-30 21:29:15,753 - DEBUG - VN ctest-vn-62544587 UUID is 628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:16,192 - DEBUG - Response for create_network : {'network': {'id': 'f1f0eec2-56ca-4625-aa29-3aa25596698d', 'name': 'ctest-vn-21235419', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-21235419'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:29:16,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e926a08-d085-438c-89f9-cbb0264b5661', 'name': '', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'network_id': 'f1f0eec2-56ca-4625-aa29-3aa25596698d', 'ip_version': 4, 'cidr': '99.52.220.128/26', 'allocation_pools': [{'start': '99.52.220.130', 'end': '99.52.220.190'}], 'gateway_ip': '99.52.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.52.220.130', 'tags': [], 'project_id': '5030907288654e4abb40f7d543074cbc'}} 2025-10-30 21:29:16,454 - INFO - Created VN ctest-vn-21235419 2025-10-30 21:29:16,521 - DEBUG - VN ctest-vn-21235419 UUID is f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:16,668 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587, 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-29810524:ctest-vn-21235419, 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-10-30 21:29:17,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '628b09c7-0cc2-4763-a831-72d5bfe9bf97', 'name': 'ctest-vn-62544587', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77083be4-1827-4124-86c3-60cbc67285ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-62544587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453']], 'subnet_ipam': [{'subnet_cidr': '179.80.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:29:17,512 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1f0eec2-56ca-4625-aa29-3aa25596698d', 'name': 'ctest-vn-21235419', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e926a08-d085-438c-89f9-cbb0264b5661'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-21235419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453']], 'subnet_ipam': [{'subnet_cidr': '99.52.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:29:17,689 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:18,030 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:18,067 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9 2025-10-30 21:29:18,081 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:18,188 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:18,200 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:18,214 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41 2025-10-30 21:29:18,226 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41 2025-10-30 21:29:18,233 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/884afb21-cbc0-4cfc-afd7-b1e5649bba47 2025-10-30 21:29:18,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:29:18,241 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:18,252 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41 2025-10-30 21:29:18,266 - INFO - Verified VN network id 11 for VN 628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:18,266 - INFO - Verifications in API Server for VN ctest-vn-62544587 passed 2025-10-30 21:29:18,266 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:18,276 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41 2025-10-30 21:29:18,285 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41 2025-10-30 21:29:18,292 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/884afb21-cbc0-4cfc-afd7-b1e5649bba47 2025-10-30 21:29:18,305 - DEBUG - Control-node 10.0.0.153 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29810524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7100779987996919651', 'uuid-lslong': '12119594334604083095'}, 'enable': 'true', 'created': '2025-10-30T21:29:15', 'last-modified': '2025-10-30T21:29:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.242602'} 2025-10-30 21:29:18,313 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:29:18,313 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62544587 passed 2025-10-30 21:29:18,313 - DEBUG - ====Verifying policy data for ctest-vn-62544587 in API_Server ====== 2025-10-30 21:29:18,313 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:18,322 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9 2025-10-30 21:29:18,340 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:18,453 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97 2025-10-30 21:29:18,475 - DEBUG - ==>Verifying data for policy with id: bd76d527-62d1-4558-bb5b-8cd14cbc4516, fqn: ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453'] 2025-10-30 21:29:18,475 - INFO - VN ctest-vn-62544587 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:29:18,475 - DEBUG - Verifying the vn in opserver 2025-10-30 21:29:18,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587 virtual network link through opserver 10.0.0.153 2025-10-30 21:29:18,476 - DEBUG - Requesting: http://10.0.0.153:8081/analytics/uves/virtual-networks 2025-10-30 21:29:18,832 - DEBUG - Requesting: http://10.0.0.153:8081/analytics/uves/virtual-networks 2025-10-30 21:29:18,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587', 'href': 'http://10.0.0.153:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587?flat'} 2025-10-30 21:29:18,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587 is found in opserver 2025-10-30 21:29:18,951 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:29:18,964 - DEBUG - VRF ids for VN ctest-vn-62544587: {} 2025-10-30 21:29:18,964 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:18,977 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9 2025-10-30 21:29:19,007 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:19,129 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:19,157 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:19,177 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2 2025-10-30 21:29:19,191 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2 2025-10-30 21:29:19,204 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/b48ed6d4-eefa-4d9d-8441-9df960f1dbe8 2025-10-30 21:29:19,217 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:29:19,217 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:19,234 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2 2025-10-30 21:29:19,259 - INFO - Verified VN network id 12 for VN f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:19,260 - INFO - Verifications in API Server for VN ctest-vn-21235419 passed 2025-10-30 21:29:19,260 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:19,278 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2 2025-10-30 21:29:19,291 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2 2025-10-30 21:29:19,306 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/b48ed6d4-eefa-4d9d-8441-9df960f1dbe8 2025-10-30 21:29:19,334 - DEBUG - Control-node 10.0.0.153 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29810524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17433696675998352933', 'uuid-lslong': '12261395929387919757'}, 'enable': 'true', 'created': '2025-10-30T21:29:16', 'last-modified': '2025-10-30T21:29:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.926876'} 2025-10-30 21:29:19,350 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:29:19,351 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21235419 passed 2025-10-30 21:29:19,351 - DEBUG - ====Verifying policy data for ctest-vn-21235419 in API_Server ====== 2025-10-30 21:29:19,351 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:19,365 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9 2025-10-30 21:29:19,394 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:19,517 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d 2025-10-30 21:29:19,546 - DEBUG - ==>Verifying data for policy with id: bd76d527-62d1-4558-bb5b-8cd14cbc4516, fqn: ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453'] 2025-10-30 21:29:19,546 - INFO - VN ctest-vn-21235419 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:29:19,546 - DEBUG - Verifying the vn in opserver 2025-10-30 21:29:19,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419 virtual network link through opserver 10.0.0.153 2025-10-30 21:29:19,546 - DEBUG - Requesting: http://10.0.0.153:8081/analytics/uves/virtual-networks 2025-10-30 21:29:19,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419', 'href': 'http://10.0.0.153:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419?flat'} 2025-10-30 21:29:19,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419 is found in opserver 2025-10-30 21:29:19,600 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:29:19,612 - DEBUG - VRF ids for VN ctest-vn-21235419: {} 2025-10-30 21:29:19,725 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:29:21,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:29:22,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:29:22,538 - INFO - Waiting for VM ctest-TestBasicPolicy-29810524-79294023 to be up.. 2025-10-30 21:29:22,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:29:27,795 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:29:27,796 - INFO - VM name : ctest-TestBasicPolicy-29810524-79294023 2025-10-30 21:29:27,922 - DEBUG - VM ctest-TestBasicPolicy-29810524-79294023 ID is a4f5691a-b9ec-4a04-94d2-541593dffd47 2025-10-30 21:29:27,955 - DEBUG - VM ctest-TestBasicPolicy-29810524-79294023 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:29:28,072 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/a4f5691a-b9ec-4a04-94d2-541593dffd47 2025-10-30 21:29:28,084 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/88e371d8-5d4d-4307-b8d5-424c09a779f1 2025-10-30 21:29:31,364 - 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 1000ms') 2025-10-30 21:29:31,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29810524-79294023 failed! 2025-10-30 21:29:31,437 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587 is 179.80.229.129 and allocation pool is NOT set 2025-10-30 21:29:33,521 - 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=6.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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 = 3.465/4.889/6.313/1.424 ms') 2025-10-30 21:29:33,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29810524-79294023 passed 2025-10-30 21:29:33,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:29:33,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29810524-79294023, IP 179.80.229.131, Port 22 2025-10-30 21:29:33,781 - 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-10-30 21:29:33,919 - DEBUG - VM ctest-TestBasicPolicy-29810524-79294023 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 21:29:38,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:29:38,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29810524-79294023, IP 179.80.229.131, Port 22 2025-10-30 21:29:39,127 - DEBUG - VM ctest-TestBasicPolicy-29810524-79294023 is ready for SSH connections 2025-10-30 21:29:39,127 - INFO - Waiting for VM ctest-TestBasicPolicy-29810524-81869108 to be up.. 2025-10-30 21:29:39,316 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:29:39,316 - INFO - VM name : ctest-TestBasicPolicy-29810524-81869108 2025-10-30 21:29:39,482 - DEBUG - VM ctest-TestBasicPolicy-29810524-81869108 ID is 016443f9-2b66-4c2a-9d47-f58e3ce5084f 2025-10-30 21:29:39,482 - DEBUG - VM ctest-TestBasicPolicy-29810524-81869108 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:29:39,670 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/016443f9-2b66-4c2a-9d47-f58e3ce5084f 2025-10-30 21:29:39,687 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/4f0508a3-7b2e-4a6a-8b03-556f7d0f341d 2025-10-30 21:29:41,023 - 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=9.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.672 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.672/5.069/9.467/4.397 ms') 2025-10-30 21:29:41,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29810524-81869108 passed 2025-10-30 21:29:41,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:29:41,189 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29810524-81869108, IP 99.52.220.131, Port 22 2025-10-30 21:29:41,384 - DEBUG - VM ctest-TestBasicPolicy-29810524-81869108 is ready for SSH connections 2025-10-30 21:29:41,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:29:41,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.52.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:29:41,385 - DEBUG - ping -s 56 -c 3 -W 1 99.52.220.131 2025-10-30 21:29:45,971 - DEBUG - PING 99.52.220.131 (99.52.220.131): 56 data bytes 64 bytes from 99.52.220.131: seq=0 ttl=63 time=5.771 ms 64 bytes from 99.52.220.131: seq=1 ttl=63 time=1.935 ms 64 bytes from 99.52.220.131: seq=2 ttl=63 time=1.482 ms --- 99.52.220.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.482/3.062/5.771 ms 2025-10-30 21:29:45,971 - INFO - Ping to IP 99.52.220.131 from VM ctest-TestBasicPolicy-29810524-79294023 passed 2025-10-30 21:29:46,196 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bd76d527-62d1-4558-bb5b-8cd14cbc4516", "href": "http://10.0.0.153:8082/network-policy/bd76d527-62d1-4558-bb5b-8cd14cbc4516"}} 2025-10-30 21:29:46,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:29:46,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.52.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:29:46,197 - DEBUG - ping -s 56 -c 3 -W 1 99.52.220.131 2025-10-30 21:29:49,576 - DEBUG - PING 99.52.220.131 (99.52.220.131): 56 data bytes 64 bytes from 99.52.220.131: seq=0 ttl=63 time=1.985 ms --- 99.52.220.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.985/1.985/1.985 ms 2025-10-30 21:29:49,577 - WARNING - Ping to IP 99.52.220.131 from VM ctest-TestBasicPolicy-29810524-79294023 failed 2025-10-30 21:29:49,577 - INFO - Deleting VM ctest-TestBasicPolicy-29810524-81869108 2025-10-30 21:29:49,775 - INFO - Deleting VM ctest-TestBasicPolicy-29810524-79294023 2025-10-30 21:29:50,358 - INFO - Deleted policy ctest-policy-allow-all-51494453 2025-10-30 21:29:50,358 - INFO - Deleting VN ctest-vn-21235419 2025-10-30 21:29:50,399 - DEBUG - VN f1f0eec2-56ca-4625-aa29-3aa25596698d still in use: Unable to complete operation on network f1f0eec2-56ca-4625-aa29-3aa25596698d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b228109-51b4-414a-a4d9-a42eaf26888f'] 2025-10-30 21:29:50,399 - WARNING - Deleting VN ctest-vn-21235419 failed..Will retry 2025-10-30 21:29:52,619 - DEBUG - Response for deleting network () 2025-10-30 21:29:52,620 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2 2025-10-30 21:29:52,626 - DEBUG - Response Code: 404 2025-10-30 21:29:52,627 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:52,635 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9 2025-10-30 21:29:52,693 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:52,807 - INFO - Validated that VN ctest-vn-21235419 is not found in API Server 2025-10-30 21:29:52,824 - DEBUG - VN ctest-vn-21235419 is not present in Agent 10.0.0.153 2025-10-30 21:29:52,824 - INFO - Validated that VN ctest-vn-21235419 is not in any agent 2025-10-30 21:29:52,847 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21235419 info 2025-10-30 21:29:52,847 - INFO - Deleting VN ctest-vn-62544587 2025-10-30 21:29:53,021 - DEBUG - Response for deleting network () 2025-10-30 21:29:53,021 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41 2025-10-30 21:29:53,029 - DEBUG - Response Code: 404 2025-10-30 21:29:53,029 - DEBUG - Requesting: http://10.0.0.153:8082/domains 2025-10-30 21:29:53,036 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9 2025-10-30 21:29:53,091 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc 2025-10-30 21:29:53,186 - INFO - Validated that VN ctest-vn-62544587 is not found in API Server 2025-10-30 21:29:53,202 - DEBUG - VN ctest-vn-62544587 is not present in Agent 10.0.0.153 2025-10-30 21:29:53,202 - INFO - Validated that VN ctest-vn-62544587 is not in any agent 2025-10-30 21:29:53,237 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62544587 info 2025-10-30 21:29:53,569 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:29:53,569 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-10-30 21:29:53,569 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:29:54,491 - INFO - Deleted project: ctest-TestBasicPolicy-29810524, ID : 50309072-8865-4e4a-bb40-f7d543074cbc