2025-12-08 22:45:33,153 - INFO - Domain Default found not creating 2025-12-08 22:45:33,303 - INFO - Project ctest-TestBasicPolicy-87921890 not found, creating it 2025-12-08 22:45:33,736 - INFO - Created Project:ctest-TestBasicPolicy-87921890, ID : 50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:45:35,142 - INFO - ================================================================================ 2025-12-08 22:45:35,143 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 22:45:35,143 - 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-08 22:45:35,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-08 22:45:35,396 - INFO - Initial checks done. Running the testcase now 2025-12-08 22:45:35,396 - INFO - 2025-12-08 22:45:35,917 - DEBUG - Response for create_network : {'network': {'id': '9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a', 'name': 'ctest-vn-46670519', 'tenant_id': '50685b71ce484c45b83b0f96244a4b8b', 'project_id': '50685b71ce484c45b83b0f96244a4b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-vn-46670519'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:45:36,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccbcf55b-d415-41ac-8132-c8ab2567fbe3', 'name': '', 'tenant_id': '50685b71ce484c45b83b0f96244a4b8b', 'network_id': '9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a', 'ip_version': 4, 'cidr': '133.86.156.128/26', 'allocation_pools': [{'start': '133.86.156.130', 'end': '133.86.156.190'}], 'gateway_ip': '133.86.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.86.156.130', 'tags': [], 'project_id': '50685b71ce484c45b83b0f96244a4b8b'}} 2025-12-08 22:45:36,071 - INFO - Created VN ctest-vn-46670519 2025-12-08 22:45:36,123 - DEBUG - VN ctest-vn-46670519 UUID is 9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:36,428 - DEBUG - Response for create_network : {'network': {'id': '58c0a944-ae26-4c0e-a334-2204223ae2ca', 'name': 'ctest-vn-39070715', 'tenant_id': '50685b71ce484c45b83b0f96244a4b8b', 'project_id': '50685b71ce484c45b83b0f96244a4b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-vn-39070715'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:45:36,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f00bc96-8666-4063-ae99-98c09e60eeee', 'name': '', 'tenant_id': '50685b71ce484c45b83b0f96244a4b8b', 'network_id': '58c0a944-ae26-4c0e-a334-2204223ae2ca', 'ip_version': 4, 'cidr': '136.123.191.0/26', 'allocation_pools': [{'start': '136.123.191.2', 'end': '136.123.191.62'}], 'gateway_ip': '136.123.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.123.191.2', 'tags': [], 'project_id': '50685b71ce484c45b83b0f96244a4b8b'}} 2025-12-08 22:45:36,614 - INFO - Created VN ctest-vn-39070715 2025-12-08 22:45:36,666 - DEBUG - VN ctest-vn-39070715 UUID is 58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:36,810 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519, 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-87921890:ctest-vn-39070715, 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-08 22:45:37,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a', 'name': 'ctest-vn-46670519', 'tenant_id': '50685b71ce484c45b83b0f96244a4b8b', 'project_id': '50685b71ce484c45b83b0f96244a4b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ccbcf55b-d415-41ac-8132-c8ab2567fbe3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-vn-46670519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-policy-allow-all-47749935']], 'subnet_ipam': [{'subnet_cidr': '133.86.156.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:45:37,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58c0a944-ae26-4c0e-a334-2204223ae2ca', 'name': 'ctest-vn-39070715', 'tenant_id': '50685b71ce484c45b83b0f96244a4b8b', 'project_id': '50685b71ce484c45b83b0f96244a4b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f00bc96-8666-4063-ae99-98c09e60eeee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-vn-39070715'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-policy-allow-all-47749935']], 'subnet_ipam': [{'subnet_cidr': '136.123.191.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:45:37,492 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:45:37,789 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:45:37,816 - DEBUG - Requesting: http://10.0.0.33:8082/domain/740877dd-e386-4898-85dd-a8c4d4fb5efd 2025-12-08 22:45:37,827 - DEBUG - Requesting: http://10.0.0.33:8082/project/50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:45:37,898 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:37,909 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:37,922 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/707d1b51-67b4-4ef2-9348-0967aa8067f1 2025-12-08 22:45:37,931 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/707d1b51-67b4-4ef2-9348-0967aa8067f1 2025-12-08 22:45:37,936 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d0b0899e-5740-4a64-82fa-4f009555987e 2025-12-08 22:45:37,941 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 22:45:37,941 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:37,950 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/707d1b51-67b4-4ef2-9348-0967aa8067f1 2025-12-08 22:45:37,962 - INFO - Verified VN network id 12 for VN 9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:37,962 - INFO - Verifications in API Server for VN ctest-vn-46670519 passed 2025-12-08 22:45:37,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:37,970 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/707d1b51-67b4-4ef2-9348-0967aa8067f1 2025-12-08 22:45:37,976 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/707d1b51-67b4-4ef2-9348-0967aa8067f1 2025-12-08 22:45:37,981 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d0b0899e-5740-4a64-82fa-4f009555987e 2025-12-08 22:45:37,993 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87921890', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11518963964756249528', 'uuid-lslong': '9887767139431631674'}, 'enable': 'true', 'created': '2025-12-08T22:45:35', 'last-modified': '2025-12-08T22:45:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919782'} 2025-12-08 22:45:37,999 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 22:45:37,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46670519 passed 2025-12-08 22:45:37,999 - DEBUG - ====Verifying policy data for ctest-vn-46670519 in API_Server ====== 2025-12-08 22:45:37,999 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:45:38,005 - DEBUG - Requesting: http://10.0.0.33:8082/domain/740877dd-e386-4898-85dd-a8c4d4fb5efd 2025-12-08 22:45:38,013 - DEBUG - Requesting: http://10.0.0.33:8082/project/50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:45:38,095 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fdb94b2-23d2-4bb8-8938-67d35f9a4b3a 2025-12-08 22:45:38,102 - DEBUG - ==>Verifying data for policy with id: 5304a8d2-fc20-419e-b397-65aeda4ebfeb, fqn: ['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-policy-allow-all-47749935'] 2025-12-08 22:45:38,102 - INFO - VN ctest-vn-46670519 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 22:45:38,102 - DEBUG - Verifying the vn in opserver 2025-12-08 22:45:38,102 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519 virtual network link through opserver 10.0.0.33 2025-12-08 22:45:38,103 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 22:45:38,395 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 22:45:38,445 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519?flat'} 2025-12-08 22:45:38,445 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519 is found in opserver 2025-12-08 22:45:38,455 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 22:45:38,460 - DEBUG - VRF ids for VN ctest-vn-46670519: {} 2025-12-08 22:45:38,460 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:45:38,465 - DEBUG - Requesting: http://10.0.0.33:8082/domain/740877dd-e386-4898-85dd-a8c4d4fb5efd 2025-12-08 22:45:38,479 - DEBUG - Requesting: http://10.0.0.33:8082/project/50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:45:38,549 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:38,558 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:38,565 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/55302588-104d-4696-9b27-d1edfebd874c 2025-12-08 22:45:38,571 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/55302588-104d-4696-9b27-d1edfebd874c 2025-12-08 22:45:38,576 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8ed302a2-70e9-45a7-b90d-905b63c83040 2025-12-08 22:45:38,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 22:45:38,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:38,587 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/55302588-104d-4696-9b27-d1edfebd874c 2025-12-08 22:45:38,598 - INFO - Verified VN network id 13 for VN 58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:38,598 - INFO - Verifications in API Server for VN ctest-vn-39070715 passed 2025-12-08 22:45:38,598 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:38,606 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/55302588-104d-4696-9b27-d1edfebd874c 2025-12-08 22:45:38,611 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/55302588-104d-4696-9b27-d1edfebd874c 2025-12-08 22:45:38,617 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8ed302a2-70e9-45a7-b90d-905b63c83040 2025-12-08 22:45:38,628 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-39070715', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87921890', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6395297583310720014', 'uuid-lslong': '11760061928120705738'}, 'enable': 'true', 'created': '2025-12-08T22:45:36', 'last-modified': '2025-12-08T22:45:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343565'} 2025-12-08 22:45:38,633 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 22:45:38,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39070715 passed 2025-12-08 22:45:38,634 - DEBUG - ====Verifying policy data for ctest-vn-39070715 in API_Server ====== 2025-12-08 22:45:38,634 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:45:38,639 - DEBUG - Requesting: http://10.0.0.33:8082/domain/740877dd-e386-4898-85dd-a8c4d4fb5efd 2025-12-08 22:45:38,647 - DEBUG - Requesting: http://10.0.0.33:8082/project/50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:45:38,714 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/58c0a944-ae26-4c0e-a334-2204223ae2ca 2025-12-08 22:45:38,722 - DEBUG - ==>Verifying data for policy with id: 5304a8d2-fc20-419e-b397-65aeda4ebfeb, fqn: ['default-domain', 'ctest-TestBasicPolicy-87921890', 'ctest-policy-allow-all-47749935'] 2025-12-08 22:45:38,722 - INFO - VN ctest-vn-39070715 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 22:45:38,722 - DEBUG - Verifying the vn in opserver 2025-12-08 22:45:38,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-39070715 virtual network link through opserver 10.0.0.33 2025-12-08 22:45:38,722 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 22:45:38,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-39070715', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-39070715?flat'} 2025-12-08 22:45:38,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-39070715 is found in opserver 2025-12-08 22:45:38,737 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 22:45:38,741 - DEBUG - VRF ids for VN ctest-vn-39070715: {} 2025-12-08 22:45:38,791 - DEBUG - Services list from nova: [, , ] 2025-12-08 22:45:39,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:45:40,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:45:40,850 - INFO - Waiting for VM ctest-TestBasicPolicy-87921890-36536482 to be up.. 2025-12-08 22:45:40,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 22:45:45,999 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:45:45,999 - INFO - VM name : ctest-TestBasicPolicy-87921890-36536482 2025-12-08 22:45:46,065 - DEBUG - VM ctest-TestBasicPolicy-87921890-36536482 ID is 82397010-e365-4594-9941-6389f8b8333f 2025-12-08 22:45:46,084 - DEBUG - VM ctest-TestBasicPolicy-87921890-36536482 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:45:46,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/82397010-e365-4594-9941-6389f8b8333f 2025-12-08 22:45:46,164 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/32e260d0-9fa3-493a-8e4c-a7c2c574c94c 2025-12-08 22:45:49,426 - 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-12-08 22:45:49,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87921890-36536482 failed! 2025-12-08 22:45:49,478 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87921890:ctest-vn-46670519 is 133.86.156.129 and allocation pool is NOT set 2025-12-08 22:45:51,538 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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.423/1.566/2.710/1.143 ms') 2025-12-08 22:45:51,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87921890-36536482 passed 2025-12-08 22:45:51,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:51,691 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87921890-36536482, IP 133.86.156.131, Port 22 2025-12-08 22:45:51,850 - DEBUG - VM ctest-TestBasicPolicy-87921890-36536482 is ready for SSH connections 2025-12-08 22:45:51,850 - INFO - Waiting for VM ctest-TestBasicPolicy-87921890-71191278 to be up.. 2025-12-08 22:45:51,918 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:45:51,918 - INFO - VM name : ctest-TestBasicPolicy-87921890-71191278 2025-12-08 22:45:51,989 - DEBUG - VM ctest-TestBasicPolicy-87921890-71191278 ID is d16d1ed0-6d25-4557-a74a-bc55b75f7030 2025-12-08 22:45:51,989 - DEBUG - VM ctest-TestBasicPolicy-87921890-71191278 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:45:52,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d16d1ed0-6d25-4557-a74a-bc55b75f7030 2025-12-08 22:45:52,062 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fcff23b0-3996-4304-b1c7-1fc367de1e3a 2025-12-08 22:45:53,296 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 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.013/3.430/4.848/1.417 ms') 2025-12-08 22:45:53,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87921890-71191278 passed 2025-12-08 22:45:53,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:53,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87921890-71191278, IP 136.123.191.3, Port 22 2025-12-08 22:45:53,598 - DEBUG - VM ctest-TestBasicPolicy-87921890-71191278 is ready for SSH connections 2025-12-08 22:45:53,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:53,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.123.191.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:45:53,599 - DEBUG - ping -s 56 -c 3 -W 1 136.123.191.3 2025-12-08 22:45:57,276 - DEBUG - PING 136.123.191.3 (136.123.191.3): 56 data bytes 64 bytes from 136.123.191.3: seq=0 ttl=63 time=4.556 ms 64 bytes from 136.123.191.3: seq=1 ttl=63 time=0.786 ms 64 bytes from 136.123.191.3: seq=2 ttl=63 time=0.795 ms --- 136.123.191.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/2.045/4.556 ms 2025-12-08 22:45:57,276 - INFO - Ping to IP 136.123.191.3 from VM ctest-TestBasicPolicy-87921890-36536482 passed 2025-12-08 22:45:57,454 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5304a8d2-fc20-419e-b397-65aeda4ebfeb", "href": "http://10.0.0.33:8082/network-policy/5304a8d2-fc20-419e-b397-65aeda4ebfeb"}} 2025-12-08 22:45:57,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:57,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.123.191.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:45:57,455 - DEBUG - ping -s 56 -c 3 -W 1 136.123.191.3 2025-12-08 22:46:00,664 - DEBUG - PING 136.123.191.3 (136.123.191.3): 56 data bytes --- 136.123.191.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 22:46:00,665 - WARNING - Ping to IP 136.123.191.3 from VM ctest-TestBasicPolicy-87921890-36536482 failed 2025-12-08 22:46:00,665 - INFO - Deleting VM ctest-TestBasicPolicy-87921890-71191278 2025-12-08 22:46:00,725 - INFO - Deleting VM ctest-TestBasicPolicy-87921890-36536482 2025-12-08 22:46:01,114 - INFO - Deleted policy ctest-policy-allow-all-47749935 2025-12-08 22:46:01,115 - INFO - Deleting VN ctest-vn-39070715 2025-12-08 22:46:01,147 - DEBUG - VN 58c0a944-ae26-4c0e-a334-2204223ae2ca still in use: Unable to complete operation on network 58c0a944-ae26-4c0e-a334-2204223ae2ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b032ad28-7a16-4854-bb20-1bdc9817a671'] 2025-12-08 22:46:01,148 - WARNING - Deleting VN ctest-vn-39070715 failed..Will retry 2025-12-08 22:46:03,270 - DEBUG - Response for deleting network () 2025-12-08 22:46:03,270 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/55302588-104d-4696-9b27-d1edfebd874c 2025-12-08 22:46:03,276 - DEBUG - Response Code: 404 2025-12-08 22:46:03,276 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:46:03,281 - DEBUG - Requesting: http://10.0.0.33:8082/domain/740877dd-e386-4898-85dd-a8c4d4fb5efd 2025-12-08 22:46:03,332 - DEBUG - Requesting: http://10.0.0.33:8082/project/50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:46:03,398 - INFO - Validated that VN ctest-vn-39070715 is not found in API Server 2025-12-08 22:46:03,409 - DEBUG - VN ctest-vn-39070715 is not present in Agent 10.0.0.33 2025-12-08 22:46:03,409 - INFO - Validated that VN ctest-vn-39070715 is not in any agent 2025-12-08 22:46:03,421 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39070715 info 2025-12-08 22:46:03,421 - INFO - Deleting VN ctest-vn-46670519 2025-12-08 22:46:03,511 - DEBUG - Response for deleting network () 2025-12-08 22:46:03,511 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/707d1b51-67b4-4ef2-9348-0967aa8067f1 2025-12-08 22:46:03,515 - DEBUG - Response Code: 404 2025-12-08 22:46:03,516 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 22:46:03,524 - DEBUG - Requesting: http://10.0.0.33:8082/domain/740877dd-e386-4898-85dd-a8c4d4fb5efd 2025-12-08 22:46:03,575 - DEBUG - Requesting: http://10.0.0.33:8082/project/50685b71-ce48-4c45-b83b-0f96244a4b8b 2025-12-08 22:46:03,646 - INFO - Validated that VN ctest-vn-46670519 is not found in API Server 2025-12-08 22:46:03,655 - DEBUG - VN ctest-vn-46670519 is not present in Agent 10.0.0.33 2025-12-08 22:46:03,655 - INFO - Validated that VN ctest-vn-46670519 is not in any agent 2025-12-08 22:46:03,668 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46670519 info 2025-12-08 22:46:03,923 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 22:46:03,924 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-12-08 22:46:03,924 - INFO - -------------------------------------------------------------------------------- 2025-12-08 22:46:04,598 - INFO - Deleted project: ctest-TestBasicPolicy-87921890, ID : 50685b71-ce48-4c45-b83b-0f96244a4b8b