2025-10-21 20:22:09,098 - INFO - Domain Default found not creating 2025-10-21 20:22:09,244 - INFO - Project ctest-TestBasicPolicy-97752557 not found, creating it 2025-10-21 20:22:09,706 - INFO - Created Project:ctest-TestBasicPolicy-97752557, ID : 37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:11,130 - INFO - ================================================================================ 2025-10-21 20:22:11,130 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 20:22:11,130 - 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-10-21 20:22:11,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.254': '0'}} with 2025-10-21 20:22:11,383 - INFO - Initial checks done. Running the testcase now 2025-10-21 20:22:11,383 - INFO - 2025-10-21 20:22:11,914 - DEBUG - Response for create_network : {'network': {'id': 'b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef', 'name': 'ctest-vn-66690042', 'tenant_id': '37b95bf811a44328befc09d37b1274b3', 'project_id': '37b95bf811a44328befc09d37b1274b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-vn-66690042'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 20:22:12,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '56d26602-dd5e-4be5-b6fd-8980386a70e4', 'name': '', 'tenant_id': '37b95bf811a44328befc09d37b1274b3', 'network_id': 'b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef', 'ip_version': 4, 'cidr': '157.17.21.0/26', 'allocation_pools': [{'start': '157.17.21.2', 'end': '157.17.21.62'}], 'gateway_ip': '157.17.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.17.21.2', 'tags': [], 'project_id': '37b95bf811a44328befc09d37b1274b3'}} 2025-10-21 20:22:12,128 - INFO - Created VN ctest-vn-66690042 2025-10-21 20:22:12,178 - DEBUG - VN ctest-vn-66690042 UUID is b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:12,509 - DEBUG - Response for create_network : {'network': {'id': '305bd9db-2e01-4ebc-a2e3-e010037a9b1a', 'name': 'ctest-vn-01073941', 'tenant_id': '37b95bf811a44328befc09d37b1274b3', 'project_id': '37b95bf811a44328befc09d37b1274b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-vn-01073941'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 20:22:12,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c7fd24a-f501-4214-b61c-bc6e1c5cf410', 'name': '', 'tenant_id': '37b95bf811a44328befc09d37b1274b3', 'network_id': '305bd9db-2e01-4ebc-a2e3-e010037a9b1a', 'ip_version': 4, 'cidr': '186.21.39.64/26', 'allocation_pools': [{'start': '186.21.39.66', 'end': '186.21.39.126'}], 'gateway_ip': '186.21.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.21.39.66', 'tags': [], 'project_id': '37b95bf811a44328befc09d37b1274b3'}} 2025-10-21 20:22:12,759 - INFO - Created VN ctest-vn-01073941 2025-10-21 20:22:12,810 - DEBUG - VN ctest-vn-01073941 UUID is 305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:12,958 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042, 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-97752557:ctest-vn-01073941, 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-10-21 20:22:13,255 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef', 'name': 'ctest-vn-66690042', 'tenant_id': '37b95bf811a44328befc09d37b1274b3', 'project_id': '37b95bf811a44328befc09d37b1274b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56d26602-dd5e-4be5-b6fd-8980386a70e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-vn-66690042'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-policy-allow-all-96963617']], 'subnet_ipam': [{'subnet_cidr': '157.17.21.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 20:22:13,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '305bd9db-2e01-4ebc-a2e3-e010037a9b1a', 'name': 'ctest-vn-01073941', 'tenant_id': '37b95bf811a44328befc09d37b1274b3', 'project_id': '37b95bf811a44328befc09d37b1274b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c7fd24a-f501-4214-b61c-bc6e1c5cf410'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-vn-01073941'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-policy-allow-all-96963617']], 'subnet_ipam': [{'subnet_cidr': '186.21.39.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 20:22:13,678 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:13,986 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:14,012 - DEBUG - Requesting: http://10.0.0.131:8082/domain/891aa9ce-11bd-4ca8-badd-7654ebefa9db 2025-10-21 20:22:14,025 - DEBUG - Requesting: http://10.0.0.131:8082/project/37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:14,104 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:14,113 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:14,120 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/b8371d82-6eab-442a-8149-92989a792e28 2025-10-21 20:22:14,127 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/b8371d82-6eab-442a-8149-92989a792e28 2025-10-21 20:22:14,133 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/7aea62b1-32eb-4dc9-bfe7-7c51eae34e01 2025-10-21 20:22:14,139 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 20:22:14,139 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:14,147 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/b8371d82-6eab-442a-8149-92989a792e28 2025-10-21 20:22:14,159 - INFO - Verified VN network id 11 for VN b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:14,159 - INFO - Verifications in API Server for VN ctest-vn-66690042 passed 2025-10-21 20:22:14,159 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:14,168 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/b8371d82-6eab-442a-8149-92989a792e28 2025-10-21 20:22:14,174 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/b8371d82-6eab-442a-8149-92989a792e28 2025-10-21 20:22:14,182 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/7aea62b1-32eb-4dc9-bfe7-7c51eae34e01 2025-10-21 20:22:14,195 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97752557', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12741481461233830742', 'uuid-lslong': '12270028026729064943'}, 'enable': 'true', 'created': '2025-10-21T20:22:11', 'last-modified': '2025-10-21T20:22:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964414'} 2025-10-21 20:22:14,201 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 20:22:14,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66690042 passed 2025-10-21 20:22:14,202 - DEBUG - ====Verifying policy data for ctest-vn-66690042 in API_Server ====== 2025-10-21 20:22:14,202 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:14,208 - DEBUG - Requesting: http://10.0.0.131:8082/domain/891aa9ce-11bd-4ca8-badd-7654ebefa9db 2025-10-21 20:22:14,219 - DEBUG - Requesting: http://10.0.0.131:8082/project/37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:14,290 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b0d2d5e1-b911-4b56-aa47-e57b1d45e9ef 2025-10-21 20:22:14,298 - DEBUG - ==>Verifying data for policy with id: a7a85064-f2f8-4b8a-8485-389968c05613, fqn: ['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-policy-allow-all-96963617'] 2025-10-21 20:22:14,298 - INFO - VN ctest-vn-66690042 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 20:22:14,298 - DEBUG - Verifying the vn in opserver 2025-10-21 20:22:14,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042 virtual network link through opserver 10.0.0.131 2025-10-21 20:22:14,298 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-21 20:22:14,587 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-21 20:22:14,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042?flat'} 2025-10-21 20:22:14,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042 is found in opserver 2025-10-21 20:22:14,649 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 20:22:14,653 - DEBUG - VRF ids for VN ctest-vn-66690042: {} 2025-10-21 20:22:14,653 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:14,658 - DEBUG - Requesting: http://10.0.0.131:8082/domain/891aa9ce-11bd-4ca8-badd-7654ebefa9db 2025-10-21 20:22:14,668 - DEBUG - Requesting: http://10.0.0.131:8082/project/37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:14,739 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:14,748 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:14,756 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/024aac04-0d9b-439d-afd5-6f2e738792d8 2025-10-21 20:22:14,762 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/024aac04-0d9b-439d-afd5-6f2e738792d8 2025-10-21 20:22:14,768 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/eaf7c0d1-9954-4588-aff9-1f24515f03d1 2025-10-21 20:22:14,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 20:22:14,775 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:14,782 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/024aac04-0d9b-439d-afd5-6f2e738792d8 2025-10-21 20:22:14,795 - INFO - Verified VN network id 12 for VN 305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:14,795 - INFO - Verifications in API Server for VN ctest-vn-01073941 passed 2025-10-21 20:22:14,795 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:14,804 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/024aac04-0d9b-439d-afd5-6f2e738792d8 2025-10-21 20:22:14,811 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/024aac04-0d9b-439d-afd5-6f2e738792d8 2025-10-21 20:22:14,817 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/eaf7c0d1-9954-4588-aff9-1f24515f03d1 2025-10-21 20:22:14,827 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-01073941', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97752557', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3484618272094113468', 'uuid-lslong': '11737471413240109850'}, 'enable': 'true', 'created': '2025-10-21T20:22:12', 'last-modified': '2025-10-21T20:22:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371779'} 2025-10-21 20:22:14,833 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 20:22:14,833 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01073941 passed 2025-10-21 20:22:14,833 - DEBUG - ====Verifying policy data for ctest-vn-01073941 in API_Server ====== 2025-10-21 20:22:14,833 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:14,839 - DEBUG - Requesting: http://10.0.0.131:8082/domain/891aa9ce-11bd-4ca8-badd-7654ebefa9db 2025-10-21 20:22:14,849 - DEBUG - Requesting: http://10.0.0.131:8082/project/37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:14,918 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/305bd9db-2e01-4ebc-a2e3-e010037a9b1a 2025-10-21 20:22:14,929 - DEBUG - ==>Verifying data for policy with id: a7a85064-f2f8-4b8a-8485-389968c05613, fqn: ['default-domain', 'ctest-TestBasicPolicy-97752557', 'ctest-policy-allow-all-96963617'] 2025-10-21 20:22:14,929 - INFO - VN ctest-vn-01073941 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 20:22:14,930 - DEBUG - Verifying the vn in opserver 2025-10-21 20:22:14,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-01073941 virtual network link through opserver 10.0.0.131 2025-10-21 20:22:14,930 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-21 20:22:14,941 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-01073941', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-01073941?flat'} 2025-10-21 20:22:14,941 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-01073941 is found in opserver 2025-10-21 20:22:14,950 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 20:22:14,954 - DEBUG - VRF ids for VN ctest-vn-01073941: {} 2025-10-21 20:22:15,018 - DEBUG - Services list from nova: [, , ] 2025-10-21 20:22:15,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4406-1) 2025-10-21 20:22:17,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4406-1) 2025-10-21 20:22:17,097 - INFO - Waiting for VM ctest-TestBasicPolicy-97752557-13287106 to be up.. 2025-10-21 20:22:17,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 20:22:22,252 - DEBUG - VM is in ACTIVE state now 2025-10-21 20:22:22,252 - INFO - VM name : ctest-TestBasicPolicy-97752557-13287106 2025-10-21 20:22:22,321 - DEBUG - VM ctest-TestBasicPolicy-97752557-13287106 ID is 9ddc8046-ca90-4ebb-a30b-9bb2cc7e5564 2025-10-21 20:22:22,338 - DEBUG - VM ctest-TestBasicPolicy-97752557-13287106 launched on Node cn-jenkins-deploy-platform-ansible-os-4406-1 2025-10-21 20:22:22,406 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/9ddc8046-ca90-4ebb-a30b-9bb2cc7e5564 2025-10-21 20:22:22,414 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/23d954c5-c76d-4b78-a8a1-0da83da9cdeb 2025-10-21 20:22:25,657 - 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 1013ms') 2025-10-21 20:22:25,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97752557-13287106 failed! 2025-10-21 20:22:25,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97752557:ctest-vn-66690042 is 157.17.21.1 and allocation pool is NOT set 2025-10-21 20:22:27,769 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.454/2.203/2.953/0.749 ms') 2025-10-21 20:22:27,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97752557-13287106 passed 2025-10-21 20:22:27,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 20:22:27,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97752557-13287106, IP 157.17.21.3, Port 22 2025-10-21 20:22:28,077 - DEBUG - VM ctest-TestBasicPolicy-97752557-13287106 is ready for SSH connections 2025-10-21 20:22:28,077 - INFO - Waiting for VM ctest-TestBasicPolicy-97752557-49709720 to be up.. 2025-10-21 20:22:28,150 - DEBUG - VM is in ACTIVE state now 2025-10-21 20:22:28,150 - INFO - VM name : ctest-TestBasicPolicy-97752557-49709720 2025-10-21 20:22:28,218 - DEBUG - VM ctest-TestBasicPolicy-97752557-49709720 ID is 74689a94-4c6c-4c1b-bd0f-0eb146ad4c43 2025-10-21 20:22:28,218 - DEBUG - VM ctest-TestBasicPolicy-97752557-49709720 launched on Node cn-jenkins-deploy-platform-ansible-os-4406-1 2025-10-21 20:22:28,295 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/74689a94-4c6c-4c1b-bd0f-0eb146ad4c43 2025-10-21 20:22:28,304 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/62c59dc1-4c13-46a4-aadd-366349531a36 2025-10-21 20:22:29,535 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.748/3.067/1.318 ms') 2025-10-21 20:22:29,536 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97752557-49709720 passed 2025-10-21 20:22:29,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 20:22:29,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97752557-49709720, IP 186.21.39.67, Port 22 2025-10-21 20:22:29,851 - DEBUG - VM ctest-TestBasicPolicy-97752557-49709720 is ready for SSH connections 2025-10-21 20:22:29,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 20:22:29,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.21.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-21 20:22:29,851 - DEBUG - ping -s 56 -c 3 -W 1 186.21.39.67 2025-10-21 20:22:33,852 - DEBUG - PING 186.21.39.67 (186.21.39.67): 56 data bytes 64 bytes from 186.21.39.67: seq=0 ttl=63 time=3.820 ms 64 bytes from 186.21.39.67: seq=1 ttl=63 time=0.782 ms 64 bytes from 186.21.39.67: seq=2 ttl=63 time=0.720 ms --- 186.21.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.720/1.774/3.820 ms 2025-10-21 20:22:33,852 - INFO - Ping to IP 186.21.39.67 from VM ctest-TestBasicPolicy-97752557-13287106 passed 2025-10-21 20:22:34,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a7a85064-f2f8-4b8a-8485-389968c05613", "href": "http://10.0.0.131:8082/network-policy/a7a85064-f2f8-4b8a-8485-389968c05613"}} 2025-10-21 20:22:34,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 20:22:34,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.21.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-21 20:22:34,038 - DEBUG - ping -s 56 -c 3 -W 1 186.21.39.67 2025-10-21 20:22:37,249 - DEBUG - PING 186.21.39.67 (186.21.39.67): 56 data bytes --- 186.21.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 20:22:37,249 - WARNING - Ping to IP 186.21.39.67 from VM ctest-TestBasicPolicy-97752557-13287106 failed 2025-10-21 20:22:37,249 - INFO - Deleting VM ctest-TestBasicPolicy-97752557-49709720 2025-10-21 20:22:37,314 - INFO - Deleting VM ctest-TestBasicPolicy-97752557-13287106 2025-10-21 20:22:37,680 - INFO - Deleted policy ctest-policy-allow-all-96963617 2025-10-21 20:22:37,680 - INFO - Deleting VN ctest-vn-01073941 2025-10-21 20:22:37,719 - DEBUG - VN 305bd9db-2e01-4ebc-a2e3-e010037a9b1a still in use: Unable to complete operation on network 305bd9db-2e01-4ebc-a2e3-e010037a9b1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2a55a3c-08a8-44ad-afeb-2ba74b09e59d'] 2025-10-21 20:22:37,720 - WARNING - Deleting VN ctest-vn-01073941 failed..Will retry 2025-10-21 20:22:39,810 - DEBUG - Response for deleting network () 2025-10-21 20:22:39,810 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/024aac04-0d9b-439d-afd5-6f2e738792d8 2025-10-21 20:22:39,815 - DEBUG - Response Code: 404 2025-10-21 20:22:39,815 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:39,821 - DEBUG - Requesting: http://10.0.0.131:8082/domain/891aa9ce-11bd-4ca8-badd-7654ebefa9db 2025-10-21 20:22:39,874 - DEBUG - Requesting: http://10.0.0.131:8082/project/37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:39,966 - INFO - Validated that VN ctest-vn-01073941 is not found in API Server 2025-10-21 20:22:39,976 - DEBUG - VN ctest-vn-01073941 is not present in Agent 10.0.0.131 2025-10-21 20:22:39,976 - INFO - Validated that VN ctest-vn-01073941 is not in any agent 2025-10-21 20:22:39,989 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01073941 info 2025-10-21 20:22:39,989 - INFO - Deleting VN ctest-vn-66690042 2025-10-21 20:22:40,078 - DEBUG - Response for deleting network () 2025-10-21 20:22:40,078 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/b8371d82-6eab-442a-8149-92989a792e28 2025-10-21 20:22:40,083 - DEBUG - Response Code: 404 2025-10-21 20:22:40,083 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-21 20:22:40,089 - DEBUG - Requesting: http://10.0.0.131:8082/domain/891aa9ce-11bd-4ca8-badd-7654ebefa9db 2025-10-21 20:22:40,142 - DEBUG - Requesting: http://10.0.0.131:8082/project/37b95bf8-11a4-4328-befc-09d37b1274b3 2025-10-21 20:22:40,213 - INFO - Validated that VN ctest-vn-66690042 is not found in API Server 2025-10-21 20:22:40,222 - DEBUG - VN ctest-vn-66690042 is not present in Agent 10.0.0.131 2025-10-21 20:22:40,222 - INFO - Validated that VN ctest-vn-66690042 is not in any agent 2025-10-21 20:22:40,235 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66690042 info 2025-10-21 20:22:40,488 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 20:22:40,488 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-21 20:22:40,488 - INFO - -------------------------------------------------------------------------------- 2025-10-21 20:22:41,144 - INFO - Deleted project: ctest-TestBasicPolicy-97752557, ID : 37b95bf8-11a4-4328-befc-09d37b1274b3