2026-09-16 07:34:10,544 - INFO - Domain Default found not creating 2026-09-16 07:34:10,716 - INFO - Project ctest-TestBasicPolicy-41026920 not found, creating it 2026-09-16 07:34:11,202 - INFO - Created Project:ctest-TestBasicPolicy-41026920, ID : 8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:34:13,431 - INFO - ================================================================================ 2026-09-16 07:34:13,431 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-16 07:34:13,431 - 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-09-16 07:34:13,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-09-16 07:34:13,685 - INFO - Initial checks done. Running the testcase now 2026-09-16 07:34:13,685 - INFO - 2026-09-16 07:34:14,279 - DEBUG - Response for create_network : {'network': {'id': 'b62f0971-acc4-401c-b26d-8a66c0a89f08', 'name': 'ctest-vn-66936761', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-66936761'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 07:34:14,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb8c36a0-9e19-4cb6-a53f-4819296ff9c7', 'name': '', 'tenant_id': '8879575e46704184b340968dc37498c8', 'network_id': 'b62f0971-acc4-401c-b26d-8a66c0a89f08', 'ip_version': 4, 'cidr': '153.55.149.64/26', 'allocation_pools': [{'start': '153.55.149.66', 'end': '153.55.149.126'}], 'gateway_ip': '153.55.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.55.149.66', 'tags': [], 'project_id': '8879575e46704184b340968dc37498c8'}} 2026-09-16 07:34:14,484 - INFO - Created VN ctest-vn-66936761 2026-09-16 07:34:14,540 - DEBUG - VN ctest-vn-66936761 UUID is b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:14,875 - DEBUG - Response for create_network : {'network': {'id': '18a1468b-5825-4610-9640-9e9eb033768c', 'name': 'ctest-vn-76232727', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-76232727'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 07:34:15,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '570bcfc3-a3d6-4b2c-860e-8c3449e824a9', 'name': '', 'tenant_id': '8879575e46704184b340968dc37498c8', 'network_id': '18a1468b-5825-4610-9640-9e9eb033768c', 'ip_version': 4, 'cidr': '113.246.193.128/26', 'allocation_pools': [{'start': '113.246.193.130', 'end': '113.246.193.190'}], 'gateway_ip': '113.246.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.246.193.130', 'tags': [], 'project_id': '8879575e46704184b340968dc37498c8'}} 2026-09-16 07:34:15,112 - INFO - Created VN ctest-vn-76232727 2026-09-16 07:34:15,164 - DEBUG - VN ctest-vn-76232727 UUID is 18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:15,316 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761, 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-41026920:ctest-vn-76232727, 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-09-16 07:34:15,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b62f0971-acc4-401c-b26d-8a66c0a89f08', 'name': 'ctest-vn-66936761', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['eb8c36a0-9e19-4cb6-a53f-4819296ff9c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-66936761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289']], 'subnet_ipam': [{'subnet_cidr': '153.55.149.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 07:34:15,889 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18a1468b-5825-4610-9640-9e9eb033768c', 'name': 'ctest-vn-76232727', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['570bcfc3-a3d6-4b2c-860e-8c3449e824a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-76232727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289']], 'subnet_ipam': [{'subnet_cidr': '113.246.193.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 07:34:16,056 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:34:16,373 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:34:16,402 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031 2026-09-16 07:34:16,414 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:34:16,493 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:16,505 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:16,514 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc 2026-09-16 07:34:16,523 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc 2026-09-16 07:34:16,531 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8a2935cf-a316-4657-9b19-e89f561e0cdd 2026-09-16 07:34:16,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 07:34:16,540 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:16,551 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc 2026-09-16 07:34:16,565 - INFO - Verified VN network id 12 for VN b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:16,565 - INFO - Verifications in API Server for VN ctest-vn-66936761 passed 2026-09-16 07:34:16,565 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:16,575 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc 2026-09-16 07:34:16,582 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc 2026-09-16 07:34:16,594 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8a2935cf-a316-4657-9b19-e89f561e0cdd 2026-09-16 07:34:16,611 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41026920', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13127721822642782236', 'uuid-lslong': '12857084685136207624'}, 'enable': 'true', 'created': '2026-09-16T07:34:14', 'last-modified': '2026-09-16T07:34:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996292'} 2026-09-16 07:34:16,618 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 07:34:16,619 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66936761 passed 2026-09-16 07:34:16,619 - DEBUG - ====Verifying policy data for ctest-vn-66936761 in API_Server ====== 2026-09-16 07:34:16,619 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:34:16,625 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031 2026-09-16 07:34:16,637 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:34:16,717 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08 2026-09-16 07:34:16,727 - DEBUG - ==>Verifying data for policy with id: a0c8a57c-1208-4f74-ae5f-a9914b906d94, fqn: ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289'] 2026-09-16 07:34:16,727 - INFO - VN ctest-vn-66936761 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 07:34:16,728 - DEBUG - Verifying the vn in opserver 2026-09-16 07:34:16,728 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761 virtual network link through opserver 10.0.0.185 2026-09-16 07:34:16,728 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-16 07:34:17,049 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-16 07:34:17,105 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761?flat'} 2026-09-16 07:34:17,105 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761 is found in opserver 2026-09-16 07:34:17,116 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 07:34:17,121 - DEBUG - VRF ids for VN ctest-vn-66936761: {} 2026-09-16 07:34:17,121 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:34:17,127 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031 2026-09-16 07:34:17,140 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:34:17,221 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:17,232 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:17,243 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01 2026-09-16 07:34:17,251 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01 2026-09-16 07:34:17,258 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1f150095-e4fc-44f5-b8f3-c7078803b07c 2026-09-16 07:34:17,264 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 07:34:17,265 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:17,273 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01 2026-09-16 07:34:17,290 - INFO - Verified VN network id 13 for VN 18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:17,290 - INFO - Verifications in API Server for VN ctest-vn-76232727 passed 2026-09-16 07:34:17,290 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:17,301 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01 2026-09-16 07:34:17,310 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01 2026-09-16 07:34:17,319 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1f150095-e4fc-44f5-b8f3-c7078803b07c 2026-09-16 07:34:17,332 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41026920', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1774777292453922320', 'uuid-lslong': '10826827908596856460'}, 'enable': 'true', 'created': '2026-09-16T07:34:14', 'last-modified': '2026-09-16T07:34:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477045'} 2026-09-16 07:34:17,339 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 07:34:17,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76232727 passed 2026-09-16 07:34:17,339 - DEBUG - ====Verifying policy data for ctest-vn-76232727 in API_Server ====== 2026-09-16 07:34:17,340 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:34:17,345 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031 2026-09-16 07:34:17,355 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:34:17,434 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c 2026-09-16 07:34:17,444 - DEBUG - ==>Verifying data for policy with id: a0c8a57c-1208-4f74-ae5f-a9914b906d94, fqn: ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289'] 2026-09-16 07:34:17,444 - INFO - VN ctest-vn-76232727 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 07:34:17,444 - DEBUG - Verifying the vn in opserver 2026-09-16 07:34:17,444 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727 virtual network link through opserver 10.0.0.185 2026-09-16 07:34:17,444 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-16 07:34:17,454 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727?flat'} 2026-09-16 07:34:17,454 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727 is found in opserver 2026-09-16 07:34:17,465 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 07:34:17,470 - DEBUG - VRF ids for VN ctest-vn-76232727: {} 2026-09-16 07:34:17,545 - DEBUG - Services list from nova: [, , ] 2026-09-16 07:34:18,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6288-1) 2026-09-16 07:34:18,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6288-1) 2026-09-16 07:34:18,436 - INFO - Waiting for VM ctest-TestBasicPolicy-41026920-04957996 to be up.. 2026-09-16 07:34:18,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:23,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:28,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:33,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:38,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:43,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:48,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 07:34:54,049 - DEBUG - VM is in ACTIVE state now 2026-09-16 07:34:54,049 - INFO - VM name : ctest-TestBasicPolicy-41026920-04957996 2026-09-16 07:34:54,151 - DEBUG - VM ctest-TestBasicPolicy-41026920-04957996 ID is a0a0a221-2ad3-4f73-adc0-b9f403676583 2026-09-16 07:34:54,172 - DEBUG - VM ctest-TestBasicPolicy-41026920-04957996 launched on Node cn-jenkins-deploy-platform-ansible-os-6288-1 2026-09-16 07:34:54,259 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a0a0a221-2ad3-4f73-adc0-b9f403676583 2026-09-16 07:34:54,268 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/f04d612e-7883-45c1-b2ea-35f8673b3bc0 2026-09-16 07:34:57,534 - 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 1023ms') 2026-09-16 07:34:57,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41026920-04957996 failed! 2026-09-16 07:34:57,592 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761 is 153.55.149.65 and allocation pool is NOT set 2026-09-16 07:34:59,658 - 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=9.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/5.073/9.666/4.593 ms') 2026-09-16 07:34:59,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41026920-04957996 passed 2026-09-16 07:34:59,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 07:34:59,808 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41026920-04957996, IP 153.55.149.67, Port 22 2026-09-16 07:34:59,963 - DEBUG - VM ctest-TestBasicPolicy-41026920-04957996 is ready for SSH connections 2026-09-16 07:34:59,964 - INFO - Waiting for VM ctest-TestBasicPolicy-41026920-80617747 to be up.. 2026-09-16 07:35:00,043 - DEBUG - VM is in ACTIVE state now 2026-09-16 07:35:00,043 - INFO - VM name : ctest-TestBasicPolicy-41026920-80617747 2026-09-16 07:35:00,118 - DEBUG - VM ctest-TestBasicPolicy-41026920-80617747 ID is d1fb6583-bae3-49e7-9583-1dc02efeaa4d 2026-09-16 07:35:00,118 - DEBUG - VM ctest-TestBasicPolicy-41026920-80617747 launched on Node cn-jenkins-deploy-platform-ansible-os-6288-1 2026-09-16 07:35:00,199 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/d1fb6583-bae3-49e7-9583-1dc02efeaa4d 2026-09-16 07:35:00,211 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/1606762c-61c6-4725-b0f2-d5011c5c0f49 2026-09-16 07:35:03,479 - 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 1022ms') 2026-09-16 07:35:03,479 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41026920-80617747 failed! 2026-09-16 07:35:03,532 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727 is 113.246.193.129 and allocation pool is NOT set 2026-09-16 07:35:05,602 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.845/3.169/1.324 ms') 2026-09-16 07:35:05,602 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41026920-80617747 passed 2026-09-16 07:35:05,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 07:35:05,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41026920-80617747, IP 113.246.193.131, Port 22 2026-09-16 07:35:05,922 - DEBUG - VM ctest-TestBasicPolicy-41026920-80617747 is ready for SSH connections 2026-09-16 07:35:05,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 07:35:05,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.246.193.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-16 07:35:05,922 - DEBUG - ping -s 56 -c 3 -W 1 113.246.193.131 2026-09-16 07:35:09,874 - DEBUG - PING 113.246.193.131 (113.246.193.131): 56 data bytes 64 bytes from 113.246.193.131: seq=0 ttl=63 time=4.464 ms 64 bytes from 113.246.193.131: seq=1 ttl=63 time=1.370 ms 64 bytes from 113.246.193.131: seq=2 ttl=63 time=1.094 ms --- 113.246.193.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/2.309/4.464 ms 2026-09-16 07:35:09,875 - INFO - Ping to IP 113.246.193.131 from VM ctest-TestBasicPolicy-41026920-04957996 passed 2026-09-16 07:35:10,075 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0c8a57c-1208-4f74-ae5f-a9914b906d94", "href": "http://10.0.0.185:8082/network-policy/a0c8a57c-1208-4f74-ae5f-a9914b906d94"}} 2026-09-16 07:35:10,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 07:35:10,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.246.193.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-16 07:35:10,076 - DEBUG - ping -s 56 -c 3 -W 1 113.246.193.131 2026-09-16 07:35:13,204 - DEBUG - PING 113.246.193.131 (113.246.193.131): 56 data bytes 64 bytes from 113.246.193.131: seq=0 ttl=63 time=2.111 ms --- 113.246.193.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.111/2.111/2.111 ms 2026-09-16 07:35:13,205 - WARNING - Ping to IP 113.246.193.131 from VM ctest-TestBasicPolicy-41026920-04957996 failed 2026-09-16 07:35:13,205 - INFO - Deleting VM ctest-TestBasicPolicy-41026920-80617747 2026-09-16 07:35:13,290 - INFO - Deleting VM ctest-TestBasicPolicy-41026920-04957996 2026-09-16 07:35:13,655 - INFO - Deleted policy ctest-policy-allow-all-77245289 2026-09-16 07:35:13,655 - INFO - Deleting VN ctest-vn-76232727 2026-09-16 07:35:13,686 - DEBUG - VN 18a1468b-5825-4610-9640-9e9eb033768c still in use: Unable to complete operation on network 18a1468b-5825-4610-9640-9e9eb033768c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69b8f565-5a66-44f3-8713-142c48a547f8'] 2026-09-16 07:35:13,686 - WARNING - Deleting VN ctest-vn-76232727 failed..Will retry 2026-09-16 07:35:15,797 - DEBUG - Response for deleting network () 2026-09-16 07:35:15,797 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01 2026-09-16 07:35:15,803 - DEBUG - Response Code: 404 2026-09-16 07:35:15,803 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:35:15,813 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031 2026-09-16 07:35:15,871 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:35:15,949 - INFO - Validated that VN ctest-vn-76232727 is not found in API Server 2026-09-16 07:35:15,961 - DEBUG - VN ctest-vn-76232727 is not present in Agent 10.0.0.185 2026-09-16 07:35:15,961 - INFO - Validated that VN ctest-vn-76232727 is not in any agent 2026-09-16 07:35:15,983 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76232727 info 2026-09-16 07:35:15,983 - INFO - Deleting VN ctest-vn-66936761 2026-09-16 07:35:16,105 - DEBUG - Response for deleting network () 2026-09-16 07:35:16,105 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc 2026-09-16 07:35:16,116 - DEBUG - Response Code: 404 2026-09-16 07:35:16,116 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-16 07:35:16,122 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031 2026-09-16 07:35:16,177 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8 2026-09-16 07:35:16,257 - INFO - Validated that VN ctest-vn-66936761 is not found in API Server 2026-09-16 07:35:16,271 - DEBUG - VN ctest-vn-66936761 is not present in Agent 10.0.0.185 2026-09-16 07:35:16,271 - INFO - Validated that VN ctest-vn-66936761 is not in any agent 2026-09-16 07:35:16,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66936761 info 2026-09-16 07:35:16,555 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 07:35:16,555 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-09-16 07:35:16,555 - INFO - -------------------------------------------------------------------------------- 2026-09-16 07:35:17,274 - INFO - Deleted project: ctest-TestBasicPolicy-41026920, ID : 8879575e-4670-4184-b340-968dc37498c8