2025-12-15 02:09:51,964 - INFO - Domain Default found not creating 2025-12-15 02:09:52,116 - INFO - Project ctest-TestBasicPolicy-95259812 not found, creating it 2025-12-15 02:09:52,541 - INFO - Created Project:ctest-TestBasicPolicy-95259812, ID : 92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:09:53,948 - INFO - ================================================================================ 2025-12-15 02:09:53,948 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-15 02:09:53,949 - 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-15 02:09:54,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-12-15 02:09:54,203 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:09:54,203 - INFO - 2025-12-15 02:09:54,731 - DEBUG - Response for create_network : {'network': {'id': '21c5daae-750b-4920-85f8-2612b4388e2b', 'name': 'ctest-vn-41181169', 'tenant_id': '92b2625674d640bc9db670474d308b94', 'project_id': '92b2625674d640bc9db670474d308b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-vn-41181169'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:09:54,858 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dede7340-41c2-4364-a7f2-6a084ebc9327', 'name': '', 'tenant_id': '92b2625674d640bc9db670474d308b94', 'network_id': '21c5daae-750b-4920-85f8-2612b4388e2b', 'ip_version': 4, 'cidr': '217.92.226.128/26', 'allocation_pools': [{'start': '217.92.226.130', 'end': '217.92.226.190'}], 'gateway_ip': '217.92.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.92.226.130', 'tags': [], 'project_id': '92b2625674d640bc9db670474d308b94'}} 2025-12-15 02:09:54,874 - INFO - Created VN ctest-vn-41181169 2025-12-15 02:09:54,926 - DEBUG - VN ctest-vn-41181169 UUID is 21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:55,219 - DEBUG - Response for create_network : {'network': {'id': '37450c38-5f67-45ea-85b7-430883bfae4d', 'name': 'ctest-vn-95502516', 'tenant_id': '92b2625674d640bc9db670474d308b94', 'project_id': '92b2625674d640bc9db670474d308b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-vn-95502516'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:09:55,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af336220-9c6e-4545-8af2-abde72352b42', 'name': '', 'tenant_id': '92b2625674d640bc9db670474d308b94', 'network_id': '37450c38-5f67-45ea-85b7-430883bfae4d', 'ip_version': 4, 'cidr': '94.95.40.192/26', 'allocation_pools': [{'start': '94.95.40.194', 'end': '94.95.40.254'}], 'gateway_ip': '94.95.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.95.40.194', 'tags': [], 'project_id': '92b2625674d640bc9db670474d308b94'}} 2025-12-15 02:09:55,440 - INFO - Created VN ctest-vn-95502516 2025-12-15 02:09:55,490 - DEBUG - VN ctest-vn-95502516 UUID is 37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:55,630 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169, 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-95259812:ctest-vn-95502516, 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-15 02:09:55,903 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21c5daae-750b-4920-85f8-2612b4388e2b', 'name': 'ctest-vn-41181169', 'tenant_id': '92b2625674d640bc9db670474d308b94', 'project_id': '92b2625674d640bc9db670474d308b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dede7340-41c2-4364-a7f2-6a084ebc9327'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-vn-41181169'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-policy-allow-all-75359278']], 'subnet_ipam': [{'subnet_cidr': '217.92.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:09:56,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37450c38-5f67-45ea-85b7-430883bfae4d', 'name': 'ctest-vn-95502516', 'tenant_id': '92b2625674d640bc9db670474d308b94', 'project_id': '92b2625674d640bc9db670474d308b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af336220-9c6e-4545-8af2-abde72352b42'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-vn-95502516'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-policy-allow-all-75359278']], 'subnet_ipam': [{'subnet_cidr': '94.95.40.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:09:56,334 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:09:56,627 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:09:56,654 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c5bd4c5-e0fa-476f-b476-0bfe0230bd5a 2025-12-15 02:09:56,666 - DEBUG - Requesting: http://10.0.0.141:8082/project/92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:09:56,735 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:56,744 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:56,751 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2deea986-08b5-42e4-b973-8444b0ea2ff2 2025-12-15 02:09:56,756 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2deea986-08b5-42e4-b973-8444b0ea2ff2 2025-12-15 02:09:56,762 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/dcf1340d-fbf0-476a-a4af-820d6528813c 2025-12-15 02:09:56,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 02:09:56,767 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:56,774 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2deea986-08b5-42e4-b973-8444b0ea2ff2 2025-12-15 02:09:56,783 - INFO - Verified VN network id 12 for VN 21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:56,783 - INFO - Verifications in API Server for VN ctest-vn-41181169 passed 2025-12-15 02:09:56,784 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:56,790 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2deea986-08b5-42e4-b973-8444b0ea2ff2 2025-12-15 02:09:56,795 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2deea986-08b5-42e4-b973-8444b0ea2ff2 2025-12-15 02:09:56,800 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/dcf1340d-fbf0-476a-a4af-820d6528813c 2025-12-15 02:09:56,809 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95259812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2433591616486459680', 'uuid-lslong': '9653507663043530283'}, 'enable': 'true', 'created': '2025-12-15T02:09:54', 'last-modified': '2025-12-15T02:09:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922519'} 2025-12-15 02:09:56,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 02:09:56,816 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41181169 passed 2025-12-15 02:09:56,816 - DEBUG - ====Verifying policy data for ctest-vn-41181169 in API_Server ====== 2025-12-15 02:09:56,816 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:09:56,820 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c5bd4c5-e0fa-476f-b476-0bfe0230bd5a 2025-12-15 02:09:56,829 - DEBUG - Requesting: http://10.0.0.141:8082/project/92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:09:56,893 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/21c5daae-750b-4920-85f8-2612b4388e2b 2025-12-15 02:09:56,901 - DEBUG - ==>Verifying data for policy with id: c0ab3797-fa36-4cc9-800c-a5602d05b77e, fqn: ['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-policy-allow-all-75359278'] 2025-12-15 02:09:56,901 - INFO - VN ctest-vn-41181169 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 02:09:56,901 - DEBUG - Verifying the vn in opserver 2025-12-15 02:09:56,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169 virtual network link through opserver 10.0.0.141 2025-12-15 02:09:56,901 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-15 02:09:57,193 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-15 02:09:57,249 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169?flat'} 2025-12-15 02:09:57,249 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169 is found in opserver 2025-12-15 02:09:57,259 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 02:09:57,264 - DEBUG - VRF ids for VN ctest-vn-41181169: {} 2025-12-15 02:09:57,264 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:09:57,269 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c5bd4c5-e0fa-476f-b476-0bfe0230bd5a 2025-12-15 02:09:57,280 - DEBUG - Requesting: http://10.0.0.141:8082/project/92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:09:57,348 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:57,357 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:57,365 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/56381c8e-04f4-46ad-b718-4007a3953fd1 2025-12-15 02:09:57,370 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/56381c8e-04f4-46ad-b718-4007a3953fd1 2025-12-15 02:09:57,375 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9a4041e6-d6a6-4cca-93dc-0b17e9444492 2025-12-15 02:09:57,380 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 02:09:57,380 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:57,387 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/56381c8e-04f4-46ad-b718-4007a3953fd1 2025-12-15 02:09:57,398 - INFO - Verified VN network id 13 for VN 37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:57,398 - INFO - Verifications in API Server for VN ctest-vn-95502516 passed 2025-12-15 02:09:57,398 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:57,407 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/56381c8e-04f4-46ad-b718-4007a3953fd1 2025-12-15 02:09:57,413 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/56381c8e-04f4-46ad-b718-4007a3953fd1 2025-12-15 02:09:57,418 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9a4041e6-d6a6-4cca-93dc-0b17e9444492 2025-12-15 02:09:57,427 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-95502516', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95259812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3982602881737377258', 'uuid-lslong': '9635243631631642189'}, 'enable': 'true', 'created': '2025-12-15T02:09:55', 'last-modified': '2025-12-15T02:09:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329489'} 2025-12-15 02:09:57,432 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 02:09:57,432 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95502516 passed 2025-12-15 02:09:57,432 - DEBUG - ====Verifying policy data for ctest-vn-95502516 in API_Server ====== 2025-12-15 02:09:57,432 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:09:57,436 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c5bd4c5-e0fa-476f-b476-0bfe0230bd5a 2025-12-15 02:09:57,445 - DEBUG - Requesting: http://10.0.0.141:8082/project/92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:09:57,516 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/37450c38-5f67-45ea-85b7-430883bfae4d 2025-12-15 02:09:57,524 - DEBUG - ==>Verifying data for policy with id: c0ab3797-fa36-4cc9-800c-a5602d05b77e, fqn: ['default-domain', 'ctest-TestBasicPolicy-95259812', 'ctest-policy-allow-all-75359278'] 2025-12-15 02:09:57,524 - INFO - VN ctest-vn-95502516 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 02:09:57,524 - DEBUG - Verifying the vn in opserver 2025-12-15 02:09:57,524 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-95502516 virtual network link through opserver 10.0.0.141 2025-12-15 02:09:57,524 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-15 02:09:57,532 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-95502516', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-95502516?flat'} 2025-12-15 02:09:57,532 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-95502516 is found in opserver 2025-12-15 02:09:57,540 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 02:09:57,544 - DEBUG - VRF ids for VN ctest-vn-95502516: {} 2025-12-15 02:09:57,597 - DEBUG - Services list from nova: [, , ] 2025-12-15 02:09:58,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4890-1) 2025-12-15 02:09:59,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4890-1) 2025-12-15 02:09:59,674 - INFO - Waiting for VM ctest-TestBasicPolicy-95259812-90859118 to be up.. 2025-12-15 02:09:59,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:10:04,822 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:10:04,823 - INFO - VM name : ctest-TestBasicPolicy-95259812-90859118 2025-12-15 02:10:04,894 - DEBUG - VM ctest-TestBasicPolicy-95259812-90859118 ID is a8b340c9-101d-4992-a64b-cb07c3cb8623 2025-12-15 02:10:04,911 - DEBUG - VM ctest-TestBasicPolicy-95259812-90859118 launched on Node cn-jenkins-deploy-platform-ansible-os-4890-1 2025-12-15 02:10:04,978 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a8b340c9-101d-4992-a64b-cb07c3cb8623 2025-12-15 02:10:04,985 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1c78056f-8193-4417-ab7e-2a22b0a9d637 2025-12-15 02:10:08,245 - 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 1027ms') 2025-12-15 02:10:08,245 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95259812-90859118 failed! 2025-12-15 02:10:08,298 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95259812:ctest-vn-41181169 is 217.92.226.129 and allocation pool is NOT set 2025-12-15 02:10:10,360 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.723 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.723/2.777/4.831/2.054 ms') 2025-12-15 02:10:10,360 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95259812-90859118 passed 2025-12-15 02:10:10,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:10:10,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95259812-90859118, IP 217.92.226.131, Port 22 2025-12-15 02:10:10,689 - DEBUG - VM ctest-TestBasicPolicy-95259812-90859118 is ready for SSH connections 2025-12-15 02:10:10,689 - INFO - Waiting for VM ctest-TestBasicPolicy-95259812-35723520 to be up.. 2025-12-15 02:10:10,756 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:10:10,756 - INFO - VM name : ctest-TestBasicPolicy-95259812-35723520 2025-12-15 02:10:10,828 - DEBUG - VM ctest-TestBasicPolicy-95259812-35723520 ID is ad91d879-1b1a-4b91-b6d9-6364e01ad3c8 2025-12-15 02:10:10,828 - DEBUG - VM ctest-TestBasicPolicy-95259812-35723520 launched on Node cn-jenkins-deploy-platform-ansible-os-4890-1 2025-12-15 02:10:10,900 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ad91d879-1b1a-4b91-b6d9-6364e01ad3c8 2025-12-15 02:10:10,907 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b39e0b07-d2e4-445b-9e24-3bb70f61c06e 2025-12-15 02:10:12,147 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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 = 0.413/2.135/3.858/1.722 ms') 2025-12-15 02:10:12,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95259812-35723520 passed 2025-12-15 02:10:12,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:10:12,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95259812-35723520, IP 94.95.40.195, Port 22 2025-12-15 02:10:12,454 - DEBUG - VM ctest-TestBasicPolicy-95259812-35723520 is ready for SSH connections 2025-12-15 02:10:12,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:10:12,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.95.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:10:12,454 - DEBUG - ping -s 56 -c 3 -W 1 94.95.40.195 2025-12-15 02:10:16,183 - DEBUG - PING 94.95.40.195 (94.95.40.195): 56 data bytes 64 bytes from 94.95.40.195: seq=0 ttl=63 time=3.187 ms 64 bytes from 94.95.40.195: seq=1 ttl=63 time=0.847 ms 64 bytes from 94.95.40.195: seq=2 ttl=63 time=0.734 ms --- 94.95.40.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.589/3.187 ms 2025-12-15 02:10:16,183 - INFO - Ping to IP 94.95.40.195 from VM ctest-TestBasicPolicy-95259812-90859118 passed 2025-12-15 02:10:16,350 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0ab3797-fa36-4cc9-800c-a5602d05b77e", "href": "http://10.0.0.141:8082/network-policy/c0ab3797-fa36-4cc9-800c-a5602d05b77e"}} 2025-12-15 02:10:16,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:10:16,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.95.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:10:16,350 - DEBUG - ping -s 56 -c 3 -W 1 94.95.40.195 2025-12-15 02:10:19,556 - DEBUG - PING 94.95.40.195 (94.95.40.195): 56 data bytes --- 94.95.40.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:10:19,556 - WARNING - Ping to IP 94.95.40.195 from VM ctest-TestBasicPolicy-95259812-90859118 failed 2025-12-15 02:10:19,556 - INFO - Deleting VM ctest-TestBasicPolicy-95259812-35723520 2025-12-15 02:10:19,620 - INFO - Deleting VM ctest-TestBasicPolicy-95259812-90859118 2025-12-15 02:10:19,966 - INFO - Deleted policy ctest-policy-allow-all-75359278 2025-12-15 02:10:19,966 - INFO - Deleting VN ctest-vn-95502516 2025-12-15 02:10:19,997 - DEBUG - VN 37450c38-5f67-45ea-85b7-430883bfae4d still in use: Unable to complete operation on network 37450c38-5f67-45ea-85b7-430883bfae4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ece2ed4f-6645-4d0a-b12e-ca0145e4f46e'] 2025-12-15 02:10:19,997 - WARNING - Deleting VN ctest-vn-95502516 failed..Will retry 2025-12-15 02:10:22,087 - DEBUG - Response for deleting network () 2025-12-15 02:10:22,087 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/56381c8e-04f4-46ad-b718-4007a3953fd1 2025-12-15 02:10:22,093 - DEBUG - Response Code: 404 2025-12-15 02:10:22,093 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:10:22,097 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c5bd4c5-e0fa-476f-b476-0bfe0230bd5a 2025-12-15 02:10:22,152 - DEBUG - Requesting: http://10.0.0.141:8082/project/92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:10:22,216 - INFO - Validated that VN ctest-vn-95502516 is not found in API Server 2025-12-15 02:10:22,224 - DEBUG - VN ctest-vn-95502516 is not present in Agent 10.0.0.141 2025-12-15 02:10:22,224 - INFO - Validated that VN ctest-vn-95502516 is not in any agent 2025-12-15 02:10:22,236 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95502516 info 2025-12-15 02:10:22,236 - INFO - Deleting VN ctest-vn-41181169 2025-12-15 02:10:22,335 - DEBUG - Response for deleting network () 2025-12-15 02:10:22,335 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2deea986-08b5-42e4-b973-8444b0ea2ff2 2025-12-15 02:10:22,339 - DEBUG - Response Code: 404 2025-12-15 02:10:22,340 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-15 02:10:22,344 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c5bd4c5-e0fa-476f-b476-0bfe0230bd5a 2025-12-15 02:10:22,394 - DEBUG - Requesting: http://10.0.0.141:8082/project/92b26256-74d6-40bc-9db6-70474d308b94 2025-12-15 02:10:22,461 - INFO - Validated that VN ctest-vn-41181169 is not found in API Server 2025-12-15 02:10:22,470 - DEBUG - VN ctest-vn-41181169 is not present in Agent 10.0.0.141 2025-12-15 02:10:22,470 - INFO - Validated that VN ctest-vn-41181169 is not in any agent 2025-12-15 02:10:22,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41181169 info 2025-12-15 02:10:22,735 - DEBUG - No XMPP flaps were noticed during the test 2025-12-15 02:10:22,735 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-15 02:10:22,735 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:10:23,385 - INFO - Deleted project: ctest-TestBasicPolicy-95259812, ID : 92b26256-74d6-40bc-9db6-70474d308b94