2026-04-28 13:33:08,017 - INFO - Domain Default found not creating 2026-04-28 13:33:08,214 - INFO - Project ctest-TestBasicPolicy-15075459 not found, creating it 2026-04-28 13:33:08,718 - INFO - Created Project:ctest-TestBasicPolicy-15075459, ID : ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:10,461 - INFO - ================================================================================ 2026-04-28 13:33:10,461 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 13:33:10,462 - 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-04-28 13:33:10,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-04-28 13:33:10,736 - INFO - Initial checks done. Running the testcase now 2026-04-28 13:33:10,736 - INFO - 2026-04-28 13:33:11,374 - DEBUG - Response for create_network : {'network': {'id': '08e69cc6-33fe-4d5d-a49c-88b8402a5f17', 'name': 'ctest-vn-17793848', 'tenant_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'project_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-vn-17793848'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:33:11,584 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9f17bfd-128c-4864-ae95-9c00ab227954', 'name': '', 'tenant_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'network_id': '08e69cc6-33fe-4d5d-a49c-88b8402a5f17', 'ip_version': 4, 'cidr': '66.192.5.192/26', 'allocation_pools': [{'start': '66.192.5.194', 'end': '66.192.5.254'}], 'gateway_ip': '66.192.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.192.5.194', 'tags': [], 'project_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb'}} 2026-04-28 13:33:11,606 - INFO - Created VN ctest-vn-17793848 2026-04-28 13:33:11,659 - DEBUG - VN ctest-vn-17793848 UUID is 08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:11,979 - DEBUG - Response for create_network : {'network': {'id': '5149a33c-8cc3-4b49-b315-ebb3f0bbd745', 'name': 'ctest-vn-95791549', 'tenant_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'project_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-vn-95791549'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:33:12,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e7c8c1e-725f-49c9-a7ed-39c0656f127b', 'name': '', 'tenant_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'network_id': '5149a33c-8cc3-4b49-b315-ebb3f0bbd745', 'ip_version': 4, 'cidr': '203.6.159.64/26', 'allocation_pools': [{'start': '203.6.159.66', 'end': '203.6.159.126'}], 'gateway_ip': '203.6.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.6.159.66', 'tags': [], 'project_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb'}} 2026-04-28 13:33:12,213 - INFO - Created VN ctest-vn-95791549 2026-04-28 13:33:12,267 - DEBUG - VN ctest-vn-95791549 UUID is 5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:12,390 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848, 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-15075459:ctest-vn-95791549, 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-04-28 13:33:12,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08e69cc6-33fe-4d5d-a49c-88b8402a5f17', 'name': 'ctest-vn-17793848', 'tenant_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'project_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9f17bfd-128c-4864-ae95-9c00ab227954'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-vn-17793848'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-policy-allow-all-95480333']], 'subnet_ipam': [{'subnet_cidr': '66.192.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:33:12,958 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5149a33c-8cc3-4b49-b315-ebb3f0bbd745', 'name': 'ctest-vn-95791549', 'tenant_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'project_id': 'ee76f8cb15fe4c50a4d14a82d574cdbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e7c8c1e-725f-49c9-a7ed-39c0656f127b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-vn-95791549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-policy-allow-all-95480333']], 'subnet_ipam': [{'subnet_cidr': '203.6.159.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:33:13,127 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:13,471 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:13,514 - DEBUG - Requesting: http://10.0.0.19:8082/domain/b99f2910-4147-4e84-9f15-b606a7af05dc 2026-04-28 13:33:13,527 - DEBUG - Requesting: http://10.0.0.19:8082/project/ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:13,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:13,621 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:13,633 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ef3d2aae-5e07-4032-b85a-dda06539a6cf 2026-04-28 13:33:13,641 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ef3d2aae-5e07-4032-b85a-dda06539a6cf 2026-04-28 13:33:13,649 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0f56c792-8bdf-42cb-bbf9-5df5b45ccc5a 2026-04-28 13:33:13,657 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 13:33:13,657 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:13,668 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ef3d2aae-5e07-4032-b85a-dda06539a6cf 2026-04-28 13:33:13,686 - INFO - Verified VN network id 11 for VN 08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:13,687 - INFO - Verifications in API Server for VN ctest-vn-17793848 passed 2026-04-28 13:33:13,687 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:13,698 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ef3d2aae-5e07-4032-b85a-dda06539a6cf 2026-04-28 13:33:13,707 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ef3d2aae-5e07-4032-b85a-dda06539a6cf 2026-04-28 13:33:13,715 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0f56c792-8bdf-42cb-bbf9-5df5b45ccc5a 2026-04-28 13:33:13,727 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15075459', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '641372372036635997', 'uuid-lslong': '11861505843518922519'}, 'enable': 'true', 'created': '2026-04-28T13:33:11', 'last-modified': '2026-04-28T13:33:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.045474'} 2026-04-28 13:33:13,734 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 13:33:13,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17793848 passed 2026-04-28 13:33:13,734 - DEBUG - ====Verifying policy data for ctest-vn-17793848 in API_Server ====== 2026-04-28 13:33:13,734 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:13,740 - DEBUG - Requesting: http://10.0.0.19:8082/domain/b99f2910-4147-4e84-9f15-b606a7af05dc 2026-04-28 13:33:13,752 - DEBUG - Requesting: http://10.0.0.19:8082/project/ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:13,835 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/08e69cc6-33fe-4d5d-a49c-88b8402a5f17 2026-04-28 13:33:13,846 - DEBUG - ==>Verifying data for policy with id: fee24e9a-4e11-4c9c-835e-c44a4fae8723, fqn: ['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-policy-allow-all-95480333'] 2026-04-28 13:33:13,846 - INFO - VN ctest-vn-17793848 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 13:33:13,847 - DEBUG - Verifying the vn in opserver 2026-04-28 13:33:13,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848 virtual network link through opserver 10.0.0.19 2026-04-28 13:33:13,847 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-04-28 13:33:14,201 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-04-28 13:33:14,282 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848?flat'} 2026-04-28 13:33:14,282 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848 is found in opserver 2026-04-28 13:33:14,294 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 13:33:14,299 - DEBUG - VRF ids for VN ctest-vn-17793848: {} 2026-04-28 13:33:14,299 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:14,306 - DEBUG - Requesting: http://10.0.0.19:8082/domain/b99f2910-4147-4e84-9f15-b606a7af05dc 2026-04-28 13:33:14,319 - DEBUG - Requesting: http://10.0.0.19:8082/project/ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:14,396 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:14,411 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:14,422 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9989ebc1-b698-4243-9388-9298c2d95041 2026-04-28 13:33:14,430 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9989ebc1-b698-4243-9388-9298c2d95041 2026-04-28 13:33:14,439 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/cce726e1-57af-46f8-bf70-a77d33d8e2bc 2026-04-28 13:33:14,446 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 13:33:14,446 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:14,459 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9989ebc1-b698-4243-9388-9298c2d95041 2026-04-28 13:33:14,478 - INFO - Verified VN network id 12 for VN 5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:14,478 - INFO - Verifications in API Server for VN ctest-vn-95791549 passed 2026-04-28 13:33:14,478 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:14,490 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9989ebc1-b698-4243-9388-9298c2d95041 2026-04-28 13:33:14,499 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9989ebc1-b698-4243-9388-9298c2d95041 2026-04-28 13:33:14,507 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/cce726e1-57af-46f8-bf70-a77d33d8e2bc 2026-04-28 13:33:14,522 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-95791549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15075459', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5857392270827014985', 'uuid-lslong': '12904479465370539845'}, 'enable': 'true', 'created': '2026-04-28T13:33:11', 'last-modified': '2026-04-28T13:33:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.586949'} 2026-04-28 13:33:14,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 13:33:14,530 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95791549 passed 2026-04-28 13:33:14,530 - DEBUG - ====Verifying policy data for ctest-vn-95791549 in API_Server ====== 2026-04-28 13:33:14,530 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:14,536 - DEBUG - Requesting: http://10.0.0.19:8082/domain/b99f2910-4147-4e84-9f15-b606a7af05dc 2026-04-28 13:33:14,549 - DEBUG - Requesting: http://10.0.0.19:8082/project/ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:14,625 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5149a33c-8cc3-4b49-b315-ebb3f0bbd745 2026-04-28 13:33:14,638 - DEBUG - ==>Verifying data for policy with id: fee24e9a-4e11-4c9c-835e-c44a4fae8723, fqn: ['default-domain', 'ctest-TestBasicPolicy-15075459', 'ctest-policy-allow-all-95480333'] 2026-04-28 13:33:14,639 - INFO - VN ctest-vn-95791549 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 13:33:14,639 - DEBUG - Verifying the vn in opserver 2026-04-28 13:33:14,639 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-95791549 virtual network link through opserver 10.0.0.19 2026-04-28 13:33:14,639 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-04-28 13:33:14,651 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-95791549', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-95791549?flat'} 2026-04-28 13:33:14,651 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-95791549 is found in opserver 2026-04-28 13:33:14,666 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 13:33:14,671 - DEBUG - VRF ids for VN ctest-vn-95791549: {} 2026-04-28 13:33:14,743 - DEBUG - Services list from nova: [, , ] 2026-04-28 13:33:15,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5703-1) 2026-04-28 13:33:17,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5703-1) 2026-04-28 13:33:17,295 - INFO - Waiting for VM ctest-TestBasicPolicy-15075459-36921901 to be up.. 2026-04-28 13:33:17,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 13:33:22,507 - DEBUG - VM is in ACTIVE state now 2026-04-28 13:33:22,507 - INFO - VM name : ctest-TestBasicPolicy-15075459-36921901 2026-04-28 13:33:22,601 - DEBUG - VM ctest-TestBasicPolicy-15075459-36921901 ID is c2a9a993-445d-4af7-b56c-d3770215623a 2026-04-28 13:33:22,624 - DEBUG - VM ctest-TestBasicPolicy-15075459-36921901 launched on Node cn-jenkins-deploy-platform-ansible-os-5703-1 2026-04-28 13:33:22,719 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c2a9a993-445d-4af7-b56c-d3770215623a 2026-04-28 13:33:22,728 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/53ee889b-7618-4844-aae7-796ee762ca46 2026-04-28 13:33:25,999 - 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 1017ms') 2026-04-28 13:33:25,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15075459-36921901 failed! 2026-04-28 13:33:26,055 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15075459:ctest-vn-17793848 is 66.192.5.193 and allocation pool is NOT set 2026-04-28 13:33:30,128 - 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=2 ttl=63 time=24.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 24.086/24.086/24.086/0.000 ms') 2026-04-28 13:33:30,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15075459-36921901 passed 2026-04-28 13:33:30,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:33:30,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15075459-36921901, IP 66.192.5.195, Port 22 2026-04-28 13:33:30,349 - 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-04-28 13:33:30,441 - DEBUG - VM ctest-TestBasicPolicy-15075459-36921901 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-28 13:33:35,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:33:35,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15075459-36921901, IP 66.192.5.195, Port 22 2026-04-28 13:33:35,617 - DEBUG - VM ctest-TestBasicPolicy-15075459-36921901 is ready for SSH connections 2026-04-28 13:33:35,617 - INFO - Waiting for VM ctest-TestBasicPolicy-15075459-14236404 to be up.. 2026-04-28 13:33:35,710 - DEBUG - VM is in ACTIVE state now 2026-04-28 13:33:35,710 - INFO - VM name : ctest-TestBasicPolicy-15075459-14236404 2026-04-28 13:33:35,804 - DEBUG - VM ctest-TestBasicPolicy-15075459-14236404 ID is 93d57816-f17a-4ae4-9b85-57f3ba1a4ea2 2026-04-28 13:33:35,804 - DEBUG - VM ctest-TestBasicPolicy-15075459-14236404 launched on Node cn-jenkins-deploy-platform-ansible-os-5703-1 2026-04-28 13:33:35,899 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/93d57816-f17a-4ae4-9b85-57f3ba1a4ea2 2026-04-28 13:33:35,911 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/41bde406-6e14-41af-9adf-f2f3ebba86bd 2026-04-28 13:33:37,162 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.917/3.394/1.476 ms') 2026-04-28 13:33:37,162 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15075459-14236404 passed 2026-04-28 13:33:37,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:33:37,323 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15075459-14236404, IP 203.6.159.67, Port 22 2026-04-28 13:33:37,480 - DEBUG - VM ctest-TestBasicPolicy-15075459-14236404 is ready for SSH connections 2026-04-28 13:33:37,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:33:37,480 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.6.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-04-28 13:33:37,480 - DEBUG - ping -s 56 -c 3 -W 1 203.6.159.67 2026-04-28 13:33:41,777 - DEBUG - PING 203.6.159.67 (203.6.159.67): 56 data bytes 64 bytes from 203.6.159.67: seq=0 ttl=63 time=4.518 ms 64 bytes from 203.6.159.67: seq=1 ttl=63 time=0.998 ms 64 bytes from 203.6.159.67: seq=2 ttl=63 time=0.902 ms --- 203.6.159.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.139/4.518 ms 2026-04-28 13:33:41,777 - INFO - Ping to IP 203.6.159.67 from VM ctest-TestBasicPolicy-15075459-36921901 passed 2026-04-28 13:33:41,963 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fee24e9a-4e11-4c9c-835e-c44a4fae8723", "href": "http://10.0.0.19:8082/network-policy/fee24e9a-4e11-4c9c-835e-c44a4fae8723"}} 2026-04-28 13:33:41,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:33:41,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.6.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-04-28 13:33:41,963 - DEBUG - ping -s 56 -c 3 -W 1 203.6.159.67 2026-04-28 13:33:45,234 - DEBUG - PING 203.6.159.67 (203.6.159.67): 56 data bytes --- 203.6.159.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 13:33:45,234 - WARNING - Ping to IP 203.6.159.67 from VM ctest-TestBasicPolicy-15075459-36921901 failed 2026-04-28 13:33:45,234 - INFO - Deleting VM ctest-TestBasicPolicy-15075459-14236404 2026-04-28 13:33:45,323 - INFO - Deleting VM ctest-TestBasicPolicy-15075459-36921901 2026-04-28 13:33:45,789 - INFO - Deleted policy ctest-policy-allow-all-95480333 2026-04-28 13:33:45,789 - INFO - Deleting VN ctest-vn-95791549 2026-04-28 13:33:45,835 - DEBUG - VN 5149a33c-8cc3-4b49-b315-ebb3f0bbd745 still in use: Unable to complete operation on network 5149a33c-8cc3-4b49-b315-ebb3f0bbd745. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-352988cb-efcf-40d2-b0fa-08c1c6dc5efd'] 2026-04-28 13:33:45,835 - WARNING - Deleting VN ctest-vn-95791549 failed..Will retry 2026-04-28 13:33:47,964 - DEBUG - Response for deleting network () 2026-04-28 13:33:47,964 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9989ebc1-b698-4243-9388-9298c2d95041 2026-04-28 13:33:47,971 - DEBUG - Response Code: 404 2026-04-28 13:33:47,971 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:47,979 - DEBUG - Requesting: http://10.0.0.19:8082/domain/b99f2910-4147-4e84-9f15-b606a7af05dc 2026-04-28 13:33:48,047 - DEBUG - Requesting: http://10.0.0.19:8082/project/ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:48,137 - INFO - Validated that VN ctest-vn-95791549 is not found in API Server 2026-04-28 13:33:48,150 - DEBUG - VN ctest-vn-95791549 is not present in Agent 10.0.0.19 2026-04-28 13:33:48,150 - INFO - Validated that VN ctest-vn-95791549 is not in any agent 2026-04-28 13:33:48,170 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95791549 info 2026-04-28 13:33:48,171 - INFO - Deleting VN ctest-vn-17793848 2026-04-28 13:33:48,294 - DEBUG - Response for deleting network () 2026-04-28 13:33:48,294 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ef3d2aae-5e07-4032-b85a-dda06539a6cf 2026-04-28 13:33:48,302 - DEBUG - Response Code: 404 2026-04-28 13:33:48,302 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-28 13:33:48,309 - DEBUG - Requesting: http://10.0.0.19:8082/domain/b99f2910-4147-4e84-9f15-b606a7af05dc 2026-04-28 13:33:48,365 - DEBUG - Requesting: http://10.0.0.19:8082/project/ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb 2026-04-28 13:33:48,444 - INFO - Validated that VN ctest-vn-17793848 is not found in API Server 2026-04-28 13:33:48,456 - DEBUG - VN ctest-vn-17793848 is not present in Agent 10.0.0.19 2026-04-28 13:33:48,456 - INFO - Validated that VN ctest-vn-17793848 is not in any agent 2026-04-28 13:33:48,473 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17793848 info 2026-04-28 13:33:48,737 - DEBUG - No XMPP flaps were noticed during the test 2026-04-28 13:33:48,737 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-04-28 13:33:48,737 - INFO - -------------------------------------------------------------------------------- 2026-04-28 13:33:49,532 - INFO - Deleted project: ctest-TestBasicPolicy-15075459, ID : ee76f8cb-15fe-4c50-a4d1-4a82d574cdbb