2025-09-22 15:48:08,808 - INFO - Domain Default found not creating 2025-09-22 15:48:08,968 - INFO - Project ctest-TestBasicPolicy-46533384 not found, creating it 2025-09-22 15:48:09,439 - INFO - Created Project:ctest-TestBasicPolicy-46533384, ID : b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:10,970 - INFO - ================================================================================ 2025-09-22 15:48:10,970 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 15:48:10,970 - 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-22 15:48:11,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-22 15:48:11,227 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:48:11,227 - INFO - 2025-09-22 15:48:12,142 - DEBUG - Response for create_network : {'network': {'id': 'ac31cef5-c562-4784-8be4-1ceecab0502a', 'name': 'ctest-vn-98898350', 'tenant_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'project_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-vn-98898350'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:48:12,337 - DEBUG - Response for create_subnet : {'subnet': {'id': '893d91cc-0a57-454e-bc4f-13c4cdfcdb11', 'name': '', 'tenant_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'network_id': 'ac31cef5-c562-4784-8be4-1ceecab0502a', 'ip_version': 4, 'cidr': '90.90.121.64/26', 'allocation_pools': [{'start': '90.90.121.66', 'end': '90.90.121.126'}], 'gateway_ip': '90.90.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.90.121.66', 'tags': [], 'project_id': 'b1a0205fca384d429b6b60d1f2eb91b2'}} 2025-09-22 15:48:12,356 - INFO - Created VN ctest-vn-98898350 2025-09-22 15:48:12,409 - DEBUG - VN ctest-vn-98898350 UUID is ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:12,714 - DEBUG - Response for create_network : {'network': {'id': '6c8caa0f-e510-4866-a6ad-9d20f80c69ea', 'name': 'ctest-vn-05903233', 'tenant_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'project_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-vn-05903233'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:48:12,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f6c1ce5-4d0b-483b-950f-4601c6ddef85', 'name': '', 'tenant_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'network_id': '6c8caa0f-e510-4866-a6ad-9d20f80c69ea', 'ip_version': 4, 'cidr': '175.111.103.192/26', 'allocation_pools': [{'start': '175.111.103.194', 'end': '175.111.103.254'}], 'gateway_ip': '175.111.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.111.103.194', 'tags': [], 'project_id': 'b1a0205fca384d429b6b60d1f2eb91b2'}} 2025-09-22 15:48:12,890 - INFO - Created VN ctest-vn-05903233 2025-09-22 15:48:12,945 - DEBUG - VN ctest-vn-05903233 UUID is 6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:13,067 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350, 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-46533384:ctest-vn-05903233, 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-22 15:48:13,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac31cef5-c562-4784-8be4-1ceecab0502a', 'name': 'ctest-vn-98898350', 'tenant_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'project_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['893d91cc-0a57-454e-bc4f-13c4cdfcdb11'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-vn-98898350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-policy-allow-all-51564842']], 'subnet_ipam': [{'subnet_cidr': '90.90.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:48:13,689 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c8caa0f-e510-4866-a6ad-9d20f80c69ea', 'name': 'ctest-vn-05903233', 'tenant_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'project_id': 'b1a0205fca384d429b6b60d1f2eb91b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f6c1ce5-4d0b-483b-950f-4601c6ddef85'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-vn-05903233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-policy-allow-all-51564842']], 'subnet_ipam': [{'subnet_cidr': '175.111.103.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:48:13,845 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:14,145 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:14,176 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5be2a09d-55a1-4e10-91f1-abe4458ff22c 2025-09-22 15:48:14,189 - DEBUG - Requesting: http://10.0.0.254:8082/project/b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:14,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:14,287 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:14,297 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbb4adac-9a35-492e-9e17-424a8e3a5070 2025-09-22 15:48:14,305 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbb4adac-9a35-492e-9e17-424a8e3a5070 2025-09-22 15:48:14,314 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d0618aa5-9c06-43a2-9783-268addc6baf6 2025-09-22 15:48:14,323 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 15:48:14,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:14,332 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbb4adac-9a35-492e-9e17-424a8e3a5070 2025-09-22 15:48:14,350 - INFO - Verified VN network id 11 for VN ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:14,350 - INFO - Verifications in API Server for VN ctest-vn-98898350 passed 2025-09-22 15:48:14,350 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:14,360 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbb4adac-9a35-492e-9e17-424a8e3a5070 2025-09-22 15:48:14,372 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbb4adac-9a35-492e-9e17-424a8e3a5070 2025-09-22 15:48:14,380 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d0618aa5-9c06-43a2-9783-268addc6baf6 2025-09-22 15:48:14,390 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46533384', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12407926003356288900', 'uuid-lslong': '10080213677890359338'}, 'enable': 'true', 'created': '2025-09-22T15:48:12', 'last-modified': '2025-09-22T15:48:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031362'} 2025-09-22 15:48:14,396 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 15:48:14,397 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98898350 passed 2025-09-22 15:48:14,397 - DEBUG - ====Verifying policy data for ctest-vn-98898350 in API_Server ====== 2025-09-22 15:48:14,397 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:14,403 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5be2a09d-55a1-4e10-91f1-abe4458ff22c 2025-09-22 15:48:14,413 - DEBUG - Requesting: http://10.0.0.254:8082/project/b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:14,493 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac31cef5-c562-4784-8be4-1ceecab0502a 2025-09-22 15:48:14,503 - DEBUG - ==>Verifying data for policy with id: 4d7a8489-41c5-49b8-90c3-8b2dce9eb379, fqn: ['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-policy-allow-all-51564842'] 2025-09-22 15:48:14,503 - INFO - VN ctest-vn-98898350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 15:48:14,503 - DEBUG - Verifying the vn in opserver 2025-09-22 15:48:14,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350 virtual network link through opserver 10.0.0.254 2025-09-22 15:48:14,504 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-22 15:48:14,798 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-22 15:48:14,852 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350?flat'} 2025-09-22 15:48:14,852 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350 is found in opserver 2025-09-22 15:48:14,862 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 15:48:14,869 - DEBUG - VRF ids for VN ctest-vn-98898350: {} 2025-09-22 15:48:14,869 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:14,875 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5be2a09d-55a1-4e10-91f1-abe4458ff22c 2025-09-22 15:48:14,885 - DEBUG - Requesting: http://10.0.0.254:8082/project/b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:14,957 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:14,969 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:14,977 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ee752bae-ab76-4562-a90d-ada250d8bd05 2025-09-22 15:48:14,985 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ee752bae-ab76-4562-a90d-ada250d8bd05 2025-09-22 15:48:14,993 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/05c177d9-38c1-461e-a48e-0298d36d4c5f 2025-09-22 15:48:15,000 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 15:48:15,001 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:15,010 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ee752bae-ab76-4562-a90d-ada250d8bd05 2025-09-22 15:48:15,026 - INFO - Verified VN network id 12 for VN 6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:15,026 - INFO - Verifications in API Server for VN ctest-vn-05903233 passed 2025-09-22 15:48:15,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:15,036 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ee752bae-ab76-4562-a90d-ada250d8bd05 2025-09-22 15:48:15,043 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ee752bae-ab76-4562-a90d-ada250d8bd05 2025-09-22 15:48:15,051 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/05c177d9-38c1-461e-a48e-0298d36d4c5f 2025-09-22 15:48:15,064 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-05903233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46533384', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7821813638079989862', 'uuid-lslong': '12010428546193058282'}, 'enable': 'true', 'created': '2025-09-22T15:48:12', 'last-modified': '2025-09-22T15:48:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.445842'} 2025-09-22 15:48:15,069 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 15:48:15,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05903233 passed 2025-09-22 15:48:15,070 - DEBUG - ====Verifying policy data for ctest-vn-05903233 in API_Server ====== 2025-09-22 15:48:15,070 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:15,076 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5be2a09d-55a1-4e10-91f1-abe4458ff22c 2025-09-22 15:48:15,087 - DEBUG - Requesting: http://10.0.0.254:8082/project/b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:15,159 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6c8caa0f-e510-4866-a6ad-9d20f80c69ea 2025-09-22 15:48:15,169 - DEBUG - ==>Verifying data for policy with id: 4d7a8489-41c5-49b8-90c3-8b2dce9eb379, fqn: ['default-domain', 'ctest-TestBasicPolicy-46533384', 'ctest-policy-allow-all-51564842'] 2025-09-22 15:48:15,169 - INFO - VN ctest-vn-05903233 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 15:48:15,169 - DEBUG - Verifying the vn in opserver 2025-09-22 15:48:15,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-05903233 virtual network link through opserver 10.0.0.254 2025-09-22 15:48:15,169 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-22 15:48:15,194 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-05903233', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-05903233?flat'} 2025-09-22 15:48:15,194 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-05903233 is found in opserver 2025-09-22 15:48:15,205 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 15:48:15,209 - DEBUG - VRF ids for VN ctest-vn-05903233: {} 2025-09-22 15:48:15,264 - DEBUG - Services list from nova: [, , ] 2025-09-22 15:48:16,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1) 2025-09-22 15:48:17,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1) 2025-09-22 15:48:17,433 - INFO - Waiting for VM ctest-TestBasicPolicy-46533384-00952759 to be up.. 2025-09-22 15:48:17,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 15:48:22,601 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:48:22,601 - INFO - VM name : ctest-TestBasicPolicy-46533384-00952759 2025-09-22 15:48:22,675 - DEBUG - VM ctest-TestBasicPolicy-46533384-00952759 ID is a4813a97-2359-4003-9461-6685756e4d50 2025-09-22 15:48:22,694 - DEBUG - VM ctest-TestBasicPolicy-46533384-00952759 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1 2025-09-22 15:48:22,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a4813a97-2359-4003-9461-6685756e4d50 2025-09-22 15:48:22,788 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1ad459e5-1646-4fc7-9818-ef4f5ec47186 2025-09-22 15:48:26,050 - 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 1017ms') 2025-09-22 15:48:26,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46533384-00952759 failed! 2025-09-22 15:48:26,105 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46533384:ctest-vn-98898350 is 90.90.121.65 and allocation pool is NOT set 2025-09-22 15:48:28,168 - 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=6.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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 = 2.997/4.930/6.864/1.933 ms') 2025-09-22 15:48:28,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46533384-00952759 passed 2025-09-22 15:48:28,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:48:28,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46533384-00952759, IP 90.90.121.67, Port 22 2025-09-22 15:48:28,494 - DEBUG - VM ctest-TestBasicPolicy-46533384-00952759 is ready for SSH connections 2025-09-22 15:48:28,495 - INFO - Waiting for VM ctest-TestBasicPolicy-46533384-56786893 to be up.. 2025-09-22 15:48:28,574 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:48:28,575 - INFO - VM name : ctest-TestBasicPolicy-46533384-56786893 2025-09-22 15:48:28,657 - DEBUG - VM ctest-TestBasicPolicy-46533384-56786893 ID is 4063f068-ba32-4106-a8a5-7cd892720bd1 2025-09-22 15:48:28,657 - DEBUG - VM ctest-TestBasicPolicy-46533384-56786893 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1 2025-09-22 15:48:28,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4063f068-ba32-4106-a8a5-7cd892720bd1 2025-09-22 15:48:28,759 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1b87650b-f02a-437b-af59-6f06d015bf9d 2025-09-22 15:48:30,011 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.283/2.575/3.868/1.292 ms') 2025-09-22 15:48:30,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46533384-56786893 passed 2025-09-22 15:48:30,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:48:30,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46533384-56786893, IP 175.111.103.195, Port 22 2025-09-22 15:48:30,327 - DEBUG - VM ctest-TestBasicPolicy-46533384-56786893 is ready for SSH connections 2025-09-22 15:48:30,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:48:30,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.111.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 15:48:30,327 - DEBUG - ping -s 56 -c 3 -W 1 175.111.103.195 2025-09-22 15:48:34,015 - DEBUG - PING 175.111.103.195 (175.111.103.195): 56 data bytes 64 bytes from 175.111.103.195: seq=0 ttl=63 time=3.405 ms 64 bytes from 175.111.103.195: seq=1 ttl=63 time=1.470 ms 64 bytes from 175.111.103.195: seq=2 ttl=63 time=0.957 ms --- 175.111.103.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/1.944/3.405 ms 2025-09-22 15:48:34,015 - INFO - Ping to IP 175.111.103.195 from VM ctest-TestBasicPolicy-46533384-00952759 passed 2025-09-22 15:48:34,192 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d7a8489-41c5-49b8-90c3-8b2dce9eb379", "href": "http://10.0.0.254:8082/network-policy/4d7a8489-41c5-49b8-90c3-8b2dce9eb379"}} 2025-09-22 15:48:34,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:48:34,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.111.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 15:48:34,193 - DEBUG - ping -s 56 -c 3 -W 1 175.111.103.195 2025-09-22 15:48:37,405 - DEBUG - PING 175.111.103.195 (175.111.103.195): 56 data bytes --- 175.111.103.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 15:48:37,405 - WARNING - Ping to IP 175.111.103.195 from VM ctest-TestBasicPolicy-46533384-00952759 failed 2025-09-22 15:48:37,405 - INFO - Deleting VM ctest-TestBasicPolicy-46533384-56786893 2025-09-22 15:48:37,476 - INFO - Deleting VM ctest-TestBasicPolicy-46533384-00952759 2025-09-22 15:48:37,861 - INFO - Deleted policy ctest-policy-allow-all-51564842 2025-09-22 15:48:37,861 - INFO - Deleting VN ctest-vn-05903233 2025-09-22 15:48:37,894 - DEBUG - VN 6c8caa0f-e510-4866-a6ad-9d20f80c69ea still in use: Unable to complete operation on network 6c8caa0f-e510-4866-a6ad-9d20f80c69ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59f2f638-e5e0-4d25-bac2-6a7aaa0c36c5'] 2025-09-22 15:48:37,894 - WARNING - Deleting VN ctest-vn-05903233 failed..Will retry 2025-09-22 15:48:40,040 - DEBUG - Response for deleting network () 2025-09-22 15:48:40,040 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ee752bae-ab76-4562-a90d-ada250d8bd05 2025-09-22 15:48:40,046 - DEBUG - Response Code: 404 2025-09-22 15:48:40,046 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:40,052 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5be2a09d-55a1-4e10-91f1-abe4458ff22c 2025-09-22 15:48:40,106 - DEBUG - Requesting: http://10.0.0.254:8082/project/b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:40,175 - INFO - Validated that VN ctest-vn-05903233 is not found in API Server 2025-09-22 15:48:40,186 - DEBUG - VN ctest-vn-05903233 is not present in Agent 10.0.0.254 2025-09-22 15:48:40,186 - INFO - Validated that VN ctest-vn-05903233 is not in any agent 2025-09-22 15:48:40,204 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05903233 info 2025-09-22 15:48:40,204 - INFO - Deleting VN ctest-vn-98898350 2025-09-22 15:48:40,309 - DEBUG - Response for deleting network () 2025-09-22 15:48:40,310 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbb4adac-9a35-492e-9e17-424a8e3a5070 2025-09-22 15:48:40,316 - DEBUG - Response Code: 404 2025-09-22 15:48:40,316 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 15:48:40,321 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5be2a09d-55a1-4e10-91f1-abe4458ff22c 2025-09-22 15:48:40,374 - DEBUG - Requesting: http://10.0.0.254:8082/project/b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2 2025-09-22 15:48:40,442 - INFO - Validated that VN ctest-vn-98898350 is not found in API Server 2025-09-22 15:48:40,450 - DEBUG - VN ctest-vn-98898350 is not present in Agent 10.0.0.254 2025-09-22 15:48:40,450 - INFO - Validated that VN ctest-vn-98898350 is not in any agent 2025-09-22 15:48:40,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98898350 info 2025-09-22 15:48:40,722 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 15:48:40,722 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-22 15:48:40,722 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:48:41,415 - INFO - Deleted project: ctest-TestBasicPolicy-46533384, ID : b1a0205f-ca38-4d42-9b6b-60d1f2eb91b2