2026-08-20 13:12:54,717 - INFO - Domain Default found not creating 2026-08-20 13:12:54,891 - INFO - Project ctest-TestBasicPolicy-01659755 not found, creating it 2026-08-20 13:12:55,408 - INFO - Created Project:ctest-TestBasicPolicy-01659755, ID : baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:12:57,010 - INFO - ================================================================================ 2026-08-20 13:12:57,011 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 13:12:57,011 - 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-08-20 13:12:57,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-20 13:12:57,277 - INFO - Initial checks done. Running the testcase now 2026-08-20 13:12:57,277 - INFO - 2026-08-20 13:12:57,850 - DEBUG - Response for create_network : {'network': {'id': '8c01cac5-7937-43fd-9384-57d53bb3a9c3', 'name': 'ctest-vn-40911300', 'tenant_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'project_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-vn-40911300'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:12:58,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '48224fb2-64ee-4de2-8f8d-a6252e6c24d3', 'name': '', 'tenant_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'network_id': '8c01cac5-7937-43fd-9384-57d53bb3a9c3', 'ip_version': 4, 'cidr': '26.172.145.192/26', 'allocation_pools': [{'start': '26.172.145.194', 'end': '26.172.145.254'}], 'gateway_ip': '26.172.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.172.145.194', 'tags': [], 'project_id': 'baabe3f247a642a5a24ecfd3084bd44d'}} 2026-08-20 13:12:58,089 - INFO - Created VN ctest-vn-40911300 2026-08-20 13:12:58,140 - DEBUG - VN ctest-vn-40911300 UUID is 8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:12:58,435 - DEBUG - Response for create_network : {'network': {'id': '823f9bc6-2274-4779-9d85-2e1df1672615', 'name': 'ctest-vn-84529471', 'tenant_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'project_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-vn-84529471'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:12:58,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c3c93ea-807d-4814-ad36-87cbb817e666', 'name': '', 'tenant_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'network_id': '823f9bc6-2274-4779-9d85-2e1df1672615', 'ip_version': 4, 'cidr': '185.210.237.0/26', 'allocation_pools': [{'start': '185.210.237.2', 'end': '185.210.237.62'}], 'gateway_ip': '185.210.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.210.237.2', 'tags': [], 'project_id': 'baabe3f247a642a5a24ecfd3084bd44d'}} 2026-08-20 13:12:58,610 - INFO - Created VN ctest-vn-84529471 2026-08-20 13:12:58,664 - DEBUG - VN ctest-vn-84529471 UUID is 823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:12:58,816 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300, 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-01659755:ctest-vn-84529471, 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-08-20 13:12:59,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c01cac5-7937-43fd-9384-57d53bb3a9c3', 'name': 'ctest-vn-40911300', 'tenant_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'project_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48224fb2-64ee-4de2-8f8d-a6252e6c24d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-vn-40911300'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-policy-allow-all-54049976']], 'subnet_ipam': [{'subnet_cidr': '26.172.145.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:12:59,393 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '823f9bc6-2274-4779-9d85-2e1df1672615', 'name': 'ctest-vn-84529471', 'tenant_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'project_id': 'baabe3f247a642a5a24ecfd3084bd44d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c3c93ea-807d-4814-ad36-87cbb817e666'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-vn-84529471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-policy-allow-all-54049976']], 'subnet_ipam': [{'subnet_cidr': '185.210.237.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:12:59,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:12:59,877 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:12:59,906 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeac589-f333-49ff-9097-325edeaeeec3 2026-08-20 13:12:59,922 - DEBUG - Requesting: http://10.0.0.50:8082/project/baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:12:59,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:13:00,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:13:00,026 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/be4c4c07-a8f3-432a-8375-055739ff0ce6 2026-08-20 13:13:00,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/be4c4c07-a8f3-432a-8375-055739ff0ce6 2026-08-20 13:13:00,044 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a6981350-a16b-4cf5-807b-73d775bc4bbf 2026-08-20 13:13:00,052 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:13:00,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:13:00,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/be4c4c07-a8f3-432a-8375-055739ff0ce6 2026-08-20 13:13:00,079 - INFO - Verified VN network id 11 for VN 8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:13:00,079 - INFO - Verifications in API Server for VN ctest-vn-40911300 passed 2026-08-20 13:13:00,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:13:00,088 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/be4c4c07-a8f3-432a-8375-055739ff0ce6 2026-08-20 13:13:00,096 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/be4c4c07-a8f3-432a-8375-055739ff0ce6 2026-08-20 13:13:00,117 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a6981350-a16b-4cf5-807b-73d775bc4bbf 2026-08-20 13:13:00,131 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01659755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10088567589777654781', 'uuid-lslong': '10629717593842493891'}, 'enable': 'true', 'created': '2026-08-20T13:12:57', 'last-modified': '2026-08-20T13:12:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.010891'} 2026-08-20 13:13:00,137 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:13:00,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40911300 passed 2026-08-20 13:13:00,138 - DEBUG - ====Verifying policy data for ctest-vn-40911300 in API_Server ====== 2026-08-20 13:13:00,138 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:13:00,144 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeac589-f333-49ff-9097-325edeaeeec3 2026-08-20 13:13:00,156 - DEBUG - Requesting: http://10.0.0.50:8082/project/baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:13:00,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c01cac5-7937-43fd-9384-57d53bb3a9c3 2026-08-20 13:13:00,243 - DEBUG - ==>Verifying data for policy with id: bceb1f04-1c91-476a-a197-6d9f784e0acd, fqn: ['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-policy-allow-all-54049976'] 2026-08-20 13:13:00,243 - INFO - VN ctest-vn-40911300 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:13:00,243 - DEBUG - Verifying the vn in opserver 2026-08-20 13:13:00,243 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300 virtual network link through opserver 10.0.0.50 2026-08-20 13:13:00,243 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-20 13:13:00,563 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-20 13:13:00,619 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300?flat'} 2026-08-20 13:13:00,619 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300 is found in opserver 2026-08-20 13:13:00,630 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:13:00,635 - DEBUG - VRF ids for VN ctest-vn-40911300: {} 2026-08-20 13:13:00,635 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:13:00,643 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeac589-f333-49ff-9097-325edeaeeec3 2026-08-20 13:13:00,655 - DEBUG - Requesting: http://10.0.0.50:8082/project/baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:13:00,735 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:13:00,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:13:00,756 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03c00e0c-f843-4474-a4da-b04c437d83e2 2026-08-20 13:13:00,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03c00e0c-f843-4474-a4da-b04c437d83e2 2026-08-20 13:13:00,770 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fa005e6b-8ef4-4620-a443-834acc88e897 2026-08-20 13:13:00,776 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:13:00,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:13:00,785 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03c00e0c-f843-4474-a4da-b04c437d83e2 2026-08-20 13:13:00,799 - INFO - Verified VN network id 12 for VN 823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:13:00,799 - INFO - Verifications in API Server for VN ctest-vn-84529471 passed 2026-08-20 13:13:00,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:13:00,808 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03c00e0c-f843-4474-a4da-b04c437d83e2 2026-08-20 13:13:00,816 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03c00e0c-f843-4474-a4da-b04c437d83e2 2026-08-20 13:13:00,823 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fa005e6b-8ef4-4620-a443-834acc88e897 2026-08-20 13:13:00,835 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-84529471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01659755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9385391423747278713', 'uuid-lslong': '11350529141996201493'}, 'enable': 'true', 'created': '2026-08-20T13:12:58', 'last-modified': '2026-08-20T13:12:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475738'} 2026-08-20 13:13:00,841 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:13:00,841 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84529471 passed 2026-08-20 13:13:00,841 - DEBUG - ====Verifying policy data for ctest-vn-84529471 in API_Server ====== 2026-08-20 13:13:00,841 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:13:00,847 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeac589-f333-49ff-9097-325edeaeeec3 2026-08-20 13:13:00,857 - DEBUG - Requesting: http://10.0.0.50:8082/project/baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:13:00,934 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/823f9bc6-2274-4779-9d85-2e1df1672615 2026-08-20 13:13:00,944 - DEBUG - ==>Verifying data for policy with id: bceb1f04-1c91-476a-a197-6d9f784e0acd, fqn: ['default-domain', 'ctest-TestBasicPolicy-01659755', 'ctest-policy-allow-all-54049976'] 2026-08-20 13:13:00,944 - INFO - VN ctest-vn-84529471 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:13:00,944 - DEBUG - Verifying the vn in opserver 2026-08-20 13:13:00,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-84529471 virtual network link through opserver 10.0.0.50 2026-08-20 13:13:00,944 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-20 13:13:00,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-84529471', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-84529471?flat'} 2026-08-20 13:13:00,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-84529471 is found in opserver 2026-08-20 13:13:00,965 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:13:00,970 - DEBUG - VRF ids for VN ctest-vn-84529471: {} 2026-08-20 13:13:01,026 - DEBUG - Services list from nova: [, , ] 2026-08-20 13:13:01,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6187-1) 2026-08-20 13:13:01,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6187-1) 2026-08-20 13:13:01,894 - INFO - Waiting for VM ctest-TestBasicPolicy-01659755-84601160 to be up.. 2026-08-20 13:13:01,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:07,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:12,100 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:17,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:22,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:27,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:32,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:13:37,523 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:13:37,523 - INFO - VM name : ctest-TestBasicPolicy-01659755-84601160 2026-08-20 13:13:37,601 - DEBUG - VM ctest-TestBasicPolicy-01659755-84601160 ID is d0c2e2f9-db36-4d20-ab36-2838a3b8766b 2026-08-20 13:13:37,624 - DEBUG - VM ctest-TestBasicPolicy-01659755-84601160 launched on Node cn-jenkins-deploy-platform-ansible-os-6187-1 2026-08-20 13:13:37,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0c2e2f9-db36-4d20-ab36-2838a3b8766b 2026-08-20 13:13:37,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a020ac9c-768c-4ff1-a6b2-92e144965051 2026-08-20 13:13:40,993 - 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 1021ms') 2026-08-20 13:13:40,994 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01659755-84601160 failed! 2026-08-20 13:13:41,048 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-40911300 is 26.172.145.193 and allocation pool is NOT set 2026-08-20 13:13:43,106 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.594 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 = 0.594/2.235/3.877/1.641 ms') 2026-08-20 13:13:43,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01659755-84601160 passed 2026-08-20 13:13:43,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:13:43,260 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01659755-84601160, IP 26.172.145.195, Port 22 2026-08-20 13:13:43,431 - DEBUG - VM ctest-TestBasicPolicy-01659755-84601160 is ready for SSH connections 2026-08-20 13:13:43,431 - INFO - Waiting for VM ctest-TestBasicPolicy-01659755-38578104 to be up.. 2026-08-20 13:13:43,513 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:13:43,513 - INFO - VM name : ctest-TestBasicPolicy-01659755-38578104 2026-08-20 13:13:43,604 - DEBUG - VM ctest-TestBasicPolicy-01659755-38578104 ID is b9a0cbbf-c134-42ee-b2ae-15ddecdb529c 2026-08-20 13:13:43,604 - DEBUG - VM ctest-TestBasicPolicy-01659755-38578104 launched on Node cn-jenkins-deploy-platform-ansible-os-6187-1 2026-08-20 13:13:43,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b9a0cbbf-c134-42ee-b2ae-15ddecdb529c 2026-08-20 13:13:43,692 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/550c4366-32fd-4e82-8f5c-7b1fcb259237 2026-08-20 13:13:46,941 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms') 2026-08-20 13:13:46,941 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01659755-38578104 failed! 2026-08-20 13:13:46,996 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01659755:ctest-vn-84529471 is 185.210.237.1 and allocation pool is NOT set 2026-08-20 13:13:49,067 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 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.532/2.163/3.794/1.631 ms') 2026-08-20 13:13:49,067 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01659755-38578104 passed 2026-08-20 13:13:49,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:13:49,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01659755-38578104, IP 185.210.237.3, Port 22 2026-08-20 13:13:49,376 - DEBUG - VM ctest-TestBasicPolicy-01659755-38578104 is ready for SSH connections 2026-08-20 13:13:49,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:13:49,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.210.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 13:13:49,376 - DEBUG - ping -s 56 -c 3 -W 1 185.210.237.3 2026-08-20 13:13:53,338 - DEBUG - PING 185.210.237.3 (185.210.237.3): 56 data bytes 64 bytes from 185.210.237.3: seq=0 ttl=63 time=5.534 ms 64 bytes from 185.210.237.3: seq=1 ttl=63 time=0.957 ms 64 bytes from 185.210.237.3: seq=2 ttl=63 time=1.036 ms --- 185.210.237.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/2.509/5.534 ms 2026-08-20 13:13:53,338 - INFO - Ping to IP 185.210.237.3 from VM ctest-TestBasicPolicy-01659755-84601160 passed 2026-08-20 13:13:53,528 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bceb1f04-1c91-476a-a197-6d9f784e0acd", "href": "http://10.0.0.50:8082/network-policy/bceb1f04-1c91-476a-a197-6d9f784e0acd"}} 2026-08-20 13:13:53,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:13:53,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.210.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 13:13:53,528 - DEBUG - ping -s 56 -c 3 -W 1 185.210.237.3 2026-08-20 13:13:56,647 - DEBUG - PING 185.210.237.3 (185.210.237.3): 56 data bytes 64 bytes from 185.210.237.3: seq=0 ttl=63 time=1.840 ms --- 185.210.237.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.840/1.840/1.840 ms 2026-08-20 13:13:56,647 - WARNING - Ping to IP 185.210.237.3 from VM ctest-TestBasicPolicy-01659755-84601160 failed 2026-08-20 13:13:56,647 - INFO - Deleting VM ctest-TestBasicPolicy-01659755-38578104 2026-08-20 13:13:56,724 - INFO - Deleting VM ctest-TestBasicPolicy-01659755-84601160 2026-08-20 13:13:57,130 - INFO - Deleted policy ctest-policy-allow-all-54049976 2026-08-20 13:13:57,130 - INFO - Deleting VN ctest-vn-84529471 2026-08-20 13:13:57,169 - DEBUG - VN 823f9bc6-2274-4779-9d85-2e1df1672615 still in use: Unable to complete operation on network 823f9bc6-2274-4779-9d85-2e1df1672615. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6d2876f7-a2e6-41f7-8751-28cde62ba2d8'] 2026-08-20 13:13:57,169 - WARNING - Deleting VN ctest-vn-84529471 failed..Will retry 2026-08-20 13:13:59,284 - DEBUG - Response for deleting network () 2026-08-20 13:13:59,284 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03c00e0c-f843-4474-a4da-b04c437d83e2 2026-08-20 13:13:59,290 - DEBUG - Response Code: 404 2026-08-20 13:13:59,290 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:13:59,301 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeac589-f333-49ff-9097-325edeaeeec3 2026-08-20 13:13:59,361 - DEBUG - Requesting: http://10.0.0.50:8082/project/baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:13:59,445 - INFO - Validated that VN ctest-vn-84529471 is not found in API Server 2026-08-20 13:13:59,456 - DEBUG - VN ctest-vn-84529471 is not present in Agent 10.0.0.50 2026-08-20 13:13:59,456 - INFO - Validated that VN ctest-vn-84529471 is not in any agent 2026-08-20 13:13:59,472 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84529471 info 2026-08-20 13:13:59,472 - INFO - Deleting VN ctest-vn-40911300 2026-08-20 13:13:59,598 - DEBUG - Response for deleting network () 2026-08-20 13:13:59,598 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/be4c4c07-a8f3-432a-8375-055739ff0ce6 2026-08-20 13:13:59,606 - DEBUG - Response Code: 404 2026-08-20 13:13:59,606 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 13:13:59,612 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeac589-f333-49ff-9097-325edeaeeec3 2026-08-20 13:13:59,665 - DEBUG - Requesting: http://10.0.0.50:8082/project/baabe3f2-47a6-42a5-a24e-cfd3084bd44d 2026-08-20 13:13:59,738 - INFO - Validated that VN ctest-vn-40911300 is not found in API Server 2026-08-20 13:13:59,748 - DEBUG - VN ctest-vn-40911300 is not present in Agent 10.0.0.50 2026-08-20 13:13:59,748 - INFO - Validated that VN ctest-vn-40911300 is not in any agent 2026-08-20 13:13:59,765 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40911300 info 2026-08-20 13:14:00,027 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 13:14:00,027 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-08-20 13:14:00,027 - INFO - -------------------------------------------------------------------------------- 2026-08-20 13:14:00,732 - INFO - Deleted project: ctest-TestBasicPolicy-01659755, ID : baabe3f2-47a6-42a5-a24e-cfd3084bd44d