2026-04-30 17:49:19,942 - INFO - Domain Default found not creating 2026-04-30 17:49:20,141 - INFO - Project ctest-TestBasicPolicy-97149984 not found, creating it 2026-04-30 17:49:20,616 - INFO - Created Project:ctest-TestBasicPolicy-97149984, ID : 5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:22,187 - INFO - ================================================================================ 2026-04-30 17:49:22,187 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 17:49:22,187 - 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-30 17:49:22,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-30 17:49:22,441 - INFO - Initial checks done. Running the testcase now 2026-04-30 17:49:22,441 - INFO - 2026-04-30 17:49:23,003 - DEBUG - Response for create_network : {'network': {'id': 'bf9e34b6-e134-41c6-af28-c2e8139142d0', 'name': 'ctest-vn-17697868', 'tenant_id': '5a0de801262e428a991ed8f1e4c5d089', 'project_id': '5a0de801262e428a991ed8f1e4c5d089', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-vn-17697868'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 17:49:23,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '45b5afe9-5d4f-46ed-b979-37e2fb96f275', 'name': '', 'tenant_id': '5a0de801262e428a991ed8f1e4c5d089', 'network_id': 'bf9e34b6-e134-41c6-af28-c2e8139142d0', 'ip_version': 4, 'cidr': '24.223.41.64/26', 'allocation_pools': [{'start': '24.223.41.66', 'end': '24.223.41.126'}], 'gateway_ip': '24.223.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.223.41.66', 'tags': [], 'project_id': '5a0de801262e428a991ed8f1e4c5d089'}} 2026-04-30 17:49:23,226 - INFO - Created VN ctest-vn-17697868 2026-04-30 17:49:23,282 - DEBUG - VN ctest-vn-17697868 UUID is bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:23,591 - DEBUG - Response for create_network : {'network': {'id': '2b7b5c8e-fadc-43ad-832e-7463e9f7c146', 'name': 'ctest-vn-07695346', 'tenant_id': '5a0de801262e428a991ed8f1e4c5d089', 'project_id': '5a0de801262e428a991ed8f1e4c5d089', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-vn-07695346'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 17:49:23,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f519856-08bc-4e89-9e16-02ce1d157923', 'name': '', 'tenant_id': '5a0de801262e428a991ed8f1e4c5d089', 'network_id': '2b7b5c8e-fadc-43ad-832e-7463e9f7c146', 'ip_version': 4, 'cidr': '185.87.94.192/26', 'allocation_pools': [{'start': '185.87.94.194', 'end': '185.87.94.254'}], 'gateway_ip': '185.87.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.87.94.194', 'tags': [], 'project_id': '5a0de801262e428a991ed8f1e4c5d089'}} 2026-04-30 17:49:23,787 - INFO - Created VN ctest-vn-07695346 2026-04-30 17:49:23,838 - DEBUG - VN ctest-vn-07695346 UUID is 2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:23,959 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868, 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-97149984:ctest-vn-07695346, 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-30 17:49:24,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf9e34b6-e134-41c6-af28-c2e8139142d0', 'name': 'ctest-vn-17697868', 'tenant_id': '5a0de801262e428a991ed8f1e4c5d089', 'project_id': '5a0de801262e428a991ed8f1e4c5d089', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45b5afe9-5d4f-46ed-b979-37e2fb96f275'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-vn-17697868'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-policy-allow-all-36909948']], 'subnet_ipam': [{'subnet_cidr': '24.223.41.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 17:49:24,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b7b5c8e-fadc-43ad-832e-7463e9f7c146', 'name': 'ctest-vn-07695346', 'tenant_id': '5a0de801262e428a991ed8f1e4c5d089', 'project_id': '5a0de801262e428a991ed8f1e4c5d089', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f519856-08bc-4e89-9e16-02ce1d157923'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-vn-07695346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-policy-allow-all-36909948']], 'subnet_ipam': [{'subnet_cidr': '185.87.94.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 17:49:24,650 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:24,945 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:24,976 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0a8e4bde-f3cc-4bb2-ad2b-01e6d2c2f390 2026-04-30 17:49:24,989 - DEBUG - Requesting: http://10.0.0.33:8082/project/5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:25,061 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:25,072 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:25,080 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/03f7a814-164f-43b5-9237-bc07ad3fd904 2026-04-30 17:49:25,088 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/03f7a814-164f-43b5-9237-bc07ad3fd904 2026-04-30 17:49:25,095 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fa6a4ce9-fb26-483e-a5a7-445ebf6632be 2026-04-30 17:49:25,102 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 17:49:25,102 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:25,113 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/03f7a814-164f-43b5-9237-bc07ad3fd904 2026-04-30 17:49:25,131 - INFO - Verified VN network id 11 for VN bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:25,131 - INFO - Verifications in API Server for VN ctest-vn-17697868 passed 2026-04-30 17:49:25,131 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:25,142 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/03f7a814-164f-43b5-9237-bc07ad3fd904 2026-04-30 17:49:25,150 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/03f7a814-164f-43b5-9237-bc07ad3fd904 2026-04-30 17:49:25,158 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fa6a4ce9-fb26-483e-a5a7-445ebf6632be 2026-04-30 17:49:25,171 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97149984', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13807531467631509958', 'uuid-lslong': '12621552257722303184'}, 'enable': 'true', 'created': '2026-04-30T17:49:22', 'last-modified': '2026-04-30T17:49:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940996'} 2026-04-30 17:49:25,178 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 17:49:25,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17697868 passed 2026-04-30 17:49:25,178 - DEBUG - ====Verifying policy data for ctest-vn-17697868 in API_Server ====== 2026-04-30 17:49:25,178 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:25,184 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0a8e4bde-f3cc-4bb2-ad2b-01e6d2c2f390 2026-04-30 17:49:25,197 - DEBUG - Requesting: http://10.0.0.33:8082/project/5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:25,268 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf9e34b6-e134-41c6-af28-c2e8139142d0 2026-04-30 17:49:25,279 - DEBUG - ==>Verifying data for policy with id: 8b03da50-a015-4bc6-bcd4-f42527f63b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-policy-allow-all-36909948'] 2026-04-30 17:49:25,279 - INFO - VN ctest-vn-17697868 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 17:49:25,280 - DEBUG - Verifying the vn in opserver 2026-04-30 17:49:25,280 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868 virtual network link through opserver 10.0.0.33 2026-04-30 17:49:25,280 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-30 17:49:25,579 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-30 17:49:25,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868?flat'} 2026-04-30 17:49:25,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868 is found in opserver 2026-04-30 17:49:25,656 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 17:49:25,661 - DEBUG - VRF ids for VN ctest-vn-17697868: {} 2026-04-30 17:49:25,661 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:25,666 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0a8e4bde-f3cc-4bb2-ad2b-01e6d2c2f390 2026-04-30 17:49:25,678 - DEBUG - Requesting: http://10.0.0.33:8082/project/5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:25,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:25,760 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:25,771 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a4fc1572-c55d-4cb7-bd3b-d3b9fb4b18e8 2026-04-30 17:49:25,780 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a4fc1572-c55d-4cb7-bd3b-d3b9fb4b18e8 2026-04-30 17:49:25,788 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e83243e4-c171-4bf4-8439-845057ad0004 2026-04-30 17:49:25,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 17:49:25,797 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:25,808 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a4fc1572-c55d-4cb7-bd3b-d3b9fb4b18e8 2026-04-30 17:49:25,827 - INFO - Verified VN network id 12 for VN 2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:25,827 - INFO - Verifications in API Server for VN ctest-vn-07695346 passed 2026-04-30 17:49:25,827 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:25,840 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a4fc1572-c55d-4cb7-bd3b-d3b9fb4b18e8 2026-04-30 17:49:25,849 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a4fc1572-c55d-4cb7-bd3b-d3b9fb4b18e8 2026-04-30 17:49:25,856 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e83243e4-c171-4bf4-8439-845057ad0004 2026-04-30 17:49:25,869 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-07695346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97149984', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3133199734930162605', 'uuid-lslong': '9452620640373162310'}, 'enable': 'true', 'created': '2026-04-30T17:49:23', 'last-modified': '2026-04-30T17:49:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401761'} 2026-04-30 17:49:25,877 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 17:49:25,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07695346 passed 2026-04-30 17:49:25,877 - DEBUG - ====Verifying policy data for ctest-vn-07695346 in API_Server ====== 2026-04-30 17:49:25,877 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:25,883 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0a8e4bde-f3cc-4bb2-ad2b-01e6d2c2f390 2026-04-30 17:49:25,895 - DEBUG - Requesting: http://10.0.0.33:8082/project/5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:25,967 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2b7b5c8e-fadc-43ad-832e-7463e9f7c146 2026-04-30 17:49:25,978 - DEBUG - ==>Verifying data for policy with id: 8b03da50-a015-4bc6-bcd4-f42527f63b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-97149984', 'ctest-policy-allow-all-36909948'] 2026-04-30 17:49:25,978 - INFO - VN ctest-vn-07695346 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 17:49:25,978 - DEBUG - Verifying the vn in opserver 2026-04-30 17:49:25,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-07695346 virtual network link through opserver 10.0.0.33 2026-04-30 17:49:25,978 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-30 17:49:25,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-07695346', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-07695346?flat'} 2026-04-30 17:49:25,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-07695346 is found in opserver 2026-04-30 17:49:26,002 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 17:49:26,007 - DEBUG - VRF ids for VN ctest-vn-07695346: {} 2026-04-30 17:49:26,083 - DEBUG - Services list from nova: [, , ] 2026-04-30 17:49:27,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5734-1) 2026-04-30 17:49:28,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5734-1) 2026-04-30 17:49:28,373 - INFO - Waiting for VM ctest-TestBasicPolicy-97149984-55824758 to be up.. 2026-04-30 17:49:28,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 17:49:33,559 - DEBUG - VM is in ACTIVE state now 2026-04-30 17:49:33,559 - INFO - VM name : ctest-TestBasicPolicy-97149984-55824758 2026-04-30 17:49:33,642 - DEBUG - VM ctest-TestBasicPolicy-97149984-55824758 ID is 4fa988d9-3b29-420c-85b9-cc8df0bc2b10 2026-04-30 17:49:33,668 - DEBUG - VM ctest-TestBasicPolicy-97149984-55824758 launched on Node cn-jenkins-deploy-platform-ansible-os-5734-1 2026-04-30 17:49:33,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4fa988d9-3b29-420c-85b9-cc8df0bc2b10 2026-04-30 17:49:33,773 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/24ebf9b5-67c5-4106-9b87-039fa80132b2 2026-04-30 17:49:37,024 - 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-04-30 17:49:37,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97149984-55824758 failed! 2026-04-30 17:49:37,078 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97149984:ctest-vn-17697868 is 24.223.41.65 and allocation pool is NOT set 2026-04-30 17:49:39,144 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.820 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 = 0.820/4.582/8.345/3.762 ms') 2026-04-30 17:49:39,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97149984-55824758 passed 2026-04-30 17:49:39,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 17:49:39,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97149984-55824758, IP 24.223.41.67, Port 22 2026-04-30 17:49:39,468 - DEBUG - VM ctest-TestBasicPolicy-97149984-55824758 is ready for SSH connections 2026-04-30 17:49:39,468 - INFO - Waiting for VM ctest-TestBasicPolicy-97149984-22972390 to be up.. 2026-04-30 17:49:39,692 - DEBUG - VM is in ACTIVE state now 2026-04-30 17:49:39,692 - INFO - VM name : ctest-TestBasicPolicy-97149984-22972390 2026-04-30 17:49:39,851 - DEBUG - VM ctest-TestBasicPolicy-97149984-22972390 ID is b9eccbf4-f53b-4b87-9f14-1ec3fabc2d03 2026-04-30 17:49:39,851 - DEBUG - VM ctest-TestBasicPolicy-97149984-22972390 launched on Node cn-jenkins-deploy-platform-ansible-os-5734-1 2026-04-30 17:49:40,015 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b9eccbf4-f53b-4b87-9f14-1ec3fabc2d03 2026-04-30 17:49:40,057 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/18027b5e-9557-4841-98b4-38456903e538 2026-04-30 17:49:41,354 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.721/2.973/1.251 ms') 2026-04-30 17:49:41,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97149984-22972390 passed 2026-04-30 17:49:41,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 17:49:41,506 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97149984-22972390, IP 185.87.94.195, Port 22 2026-04-30 17:49:41,661 - DEBUG - VM ctest-TestBasicPolicy-97149984-22972390 is ready for SSH connections 2026-04-30 17:49:41,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 17:49:41,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.87.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-30 17:49:41,662 - DEBUG - ping -s 56 -c 3 -W 1 185.87.94.195 2026-04-30 17:49:45,778 - DEBUG - PING 185.87.94.195 (185.87.94.195): 56 data bytes 64 bytes from 185.87.94.195: seq=0 ttl=63 time=4.853 ms 64 bytes from 185.87.94.195: seq=1 ttl=63 time=1.046 ms 64 bytes from 185.87.94.195: seq=2 ttl=63 time=1.092 ms --- 185.87.94.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/2.330/4.853 ms 2026-04-30 17:49:45,778 - INFO - Ping to IP 185.87.94.195 from VM ctest-TestBasicPolicy-97149984-55824758 passed 2026-04-30 17:49:45,962 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8b03da50-a015-4bc6-bcd4-f42527f63b1f", "href": "http://10.0.0.33:8082/network-policy/8b03da50-a015-4bc6-bcd4-f42527f63b1f"}} 2026-04-30 17:49:45,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 17:49:45,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.87.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-30 17:49:45,962 - DEBUG - ping -s 56 -c 3 -W 1 185.87.94.195 2026-04-30 17:49:49,207 - DEBUG - PING 185.87.94.195 (185.87.94.195): 56 data bytes --- 185.87.94.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-30 17:49:49,207 - WARNING - Ping to IP 185.87.94.195 from VM ctest-TestBasicPolicy-97149984-55824758 failed 2026-04-30 17:49:49,207 - INFO - Deleting VM ctest-TestBasicPolicy-97149984-22972390 2026-04-30 17:49:49,296 - INFO - Deleting VM ctest-TestBasicPolicy-97149984-55824758 2026-04-30 17:49:49,770 - INFO - Deleted policy ctest-policy-allow-all-36909948 2026-04-30 17:49:49,770 - INFO - Deleting VN ctest-vn-07695346 2026-04-30 17:49:49,818 - DEBUG - VN 2b7b5c8e-fadc-43ad-832e-7463e9f7c146 still in use: Unable to complete operation on network 2b7b5c8e-fadc-43ad-832e-7463e9f7c146. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38a5cee3-25ad-422b-95a3-8e4bdd7e1f7e'] 2026-04-30 17:49:49,818 - WARNING - Deleting VN ctest-vn-07695346 failed..Will retry 2026-04-30 17:49:51,934 - DEBUG - Response for deleting network () 2026-04-30 17:49:51,935 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a4fc1572-c55d-4cb7-bd3b-d3b9fb4b18e8 2026-04-30 17:49:51,941 - DEBUG - Response Code: 404 2026-04-30 17:49:51,941 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:51,947 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0a8e4bde-f3cc-4bb2-ad2b-01e6d2c2f390 2026-04-30 17:49:52,005 - DEBUG - Requesting: http://10.0.0.33:8082/project/5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:52,078 - INFO - Validated that VN ctest-vn-07695346 is not found in API Server 2026-04-30 17:49:52,088 - DEBUG - VN ctest-vn-07695346 is not present in Agent 10.0.0.33 2026-04-30 17:49:52,088 - INFO - Validated that VN ctest-vn-07695346 is not in any agent 2026-04-30 17:49:52,102 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07695346 info 2026-04-30 17:49:52,103 - INFO - Deleting VN ctest-vn-17697868 2026-04-30 17:49:52,205 - DEBUG - Response for deleting network () 2026-04-30 17:49:52,206 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/03f7a814-164f-43b5-9237-bc07ad3fd904 2026-04-30 17:49:52,216 - DEBUG - Response Code: 404 2026-04-30 17:49:52,216 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-30 17:49:52,222 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0a8e4bde-f3cc-4bb2-ad2b-01e6d2c2f390 2026-04-30 17:49:52,275 - DEBUG - Requesting: http://10.0.0.33:8082/project/5a0de801-262e-428a-991e-d8f1e4c5d089 2026-04-30 17:49:52,350 - INFO - Validated that VN ctest-vn-17697868 is not found in API Server 2026-04-30 17:49:52,361 - DEBUG - VN ctest-vn-17697868 is not present in Agent 10.0.0.33 2026-04-30 17:49:52,361 - INFO - Validated that VN ctest-vn-17697868 is not in any agent 2026-04-30 17:49:52,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17697868 info 2026-04-30 17:49:52,632 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 17:49:52,632 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-30 17:49:52,632 - INFO - -------------------------------------------------------------------------------- 2026-04-30 17:49:53,340 - INFO - Deleted project: ctest-TestBasicPolicy-97149984, ID : 5a0de801-262e-428a-991e-d8f1e4c5d089