2026-10-31 00:27:11,050 - INFO - Domain Default found not creating 2026-10-31 00:27:11,194 - INFO - Project ctest-TestBasicPolicy-51761549 not found, creating it 2026-10-31 00:27:11,631 - INFO - Created Project:ctest-TestBasicPolicy-51761549, ID : 1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:27:13,090 - INFO - ================================================================================ 2026-10-31 00:27:13,090 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-31 00:27:13,090 - 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-10-31 00:27:13,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-10-31 00:27:13,348 - INFO - Initial checks done. Running the testcase now 2026-10-31 00:27:13,348 - INFO - 2026-10-31 00:27:13,883 - DEBUG - Response for create_network : {'network': {'id': 'ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0', 'name': 'ctest-vn-31330424', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-31330424'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 00:27:14,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '30ecbe64-a3f9-43ae-a5be-8b1bbfd4c6db', 'name': '', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'network_id': 'ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0', 'ip_version': 4, 'cidr': '103.207.31.192/26', 'allocation_pools': [{'start': '103.207.31.194', 'end': '103.207.31.254'}], 'gateway_ip': '103.207.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.207.31.194', 'tags': [], 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90'}} 2026-10-31 00:27:14,071 - INFO - Created VN ctest-vn-31330424 2026-10-31 00:27:14,123 - DEBUG - VN ctest-vn-31330424 UUID is ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:14,421 - DEBUG - Response for create_network : {'network': {'id': '42104968-6e50-4bb7-ae37-335f495dab7f', 'name': 'ctest-vn-03178879', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-03178879'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 00:27:14,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a5fd6ae-b0cd-46ee-8a91-d36c0a14ec7c', 'name': '', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'network_id': '42104968-6e50-4bb7-ae37-335f495dab7f', 'ip_version': 4, 'cidr': '21.122.192.128/26', 'allocation_pools': [{'start': '21.122.192.130', 'end': '21.122.192.190'}], 'gateway_ip': '21.122.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.122.192.130', 'tags': [], 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90'}} 2026-10-31 00:27:14,573 - INFO - Created VN ctest-vn-03178879 2026-10-31 00:27:14,623 - DEBUG - VN ctest-vn-03178879 UUID is 42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:14,755 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424, 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-51761549:ctest-vn-03178879, 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-10-31 00:27:15,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0', 'name': 'ctest-vn-31330424', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['30ecbe64-a3f9-43ae-a5be-8b1bbfd4c6db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-31330424'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818']], 'subnet_ipam': [{'subnet_cidr': '103.207.31.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-31 00:27:15,266 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '42104968-6e50-4bb7-ae37-335f495dab7f', 'name': 'ctest-vn-03178879', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6a5fd6ae-b0cd-46ee-8a91-d36c0a14ec7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-03178879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818']], 'subnet_ipam': [{'subnet_cidr': '21.122.192.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-31 00:27:15,431 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:27:15,746 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:27:15,770 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e 2026-10-31 00:27:15,780 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:27:15,851 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:15,860 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:15,868 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238 2026-10-31 00:27:15,874 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238 2026-10-31 00:27:15,879 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/b10adf9f-c367-4930-97f2-60bd84fd59d0 2026-10-31 00:27:15,884 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-31 00:27:15,884 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:15,890 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238 2026-10-31 00:27:15,901 - INFO - Verified VN network id 11 for VN ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:15,901 - INFO - Verifications in API Server for VN ctest-vn-31330424 passed 2026-10-31 00:27:15,901 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:15,908 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238 2026-10-31 00:27:15,914 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238 2026-10-31 00:27:15,919 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/b10adf9f-c367-4930-97f2-60bd84fd59d0 2026-10-31 00:27:15,928 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51761549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15979151558266605118', 'uuid-lslong': '11143072716272820160'}, 'enable': 'true', 'created': '2026-10-31T00:27:13', 'last-modified': '2026-10-31T00:27:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899780'} 2026-10-31 00:27:15,933 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-31 00:27:15,933 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31330424 passed 2026-10-31 00:27:15,934 - DEBUG - ====Verifying policy data for ctest-vn-31330424 in API_Server ====== 2026-10-31 00:27:15,934 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:27:15,938 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e 2026-10-31 00:27:15,946 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:27:16,011 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0 2026-10-31 00:27:16,019 - DEBUG - ==>Verifying data for policy with id: fa942448-b33d-4461-b7b7-a236472547a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818'] 2026-10-31 00:27:16,019 - INFO - VN ctest-vn-31330424 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-31 00:27:16,019 - DEBUG - Verifying the vn in opserver 2026-10-31 00:27:16,019 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424 virtual network link through opserver 10.0.0.177 2026-10-31 00:27:16,019 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-31 00:27:16,331 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-31 00:27:16,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424?flat'} 2026-10-31 00:27:16,375 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424 is found in opserver 2026-10-31 00:27:16,383 - DEBUG - Do not have enough data to verify VN in agent 2026-10-31 00:27:16,389 - DEBUG - VRF ids for VN ctest-vn-31330424: {} 2026-10-31 00:27:16,389 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:27:16,394 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e 2026-10-31 00:27:16,403 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:27:16,468 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:16,478 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:16,485 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477 2026-10-31 00:27:16,490 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477 2026-10-31 00:27:16,495 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/00506b79-f101-4697-9cc4-2496fa341c5f 2026-10-31 00:27:16,499 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-31 00:27:16,499 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:16,506 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477 2026-10-31 00:27:16,517 - INFO - Verified VN network id 12 for VN 42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:16,517 - INFO - Verifications in API Server for VN ctest-vn-03178879 passed 2026-10-31 00:27:16,517 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:16,524 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477 2026-10-31 00:27:16,530 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477 2026-10-31 00:27:16,536 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/00506b79-f101-4697-9cc4-2496fa341c5f 2026-10-31 00:27:16,546 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51761549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4760385519006796727', 'uuid-lslong': '12553558970664332159'}, 'enable': 'true', 'created': '2026-10-31T00:27:14', 'last-modified': '2026-10-31T00:27:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296948'} 2026-10-31 00:27:16,551 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-31 00:27:16,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03178879 passed 2026-10-31 00:27:16,552 - DEBUG - ====Verifying policy data for ctest-vn-03178879 in API_Server ====== 2026-10-31 00:27:16,552 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:27:16,557 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e 2026-10-31 00:27:16,568 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:27:16,641 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f 2026-10-31 00:27:16,650 - DEBUG - ==>Verifying data for policy with id: fa942448-b33d-4461-b7b7-a236472547a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818'] 2026-10-31 00:27:16,650 - INFO - VN ctest-vn-03178879 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-31 00:27:16,650 - DEBUG - Verifying the vn in opserver 2026-10-31 00:27:16,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879 virtual network link through opserver 10.0.0.177 2026-10-31 00:27:16,650 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-31 00:27:16,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879?flat'} 2026-10-31 00:27:16,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879 is found in opserver 2026-10-31 00:27:16,670 - DEBUG - Do not have enough data to verify VN in agent 2026-10-31 00:27:16,675 - DEBUG - VRF ids for VN ctest-vn-03178879: {} 2026-10-31 00:27:16,722 - DEBUG - Services list from nova: [, , ] 2026-10-31 00:27:17,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6449-1) 2026-10-31 00:27:17,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6449-1) 2026-10-31 00:27:17,452 - INFO - Waiting for VM ctest-TestBasicPolicy-51761549-59073786 to be up.. 2026-10-31 00:27:17,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:22,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:27,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:32,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:37,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:42,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:47,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:52,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 00:27:58,018 - DEBUG - VM is in ACTIVE state now 2026-10-31 00:27:58,018 - INFO - VM name : ctest-TestBasicPolicy-51761549-59073786 2026-10-31 00:27:58,083 - DEBUG - VM ctest-TestBasicPolicy-51761549-59073786 ID is f6b5d0ed-127a-48c5-8ee7-daa840bcacb9 2026-10-31 00:27:58,100 - DEBUG - VM ctest-TestBasicPolicy-51761549-59073786 launched on Node cn-jenkins-deploy-platform-ansible-os-6449-1 2026-10-31 00:27:58,168 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/f6b5d0ed-127a-48c5-8ee7-daa840bcacb9 2026-10-31 00:27:58,175 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/507e524b-c262-443b-bb7d-bdc08b694bca 2026-10-31 00:27:59,413 - 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=3.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.82 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.560/3.688/3.816/0.128 ms') 2026-10-31 00:27:59,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51761549-59073786 passed 2026-10-31 00:27:59,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 00:27:59,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51761549-59073786, IP 103.207.31.195, Port 22 2026-10-31 00:27:59,625 - 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-10-31 00:27:59,693 - DEBUG - VM ctest-TestBasicPolicy-51761549-59073786 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-31 00:28:04,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 00:28:04,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51761549-59073786, IP 103.207.31.195, Port 22 2026-10-31 00:28:04,851 - DEBUG - VM ctest-TestBasicPolicy-51761549-59073786 is ready for SSH connections 2026-10-31 00:28:04,851 - INFO - Waiting for VM ctest-TestBasicPolicy-51761549-57373872 to be up.. 2026-10-31 00:28:04,956 - DEBUG - VM is in ACTIVE state now 2026-10-31 00:28:04,957 - INFO - VM name : ctest-TestBasicPolicy-51761549-57373872 2026-10-31 00:28:05,043 - DEBUG - VM ctest-TestBasicPolicy-51761549-57373872 ID is 050351e1-a63a-486b-bbaa-84e673dc560d 2026-10-31 00:28:05,043 - DEBUG - VM ctest-TestBasicPolicy-51761549-57373872 launched on Node cn-jenkins-deploy-platform-ansible-os-6449-1 2026-10-31 00:28:05,105 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/050351e1-a63a-486b-bbaa-84e673dc560d 2026-10-31 00:28:05,113 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/1069ad97-33f3-4101-b673-70ccc12d8d33 2026-10-31 00:28:06,345 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.722/3.083/1.360 ms') 2026-10-31 00:28:06,345 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51761549-57373872 passed 2026-10-31 00:28:06,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 00:28:06,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51761549-57373872, IP 21.122.192.131, Port 22 2026-10-31 00:28:06,659 - DEBUG - VM ctest-TestBasicPolicy-51761549-57373872 is ready for SSH connections 2026-10-31 00:28:06,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 00:28:06,660 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.122.192.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-10-31 00:28:06,660 - DEBUG - ping -s 56 -c 3 -W 1 21.122.192.131 2026-10-31 00:28:10,475 - DEBUG - PING 21.122.192.131 (21.122.192.131): 56 data bytes 64 bytes from 21.122.192.131: seq=0 ttl=63 time=3.543 ms 64 bytes from 21.122.192.131: seq=1 ttl=63 time=0.869 ms 64 bytes from 21.122.192.131: seq=2 ttl=63 time=0.892 ms --- 21.122.192.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/1.768/3.543 ms 2026-10-31 00:28:10,475 - INFO - Ping to IP 21.122.192.131 from VM ctest-TestBasicPolicy-51761549-59073786 passed 2026-10-31 00:28:10,643 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fa942448-b33d-4461-b7b7-a236472547a9", "href": "http://10.0.0.177:8082/network-policy/fa942448-b33d-4461-b7b7-a236472547a9"}} 2026-10-31 00:28:10,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 00:28:10,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.122.192.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-10-31 00:28:10,644 - DEBUG - ping -s 56 -c 3 -W 1 21.122.192.131 2026-10-31 00:28:13,768 - DEBUG - PING 21.122.192.131 (21.122.192.131): 56 data bytes 64 bytes from 21.122.192.131: seq=0 ttl=63 time=1.761 ms --- 21.122.192.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.761/1.761/1.761 ms 2026-10-31 00:28:13,768 - WARNING - Ping to IP 21.122.192.131 from VM ctest-TestBasicPolicy-51761549-59073786 failed 2026-10-31 00:28:13,769 - INFO - Deleting VM ctest-TestBasicPolicy-51761549-57373872 2026-10-31 00:28:13,835 - INFO - Deleting VM ctest-TestBasicPolicy-51761549-59073786 2026-10-31 00:28:14,138 - INFO - Deleted policy ctest-policy-allow-all-80764818 2026-10-31 00:28:14,138 - INFO - Deleting VN ctest-vn-03178879 2026-10-31 00:28:14,164 - DEBUG - VN 42104968-6e50-4bb7-ae37-335f495dab7f still in use: Unable to complete operation on network 42104968-6e50-4bb7-ae37-335f495dab7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36dc6dc7-e99a-429c-97d1-3eb71d005f2e'] 2026-10-31 00:28:14,164 - WARNING - Deleting VN ctest-vn-03178879 failed..Will retry 2026-10-31 00:28:16,189 - DEBUG - VN 42104968-6e50-4bb7-ae37-335f495dab7f still in use: Unable to complete operation on network 42104968-6e50-4bb7-ae37-335f495dab7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0391c74-0f3e-4b5d-95f7-e8aa4e000bcd'] 2026-10-31 00:28:16,189 - WARNING - Deleting VN ctest-vn-03178879 failed..Will retry 2026-10-31 00:28:18,268 - DEBUG - Response for deleting network () 2026-10-31 00:28:18,269 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477 2026-10-31 00:28:18,274 - DEBUG - Response Code: 404 2026-10-31 00:28:18,274 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:28:18,278 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e 2026-10-31 00:28:18,328 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:28:18,393 - INFO - Validated that VN ctest-vn-03178879 is not found in API Server 2026-10-31 00:28:18,403 - DEBUG - VN ctest-vn-03178879 is not present in Agent 10.0.0.177 2026-10-31 00:28:18,403 - INFO - Validated that VN ctest-vn-03178879 is not in any agent 2026-10-31 00:28:18,416 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03178879 info 2026-10-31 00:28:18,416 - INFO - Deleting VN ctest-vn-31330424 2026-10-31 00:28:18,502 - DEBUG - Response for deleting network () 2026-10-31 00:28:18,502 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238 2026-10-31 00:28:18,508 - DEBUG - Response Code: 404 2026-10-31 00:28:18,508 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 00:28:18,512 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e 2026-10-31 00:28:18,563 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90 2026-10-31 00:28:18,631 - INFO - Validated that VN ctest-vn-31330424 is not found in API Server 2026-10-31 00:28:18,641 - DEBUG - VN ctest-vn-31330424 is not present in Agent 10.0.0.177 2026-10-31 00:28:18,641 - INFO - Validated that VN ctest-vn-31330424 is not in any agent 2026-10-31 00:28:18,653 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31330424 info 2026-10-31 00:28:18,911 - DEBUG - No XMPP flaps were noticed during the test
2026-10-31 00:28:18,911 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-10-31 00:28:18,911 - INFO - -------------------------------------------------------------------------------- 2026-10-31 00:28:19,582 - INFO - Deleted project: ctest-TestBasicPolicy-51761549, ID : 1b8cbda2-14a7-4dff-a51c-f6cbc0363e90