2026-01-29 13:32:45,954 - INFO - Domain Default found not creating 2026-01-29 13:32:46,200 - INFO - Project ctest-TestBasicPolicy-08909095 not found, creating it 2026-01-29 13:32:46,692 - INFO - Created Project:ctest-TestBasicPolicy-08909095, ID : 0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:32:48,356 - INFO - ================================================================================ 2026-01-29 13:32:48,356 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 13:32:48,356 - 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-01-29 13:32:48,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2026-01-29 13:32:48,621 - INFO - Initial checks done. Running the testcase now 2026-01-29 13:32:48,622 - INFO - 2026-01-29 13:32:49,268 - DEBUG - Response for create_network : {'network': {'id': 'decbc910-ffa7-46ee-ac8a-920c01fc6825', 'name': 'ctest-vn-07924794', 'tenant_id': '0225696dd3184a14a9d6d59f98b50502', 'project_id': '0225696dd3184a14a9d6d59f98b50502', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-vn-07924794'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:32:49,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '8afdba34-ae87-4b71-89a7-ab1116c9b0c9', 'name': '', 'tenant_id': '0225696dd3184a14a9d6d59f98b50502', 'network_id': 'decbc910-ffa7-46ee-ac8a-920c01fc6825', 'ip_version': 4, 'cidr': '13.10.195.0/26', 'allocation_pools': [{'start': '13.10.195.2', 'end': '13.10.195.62'}], 'gateway_ip': '13.10.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.10.195.2', 'tags': [], 'project_id': '0225696dd3184a14a9d6d59f98b50502'}} 2026-01-29 13:32:49,501 - INFO - Created VN ctest-vn-07924794 2026-01-29 13:32:49,555 - DEBUG - VN ctest-vn-07924794 UUID is decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:49,906 - DEBUG - Response for create_network : {'network': {'id': '00ecc70b-ad99-4e34-a556-d7e85be6fd08', 'name': 'ctest-vn-83457891', 'tenant_id': '0225696dd3184a14a9d6d59f98b50502', 'project_id': '0225696dd3184a14a9d6d59f98b50502', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-vn-83457891'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:32:50,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d5f0504-bcde-4713-b3c1-a7bfd771eb4c', 'name': '', 'tenant_id': '0225696dd3184a14a9d6d59f98b50502', 'network_id': '00ecc70b-ad99-4e34-a556-d7e85be6fd08', 'ip_version': 4, 'cidr': '132.29.245.128/26', 'allocation_pools': [{'start': '132.29.245.130', 'end': '132.29.245.190'}], 'gateway_ip': '132.29.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.29.245.130', 'tags': [], 'project_id': '0225696dd3184a14a9d6d59f98b50502'}} 2026-01-29 13:32:50,118 - INFO - Created VN ctest-vn-83457891 2026-01-29 13:32:50,175 - DEBUG - VN ctest-vn-83457891 UUID is 00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:50,306 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794, 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-08909095:ctest-vn-83457891, 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-01-29 13:32:50,636 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'decbc910-ffa7-46ee-ac8a-920c01fc6825', 'name': 'ctest-vn-07924794', 'tenant_id': '0225696dd3184a14a9d6d59f98b50502', 'project_id': '0225696dd3184a14a9d6d59f98b50502', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8afdba34-ae87-4b71-89a7-ab1116c9b0c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-vn-07924794'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-policy-allow-all-12822784']], 'subnet_ipam': [{'subnet_cidr': '13.10.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:32:50,908 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00ecc70b-ad99-4e34-a556-d7e85be6fd08', 'name': 'ctest-vn-83457891', 'tenant_id': '0225696dd3184a14a9d6d59f98b50502', 'project_id': '0225696dd3184a14a9d6d59f98b50502', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d5f0504-bcde-4713-b3c1-a7bfd771eb4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-vn-83457891'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-policy-allow-all-12822784']], 'subnet_ipam': [{'subnet_cidr': '132.29.245.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:32:51,119 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:32:51,467 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:32:51,529 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e8c2807c-b0c0-4a18-a3ec-19ebd412a883 2026-01-29 13:32:51,568 - DEBUG - Requesting: http://10.0.0.141:8082/project/0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:32:51,709 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:51,736 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:51,749 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/807df820-8f99-47b8-96fb-5c7fda084057 2026-01-29 13:32:51,769 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/807df820-8f99-47b8-96fb-5c7fda084057 2026-01-29 13:32:51,785 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/3df689ee-8398-479a-a94a-dffd67ea037f 2026-01-29 13:32:51,794 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 13:32:51,794 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:51,810 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/807df820-8f99-47b8-96fb-5c7fda084057 2026-01-29 13:32:51,831 - INFO - Verified VN network id 11 for VN decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:51,832 - INFO - Verifications in API Server for VN ctest-vn-07924794 passed 2026-01-29 13:32:51,832 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:51,849 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/807df820-8f99-47b8-96fb-5c7fda084057 2026-01-29 13:32:51,857 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/807df820-8f99-47b8-96fb-5c7fda084057 2026-01-29 13:32:51,878 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/3df689ee-8398-479a-a94a-dffd67ea037f 2026-01-29 13:32:51,894 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08909095', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16054146371538077422', 'uuid-lslong': '12432910301580257317'}, 'enable': 'true', 'created': '2026-01-29T13:32:49', 'last-modified': '2026-01-29T13:32:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287833'} 2026-01-29 13:32:51,902 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 13:32:51,902 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07924794 passed 2026-01-29 13:32:51,902 - DEBUG - ====Verifying policy data for ctest-vn-07924794 in API_Server ====== 2026-01-29 13:32:51,902 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:32:51,910 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e8c2807c-b0c0-4a18-a3ec-19ebd412a883 2026-01-29 13:32:51,931 - DEBUG - Requesting: http://10.0.0.141:8082/project/0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:32:52,003 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/decbc910-ffa7-46ee-ac8a-920c01fc6825 2026-01-29 13:32:52,016 - DEBUG - ==>Verifying data for policy with id: bff368e9-370d-4aaf-be4c-901f77bd2cf3, fqn: ['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-policy-allow-all-12822784'] 2026-01-29 13:32:52,016 - INFO - VN ctest-vn-07924794 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 13:32:52,016 - DEBUG - Verifying the vn in opserver 2026-01-29 13:32:52,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794 virtual network link through opserver 10.0.0.141 2026-01-29 13:32:52,016 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-29 13:32:52,313 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-29 13:32:52,389 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794?flat'} 2026-01-29 13:32:52,389 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794 is found in opserver 2026-01-29 13:32:52,401 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 13:32:52,406 - DEBUG - VRF ids for VN ctest-vn-07924794: {} 2026-01-29 13:32:52,407 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:32:52,415 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e8c2807c-b0c0-4a18-a3ec-19ebd412a883 2026-01-29 13:32:52,430 - DEBUG - Requesting: http://10.0.0.141:8082/project/0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:32:52,515 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:52,536 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:52,551 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b6f0c9d-feae-45e1-bd0a-57d2ac8a40fe 2026-01-29 13:32:52,562 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b6f0c9d-feae-45e1-bd0a-57d2ac8a40fe 2026-01-29 13:32:52,572 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/69503102-7179-4136-8bb3-7101f6651f2f 2026-01-29 13:32:52,583 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 13:32:52,583 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:52,596 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b6f0c9d-feae-45e1-bd0a-57d2ac8a40fe 2026-01-29 13:32:52,615 - INFO - Verified VN network id 12 for VN 00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:52,616 - INFO - Verifications in API Server for VN ctest-vn-83457891 passed 2026-01-29 13:32:52,616 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:52,631 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b6f0c9d-feae-45e1-bd0a-57d2ac8a40fe 2026-01-29 13:32:52,642 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b6f0c9d-feae-45e1-bd0a-57d2ac8a40fe 2026-01-29 13:32:52,654 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/69503102-7179-4136-8bb3-7101f6651f2f 2026-01-29 13:32:52,669 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-83457891', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08909095', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '66646947474787892', 'uuid-lslong': '11913947257229475080'}, 'enable': 'true', 'created': '2026-01-29T13:32:49', 'last-modified': '2026-01-29T13:32:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.805643'} 2026-01-29 13:32:52,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 13:32:52,677 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83457891 passed 2026-01-29 13:32:52,678 - DEBUG - ====Verifying policy data for ctest-vn-83457891 in API_Server ====== 2026-01-29 13:32:52,678 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:32:52,686 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e8c2807c-b0c0-4a18-a3ec-19ebd412a883 2026-01-29 13:32:52,699 - DEBUG - Requesting: http://10.0.0.141:8082/project/0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:32:52,775 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/00ecc70b-ad99-4e34-a556-d7e85be6fd08 2026-01-29 13:32:52,789 - DEBUG - ==>Verifying data for policy with id: bff368e9-370d-4aaf-be4c-901f77bd2cf3, fqn: ['default-domain', 'ctest-TestBasicPolicy-08909095', 'ctest-policy-allow-all-12822784'] 2026-01-29 13:32:52,789 - INFO - VN ctest-vn-83457891 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 13:32:52,789 - DEBUG - Verifying the vn in opserver 2026-01-29 13:32:52,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-83457891 virtual network link through opserver 10.0.0.141 2026-01-29 13:32:52,789 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-29 13:32:52,801 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-83457891', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-83457891?flat'} 2026-01-29 13:32:52,801 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-83457891 is found in opserver 2026-01-29 13:32:52,813 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 13:32:52,819 - DEBUG - VRF ids for VN ctest-vn-83457891: {} 2026-01-29 13:32:52,902 - DEBUG - Services list from nova: [, , ] 2026-01-29 13:32:54,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5127-1) 2026-01-29 13:32:55,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5127-1) 2026-01-29 13:32:55,274 - INFO - Waiting for VM ctest-TestBasicPolicy-08909095-10164942 to be up.. 2026-01-29 13:32:55,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 13:33:00,475 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:33:00,475 - INFO - VM name : ctest-TestBasicPolicy-08909095-10164942 2026-01-29 13:33:00,572 - DEBUG - VM ctest-TestBasicPolicy-08909095-10164942 ID is 86075f71-e5c6-4c3d-a02b-216dcc68e9e0 2026-01-29 13:33:00,603 - DEBUG - VM ctest-TestBasicPolicy-08909095-10164942 launched on Node cn-jenkins-deploy-platform-ansible-os-5127-1 2026-01-29 13:33:00,698 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/86075f71-e5c6-4c3d-a02b-216dcc68e9e0 2026-01-29 13:33:00,711 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/046af34b-7564-4ba6-be5c-4fb6bb42e876 2026-01-29 13:33:03,963 - 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') 2026-01-29 13:33:03,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08909095-10164942 failed! 2026-01-29 13:33:04,019 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08909095:ctest-vn-07924794 is 13.10.195.1 and allocation pool is NOT set 2026-01-29 13:33:06,084 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.035/4.777/8.520/3.742 ms') 2026-01-29 13:33:06,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08909095-10164942 passed 2026-01-29 13:33:06,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:33:06,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08909095-10164942, IP 13.10.195.3, Port 22 2026-01-29 13:33:06,306 - 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-01-29 13:33:06,402 - DEBUG - VM ctest-TestBasicPolicy-08909095-10164942 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 13:33:11,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:33:11,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08909095-10164942, IP 13.10.195.3, Port 22 2026-01-29 13:33:11,563 - DEBUG - VM ctest-TestBasicPolicy-08909095-10164942 is ready for SSH connections 2026-01-29 13:33:11,563 - INFO - Waiting for VM ctest-TestBasicPolicy-08909095-14985986 to be up.. 2026-01-29 13:33:11,653 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:33:11,653 - INFO - VM name : ctest-TestBasicPolicy-08909095-14985986 2026-01-29 13:33:11,750 - DEBUG - VM ctest-TestBasicPolicy-08909095-14985986 ID is 1a5107ea-7ff9-4798-8f31-2eec2b2d9a66 2026-01-29 13:33:11,750 - DEBUG - VM ctest-TestBasicPolicy-08909095-14985986 launched on Node cn-jenkins-deploy-platform-ansible-os-5127-1 2026-01-29 13:33:11,840 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1a5107ea-7ff9-4798-8f31-2eec2b2d9a66 2026-01-29 13:33:11,851 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/88f5aff4-9001-4c57-bcbb-a40c17d28b1a 2026-01-29 13:33:13,112 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.678 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.678/1.901/3.125/1.223 ms') 2026-01-29 13:33:13,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08909095-14985986 passed 2026-01-29 13:33:13,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:33:13,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08909095-14985986, IP 132.29.245.131, Port 22 2026-01-29 13:33:13,450 - DEBUG - VM ctest-TestBasicPolicy-08909095-14985986 is ready for SSH connections 2026-01-29 13:33:13,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:33:13,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.29.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-29 13:33:13,450 - DEBUG - ping -s 56 -c 3 -W 1 132.29.245.131 2026-01-29 13:33:17,538 - DEBUG - PING 132.29.245.131 (132.29.245.131): 56 data bytes 64 bytes from 132.29.245.131: seq=0 ttl=63 time=3.828 ms 64 bytes from 132.29.245.131: seq=1 ttl=63 time=1.204 ms 64 bytes from 132.29.245.131: seq=2 ttl=63 time=1.043 ms --- 132.29.245.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.043/2.025/3.828 ms 2026-01-29 13:33:17,538 - INFO - Ping to IP 132.29.245.131 from VM ctest-TestBasicPolicy-08909095-10164942 passed 2026-01-29 13:33:17,718 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bff368e9-370d-4aaf-be4c-901f77bd2cf3", "href": "http://10.0.0.141:8082/network-policy/bff368e9-370d-4aaf-be4c-901f77bd2cf3"}} 2026-01-29 13:33:17,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:33:17,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.29.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-29 13:33:17,719 - DEBUG - ping -s 56 -c 3 -W 1 132.29.245.131 2026-01-29 13:33:20,934 - DEBUG - PING 132.29.245.131 (132.29.245.131): 56 data bytes --- 132.29.245.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 13:33:20,934 - WARNING - Ping to IP 132.29.245.131 from VM ctest-TestBasicPolicy-08909095-10164942 failed 2026-01-29 13:33:20,934 - INFO - Deleting VM ctest-TestBasicPolicy-08909095-14985986 2026-01-29 13:33:21,027 - INFO - Deleting VM ctest-TestBasicPolicy-08909095-10164942 2026-01-29 13:33:21,470 - INFO - Deleted policy ctest-policy-allow-all-12822784 2026-01-29 13:33:21,470 - INFO - Deleting VN ctest-vn-83457891 2026-01-29 13:33:21,511 - DEBUG - VN 00ecc70b-ad99-4e34-a556-d7e85be6fd08 still in use: Unable to complete operation on network 00ecc70b-ad99-4e34-a556-d7e85be6fd08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcf1fe6e-77ed-432d-8893-09bde818ca6c'] 2026-01-29 13:33:21,512 - WARNING - Deleting VN ctest-vn-83457891 failed..Will retry 2026-01-29 13:33:23,634 - DEBUG - Response for deleting network () 2026-01-29 13:33:23,634 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b6f0c9d-feae-45e1-bd0a-57d2ac8a40fe 2026-01-29 13:33:23,642 - DEBUG - Response Code: 404 2026-01-29 13:33:23,642 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:33:23,653 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e8c2807c-b0c0-4a18-a3ec-19ebd412a883 2026-01-29 13:33:23,709 - DEBUG - Requesting: http://10.0.0.141:8082/project/0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:33:23,787 - INFO - Validated that VN ctest-vn-83457891 is not found in API Server 2026-01-29 13:33:23,799 - DEBUG - VN ctest-vn-83457891 is not present in Agent 10.0.0.141 2026-01-29 13:33:23,799 - INFO - Validated that VN ctest-vn-83457891 is not in any agent 2026-01-29 13:33:23,818 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83457891 info 2026-01-29 13:33:23,819 - INFO - Deleting VN ctest-vn-07924794 2026-01-29 13:33:23,964 - DEBUG - Response for deleting network () 2026-01-29 13:33:23,964 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/807df820-8f99-47b8-96fb-5c7fda084057 2026-01-29 13:33:23,972 - DEBUG - Response Code: 404 2026-01-29 13:33:23,972 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-29 13:33:23,979 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e8c2807c-b0c0-4a18-a3ec-19ebd412a883 2026-01-29 13:33:24,033 - DEBUG - Requesting: http://10.0.0.141:8082/project/0225696d-d318-4a14-a9d6-d59f98b50502 2026-01-29 13:33:24,113 - INFO - Validated that VN ctest-vn-07924794 is not found in API Server 2026-01-29 13:33:24,124 - DEBUG - VN ctest-vn-07924794 is not present in Agent 10.0.0.141 2026-01-29 13:33:24,124 - INFO - Validated that VN ctest-vn-07924794 is not in any agent 2026-01-29 13:33:24,142 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07924794 info 2026-01-29 13:33:24,407 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 13:33:24,407 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-01-29 13:33:24,407 - INFO - -------------------------------------------------------------------------------- 2026-01-29 13:33:25,149 - INFO - Deleted project: ctest-TestBasicPolicy-08909095, ID : 0225696d-d318-4a14-a9d6-d59f98b50502