2025-11-15 10:30:36,731 - INFO - Domain Default found not creating 2025-11-15 10:30:37,066 - INFO - Project ctest-TestBasicPolicy-58412296 not found, creating it 2025-11-15 10:30:37,701 - INFO - Created Project:ctest-TestBasicPolicy-58412296, ID : 33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:30:40,093 - INFO - ================================================================================ 2025-11-15 10:30:40,093 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-15 10:30:40,094 - 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-15 10:30:40,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-15 10:30:40,399 - INFO - Initial checks done. Running the testcase now 2025-11-15 10:30:40,400 - INFO - 2025-11-15 10:30:41,279 - DEBUG - Response for create_network : {'network': {'id': 'fc30940f-49af-40ea-945f-b27d70ced862', 'name': 'ctest-vn-91034824', 'tenant_id': '33a70978345040f497bd1a835ed940ba', 'project_id': '33a70978345040f497bd1a835ed940ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-vn-91034824'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:30:41,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '13ac13ff-9ff3-4a28-bcc0-e8ba255843b0', 'name': '', 'tenant_id': '33a70978345040f497bd1a835ed940ba', 'network_id': 'fc30940f-49af-40ea-945f-b27d70ced862', 'ip_version': 4, 'cidr': '52.3.201.64/26', 'allocation_pools': [{'start': '52.3.201.66', 'end': '52.3.201.126'}], 'gateway_ip': '52.3.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.3.201.66', 'tags': [], 'project_id': '33a70978345040f497bd1a835ed940ba'}} 2025-11-15 10:30:41,480 - INFO - Created VN ctest-vn-91034824 2025-11-15 10:30:41,541 - DEBUG - VN ctest-vn-91034824 UUID is fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:42,000 - DEBUG - Response for create_network : {'network': {'id': 'cf9ce570-8553-4af7-a4a9-d0c50c5d68d7', 'name': 'ctest-vn-00818031', 'tenant_id': '33a70978345040f497bd1a835ed940ba', 'project_id': '33a70978345040f497bd1a835ed940ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-vn-00818031'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:30:42,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd89b710a-164f-4103-a660-0acf0f354358', 'name': '', 'tenant_id': '33a70978345040f497bd1a835ed940ba', 'network_id': 'cf9ce570-8553-4af7-a4a9-d0c50c5d68d7', 'ip_version': 4, 'cidr': '202.119.244.0/26', 'allocation_pools': [{'start': '202.119.244.2', 'end': '202.119.244.62'}], 'gateway_ip': '202.119.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.119.244.2', 'tags': [], 'project_id': '33a70978345040f497bd1a835ed940ba'}} 2025-11-15 10:30:42,219 - INFO - Created VN ctest-vn-00818031 2025-11-15 10:30:42,274 - DEBUG - VN ctest-vn-00818031 UUID is cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:42,410 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824, 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-58412296:ctest-vn-00818031, 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-15 10:30:42,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc30940f-49af-40ea-945f-b27d70ced862', 'name': 'ctest-vn-91034824', 'tenant_id': '33a70978345040f497bd1a835ed940ba', 'project_id': '33a70978345040f497bd1a835ed940ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13ac13ff-9ff3-4a28-bcc0-e8ba255843b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-vn-91034824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-policy-allow-all-12151427']], 'subnet_ipam': [{'subnet_cidr': '52.3.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:30:43,078 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf9ce570-8553-4af7-a4a9-d0c50c5d68d7', 'name': 'ctest-vn-00818031', 'tenant_id': '33a70978345040f497bd1a835ed940ba', 'project_id': '33a70978345040f497bd1a835ed940ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d89b710a-164f-4103-a660-0acf0f354358'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-vn-00818031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-policy-allow-all-12151427']], 'subnet_ipam': [{'subnet_cidr': '202.119.244.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:30:43,226 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:30:43,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:30:43,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1b4e8b25-59df-4c37-be71-c1664cee9893 2025-11-15 10:30:43,630 - DEBUG - Requesting: http://10.0.0.50:8082/project/33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:30:43,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:43,765 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:43,793 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f07d15ce-b61b-4df9-b6e5-0ac283c1ccca 2025-11-15 10:30:43,808 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f07d15ce-b61b-4df9-b6e5-0ac283c1ccca 2025-11-15 10:30:43,827 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b1136a23-0e95-4018-a76b-414cd2efd64b 2025-11-15 10:30:43,841 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-15 10:30:43,841 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:43,861 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f07d15ce-b61b-4df9-b6e5-0ac283c1ccca 2025-11-15 10:30:43,887 - INFO - Verified VN network id 11 for VN fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:43,887 - INFO - Verifications in API Server for VN ctest-vn-91034824 passed 2025-11-15 10:30:43,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:43,903 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f07d15ce-b61b-4df9-b6e5-0ac283c1ccca 2025-11-15 10:30:43,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f07d15ce-b61b-4df9-b6e5-0ac283c1ccca 2025-11-15 10:30:43,925 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b1136a23-0e95-4018-a76b-414cd2efd64b 2025-11-15 10:30:43,951 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58412296', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18172187289821593834', 'uuid-lslong': '10691460292234106978'}, 'enable': 'true', 'created': '2025-11-15T10:30:41', 'last-modified': '2025-11-15T10:30:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.169081'} 2025-11-15 10:30:43,966 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-15 10:30:43,966 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91034824 passed 2025-11-15 10:30:43,966 - DEBUG - ====Verifying policy data for ctest-vn-91034824 in API_Server ====== 2025-11-15 10:30:43,967 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:30:43,977 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1b4e8b25-59df-4c37-be71-c1664cee9893 2025-11-15 10:30:44,004 - DEBUG - Requesting: http://10.0.0.50:8082/project/33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:30:44,088 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc30940f-49af-40ea-945f-b27d70ced862 2025-11-15 10:30:44,114 - DEBUG - ==>Verifying data for policy with id: 7e3d4dd5-b533-438b-94e7-1f20b812bf2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-policy-allow-all-12151427'] 2025-11-15 10:30:44,114 - INFO - VN ctest-vn-91034824 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-15 10:30:44,114 - DEBUG - Verifying the vn in opserver 2025-11-15 10:30:44,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824 virtual network link through opserver 10.0.0.50 2025-11-15 10:30:44,115 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-15 10:30:44,429 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-15 10:30:44,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824?flat'} 2025-11-15 10:30:44,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824 is found in opserver 2025-11-15 10:30:44,534 - DEBUG - Do not have enough data to verify VN in agent 2025-11-15 10:30:44,544 - DEBUG - VRF ids for VN ctest-vn-91034824: {} 2025-11-15 10:30:44,545 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:30:44,552 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1b4e8b25-59df-4c37-be71-c1664cee9893 2025-11-15 10:30:44,566 - DEBUG - Requesting: http://10.0.0.50:8082/project/33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:30:44,666 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:44,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:44,711 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ca7efb3-80a9-4cd3-8f59-f4c0bd339d2f 2025-11-15 10:30:44,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ca7efb3-80a9-4cd3-8f59-f4c0bd339d2f 2025-11-15 10:30:44,742 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/31829e71-2032-4ada-afc5-15a373fc6d40 2025-11-15 10:30:44,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-15 10:30:44,760 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:44,784 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ca7efb3-80a9-4cd3-8f59-f4c0bd339d2f 2025-11-15 10:30:44,815 - INFO - Verified VN network id 12 for VN cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:44,815 - INFO - Verifications in API Server for VN ctest-vn-00818031 passed 2025-11-15 10:30:44,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:44,834 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ca7efb3-80a9-4cd3-8f59-f4c0bd339d2f 2025-11-15 10:30:44,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ca7efb3-80a9-4cd3-8f59-f4c0bd339d2f 2025-11-15 10:30:44,862 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/31829e71-2032-4ada-afc5-15a373fc6d40 2025-11-15 10:30:44,895 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-00818031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58412296', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14960084333653871351', 'uuid-lslong': '11865244238018865367'}, 'enable': 'true', 'created': '2025-11-15T10:30:41', 'last-modified': '2025-11-15T10:30:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.845874'} 2025-11-15 10:30:44,908 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-15 10:30:44,908 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00818031 passed 2025-11-15 10:30:44,909 - DEBUG - ====Verifying policy data for ctest-vn-00818031 in API_Server ====== 2025-11-15 10:30:44,909 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:30:44,924 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1b4e8b25-59df-4c37-be71-c1664cee9893 2025-11-15 10:30:44,949 - DEBUG - Requesting: http://10.0.0.50:8082/project/33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:30:45,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 2025-11-15 10:30:45,053 - DEBUG - ==>Verifying data for policy with id: 7e3d4dd5-b533-438b-94e7-1f20b812bf2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58412296', 'ctest-policy-allow-all-12151427'] 2025-11-15 10:30:45,053 - INFO - VN ctest-vn-00818031 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-15 10:30:45,053 - DEBUG - Verifying the vn in opserver 2025-11-15 10:30:45,053 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-00818031 virtual network link through opserver 10.0.0.50 2025-11-15 10:30:45,053 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-15 10:30:45,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-00818031', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-00818031?flat'} 2025-11-15 10:30:45,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-00818031 is found in opserver 2025-11-15 10:30:45,080 - DEBUG - Do not have enough data to verify VN in agent 2025-11-15 10:30:45,087 - DEBUG - VRF ids for VN ctest-vn-00818031: {} 2025-11-15 10:30:45,163 - DEBUG - Services list from nova: [, , ] 2025-11-15 10:30:46,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1) 2025-11-15 10:30:48,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1) 2025-11-15 10:30:48,143 - INFO - Waiting for VM ctest-TestBasicPolicy-58412296-28312953 to be up.. 2025-11-15 10:30:48,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-15 10:30:53,459 - DEBUG - VM is in ACTIVE state now 2025-11-15 10:30:53,459 - INFO - VM name : ctest-TestBasicPolicy-58412296-28312953 2025-11-15 10:30:53,562 - DEBUG - VM ctest-TestBasicPolicy-58412296-28312953 ID is 120f318a-1afd-42a7-80fa-9b0ef4fb4fdb 2025-11-15 10:30:53,592 - DEBUG - VM ctest-TestBasicPolicy-58412296-28312953 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1 2025-11-15 10:30:53,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/120f318a-1afd-42a7-80fa-9b0ef4fb4fdb 2025-11-15 10:30:53,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/781a37d8-0959-42b5-ab0a-ccda6dde32e5 2025-11-15 10:30:57,020 - 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 1018ms') 2025-11-15 10:30:57,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58412296-28312953 failed! 2025-11-15 10:30:57,082 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58412296:ctest-vn-91034824 is 52.3.201.65 and allocation pool is NOT set 2025-11-15 10:31:01,190 - 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=7.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 7.587/7.587/7.587/0.000 ms') 2025-11-15 10:31:01,190 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58412296-28312953 passed 2025-11-15 10:31:01,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:31:01,370 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58412296-28312953, IP 52.3.201.67, Port 22 2025-11-15 10:31:01,545 - DEBUG - VM ctest-TestBasicPolicy-58412296-28312953 is ready for SSH connections 2025-11-15 10:31:01,545 - INFO - Waiting for VM ctest-TestBasicPolicy-58412296-53703571 to be up.. 2025-11-15 10:31:01,675 - DEBUG - VM is in ACTIVE state now 2025-11-15 10:31:01,676 - INFO - VM name : ctest-TestBasicPolicy-58412296-53703571 2025-11-15 10:31:01,807 - DEBUG - VM ctest-TestBasicPolicy-58412296-53703571 ID is 9a9fd2b4-fa18-41c7-b211-ecd2a3c53275 2025-11-15 10:31:01,807 - DEBUG - VM ctest-TestBasicPolicy-58412296-53703571 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1 2025-11-15 10:31:01,908 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a9fd2b4-fa18-41c7-b211-ecd2a3c53275 2025-11-15 10:31:01,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ac5c83ff-ee7a-4abf-a071-5b07013e470d 2025-11-15 10:31:03,189 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.72 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.718/3.659/4.600/0.941 ms') 2025-11-15 10:31:03,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58412296-53703571 passed 2025-11-15 10:31:03,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:31:03,350 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58412296-53703571, IP 202.119.244.3, Port 22 2025-11-15 10:31:03,540 - DEBUG - VM ctest-TestBasicPolicy-58412296-53703571 is ready for SSH connections 2025-11-15 10:31:03,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:31:03,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.119.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-15 10:31:03,541 - DEBUG - ping -s 56 -c 3 -W 1 202.119.244.3 2025-11-15 10:31:07,890 - DEBUG - PING 202.119.244.3 (202.119.244.3): 56 data bytes 64 bytes from 202.119.244.3: seq=0 ttl=63 time=6.096 ms 64 bytes from 202.119.244.3: seq=1 ttl=63 time=1.922 ms 64 bytes from 202.119.244.3: seq=2 ttl=63 time=2.277 ms --- 202.119.244.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.922/3.431/6.096 ms 2025-11-15 10:31:07,890 - INFO - Ping to IP 202.119.244.3 from VM ctest-TestBasicPolicy-58412296-28312953 passed 2025-11-15 10:31:08,117 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e3d4dd5-b533-438b-94e7-1f20b812bf2c", "href": "http://10.0.0.50:8082/network-policy/7e3d4dd5-b533-438b-94e7-1f20b812bf2c"}} 2025-11-15 10:31:08,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:31:08,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.119.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-15 10:31:08,118 - DEBUG - ping -s 56 -c 3 -W 1 202.119.244.3 2025-11-15 10:31:11,471 - DEBUG - PING 202.119.244.3 (202.119.244.3): 56 data bytes --- 202.119.244.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-15 10:31:11,472 - WARNING - Ping to IP 202.119.244.3 from VM ctest-TestBasicPolicy-58412296-28312953 failed 2025-11-15 10:31:11,472 - INFO - Deleting VM ctest-TestBasicPolicy-58412296-53703571 2025-11-15 10:31:11,623 - INFO - Deleting VM ctest-TestBasicPolicy-58412296-28312953 2025-11-15 10:31:12,168 - INFO - Deleted policy ctest-policy-allow-all-12151427 2025-11-15 10:31:12,170 - INFO - Deleting VN ctest-vn-00818031 2025-11-15 10:31:12,212 - DEBUG - VN cf9ce570-8553-4af7-a4a9-d0c50c5d68d7 still in use: Unable to complete operation on network cf9ce570-8553-4af7-a4a9-d0c50c5d68d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1379b27c-faea-4035-940a-ca26c5a88cab'] 2025-11-15 10:31:12,213 - WARNING - Deleting VN ctest-vn-00818031 failed..Will retry 2025-11-15 10:31:14,414 - DEBUG - Response for deleting network () 2025-11-15 10:31:14,414 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ca7efb3-80a9-4cd3-8f59-f4c0bd339d2f 2025-11-15 10:31:14,428 - DEBUG - Response Code: 404 2025-11-15 10:31:14,428 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:31:14,436 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1b4e8b25-59df-4c37-be71-c1664cee9893 2025-11-15 10:31:14,502 - DEBUG - Requesting: http://10.0.0.50:8082/project/33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:31:14,601 - INFO - Validated that VN ctest-vn-00818031 is not found in API Server 2025-11-15 10:31:14,618 - DEBUG - VN ctest-vn-00818031 is not present in Agent 10.0.0.50 2025-11-15 10:31:14,618 - INFO - Validated that VN ctest-vn-00818031 is not in any agent 2025-11-15 10:31:14,650 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00818031 info 2025-11-15 10:31:14,650 - INFO - Deleting VN ctest-vn-91034824 2025-11-15 10:31:14,846 - DEBUG - Response for deleting network () 2025-11-15 10:31:14,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f07d15ce-b61b-4df9-b6e5-0ac283c1ccca 2025-11-15 10:31:14,854 - DEBUG - Response Code: 404 2025-11-15 10:31:14,854 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-15 10:31:14,862 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1b4e8b25-59df-4c37-be71-c1664cee9893 2025-11-15 10:31:14,922 - DEBUG - Requesting: http://10.0.0.50:8082/project/33a70978-3450-40f4-97bd-1a835ed940ba 2025-11-15 10:31:15,020 - INFO - Validated that VN ctest-vn-91034824 is not found in API Server 2025-11-15 10:31:15,041 - DEBUG - VN ctest-vn-91034824 is not present in Agent 10.0.0.50 2025-11-15 10:31:15,041 - INFO - Validated that VN ctest-vn-91034824 is not in any agent 2025-11-15 10:31:15,068 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91034824 info 2025-11-15 10:31:15,384 - DEBUG - No XMPP flaps were noticed during the test
2025-11-15 10:31:15,385 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-15 10:31:15,385 - INFO - -------------------------------------------------------------------------------- 2025-11-15 10:31:16,521 - INFO - Deleted project: ctest-TestBasicPolicy-58412296, ID : 33a70978-3450-40f4-97bd-1a835ed940ba