2025-11-03 12:25:14,149 - INFO - Domain Default found not creating 2025-11-03 12:25:14,272 - INFO - Project ctest-TestBasicPolicy-39532309 not found, creating it 2025-11-03 12:25:14,691 - INFO - Created Project:ctest-TestBasicPolicy-39532309, ID : b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:16,104 - INFO - ================================================================================ 2025-11-03 12:25:16,104 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 12:25:16,104 - 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 2025-11-03 12:25:16,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-03 12:25:16,360 - INFO - Initial checks done. Running the testcase now 2025-11-03 12:25:16,360 - INFO - 2025-11-03 12:25:16,895 - DEBUG - Response for create_network : {'network': {'id': '648f69de-c4a5-4fa1-8beb-16901a71f059', 'name': 'ctest-vn-97904079', 'tenant_id': 'b1301f4b6637494f9a05a4d679845dd0', 'project_id': 'b1301f4b6637494f9a05a4d679845dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-vn-97904079'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:25:17,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0d26bf0-78c5-4d4c-b4a0-782071e0b733', 'name': '', 'tenant_id': 'b1301f4b6637494f9a05a4d679845dd0', 'network_id': '648f69de-c4a5-4fa1-8beb-16901a71f059', 'ip_version': 4, 'cidr': '85.94.188.192/26', 'allocation_pools': [{'start': '85.94.188.194', 'end': '85.94.188.254'}], 'gateway_ip': '85.94.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.94.188.194', 'tags': [], 'project_id': 'b1301f4b6637494f9a05a4d679845dd0'}} 2025-11-03 12:25:17,046 - INFO - Created VN ctest-vn-97904079 2025-11-03 12:25:17,096 - DEBUG - VN ctest-vn-97904079 UUID is 648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:17,393 - DEBUG - Response for create_network : {'network': {'id': 'b43d11fd-8a0f-4255-975b-0354687032be', 'name': 'ctest-vn-22085273', 'tenant_id': 'b1301f4b6637494f9a05a4d679845dd0', 'project_id': 'b1301f4b6637494f9a05a4d679845dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-vn-22085273'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:25:17,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db107d8a-3b0f-4694-ba33-f04ab69a2156', 'name': '', 'tenant_id': 'b1301f4b6637494f9a05a4d679845dd0', 'network_id': 'b43d11fd-8a0f-4255-975b-0354687032be', 'ip_version': 4, 'cidr': '13.22.77.128/26', 'allocation_pools': [{'start': '13.22.77.130', 'end': '13.22.77.190'}], 'gateway_ip': '13.22.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.22.77.130', 'tags': [], 'project_id': 'b1301f4b6637494f9a05a4d679845dd0'}} 2025-11-03 12:25:17,585 - INFO - Created VN ctest-vn-22085273 2025-11-03 12:25:17,636 - DEBUG - VN ctest-vn-22085273 UUID is b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:17,787 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079, 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-39532309:ctest-vn-22085273, 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] 2025-11-03 12:25:18,067 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '648f69de-c4a5-4fa1-8beb-16901a71f059', 'name': 'ctest-vn-97904079', 'tenant_id': 'b1301f4b6637494f9a05a4d679845dd0', 'project_id': 'b1301f4b6637494f9a05a4d679845dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0d26bf0-78c5-4d4c-b4a0-782071e0b733'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-vn-97904079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-policy-allow-all-01913071']], 'subnet_ipam': [{'subnet_cidr': '85.94.188.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:25:18,283 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b43d11fd-8a0f-4255-975b-0354687032be', 'name': 'ctest-vn-22085273', 'tenant_id': 'b1301f4b6637494f9a05a4d679845dd0', 'project_id': 'b1301f4b6637494f9a05a4d679845dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db107d8a-3b0f-4694-ba33-f04ab69a2156'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-vn-22085273'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-policy-allow-all-01913071']], 'subnet_ipam': [{'subnet_cidr': '13.22.77.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:25:18,436 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:18,730 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:18,756 - DEBUG - Requesting: http://10.0.0.22:8082/domain/85901c10-00e9-4360-845e-cbeb878d11dd 2025-11-03 12:25:18,766 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:18,834 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:18,843 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:18,851 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ea4cfa4-49fd-4114-b6df-b4dc617d585e 2025-11-03 12:25:18,858 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ea4cfa4-49fd-4114-b6df-b4dc617d585e 2025-11-03 12:25:18,865 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bc8e42e1-97e2-4802-ae03-2f7f87032905 2025-11-03 12:25:18,870 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 12:25:18,870 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:18,879 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ea4cfa4-49fd-4114-b6df-b4dc617d585e 2025-11-03 12:25:18,892 - INFO - Verified VN network id 9 for VN 648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:18,892 - INFO - Verifications in API Server for VN ctest-vn-97904079 passed 2025-11-03 12:25:18,892 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:18,901 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ea4cfa4-49fd-4114-b6df-b4dc617d585e 2025-11-03 12:25:18,908 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ea4cfa4-49fd-4114-b6df-b4dc617d585e 2025-11-03 12:25:18,915 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bc8e42e1-97e2-4802-ae03-2f7f87032905 2025-11-03 12:25:18,924 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39532309', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7246126730965241761', 'uuid-lslong': '10082176998973763673'}, 'enable': 'true', 'created': '2025-11-03T12:25:16', 'last-modified': '2025-11-03T12:25:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.880166'} 2025-11-03 12:25:18,929 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 12:25:18,929 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97904079 passed 2025-11-03 12:25:18,929 - DEBUG - ====Verifying policy data for ctest-vn-97904079 in API_Server ====== 2025-11-03 12:25:18,929 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:18,934 - DEBUG - Requesting: http://10.0.0.22:8082/domain/85901c10-00e9-4360-845e-cbeb878d11dd 2025-11-03 12:25:18,942 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:19,009 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/648f69de-c4a5-4fa1-8beb-16901a71f059 2025-11-03 12:25:19,017 - DEBUG - ==>Verifying data for policy with id: 9b89d62a-985e-40ea-b3a1-a7a09bd0dbe6, fqn: ['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-policy-allow-all-01913071'] 2025-11-03 12:25:19,018 - INFO - VN ctest-vn-97904079 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 12:25:19,018 - DEBUG - Verifying the vn in opserver 2025-11-03 12:25:19,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079 virtual network link through opserver 10.0.0.22 2025-11-03 12:25:19,018 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-03 12:25:19,308 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-03 12:25:19,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079?flat'} 2025-11-03 12:25:19,363 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079 is found in opserver 2025-11-03 12:25:19,371 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 12:25:19,375 - DEBUG - VRF ids for VN ctest-vn-97904079: {} 2025-11-03 12:25:19,375 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:19,380 - DEBUG - Requesting: http://10.0.0.22:8082/domain/85901c10-00e9-4360-845e-cbeb878d11dd 2025-11-03 12:25:19,389 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:19,453 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:19,462 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:19,470 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7db33b0d-d399-48d7-9964-88437c453edc 2025-11-03 12:25:19,476 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7db33b0d-d399-48d7-9964-88437c453edc 2025-11-03 12:25:19,482 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d96d9492-df5b-445d-98f5-99931037dc42 2025-11-03 12:25:19,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 12:25:19,487 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:19,495 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7db33b0d-d399-48d7-9964-88437c453edc 2025-11-03 12:25:19,506 - INFO - Verified VN network id 10 for VN b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:19,506 - INFO - Verifications in API Server for VN ctest-vn-22085273 passed 2025-11-03 12:25:19,506 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:19,514 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7db33b0d-d399-48d7-9964-88437c453edc 2025-11-03 12:25:19,519 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7db33b0d-d399-48d7-9964-88437c453edc 2025-11-03 12:25:19,524 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d96d9492-df5b-445d-98f5-99931037dc42 2025-11-03 12:25:19,534 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-22085273', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39532309', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12987556681047032405', 'uuid-lslong': '10906314583672107710'}, 'enable': 'true', 'created': '2025-11-03T12:25:17', 'last-modified': '2025-11-03T12:25:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.264548'} 2025-11-03 12:25:19,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 12:25:19,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22085273 passed 2025-11-03 12:25:19,540 - DEBUG - ====Verifying policy data for ctest-vn-22085273 in API_Server ====== 2025-11-03 12:25:19,540 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:19,544 - DEBUG - Requesting: http://10.0.0.22:8082/domain/85901c10-00e9-4360-845e-cbeb878d11dd 2025-11-03 12:25:19,555 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:19,627 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b43d11fd-8a0f-4255-975b-0354687032be 2025-11-03 12:25:19,635 - DEBUG - ==>Verifying data for policy with id: 9b89d62a-985e-40ea-b3a1-a7a09bd0dbe6, fqn: ['default-domain', 'ctest-TestBasicPolicy-39532309', 'ctest-policy-allow-all-01913071'] 2025-11-03 12:25:19,635 - INFO - VN ctest-vn-22085273 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 12:25:19,636 - DEBUG - Verifying the vn in opserver 2025-11-03 12:25:19,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-22085273 virtual network link through opserver 10.0.0.22 2025-11-03 12:25:19,636 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-03 12:25:19,644 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-22085273', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-22085273?flat'} 2025-11-03 12:25:19,644 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-22085273 is found in opserver 2025-11-03 12:25:19,653 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 12:25:19,657 - DEBUG - VRF ids for VN ctest-vn-22085273: {} 2025-11-03 12:25:19,708 - DEBUG - Services list from nova: [, , ] 2025-11-03 12:25:20,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:25:21,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:25:21,738 - INFO - Waiting for VM ctest-TestBasicPolicy-39532309-33373506 to be up.. 2025-11-03 12:25:21,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 12:25:26,972 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:25:26,972 - INFO - VM name : ctest-TestBasicPolicy-39532309-33373506 2025-11-03 12:25:27,050 - DEBUG - VM ctest-TestBasicPolicy-39532309-33373506 ID is 1aff8da7-29a0-4b24-8746-f3ff99bc4a44 2025-11-03 12:25:27,070 - DEBUG - VM ctest-TestBasicPolicy-39532309-33373506 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:25:27,140 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1aff8da7-29a0-4b24-8746-f3ff99bc4a44 2025-11-03 12:25:27,148 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0645c71b-9841-4ad8-9bd7-74a6668c5ce3 2025-11-03 12:25:30,401 - 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 1019ms') 2025-11-03 12:25:30,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39532309-33373506 failed! 2025-11-03 12:25:30,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39532309:ctest-vn-97904079 is 85.94.188.193 and allocation pool is NOT set 2025-11-03 12:25:32,513 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.378/1.721/3.064/1.343 ms') 2025-11-03 12:25:32,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39532309-33373506 passed 2025-11-03 12:25:32,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:25:32,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39532309-33373506, IP 85.94.188.195, Port 22 2025-11-03 12:25:32,827 - DEBUG - VM ctest-TestBasicPolicy-39532309-33373506 is ready for SSH connections 2025-11-03 12:25:32,827 - INFO - Waiting for VM ctest-TestBasicPolicy-39532309-16267866 to be up.. 2025-11-03 12:25:32,894 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:25:32,894 - INFO - VM name : ctest-TestBasicPolicy-39532309-16267866 2025-11-03 12:25:32,956 - DEBUG - VM ctest-TestBasicPolicy-39532309-16267866 ID is b28b6024-7474-4fa7-9d89-981271a4f8ad 2025-11-03 12:25:32,956 - DEBUG - VM ctest-TestBasicPolicy-39532309-16267866 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:25:33,018 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b28b6024-7474-4fa7-9d89-981271a4f8ad 2025-11-03 12:25:33,025 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7698c25a-c103-4708-a579-f4c77b936456 2025-11-03 12:25:34,249 - 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=4.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.388/2.290/4.192/1.902 ms') 2025-11-03 12:25:34,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39532309-16267866 passed 2025-11-03 12:25:34,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:25:34,404 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39532309-16267866, IP 13.22.77.131, Port 22 2025-11-03 12:25:34,559 - DEBUG - VM ctest-TestBasicPolicy-39532309-16267866 is ready for SSH connections 2025-11-03 12:25:34,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:25:34,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.22.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:25:34,559 - DEBUG - ping -s 56 -c 3 -W 1 13.22.77.131 2025-11-03 12:25:38,246 - DEBUG - PING 13.22.77.131 (13.22.77.131): 56 data bytes 64 bytes from 13.22.77.131: seq=0 ttl=63 time=3.226 ms 64 bytes from 13.22.77.131: seq=1 ttl=63 time=0.754 ms 64 bytes from 13.22.77.131: seq=2 ttl=63 time=0.851 ms --- 13.22.77.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.610/3.226 ms 2025-11-03 12:25:38,246 - INFO - Ping to IP 13.22.77.131 from VM ctest-TestBasicPolicy-39532309-33373506 passed 2025-11-03 12:25:38,419 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b89d62a-985e-40ea-b3a1-a7a09bd0dbe6", "href": "http://10.0.0.22:8082/network-policy/9b89d62a-985e-40ea-b3a1-a7a09bd0dbe6"}} 2025-11-03 12:25:38,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:25:38,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.22.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:25:38,420 - DEBUG - ping -s 56 -c 3 -W 1 13.22.77.131 2025-11-03 12:25:41,632 - DEBUG - PING 13.22.77.131 (13.22.77.131): 56 data bytes --- 13.22.77.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 12:25:41,633 - WARNING - Ping to IP 13.22.77.131 from VM ctest-TestBasicPolicy-39532309-33373506 failed 2025-11-03 12:25:41,633 - INFO - Deleting VM ctest-TestBasicPolicy-39532309-16267866 2025-11-03 12:25:41,694 - INFO - Deleting VM ctest-TestBasicPolicy-39532309-33373506 2025-11-03 12:25:42,046 - INFO - Deleted policy ctest-policy-allow-all-01913071 2025-11-03 12:25:42,046 - INFO - Deleting VN ctest-vn-22085273 2025-11-03 12:25:42,082 - DEBUG - VN b43d11fd-8a0f-4255-975b-0354687032be still in use: Unable to complete operation on network b43d11fd-8a0f-4255-975b-0354687032be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27daac2c-20c3-4d0f-93fa-6261e3820b5f'] 2025-11-03 12:25:42,082 - WARNING - Deleting VN ctest-vn-22085273 failed..Will retry 2025-11-03 12:25:44,176 - DEBUG - Response for deleting network () 2025-11-03 12:25:44,177 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7db33b0d-d399-48d7-9964-88437c453edc 2025-11-03 12:25:44,181 - DEBUG - Response Code: 404 2025-11-03 12:25:44,181 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:44,189 - DEBUG - Requesting: http://10.0.0.22:8082/domain/85901c10-00e9-4360-845e-cbeb878d11dd 2025-11-03 12:25:44,241 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:44,305 - INFO - Validated that VN ctest-vn-22085273 is not found in API Server 2025-11-03 12:25:44,314 - DEBUG - VN ctest-vn-22085273 is not present in Agent 10.0.0.22 2025-11-03 12:25:44,314 - INFO - Validated that VN ctest-vn-22085273 is not in any agent 2025-11-03 12:25:44,327 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22085273 info 2025-11-03 12:25:44,327 - INFO - Deleting VN ctest-vn-97904079 2025-11-03 12:25:44,415 - DEBUG - Response for deleting network () 2025-11-03 12:25:44,415 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ea4cfa4-49fd-4114-b6df-b4dc617d585e 2025-11-03 12:25:44,421 - DEBUG - Response Code: 404 2025-11-03 12:25:44,421 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-03 12:25:44,428 - DEBUG - Requesting: http://10.0.0.22:8082/domain/85901c10-00e9-4360-845e-cbeb878d11dd 2025-11-03 12:25:44,480 - DEBUG - Requesting: http://10.0.0.22:8082/project/b1301f4b-6637-494f-9a05-a4d679845dd0 2025-11-03 12:25:44,548 - INFO - Validated that VN ctest-vn-97904079 is not found in API Server 2025-11-03 12:25:44,557 - DEBUG - VN ctest-vn-97904079 is not present in Agent 10.0.0.22 2025-11-03 12:25:44,557 - INFO - Validated that VN ctest-vn-97904079 is not in any agent 2025-11-03 12:25:44,569 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97904079 info 2025-11-03 12:25:44,825 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 12:25:44,825 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-11-03 12:25:44,825 - INFO - -------------------------------------------------------------------------------- 2025-11-03 12:25:45,481 - INFO - Deleted project: ctest-TestBasicPolicy-39532309, ID : b1301f4b-6637-494f-9a05-a4d679845dd0