2025-06-05 02:09:35,126 - INFO - Domain Default found not creating 2025-06-05 02:09:35,298 - INFO - Project ctest-TestBasicPolicy-76162178 not found, creating it 2025-06-05 02:09:35,742 - INFO - Created Project:ctest-TestBasicPolicy-76162178, ID : 79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:09:37,173 - INFO - ================================================================================ 2025-06-05 02:09:37,174 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-05 02:09:37,174 - 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-06-05 02:09:37,431 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.129': '0'}} with 2025-06-05 02:09:37,431 - INFO - Initial checks done. Running the testcase now 2025-06-05 02:09:37,431 - INFO - 2025-06-05 02:09:37,971 - DEBUG - Response for create_network : {'network': {'id': '2d732a36-bdfb-4253-adb5-18eb0c931636', 'name': 'ctest-vn-82892761', 'tenant_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'project_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-vn-82892761'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:09:38,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '53fd4cb8-30a3-4b17-8f04-76c49f53f24c', 'name': '', 'tenant_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'network_id': '2d732a36-bdfb-4253-adb5-18eb0c931636', 'ip_version': 4, 'cidr': '194.138.176.64/26', 'allocation_pools': [{'start': '194.138.176.66', 'end': '194.138.176.126'}], 'gateway_ip': '194.138.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.138.176.66', 'tags': [], 'project_id': '79b92cbd71e04fc3aa72418bcdd9ec3b'}} 2025-06-05 02:09:38,146 - INFO - Created VN ctest-vn-82892761 2025-06-05 02:09:38,196 - DEBUG - VN ctest-vn-82892761 UUID is 2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:38,520 - DEBUG - Response for create_network : {'network': {'id': '07a45a51-00f6-49ec-9226-48ea3508d592', 'name': 'ctest-vn-89895848', 'tenant_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'project_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-vn-89895848'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:09:38,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '81edf346-5efb-4315-aec0-df89f65c5f11', 'name': '', 'tenant_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'network_id': '07a45a51-00f6-49ec-9226-48ea3508d592', 'ip_version': 4, 'cidr': '26.159.190.128/26', 'allocation_pools': [{'start': '26.159.190.130', 'end': '26.159.190.190'}], 'gateway_ip': '26.159.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.159.190.130', 'tags': [], 'project_id': '79b92cbd71e04fc3aa72418bcdd9ec3b'}} 2025-06-05 02:09:38,749 - INFO - Created VN ctest-vn-89895848 2025-06-05 02:09:38,800 - DEBUG - VN ctest-vn-89895848 UUID is 07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:38,918 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761, 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-76162178:ctest-vn-89895848, 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-06-05 02:09:39,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d732a36-bdfb-4253-adb5-18eb0c931636', 'name': 'ctest-vn-82892761', 'tenant_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'project_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53fd4cb8-30a3-4b17-8f04-76c49f53f24c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-vn-82892761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-policy-allow-all-57127412']], 'subnet_ipam': [{'subnet_cidr': '194.138.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:09:39,454 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07a45a51-00f6-49ec-9226-48ea3508d592', 'name': 'ctest-vn-89895848', 'tenant_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'project_id': '79b92cbd71e04fc3aa72418bcdd9ec3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81edf346-5efb-4315-aec0-df89f65c5f11'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-vn-89895848'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-policy-allow-all-57127412']], 'subnet_ipam': [{'subnet_cidr': '26.159.190.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:09:39,616 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:09:39,916 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:09:39,949 - DEBUG - Requesting: http://10.0.0.254:8082/domain/583d9dc8-8703-4533-a877-163a6f3eb144 2025-06-05 02:09:39,964 - DEBUG - Requesting: http://10.0.0.254:8082/project/79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:09:40,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:40,049 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:40,060 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71a6aeed-29d5-4318-9bf3-587b0d0a7571 2025-06-05 02:09:40,068 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71a6aeed-29d5-4318-9bf3-587b0d0a7571 2025-06-05 02:09:40,076 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/587529e4-4f8e-4378-ba3e-ee1c326e5163 2025-06-05 02:09:40,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:09:40,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:40,092 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71a6aeed-29d5-4318-9bf3-587b0d0a7571 2025-06-05 02:09:40,108 - INFO - Verified VN network id 8 for VN 2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:40,108 - INFO - Verifications in API Server for VN ctest-vn-82892761 passed 2025-06-05 02:09:40,108 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:40,118 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71a6aeed-29d5-4318-9bf3-587b0d0a7571 2025-06-05 02:09:40,127 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71a6aeed-29d5-4318-9bf3-587b0d0a7571 2025-06-05 02:09:40,134 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/587529e4-4f8e-4378-ba3e-ee1c326e5163 2025-06-05 02:09:40,146 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76162178', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3275007768632443475', 'uuid-lslong': '12516938137153508918'}, 'enable': 'true', 'created': '2025-06-05T02:09:37', 'last-modified': '2025-06-05T02:09:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956616'} 2025-06-05 02:09:40,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:09:40,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82892761 passed 2025-06-05 02:09:40,153 - DEBUG - ====Verifying policy data for ctest-vn-82892761 in API_Server ====== 2025-06-05 02:09:40,153 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:09:40,159 - DEBUG - Requesting: http://10.0.0.254:8082/domain/583d9dc8-8703-4533-a877-163a6f3eb144 2025-06-05 02:09:40,174 - DEBUG - Requesting: http://10.0.0.254:8082/project/79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:09:40,242 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d732a36-bdfb-4253-adb5-18eb0c931636 2025-06-05 02:09:40,252 - DEBUG - ==>Verifying data for policy with id: 30be2d46-b261-4611-8175-4a232a931ba2, fqn: ['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-policy-allow-all-57127412'] 2025-06-05 02:09:40,252 - INFO - VN ctest-vn-82892761 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:09:40,252 - DEBUG - Verifying the vn in opserver 2025-06-05 02:09:40,252 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761 virtual network link through opserver 10.0.0.254 2025-06-05 02:09:40,252 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-05 02:09:40,549 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-05 02:09:40,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761?flat'} 2025-06-05 02:09:40,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761 is found in opserver 2025-06-05 02:09:40,619 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:09:40,624 - DEBUG - VRF ids for VN ctest-vn-82892761: {} 2025-06-05 02:09:40,624 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:09:40,630 - DEBUG - Requesting: http://10.0.0.254:8082/domain/583d9dc8-8703-4533-a877-163a6f3eb144 2025-06-05 02:09:40,641 - DEBUG - Requesting: http://10.0.0.254:8082/project/79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:09:40,711 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:40,724 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:40,734 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ade1cec3-dbe7-419d-aedb-0425d5079e88 2025-06-05 02:09:40,741 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ade1cec3-dbe7-419d-aedb-0425d5079e88 2025-06-05 02:09:40,749 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e0c85342-2879-452e-a890-2bdc645b4f30 2025-06-05 02:09:40,757 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:09:40,757 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:40,767 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ade1cec3-dbe7-419d-aedb-0425d5079e88 2025-06-05 02:09:40,783 - INFO - Verified VN network id 9 for VN 07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:40,784 - INFO - Verifications in API Server for VN ctest-vn-89895848 passed 2025-06-05 02:09:40,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:40,794 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ade1cec3-dbe7-419d-aedb-0425d5079e88 2025-06-05 02:09:40,802 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ade1cec3-dbe7-419d-aedb-0425d5079e88 2025-06-05 02:09:40,810 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e0c85342-2879-452e-a890-2bdc645b4f30 2025-06-05 02:09:40,822 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-89895848', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76162178', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '550664358401034732', 'uuid-lslong': '10531184949401802130'}, 'enable': 'true', 'created': '2025-06-05T02:09:38', 'last-modified': '2025-06-05T02:09:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388163'} 2025-06-05 02:09:40,828 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:09:40,828 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89895848 passed 2025-06-05 02:09:40,829 - DEBUG - ====Verifying policy data for ctest-vn-89895848 in API_Server ====== 2025-06-05 02:09:40,829 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:09:40,835 - DEBUG - Requesting: http://10.0.0.254:8082/domain/583d9dc8-8703-4533-a877-163a6f3eb144 2025-06-05 02:09:40,849 - DEBUG - Requesting: http://10.0.0.254:8082/project/79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:09:40,929 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a45a51-00f6-49ec-9226-48ea3508d592 2025-06-05 02:09:40,939 - DEBUG - ==>Verifying data for policy with id: 30be2d46-b261-4611-8175-4a232a931ba2, fqn: ['default-domain', 'ctest-TestBasicPolicy-76162178', 'ctest-policy-allow-all-57127412'] 2025-06-05 02:09:40,939 - INFO - VN ctest-vn-89895848 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:09:40,939 - DEBUG - Verifying the vn in opserver 2025-06-05 02:09:40,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-89895848 virtual network link through opserver 10.0.0.254 2025-06-05 02:09:40,940 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-05 02:09:40,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-89895848', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-89895848?flat'} 2025-06-05 02:09:40,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-89895848 is found in opserver 2025-06-05 02:09:40,962 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:09:40,968 - DEBUG - VRF ids for VN ctest-vn-89895848: {} 2025-06-05 02:09:41,027 - DEBUG - Services list from nova: [, , ] 2025-06-05 02:09:42,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3402-1) 2025-06-05 02:09:43,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3402-1) 2025-06-05 02:09:43,255 - INFO - Waiting for VM ctest-TestBasicPolicy-76162178-26873594 to be up.. 2025-06-05 02:09:43,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 02:09:48,432 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:09:48,432 - INFO - VM name : ctest-TestBasicPolicy-76162178-26873594 2025-06-05 02:09:48,511 - DEBUG - VM ctest-TestBasicPolicy-76162178-26873594 ID is cadce4e4-9aeb-4cff-bbdf-452fe9b9dc0b 2025-06-05 02:09:48,531 - DEBUG - VM ctest-TestBasicPolicy-76162178-26873594 launched on Node cn-jenkins-deploy-platform-ansible-os-3402-1 2025-06-05 02:09:48,605 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cadce4e4-9aeb-4cff-bbdf-452fe9b9dc0b 2025-06-05 02:09:48,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f9efd362-b077-4c66-b356-2fb447fc0062 2025-06-05 02:09:51,879 - 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 1023ms') 2025-06-05 02:09:51,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76162178-26873594 failed! 2025-06-05 02:09:51,936 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76162178:ctest-vn-82892761 is 194.138.176.65 and allocation pool is NOT set 2025-06-05 02:09:53,993 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/4.180/7.952/3.771 ms') 2025-06-05 02:09:53,993 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76162178-26873594 passed 2025-06-05 02:09:54,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:09:54,148 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76162178-26873594, IP 194.138.176.67, Port 22 2025-06-05 02:09:54,321 - DEBUG - VM ctest-TestBasicPolicy-76162178-26873594 is ready for SSH connections 2025-06-05 02:09:54,321 - INFO - Waiting for VM ctest-TestBasicPolicy-76162178-54550217 to be up.. 2025-06-05 02:09:54,403 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:09:54,403 - INFO - VM name : ctest-TestBasicPolicy-76162178-54550217 2025-06-05 02:09:54,479 - DEBUG - VM ctest-TestBasicPolicy-76162178-54550217 ID is f84e9cb6-16fa-4de0-98a9-ad3f611e47fd 2025-06-05 02:09:54,479 - DEBUG - VM ctest-TestBasicPolicy-76162178-54550217 launched on Node cn-jenkins-deploy-platform-ansible-os-3402-1 2025-06-05 02:09:54,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f84e9cb6-16fa-4de0-98a9-ad3f611e47fd 2025-06-05 02:09:54,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cec1c245-4dd0-4038-bb05-1b80108bce3b 2025-06-05 02:09:55,832 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/2.018/3.516/1.497 ms') 2025-06-05 02:09:55,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76162178-54550217 passed 2025-06-05 02:09:55,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:09:55,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76162178-54550217, IP 26.159.190.131, Port 22 2025-06-05 02:09:56,144 - DEBUG - VM ctest-TestBasicPolicy-76162178-54550217 is ready for SSH connections 2025-06-05 02:09:56,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:09:56,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.159.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-05 02:09:56,144 - DEBUG - ping -s 56 -c 3 -W 1 26.159.190.131 2025-06-05 02:09:59,839 - DEBUG - PING 26.159.190.131 (26.159.190.131): 56 data bytes 64 bytes from 26.159.190.131: seq=0 ttl=63 time=3.764 ms 64 bytes from 26.159.190.131: seq=1 ttl=63 time=0.880 ms 64 bytes from 26.159.190.131: seq=2 ttl=63 time=1.093 ms --- 26.159.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.912/3.764 ms 2025-06-05 02:09:59,839 - INFO - Ping to IP 26.159.190.131 from VM ctest-TestBasicPolicy-76162178-26873594 passed 2025-06-05 02:10:00,028 - DEBUG - Policy Update Response {"network-policy": {"uuid": "30be2d46-b261-4611-8175-4a232a931ba2", "href": "http://10.0.0.254:8082/network-policy/30be2d46-b261-4611-8175-4a232a931ba2"}} 2025-06-05 02:10:00,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:10:00,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.159.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-05 02:10:00,028 - DEBUG - ping -s 56 -c 3 -W 1 26.159.190.131 2025-06-05 02:10:03,231 - DEBUG - PING 26.159.190.131 (26.159.190.131): 56 data bytes --- 26.159.190.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-05 02:10:03,231 - WARNING - Ping to IP 26.159.190.131 from VM ctest-TestBasicPolicy-76162178-26873594 failed 2025-06-05 02:10:03,231 - INFO - Deleting VM ctest-TestBasicPolicy-76162178-54550217 2025-06-05 02:10:03,305 - INFO - Deleting VM ctest-TestBasicPolicy-76162178-26873594 2025-06-05 02:10:03,698 - INFO - Deleted policy ctest-policy-allow-all-57127412 2025-06-05 02:10:03,698 - INFO - Deleting VN ctest-vn-89895848 2025-06-05 02:10:03,736 - DEBUG - VN 07a45a51-00f6-49ec-9226-48ea3508d592 still in use: Unable to complete operation on network 07a45a51-00f6-49ec-9226-48ea3508d592. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79d52eb7-dff4-447b-a7df-85c2838d3b39'] 2025-06-05 02:10:03,736 - WARNING - Deleting VN ctest-vn-89895848 failed..Will retry 2025-06-05 02:10:05,847 - DEBUG - Response for deleting network () 2025-06-05 02:10:05,847 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ade1cec3-dbe7-419d-aedb-0425d5079e88 2025-06-05 02:10:05,853 - DEBUG - Response Code: 404 2025-06-05 02:10:05,853 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:10:05,860 - DEBUG - Requesting: http://10.0.0.254:8082/domain/583d9dc8-8703-4533-a877-163a6f3eb144 2025-06-05 02:10:05,913 - DEBUG - Requesting: http://10.0.0.254:8082/project/79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:10:05,989 - INFO - Validated that VN ctest-vn-89895848 is not found in API Server 2025-06-05 02:10:06,000 - DEBUG - VN ctest-vn-89895848 is not present in Agent 10.0.0.254 2025-06-05 02:10:06,000 - INFO - Validated that VN ctest-vn-89895848 is not in any agent 2025-06-05 02:10:06,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89895848 info 2025-06-05 02:10:06,017 - INFO - Deleting VN ctest-vn-82892761 2025-06-05 02:10:06,119 - DEBUG - Response for deleting network () 2025-06-05 02:10:06,119 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71a6aeed-29d5-4318-9bf3-587b0d0a7571 2025-06-05 02:10:06,126 - DEBUG - Response Code: 404 2025-06-05 02:10:06,126 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-05 02:10:06,135 - DEBUG - Requesting: http://10.0.0.254:8082/domain/583d9dc8-8703-4533-a877-163a6f3eb144 2025-06-05 02:10:06,189 - DEBUG - Requesting: http://10.0.0.254:8082/project/79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b 2025-06-05 02:10:06,261 - INFO - Validated that VN ctest-vn-82892761 is not found in API Server 2025-06-05 02:10:06,272 - DEBUG - VN ctest-vn-82892761 is not present in Agent 10.0.0.254 2025-06-05 02:10:06,272 - INFO - Validated that VN ctest-vn-82892761 is not in any agent 2025-06-05 02:10:06,288 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82892761 info 2025-06-05 02:10:06,542 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:10:06,542 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-05 02:10:06,542 - INFO - -------------------------------------------------------------------------------- 2025-06-05 02:10:07,220 - INFO - Deleted project: ctest-TestBasicPolicy-76162178, ID : 79b92cbd-71e0-4fc3-aa72-418bcdd9ec3b