2025-09-11 09:12:10,932 - INFO - Domain Default found not creating 2025-09-11 09:12:11,082 - INFO - Project ctest-TestBasicPolicy-36575446 not found, creating it 2025-09-11 09:12:11,536 - INFO - Created Project:ctest-TestBasicPolicy-36575446, ID : 3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:13,120 - INFO - ================================================================================ 2025-09-11 09:12:13,120 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 09:12:13,120 - 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-09-11 09:12:13,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 09:12:13,377 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:12:13,377 - INFO - 2025-09-11 09:12:14,001 - DEBUG - Response for create_network : {'network': {'id': '3c64f66d-0942-4ab8-a231-8b0172abe07f', 'name': 'ctest-vn-97521961', 'tenant_id': '3b08f80ba1f04164b84ebaa838b168ce', 'project_id': '3b08f80ba1f04164b84ebaa838b168ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-vn-97521961'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:12:14,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '34fc1570-1efb-4628-933c-d32e54e81df8', 'name': '', 'tenant_id': '3b08f80ba1f04164b84ebaa838b168ce', 'network_id': '3c64f66d-0942-4ab8-a231-8b0172abe07f', 'ip_version': 4, 'cidr': '174.86.221.64/26', 'allocation_pools': [{'start': '174.86.221.66', 'end': '174.86.221.126'}], 'gateway_ip': '174.86.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.86.221.66', 'tags': [], 'project_id': '3b08f80ba1f04164b84ebaa838b168ce'}} 2025-09-11 09:12:14,243 - INFO - Created VN ctest-vn-97521961 2025-09-11 09:12:14,295 - DEBUG - VN ctest-vn-97521961 UUID is 3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:14,607 - DEBUG - Response for create_network : {'network': {'id': 'd42efb98-4a28-4cf6-971e-893060e61984', 'name': 'ctest-vn-24634560', 'tenant_id': '3b08f80ba1f04164b84ebaa838b168ce', 'project_id': '3b08f80ba1f04164b84ebaa838b168ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-vn-24634560'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:12:14,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f990ffff-1b63-4c11-b48b-e6dade9544d5', 'name': '', 'tenant_id': '3b08f80ba1f04164b84ebaa838b168ce', 'network_id': 'd42efb98-4a28-4cf6-971e-893060e61984', 'ip_version': 4, 'cidr': '98.32.49.128/26', 'allocation_pools': [{'start': '98.32.49.130', 'end': '98.32.49.190'}], 'gateway_ip': '98.32.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.32.49.130', 'tags': [], 'project_id': '3b08f80ba1f04164b84ebaa838b168ce'}} 2025-09-11 09:12:14,826 - INFO - Created VN ctest-vn-24634560 2025-09-11 09:12:14,879 - DEBUG - VN ctest-vn-24634560 UUID is d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:14,995 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961, 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-36575446:ctest-vn-24634560, 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-09-11 09:12:15,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c64f66d-0942-4ab8-a231-8b0172abe07f', 'name': 'ctest-vn-97521961', 'tenant_id': '3b08f80ba1f04164b84ebaa838b168ce', 'project_id': '3b08f80ba1f04164b84ebaa838b168ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34fc1570-1efb-4628-933c-d32e54e81df8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-vn-97521961'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-policy-allow-all-05876549']], 'subnet_ipam': [{'subnet_cidr': '174.86.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:12:15,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd42efb98-4a28-4cf6-971e-893060e61984', 'name': 'ctest-vn-24634560', 'tenant_id': '3b08f80ba1f04164b84ebaa838b168ce', 'project_id': '3b08f80ba1f04164b84ebaa838b168ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f990ffff-1b63-4c11-b48b-e6dade9544d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-vn-24634560'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-policy-allow-all-05876549']], 'subnet_ipam': [{'subnet_cidr': '98.32.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:12:15,679 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:16,020 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:16,051 - DEBUG - Requesting: http://10.0.0.254:8082/domain/207799dd-8d7a-4852-8f72-f9485edb12f4 2025-09-11 09:12:16,064 - DEBUG - Requesting: http://10.0.0.254:8082/project/3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:16,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:16,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:16,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f9b53f8d-1d37-4c0d-ba50-add2f7f1217c 2025-09-11 09:12:16,168 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f9b53f8d-1d37-4c0d-ba50-add2f7f1217c 2025-09-11 09:12:16,174 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ffcb4570-10df-4a43-b036-e0c2a902f0c3 2025-09-11 09:12:16,180 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 09:12:16,180 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:16,189 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f9b53f8d-1d37-4c0d-ba50-add2f7f1217c 2025-09-11 09:12:16,203 - INFO - Verified VN network id 11 for VN 3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:16,203 - INFO - Verifications in API Server for VN ctest-vn-97521961 passed 2025-09-11 09:12:16,203 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:16,212 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f9b53f8d-1d37-4c0d-ba50-add2f7f1217c 2025-09-11 09:12:16,219 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f9b53f8d-1d37-4c0d-ba50-add2f7f1217c 2025-09-11 09:12:16,225 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ffcb4570-10df-4a43-b036-e0c2a902f0c3 2025-09-11 09:12:16,236 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36575446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4351874088113949368', 'uuid-lslong': '11687275346338242687'}, 'enable': 'true', 'created': '2025-09-11T09:12:13', 'last-modified': '2025-09-11T09:12:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960018'} 2025-09-11 09:12:16,242 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 09:12:16,242 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97521961 passed 2025-09-11 09:12:16,242 - DEBUG - ====Verifying policy data for ctest-vn-97521961 in API_Server ====== 2025-09-11 09:12:16,242 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:16,248 - DEBUG - Requesting: http://10.0.0.254:8082/domain/207799dd-8d7a-4852-8f72-f9485edb12f4 2025-09-11 09:12:16,259 - DEBUG - Requesting: http://10.0.0.254:8082/project/3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:16,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c64f66d-0942-4ab8-a231-8b0172abe07f 2025-09-11 09:12:16,342 - DEBUG - ==>Verifying data for policy with id: dee25c00-0b2f-45f2-a7b0-10a5ceb1aedb, fqn: ['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-policy-allow-all-05876549'] 2025-09-11 09:12:16,343 - INFO - VN ctest-vn-97521961 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 09:12:16,343 - DEBUG - Verifying the vn in opserver 2025-09-11 09:12:16,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961 virtual network link through opserver 10.0.0.254 2025-09-11 09:12:16,343 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 09:12:16,677 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 09:12:16,735 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961?flat'} 2025-09-11 09:12:16,735 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961 is found in opserver 2025-09-11 09:12:16,745 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 09:12:16,750 - DEBUG - VRF ids for VN ctest-vn-97521961: {} 2025-09-11 09:12:16,750 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:16,755 - DEBUG - Requesting: http://10.0.0.254:8082/domain/207799dd-8d7a-4852-8f72-f9485edb12f4 2025-09-11 09:12:16,766 - DEBUG - Requesting: http://10.0.0.254:8082/project/3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:16,839 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:16,851 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:16,860 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/86170ffb-97bd-4ce6-bbb0-235a8588553a 2025-09-11 09:12:16,867 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/86170ffb-97bd-4ce6-bbb0-235a8588553a 2025-09-11 09:12:16,874 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/88e7ee29-972f-4ca2-8dc4-5b7311a25e0b 2025-09-11 09:12:16,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 09:12:16,883 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:16,892 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/86170ffb-97bd-4ce6-bbb0-235a8588553a 2025-09-11 09:12:16,906 - INFO - Verified VN network id 12 for VN d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:16,906 - INFO - Verifications in API Server for VN ctest-vn-24634560 passed 2025-09-11 09:12:16,906 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:16,915 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/86170ffb-97bd-4ce6-bbb0-235a8588553a 2025-09-11 09:12:16,921 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/86170ffb-97bd-4ce6-bbb0-235a8588553a 2025-09-11 09:12:16,927 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/88e7ee29-972f-4ca2-8dc4-5b7311a25e0b 2025-09-11 09:12:16,938 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-24634560', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36575446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15289434416467168502', 'uuid-lslong': '10889291789905566084'}, 'enable': 'true', 'created': '2025-09-11T09:12:14', 'last-modified': '2025-09-11T09:12:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432760'} 2025-09-11 09:12:16,944 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 09:12:16,944 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24634560 passed 2025-09-11 09:12:16,944 - DEBUG - ====Verifying policy data for ctest-vn-24634560 in API_Server ====== 2025-09-11 09:12:16,944 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:16,949 - DEBUG - Requesting: http://10.0.0.254:8082/domain/207799dd-8d7a-4852-8f72-f9485edb12f4 2025-09-11 09:12:16,960 - DEBUG - Requesting: http://10.0.0.254:8082/project/3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:17,029 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d42efb98-4a28-4cf6-971e-893060e61984 2025-09-11 09:12:17,039 - DEBUG - ==>Verifying data for policy with id: dee25c00-0b2f-45f2-a7b0-10a5ceb1aedb, fqn: ['default-domain', 'ctest-TestBasicPolicy-36575446', 'ctest-policy-allow-all-05876549'] 2025-09-11 09:12:17,039 - INFO - VN ctest-vn-24634560 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 09:12:17,039 - DEBUG - Verifying the vn in opserver 2025-09-11 09:12:17,039 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-24634560 virtual network link through opserver 10.0.0.254 2025-09-11 09:12:17,039 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 09:12:17,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-24634560', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-24634560?flat'} 2025-09-11 09:12:17,049 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-24634560 is found in opserver 2025-09-11 09:12:17,058 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 09:12:17,062 - DEBUG - VRF ids for VN ctest-vn-24634560: {} 2025-09-11 09:12:17,123 - DEBUG - Services list from nova: [, , ] 2025-09-11 09:12:18,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4086-1) 2025-09-11 09:12:19,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4086-1) 2025-09-11 09:12:19,501 - INFO - Waiting for VM ctest-TestBasicPolicy-36575446-34197632 to be up.. 2025-09-11 09:12:19,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 09:12:24,674 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:12:24,675 - INFO - VM name : ctest-TestBasicPolicy-36575446-34197632 2025-09-11 09:12:24,754 - DEBUG - VM ctest-TestBasicPolicy-36575446-34197632 ID is 02f1ace8-1af7-40e3-8b15-c79ca9b0b2c5 2025-09-11 09:12:24,774 - DEBUG - VM ctest-TestBasicPolicy-36575446-34197632 launched on Node cn-jenkins-deploy-platform-ansible-os-4086-1 2025-09-11 09:12:24,851 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02f1ace8-1af7-40e3-8b15-c79ca9b0b2c5 2025-09-11 09:12:24,862 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e47b549-4407-48a2-94d6-5599526299f7 2025-09-11 09:12:28,104 - 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 1010ms') 2025-09-11 09:12:28,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36575446-34197632 failed! 2025-09-11 09:12:28,163 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36575446:ctest-vn-97521961 is 174.86.221.65 and allocation pool is NOT set 2025-09-11 09:12:30,222 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.60 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 = 3.596/5.669/7.742/2.073 ms') 2025-09-11 09:12:30,222 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36575446-34197632 passed 2025-09-11 09:12:30,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:12:30,371 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36575446-34197632, IP 174.86.221.67, Port 22 2025-09-11 09:12:30,545 - DEBUG - VM ctest-TestBasicPolicy-36575446-34197632 is ready for SSH connections 2025-09-11 09:12:30,545 - INFO - Waiting for VM ctest-TestBasicPolicy-36575446-29166892 to be up.. 2025-09-11 09:12:30,627 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:12:30,628 - INFO - VM name : ctest-TestBasicPolicy-36575446-29166892 2025-09-11 09:12:30,709 - DEBUG - VM ctest-TestBasicPolicy-36575446-29166892 ID is 865547f5-7360-46f4-8da3-556aa77f5345 2025-09-11 09:12:30,709 - DEBUG - VM ctest-TestBasicPolicy-36575446-29166892 launched on Node cn-jenkins-deploy-platform-ansible-os-4086-1 2025-09-11 09:12:30,804 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/865547f5-7360-46f4-8da3-556aa77f5345 2025-09-11 09:12:30,814 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1a1e8ec-ab9b-4978-9fb5-2d3c3a01b101 2025-09-11 09:12:32,057 - 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=6.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.101/3.680/6.259/2.579 ms') 2025-09-11 09:12:32,058 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36575446-29166892 passed 2025-09-11 09:12:32,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:12:32,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36575446-29166892, IP 98.32.49.131, Port 22 2025-09-11 09:12:32,370 - DEBUG - VM ctest-TestBasicPolicy-36575446-29166892 is ready for SSH connections 2025-09-11 09:12:32,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:12:32,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.32.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 09:12:32,371 - DEBUG - ping -s 56 -c 3 -W 1 98.32.49.131 2025-09-11 09:12:36,517 - DEBUG - PING 98.32.49.131 (98.32.49.131): 56 data bytes 64 bytes from 98.32.49.131: seq=0 ttl=63 time=4.443 ms 64 bytes from 98.32.49.131: seq=1 ttl=63 time=0.866 ms 64 bytes from 98.32.49.131: seq=2 ttl=63 time=0.874 ms --- 98.32.49.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.061/4.443 ms 2025-09-11 09:12:36,518 - INFO - Ping to IP 98.32.49.131 from VM ctest-TestBasicPolicy-36575446-34197632 passed 2025-09-11 09:12:36,707 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dee25c00-0b2f-45f2-a7b0-10a5ceb1aedb", "href": "http://10.0.0.254:8082/network-policy/dee25c00-0b2f-45f2-a7b0-10a5ceb1aedb"}} 2025-09-11 09:12:36,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:12:36,707 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.32.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 09:12:36,707 - DEBUG - ping -s 56 -c 3 -W 1 98.32.49.131 2025-09-11 09:12:39,934 - DEBUG - PING 98.32.49.131 (98.32.49.131): 56 data bytes --- 98.32.49.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 09:12:39,935 - WARNING - Ping to IP 98.32.49.131 from VM ctest-TestBasicPolicy-36575446-34197632 failed 2025-09-11 09:12:39,935 - INFO - Deleting VM ctest-TestBasicPolicy-36575446-29166892 2025-09-11 09:12:40,010 - INFO - Deleting VM ctest-TestBasicPolicy-36575446-34197632 2025-09-11 09:12:40,414 - INFO - Deleted policy ctest-policy-allow-all-05876549 2025-09-11 09:12:40,414 - INFO - Deleting VN ctest-vn-24634560 2025-09-11 09:12:40,448 - DEBUG - VN d42efb98-4a28-4cf6-971e-893060e61984 still in use: Unable to complete operation on network d42efb98-4a28-4cf6-971e-893060e61984. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a95d126-4346-4ec9-a0ca-9196a02565fa'] 2025-09-11 09:12:40,448 - WARNING - Deleting VN ctest-vn-24634560 failed..Will retry 2025-09-11 09:12:42,562 - DEBUG - Response for deleting network () 2025-09-11 09:12:42,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/86170ffb-97bd-4ce6-bbb0-235a8588553a 2025-09-11 09:12:42,569 - DEBUG - Response Code: 404 2025-09-11 09:12:42,569 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:42,576 - DEBUG - Requesting: http://10.0.0.254:8082/domain/207799dd-8d7a-4852-8f72-f9485edb12f4 2025-09-11 09:12:42,633 - DEBUG - Requesting: http://10.0.0.254:8082/project/3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:42,707 - INFO - Validated that VN ctest-vn-24634560 is not found in API Server 2025-09-11 09:12:42,717 - DEBUG - VN ctest-vn-24634560 is not present in Agent 10.0.0.254 2025-09-11 09:12:42,717 - INFO - Validated that VN ctest-vn-24634560 is not in any agent 2025-09-11 09:12:42,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24634560 info 2025-09-11 09:12:42,732 - INFO - Deleting VN ctest-vn-97521961 2025-09-11 09:12:42,828 - DEBUG - Response for deleting network () 2025-09-11 09:12:42,829 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f9b53f8d-1d37-4c0d-ba50-add2f7f1217c 2025-09-11 09:12:42,837 - DEBUG - Response Code: 404 2025-09-11 09:12:42,837 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 09:12:42,843 - DEBUG - Requesting: http://10.0.0.254:8082/domain/207799dd-8d7a-4852-8f72-f9485edb12f4 2025-09-11 09:12:42,897 - DEBUG - Requesting: http://10.0.0.254:8082/project/3b08f80b-a1f0-4164-b84e-baa838b168ce 2025-09-11 09:12:42,966 - INFO - Validated that VN ctest-vn-97521961 is not found in API Server 2025-09-11 09:12:42,976 - DEBUG - VN ctest-vn-97521961 is not present in Agent 10.0.0.254 2025-09-11 09:12:42,976 - INFO - Validated that VN ctest-vn-97521961 is not in any agent 2025-09-11 09:12:42,990 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97521961 info 2025-09-11 09:12:43,249 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 09:12:43,249 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-11 09:12:43,249 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:12:44,029 - INFO - Deleted project: ctest-TestBasicPolicy-36575446, ID : 3b08f80b-a1f0-4164-b84e-baa838b168ce