2026-03-23 15:24:56,068 - INFO - Domain Default found not creating 2026-03-23 15:24:56,272 - INFO - Project ctest-TestBasicPolicy-08259356 not found, creating it 2026-03-23 15:24:56,778 - INFO - Created Project:ctest-TestBasicPolicy-08259356, ID : 51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:24:58,469 - INFO - ================================================================================ 2026-03-23 15:24:58,469 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-23 15:24:58,469 - 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-23 15:24:58,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-03-23 15:24:58,739 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:24:58,739 - INFO - 2026-03-23 15:24:59,351 - DEBUG - Response for create_network : {'network': {'id': '969c70ce-23de-4790-a194-20028baa9274', 'name': 'ctest-vn-42555693', 'tenant_id': '51141d8b366a4022ab2b4e6492e1f600', 'project_id': '51141d8b366a4022ab2b4e6492e1f600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-vn-42555693'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:59,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '2724cbcc-0139-4873-b01e-d7519dcc0d85', 'name': '', 'tenant_id': '51141d8b366a4022ab2b4e6492e1f600', 'network_id': '969c70ce-23de-4790-a194-20028baa9274', 'ip_version': 4, 'cidr': '42.38.86.192/26', 'allocation_pools': [{'start': '42.38.86.194', 'end': '42.38.86.254'}], 'gateway_ip': '42.38.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.38.86.194', 'tags': [], 'project_id': '51141d8b366a4022ab2b4e6492e1f600'}} 2026-03-23 15:24:59,551 - INFO - Created VN ctest-vn-42555693 2026-03-23 15:24:59,605 - DEBUG - VN ctest-vn-42555693 UUID is 969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:24:59,916 - DEBUG - Response for create_network : {'network': {'id': 'ea9d86b7-c61c-4614-a4e4-1c172b28c183', 'name': 'ctest-vn-56728564', 'tenant_id': '51141d8b366a4022ab2b4e6492e1f600', 'project_id': '51141d8b366a4022ab2b4e6492e1f600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-vn-56728564'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:25:00,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf57663-9ac0-49df-9882-42ee6da4ec1c', 'name': '', 'tenant_id': '51141d8b366a4022ab2b4e6492e1f600', 'network_id': 'ea9d86b7-c61c-4614-a4e4-1c172b28c183', 'ip_version': 4, 'cidr': '121.140.128.0/26', 'allocation_pools': [{'start': '121.140.128.2', 'end': '121.140.128.62'}], 'gateway_ip': '121.140.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.140.128.2', 'tags': [], 'project_id': '51141d8b366a4022ab2b4e6492e1f600'}} 2026-03-23 15:25:00,170 - INFO - Created VN ctest-vn-56728564 2026-03-23 15:25:00,221 - DEBUG - VN ctest-vn-56728564 UUID is ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:00,350 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693, 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-08259356:ctest-vn-56728564, 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-23 15:25:00,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '969c70ce-23de-4790-a194-20028baa9274', 'name': 'ctest-vn-42555693', 'tenant_id': '51141d8b366a4022ab2b4e6492e1f600', 'project_id': '51141d8b366a4022ab2b4e6492e1f600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2724cbcc-0139-4873-b01e-d7519dcc0d85'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-vn-42555693'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-policy-allow-all-44637259']], 'subnet_ipam': [{'subnet_cidr': '42.38.86.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:25:00,926 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea9d86b7-c61c-4614-a4e4-1c172b28c183', 'name': 'ctest-vn-56728564', 'tenant_id': '51141d8b366a4022ab2b4e6492e1f600', 'project_id': '51141d8b366a4022ab2b4e6492e1f600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bf57663-9ac0-49df-9882-42ee6da4ec1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-vn-56728564'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-policy-allow-all-44637259']], 'subnet_ipam': [{'subnet_cidr': '121.140.128.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:25:01,081 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:01,397 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:01,439 - DEBUG - Requesting: http://10.0.0.129:8082/domain/f58a50db-2309-4908-a98d-de4146216055 2026-03-23 15:25:01,454 - DEBUG - Requesting: http://10.0.0.129:8082/project/51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:25:01,533 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:25:01,547 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:25:01,558 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c1ffdc97-aaeb-428f-861d-45cd1c59b775 2026-03-23 15:25:01,567 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c1ffdc97-aaeb-428f-861d-45cd1c59b775 2026-03-23 15:25:01,576 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/f6bc2c63-3a8a-428d-8847-a0f349c51271 2026-03-23 15:25:01,584 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 15:25:01,585 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:25:01,596 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c1ffdc97-aaeb-428f-861d-45cd1c59b775 2026-03-23 15:25:01,613 - INFO - Verified VN network id 12 for VN 969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:25:01,613 - INFO - Verifications in API Server for VN ctest-vn-42555693 passed 2026-03-23 15:25:01,614 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:25:01,625 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c1ffdc97-aaeb-428f-861d-45cd1c59b775 2026-03-23 15:25:01,634 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c1ffdc97-aaeb-428f-861d-45cd1c59b775 2026-03-23 15:25:01,642 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/f6bc2c63-3a8a-428d-8847-a0f349c51271 2026-03-23 15:25:01,658 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08259356', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10852673232723396496', 'uuid-lslong': '11642966131964809844'}, 'enable': 'true', 'created': '2026-03-23T15:24:59', 'last-modified': '2026-03-23T15:25:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999539'} 2026-03-23 15:25:01,667 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 15:25:01,667 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42555693 passed 2026-03-23 15:25:01,667 - DEBUG - ====Verifying policy data for ctest-vn-42555693 in API_Server ====== 2026-03-23 15:25:01,667 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:01,675 - DEBUG - Requesting: http://10.0.0.129:8082/domain/f58a50db-2309-4908-a98d-de4146216055 2026-03-23 15:25:01,690 - DEBUG - Requesting: http://10.0.0.129:8082/project/51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:25:01,765 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/969c70ce-23de-4790-a194-20028baa9274 2026-03-23 15:25:01,776 - DEBUG - ==>Verifying data for policy with id: 631f546e-23be-4a35-8829-7da49435abca, fqn: ['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-policy-allow-all-44637259'] 2026-03-23 15:25:01,776 - INFO - VN ctest-vn-42555693 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 15:25:01,776 - DEBUG - Verifying the vn in opserver 2026-03-23 15:25:01,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693 virtual network link through opserver 10.0.0.129 2026-03-23 15:25:01,777 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-03-23 15:25:02,092 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-03-23 15:25:02,174 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693?flat'} 2026-03-23 15:25:02,174 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693 is found in opserver 2026-03-23 15:25:02,187 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 15:25:02,192 - DEBUG - VRF ids for VN ctest-vn-42555693: {} 2026-03-23 15:25:02,192 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:02,199 - DEBUG - Requesting: http://10.0.0.129:8082/domain/f58a50db-2309-4908-a98d-de4146216055 2026-03-23 15:25:02,212 - DEBUG - Requesting: http://10.0.0.129:8082/project/51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:25:02,289 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:02,304 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:02,315 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9befddb1-3c78-4484-94fc-0bfd590463d9 2026-03-23 15:25:02,324 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9befddb1-3c78-4484-94fc-0bfd590463d9 2026-03-23 15:25:02,332 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/bfb8e7b6-b9a0-4e77-a5f5-d72372d9a7a7 2026-03-23 15:25:02,341 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 15:25:02,341 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:02,353 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9befddb1-3c78-4484-94fc-0bfd590463d9 2026-03-23 15:25:02,373 - INFO - Verified VN network id 13 for VN ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:02,373 - INFO - Verifications in API Server for VN ctest-vn-56728564 passed 2026-03-23 15:25:02,373 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:02,385 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9befddb1-3c78-4484-94fc-0bfd590463d9 2026-03-23 15:25:02,394 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9befddb1-3c78-4484-94fc-0bfd590463d9 2026-03-23 15:25:02,402 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/bfb8e7b6-b9a0-4e77-a5f5-d72372d9a7a7 2026-03-23 15:25:02,414 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-56728564', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08259356', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16905816700079588884', 'uuid-lslong': '11881652602744127875'}, 'enable': 'true', 'created': '2026-03-23T15:24:59', 'last-modified': '2026-03-23T15:25:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509545'} 2026-03-23 15:25:02,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 15:25:02,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56728564 passed 2026-03-23 15:25:02,421 - DEBUG - ====Verifying policy data for ctest-vn-56728564 in API_Server ====== 2026-03-23 15:25:02,421 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:02,429 - DEBUG - Requesting: http://10.0.0.129:8082/domain/f58a50db-2309-4908-a98d-de4146216055 2026-03-23 15:25:02,441 - DEBUG - Requesting: http://10.0.0.129:8082/project/51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:25:02,518 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ea9d86b7-c61c-4614-a4e4-1c172b28c183 2026-03-23 15:25:02,528 - DEBUG - ==>Verifying data for policy with id: 631f546e-23be-4a35-8829-7da49435abca, fqn: ['default-domain', 'ctest-TestBasicPolicy-08259356', 'ctest-policy-allow-all-44637259'] 2026-03-23 15:25:02,528 - INFO - VN ctest-vn-56728564 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 15:25:02,528 - DEBUG - Verifying the vn in opserver 2026-03-23 15:25:02,528 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-56728564 virtual network link through opserver 10.0.0.129 2026-03-23 15:25:02,528 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-03-23 15:25:02,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-56728564', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-56728564?flat'} 2026-03-23 15:25:02,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-56728564 is found in opserver 2026-03-23 15:25:02,553 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 15:25:02,558 - DEBUG - VRF ids for VN ctest-vn-56728564: {} 2026-03-23 15:25:02,638 - DEBUG - Services list from nova: [, , ] 2026-03-23 15:25:03,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5518-1) 2026-03-23 15:25:05,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5518-1) 2026-03-23 15:25:05,298 - INFO - Waiting for VM ctest-TestBasicPolicy-08259356-98418532 to be up.. 2026-03-23 15:25:05,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 15:25:10,502 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:25:10,503 - INFO - VM name : ctest-TestBasicPolicy-08259356-98418532 2026-03-23 15:25:10,613 - DEBUG - VM ctest-TestBasicPolicy-08259356-98418532 ID is 18eaa881-fc7e-422b-8094-ed78eaa84992 2026-03-23 15:25:10,641 - DEBUG - VM ctest-TestBasicPolicy-08259356-98418532 launched on Node cn-jenkins-deploy-platform-ansible-os-5518-1 2026-03-23 15:25:10,749 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/18eaa881-fc7e-422b-8094-ed78eaa84992 2026-03-23 15:25:10,760 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/d2e7c0da-4a71-44f8-95c1-d4fc48a371f1 2026-03-23 15:25:14,010 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-03-23 15:25:14,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08259356-98418532 failed! 2026-03-23 15:25:14,065 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08259356:ctest-vn-42555693 is 42.38.86.193 and allocation pool is NOT set 2026-03-23 15:25:16,135 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.66 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 = 3.659/6.274/8.890/2.615 ms') 2026-03-23 15:25:16,135 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08259356-98418532 passed 2026-03-23 15:25:16,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:16,293 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08259356-98418532, IP 42.38.86.195, Port 22 2026-03-23 15:25:16,359 - 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-23 15:25:16,468 - DEBUG - VM ctest-TestBasicPolicy-08259356-98418532 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-23 15:25:21,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:21,469 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08259356-98418532, IP 42.38.86.195, Port 22 2026-03-23 15:25:21,625 - DEBUG - VM ctest-TestBasicPolicy-08259356-98418532 is ready for SSH connections 2026-03-23 15:25:21,625 - INFO - Waiting for VM ctest-TestBasicPolicy-08259356-74654060 to be up.. 2026-03-23 15:25:21,712 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:25:21,713 - INFO - VM name : ctest-TestBasicPolicy-08259356-74654060 2026-03-23 15:25:21,798 - DEBUG - VM ctest-TestBasicPolicy-08259356-74654060 ID is da8bd555-8e88-4794-a6fb-cced41bdc9d5 2026-03-23 15:25:21,798 - DEBUG - VM ctest-TestBasicPolicy-08259356-74654060 launched on Node cn-jenkins-deploy-platform-ansible-os-5518-1 2026-03-23 15:25:21,902 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/da8bd555-8e88-4794-a6fb-cced41bdc9d5 2026-03-23 15:25:21,915 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/fb730a14-4c7c-4e87-8286-d1acd9eef738 2026-03-23 15:25:23,163 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.164/3.834/1.669 ms') 2026-03-23 15:25:23,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08259356-74654060 passed 2026-03-23 15:25:23,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:23,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08259356-74654060, IP 121.140.128.3, Port 22 2026-03-23 15:25:23,483 - DEBUG - VM ctest-TestBasicPolicy-08259356-74654060 is ready for SSH connections 2026-03-23 15:25:23,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:23,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.140.128.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-23 15:25:23,484 - DEBUG - ping -s 56 -c 3 -W 1 121.140.128.3 2026-03-23 15:25:27,608 - DEBUG - PING 121.140.128.3 (121.140.128.3): 56 data bytes 64 bytes from 121.140.128.3: seq=0 ttl=63 time=4.473 ms 64 bytes from 121.140.128.3: seq=1 ttl=63 time=1.741 ms 64 bytes from 121.140.128.3: seq=2 ttl=63 time=0.963 ms --- 121.140.128.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.392/4.473 ms 2026-03-23 15:25:27,608 - INFO - Ping to IP 121.140.128.3 from VM ctest-TestBasicPolicy-08259356-98418532 passed 2026-03-23 15:25:27,793 - DEBUG - Policy Update Response {"network-policy": {"uuid": "631f546e-23be-4a35-8829-7da49435abca", "href": "http://10.0.0.129:8082/network-policy/631f546e-23be-4a35-8829-7da49435abca"}} 2026-03-23 15:25:27,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:27,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.140.128.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-23 15:25:27,794 - DEBUG - ping -s 56 -c 3 -W 1 121.140.128.3 2026-03-23 15:25:31,030 - DEBUG - PING 121.140.128.3 (121.140.128.3): 56 data bytes --- 121.140.128.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-23 15:25:31,031 - WARNING - Ping to IP 121.140.128.3 from VM ctest-TestBasicPolicy-08259356-98418532 failed 2026-03-23 15:25:31,031 - INFO - Deleting VM ctest-TestBasicPolicy-08259356-74654060 2026-03-23 15:25:31,149 - INFO - Deleting VM ctest-TestBasicPolicy-08259356-98418532 2026-03-23 15:25:31,601 - INFO - Deleted policy ctest-policy-allow-all-44637259 2026-03-23 15:25:31,601 - INFO - Deleting VN ctest-vn-56728564 2026-03-23 15:25:31,643 - DEBUG - VN ea9d86b7-c61c-4614-a4e4-1c172b28c183 still in use: Unable to complete operation on network ea9d86b7-c61c-4614-a4e4-1c172b28c183. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a65793e-7eae-4a2c-8e59-fceb656e4ad9'] 2026-03-23 15:25:31,643 - WARNING - Deleting VN ctest-vn-56728564 failed..Will retry 2026-03-23 15:25:33,769 - DEBUG - Response for deleting network () 2026-03-23 15:25:33,769 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9befddb1-3c78-4484-94fc-0bfd590463d9 2026-03-23 15:25:33,777 - DEBUG - Response Code: 404 2026-03-23 15:25:33,777 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:33,784 - DEBUG - Requesting: http://10.0.0.129:8082/domain/f58a50db-2309-4908-a98d-de4146216055 2026-03-23 15:25:33,842 - DEBUG - Requesting: http://10.0.0.129:8082/project/51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:25:33,918 - INFO - Validated that VN ctest-vn-56728564 is not found in API Server 2026-03-23 15:25:33,931 - DEBUG - VN ctest-vn-56728564 is not present in Agent 10.0.0.129 2026-03-23 15:25:33,931 - INFO - Validated that VN ctest-vn-56728564 is not in any agent 2026-03-23 15:25:33,948 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56728564 info 2026-03-23 15:25:33,948 - INFO - Deleting VN ctest-vn-42555693 2026-03-23 15:25:34,082 - DEBUG - Response for deleting network () 2026-03-23 15:25:34,082 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c1ffdc97-aaeb-428f-861d-45cd1c59b775 2026-03-23 15:25:34,090 - DEBUG - Response Code: 404 2026-03-23 15:25:34,090 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-03-23 15:25:34,097 - DEBUG - Requesting: http://10.0.0.129:8082/domain/f58a50db-2309-4908-a98d-de4146216055 2026-03-23 15:25:34,151 - DEBUG - Requesting: http://10.0.0.129:8082/project/51141d8b-366a-4022-ab2b-4e6492e1f600 2026-03-23 15:25:34,227 - INFO - Validated that VN ctest-vn-42555693 is not found in API Server 2026-03-23 15:25:34,238 - DEBUG - VN ctest-vn-42555693 is not present in Agent 10.0.0.129 2026-03-23 15:25:34,238 - INFO - Validated that VN ctest-vn-42555693 is not in any agent 2026-03-23 15:25:34,256 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42555693 info 2026-03-23 15:25:34,529 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 15:25:34,529 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-03-23 15:25:34,529 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:25:35,283 - INFO - Deleted project: ctest-TestBasicPolicy-08259356, ID : 51141d8b-366a-4022-ab2b-4e6492e1f600