2025-12-18 19:33:15,424 - INFO - Domain Default found not creating 2025-12-18 19:33:15,596 - INFO - Project ctest-TestBasicPolicy-65390915 not found, creating it 2025-12-18 19:33:16,054 - INFO - Created Project:ctest-TestBasicPolicy-65390915, ID : 19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:17,504 - INFO - ================================================================================ 2025-12-18 19:33:17,504 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-18 19:33:17,504 - 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-12-18 19:33:17,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-18 19:33:17,758 - INFO - Initial checks done. Running the testcase now 2025-12-18 19:33:17,758 - INFO - 2025-12-18 19:33:18,285 - DEBUG - Response for create_network : {'network': {'id': '56c13957-6157-4ce9-9de1-200395817787', 'name': 'ctest-vn-39207841', 'tenant_id': '19eabfa649f148e3b21ea368ee8d9d89', 'project_id': '19eabfa649f148e3b21ea368ee8d9d89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-vn-39207841'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:33:18,459 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc8762ac-7e2c-42d9-bc70-d619868757ed', 'name': '', 'tenant_id': '19eabfa649f148e3b21ea368ee8d9d89', 'network_id': '56c13957-6157-4ce9-9de1-200395817787', 'ip_version': 4, 'cidr': '125.207.28.192/26', 'allocation_pools': [{'start': '125.207.28.194', 'end': '125.207.28.254'}], 'gateway_ip': '125.207.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.207.28.194', 'tags': [], 'project_id': '19eabfa649f148e3b21ea368ee8d9d89'}} 2025-12-18 19:33:18,504 - INFO - Created VN ctest-vn-39207841 2025-12-18 19:33:18,556 - DEBUG - VN ctest-vn-39207841 UUID is 56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:19,078 - DEBUG - Response for create_network : {'network': {'id': '2d3e5d9c-e144-4457-a04c-e3a6504e3c03', 'name': 'ctest-vn-67264281', 'tenant_id': '19eabfa649f148e3b21ea368ee8d9d89', 'project_id': '19eabfa649f148e3b21ea368ee8d9d89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-vn-67264281'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:33:19,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f88af4d-c89d-4296-b950-0eccb78cd996', 'name': '', 'tenant_id': '19eabfa649f148e3b21ea368ee8d9d89', 'network_id': '2d3e5d9c-e144-4457-a04c-e3a6504e3c03', 'ip_version': 4, 'cidr': '193.54.55.192/26', 'allocation_pools': [{'start': '193.54.55.194', 'end': '193.54.55.254'}], 'gateway_ip': '193.54.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.54.55.194', 'tags': [], 'project_id': '19eabfa649f148e3b21ea368ee8d9d89'}} 2025-12-18 19:33:19,305 - INFO - Created VN ctest-vn-67264281 2025-12-18 19:33:19,356 - DEBUG - VN ctest-vn-67264281 UUID is 2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:19,504 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841, 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-65390915:ctest-vn-67264281, 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-12-18 19:33:19,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56c13957-6157-4ce9-9de1-200395817787', 'name': 'ctest-vn-39207841', 'tenant_id': '19eabfa649f148e3b21ea368ee8d9d89', 'project_id': '19eabfa649f148e3b21ea368ee8d9d89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc8762ac-7e2c-42d9-bc70-d619868757ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-vn-39207841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-policy-allow-all-22187254']], 'subnet_ipam': [{'subnet_cidr': '125.207.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:33:20,065 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d3e5d9c-e144-4457-a04c-e3a6504e3c03', 'name': 'ctest-vn-67264281', 'tenant_id': '19eabfa649f148e3b21ea368ee8d9d89', 'project_id': '19eabfa649f148e3b21ea368ee8d9d89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f88af4d-c89d-4296-b950-0eccb78cd996'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-vn-67264281'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-policy-allow-all-22187254']], 'subnet_ipam': [{'subnet_cidr': '193.54.55.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:33:20,212 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:20,509 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:20,539 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885dd756-1bc4-4f83-8192-b24d622716b6 2025-12-18 19:33:20,552 - DEBUG - Requesting: http://10.0.0.38:8082/project/19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:20,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:20,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:20,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/533c3666-975e-458f-9281-b48b110731d7 2025-12-18 19:33:20,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/533c3666-975e-458f-9281-b48b110731d7 2025-12-18 19:33:20,656 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f90fefb-9c98-4159-95bc-d0ad5e1256ca 2025-12-18 19:33:20,662 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 19:33:20,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:20,671 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/533c3666-975e-458f-9281-b48b110731d7 2025-12-18 19:33:20,687 - INFO - Verified VN network id 12 for VN 56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:20,687 - INFO - Verifications in API Server for VN ctest-vn-39207841 passed 2025-12-18 19:33:20,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:20,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/533c3666-975e-458f-9281-b48b110731d7 2025-12-18 19:33:20,703 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/533c3666-975e-458f-9281-b48b110731d7 2025-12-18 19:33:20,710 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f90fefb-9c98-4159-95bc-d0ad5e1256ca 2025-12-18 19:33:20,721 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65390915', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6251340805225008361', 'uuid-lslong': '11376409333479864199'}, 'enable': 'true', 'created': '2025-12-18T19:33:18', 'last-modified': '2025-12-18T19:33:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947768'} 2025-12-18 19:33:20,729 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 19:33:20,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39207841 passed 2025-12-18 19:33:20,729 - DEBUG - ====Verifying policy data for ctest-vn-39207841 in API_Server ====== 2025-12-18 19:33:20,729 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:20,735 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885dd756-1bc4-4f83-8192-b24d622716b6 2025-12-18 19:33:20,745 - DEBUG - Requesting: http://10.0.0.38:8082/project/19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:20,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/56c13957-6157-4ce9-9de1-200395817787 2025-12-18 19:33:20,825 - DEBUG - ==>Verifying data for policy with id: a7249516-64e6-42d3-996f-e23cb5e20d2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-policy-allow-all-22187254'] 2025-12-18 19:33:20,825 - INFO - VN ctest-vn-39207841 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 19:33:20,825 - DEBUG - Verifying the vn in opserver 2025-12-18 19:33:20,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841 virtual network link through opserver 10.0.0.38 2025-12-18 19:33:20,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-18 19:33:21,142 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-18 19:33:21,205 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841?flat'} 2025-12-18 19:33:21,205 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841 is found in opserver 2025-12-18 19:33:21,215 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 19:33:21,219 - DEBUG - VRF ids for VN ctest-vn-39207841: {} 2025-12-18 19:33:21,219 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:21,224 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885dd756-1bc4-4f83-8192-b24d622716b6 2025-12-18 19:33:21,234 - DEBUG - Requesting: http://10.0.0.38:8082/project/19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:21,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:21,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:21,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dcb17db-6cd7-4534-b36e-229c51a54df5 2025-12-18 19:33:21,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dcb17db-6cd7-4534-b36e-229c51a54df5 2025-12-18 19:33:21,346 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f5d7c740-bdb3-46d9-ba6e-c0121212644c 2025-12-18 19:33:21,355 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 19:33:21,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:21,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dcb17db-6cd7-4534-b36e-229c51a54df5 2025-12-18 19:33:21,379 - INFO - Verified VN network id 13 for VN 2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:21,379 - INFO - Verifications in API Server for VN ctest-vn-67264281 passed 2025-12-18 19:33:21,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:21,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dcb17db-6cd7-4534-b36e-229c51a54df5 2025-12-18 19:33:21,396 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dcb17db-6cd7-4534-b36e-229c51a54df5 2025-12-18 19:33:21,404 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f5d7c740-bdb3-46d9-ba6e-c0121212644c 2025-12-18 19:33:21,416 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-67264281', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65390915', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3260146108638446679', 'uuid-lslong': '11550857447749860355'}, 'enable': 'true', 'created': '2025-12-18T19:33:19', 'last-modified': '2025-12-18T19:33:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417628'} 2025-12-18 19:33:21,422 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 19:33:21,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67264281 passed 2025-12-18 19:33:21,423 - DEBUG - ====Verifying policy data for ctest-vn-67264281 in API_Server ====== 2025-12-18 19:33:21,423 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:21,429 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885dd756-1bc4-4f83-8192-b24d622716b6 2025-12-18 19:33:21,439 - DEBUG - Requesting: http://10.0.0.38:8082/project/19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:21,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2d3e5d9c-e144-4457-a04c-e3a6504e3c03 2025-12-18 19:33:21,518 - DEBUG - ==>Verifying data for policy with id: a7249516-64e6-42d3-996f-e23cb5e20d2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-65390915', 'ctest-policy-allow-all-22187254'] 2025-12-18 19:33:21,518 - INFO - VN ctest-vn-67264281 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 19:33:21,518 - DEBUG - Verifying the vn in opserver 2025-12-18 19:33:21,518 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-67264281 virtual network link through opserver 10.0.0.38 2025-12-18 19:33:21,518 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-18 19:33:21,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-67264281', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-67264281?flat'} 2025-12-18 19:33:21,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-67264281 is found in opserver 2025-12-18 19:33:21,536 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 19:33:21,540 - DEBUG - VRF ids for VN ctest-vn-67264281: {} 2025-12-18 19:33:21,601 - DEBUG - Services list from nova: [, , ] 2025-12-18 19:33:22,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4906-1) 2025-12-18 19:33:23,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4906-1) 2025-12-18 19:33:23,817 - INFO - Waiting for VM ctest-TestBasicPolicy-65390915-40503827 to be up.. 2025-12-18 19:33:23,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 19:33:28,980 - DEBUG - VM is in ACTIVE state now 2025-12-18 19:33:28,980 - INFO - VM name : ctest-TestBasicPolicy-65390915-40503827 2025-12-18 19:33:29,053 - DEBUG - VM ctest-TestBasicPolicy-65390915-40503827 ID is 57085b78-7712-42cc-9d60-a61051daa595 2025-12-18 19:33:29,075 - DEBUG - VM ctest-TestBasicPolicy-65390915-40503827 launched on Node cn-jenkins-deploy-platform-ansible-os-4906-1 2025-12-18 19:33:29,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/57085b78-7712-42cc-9d60-a61051daa595 2025-12-18 19:33:29,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f8a550e2-3bac-40f4-a825-7edbc74bbbfb 2025-12-18 19:33:32,419 - 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 1015ms') 2025-12-18 19:33:32,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65390915-40503827 failed! 2025-12-18 19:33:32,472 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65390915:ctest-vn-39207841 is 125.207.28.193 and allocation pool is NOT set 2025-12-18 19:33:34,534 - 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=7.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.443/4.050/7.657/3.607 ms') 2025-12-18 19:33:34,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65390915-40503827 passed 2025-12-18 19:33:34,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:33:34,684 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65390915-40503827, IP 125.207.28.195, Port 22 2025-12-18 19:33:34,840 - DEBUG - VM ctest-TestBasicPolicy-65390915-40503827 is ready for SSH connections 2025-12-18 19:33:34,840 - INFO - Waiting for VM ctest-TestBasicPolicy-65390915-99592599 to be up.. 2025-12-18 19:33:34,912 - DEBUG - VM is in ACTIVE state now 2025-12-18 19:33:34,912 - INFO - VM name : ctest-TestBasicPolicy-65390915-99592599 2025-12-18 19:33:34,982 - DEBUG - VM ctest-TestBasicPolicy-65390915-99592599 ID is e8c4744f-db4c-4197-9054-1d883af74069 2025-12-18 19:33:34,982 - DEBUG - VM ctest-TestBasicPolicy-65390915-99592599 launched on Node cn-jenkins-deploy-platform-ansible-os-4906-1 2025-12-18 19:33:35,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e8c4744f-db4c-4197-9054-1d883af74069 2025-12-18 19:33:35,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f5730fd8-9097-4371-8468-c7261b8b4a5d 2025-12-18 19:33:36,303 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/1.589/2.611/1.022 ms') 2025-12-18 19:33:36,303 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65390915-99592599 passed 2025-12-18 19:33:36,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:33:36,452 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65390915-99592599, IP 193.54.55.195, Port 22 2025-12-18 19:33:36,607 - DEBUG - VM ctest-TestBasicPolicy-65390915-99592599 is ready for SSH connections 2025-12-18 19:33:36,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:33:36,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.54.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:33:36,608 - DEBUG - ping -s 56 -c 3 -W 1 193.54.55.195 2025-12-18 19:33:40,603 - DEBUG - PING 193.54.55.195 (193.54.55.195): 56 data bytes 64 bytes from 193.54.55.195: seq=0 ttl=63 time=3.287 ms 64 bytes from 193.54.55.195: seq=1 ttl=63 time=0.903 ms 64 bytes from 193.54.55.195: seq=2 ttl=63 time=0.865 ms --- 193.54.55.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.685/3.287 ms 2025-12-18 19:33:40,604 - INFO - Ping to IP 193.54.55.195 from VM ctest-TestBasicPolicy-65390915-40503827 passed 2025-12-18 19:33:40,780 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a7249516-64e6-42d3-996f-e23cb5e20d2e", "href": "http://10.0.0.38:8082/network-policy/a7249516-64e6-42d3-996f-e23cb5e20d2e"}} 2025-12-18 19:33:40,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:33:40,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.54.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:33:40,780 - DEBUG - ping -s 56 -c 3 -W 1 193.54.55.195 2025-12-18 19:33:43,998 - DEBUG - PING 193.54.55.195 (193.54.55.195): 56 data bytes --- 193.54.55.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 19:33:43,998 - WARNING - Ping to IP 193.54.55.195 from VM ctest-TestBasicPolicy-65390915-40503827 failed 2025-12-18 19:33:43,998 - INFO - Deleting VM ctest-TestBasicPolicy-65390915-99592599 2025-12-18 19:33:44,067 - INFO - Deleting VM ctest-TestBasicPolicy-65390915-40503827 2025-12-18 19:33:44,426 - INFO - Deleted policy ctest-policy-allow-all-22187254 2025-12-18 19:33:44,426 - INFO - Deleting VN ctest-vn-67264281 2025-12-18 19:33:44,465 - DEBUG - VN 2d3e5d9c-e144-4457-a04c-e3a6504e3c03 still in use: Unable to complete operation on network 2d3e5d9c-e144-4457-a04c-e3a6504e3c03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a51a046-17ef-4691-9dce-37a2b5f810fa'] 2025-12-18 19:33:44,466 - WARNING - Deleting VN ctest-vn-67264281 failed..Will retry 2025-12-18 19:33:46,569 - DEBUG - Response for deleting network () 2025-12-18 19:33:46,569 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dcb17db-6cd7-4534-b36e-229c51a54df5 2025-12-18 19:33:46,575 - DEBUG - Response Code: 404 2025-12-18 19:33:46,575 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:46,581 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885dd756-1bc4-4f83-8192-b24d622716b6 2025-12-18 19:33:46,634 - DEBUG - Requesting: http://10.0.0.38:8082/project/19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:46,709 - INFO - Validated that VN ctest-vn-67264281 is not found in API Server 2025-12-18 19:33:46,718 - DEBUG - VN ctest-vn-67264281 is not present in Agent 10.0.0.38 2025-12-18 19:33:46,718 - INFO - Validated that VN ctest-vn-67264281 is not in any agent 2025-12-18 19:33:46,730 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67264281 info 2025-12-18 19:33:46,730 - INFO - Deleting VN ctest-vn-39207841 2025-12-18 19:33:46,828 - DEBUG - Response for deleting network () 2025-12-18 19:33:46,832 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/533c3666-975e-458f-9281-b48b110731d7 2025-12-18 19:33:46,838 - DEBUG - Response Code: 404 2025-12-18 19:33:46,838 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 19:33:46,844 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885dd756-1bc4-4f83-8192-b24d622716b6 2025-12-18 19:33:46,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/19eabfa6-49f1-48e3-b21e-a368ee8d9d89 2025-12-18 19:33:46,970 - INFO - Validated that VN ctest-vn-39207841 is not found in API Server 2025-12-18 19:33:46,980 - DEBUG - VN ctest-vn-39207841 is not present in Agent 10.0.0.38 2025-12-18 19:33:46,980 - INFO - Validated that VN ctest-vn-39207841 is not in any agent 2025-12-18 19:33:46,994 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39207841 info 2025-12-18 19:33:47,250 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 19:33:47,251 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-18 19:33:47,251 - INFO - -------------------------------------------------------------------------------- 2025-12-18 19:33:47,931 - INFO - Deleted project: ctest-TestBasicPolicy-65390915, ID : 19eabfa6-49f1-48e3-b21e-a368ee8d9d89