2025-08-11 21:34:19,979 - INFO - Domain Default found not creating 2025-08-11 21:34:20,100 - INFO - Project ctest-TestBasicPolicy-37253723 not found, creating it 2025-08-11 21:34:20,520 - INFO - Created Project:ctest-TestBasicPolicy-37253723, ID : b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:21,832 - INFO - ================================================================================ 2025-08-11 21:34:21,833 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 21:34:21,833 - 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-08-11 21:34:22,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-11 21:34:22,087 - INFO - Initial checks done. Running the testcase now 2025-08-11 21:34:22,087 - INFO - 2025-08-11 21:34:22,596 - DEBUG - Response for create_network : {'network': {'id': '2105add9-71b8-4641-8db8-86d51f09d6e1', 'name': 'ctest-vn-01457701', 'tenant_id': 'b6c4b3a33c9341158c961a4b04224190', 'project_id': 'b6c4b3a33c9341158c961a4b04224190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-vn-01457701'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:34:22,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e755535-4bc5-44c3-9fda-1a52634c2c61', 'name': '', 'tenant_id': 'b6c4b3a33c9341158c961a4b04224190', 'network_id': '2105add9-71b8-4641-8db8-86d51f09d6e1', 'ip_version': 4, 'cidr': '60.31.250.128/26', 'allocation_pools': [{'start': '60.31.250.130', 'end': '60.31.250.190'}], 'gateway_ip': '60.31.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.31.250.130', 'tags': [], 'project_id': 'b6c4b3a33c9341158c961a4b04224190'}} 2025-08-11 21:34:22,747 - INFO - Created VN ctest-vn-01457701 2025-08-11 21:34:22,798 - DEBUG - VN ctest-vn-01457701 UUID is 2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:23,092 - DEBUG - Response for create_network : {'network': {'id': '1e46e674-7cc8-4184-8520-f15f8a747539', 'name': 'ctest-vn-25735011', 'tenant_id': 'b6c4b3a33c9341158c961a4b04224190', 'project_id': 'b6c4b3a33c9341158c961a4b04224190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-vn-25735011'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:34:23,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '67572f55-7d89-412d-97fa-45e256137810', 'name': '', 'tenant_id': 'b6c4b3a33c9341158c961a4b04224190', 'network_id': '1e46e674-7cc8-4184-8520-f15f8a747539', 'ip_version': 4, 'cidr': '208.147.188.128/26', 'allocation_pools': [{'start': '208.147.188.130', 'end': '208.147.188.190'}], 'gateway_ip': '208.147.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.147.188.130', 'tags': [], 'project_id': 'b6c4b3a33c9341158c961a4b04224190'}} 2025-08-11 21:34:23,318 - INFO - Created VN ctest-vn-25735011 2025-08-11 21:34:23,370 - DEBUG - VN ctest-vn-25735011 UUID is 1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:23,518 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701, 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-37253723:ctest-vn-25735011, 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-08-11 21:34:23,799 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2105add9-71b8-4641-8db8-86d51f09d6e1', 'name': 'ctest-vn-01457701', 'tenant_id': 'b6c4b3a33c9341158c961a4b04224190', 'project_id': 'b6c4b3a33c9341158c961a4b04224190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1e755535-4bc5-44c3-9fda-1a52634c2c61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-vn-01457701'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-policy-allow-all-31411629']], 'subnet_ipam': [{'subnet_cidr': '60.31.250.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:34:24,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e46e674-7cc8-4184-8520-f15f8a747539', 'name': 'ctest-vn-25735011', 'tenant_id': 'b6c4b3a33c9341158c961a4b04224190', 'project_id': 'b6c4b3a33c9341158c961a4b04224190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67572f55-7d89-412d-97fa-45e256137810'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-vn-25735011'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-policy-allow-all-31411629']], 'subnet_ipam': [{'subnet_cidr': '208.147.188.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:34:24,198 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:24,484 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:24,509 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bac6c050-28c2-4648-b2b0-3ea97e2c40c5 2025-08-11 21:34:24,522 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:24,590 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:24,600 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:24,609 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3ea4f3d3-f929-435c-a328-c876f33ffe37 2025-08-11 21:34:24,616 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3ea4f3d3-f929-435c-a328-c876f33ffe37 2025-08-11 21:34:24,621 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fddfb203-663d-4b5d-bae3-9a9f5489e383 2025-08-11 21:34:24,627 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 21:34:24,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:24,635 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3ea4f3d3-f929-435c-a328-c876f33ffe37 2025-08-11 21:34:24,647 - INFO - Verified VN network id 11 for VN 2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:24,647 - INFO - Verifications in API Server for VN ctest-vn-01457701 passed 2025-08-11 21:34:24,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:24,656 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3ea4f3d3-f929-435c-a328-c876f33ffe37 2025-08-11 21:34:24,662 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3ea4f3d3-f929-435c-a328-c876f33ffe37 2025-08-11 21:34:24,668 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fddfb203-663d-4b5d-bae3-9a9f5489e383 2025-08-11 21:34:24,679 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37253723', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2379499127562585665', 'uuid-lslong': '10212060404969494241'}, 'enable': 'true', 'created': '2025-08-11T21:34:22', 'last-modified': '2025-08-11T21:34:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.896122'} 2025-08-11 21:34:24,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 21:34:24,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01457701 passed 2025-08-11 21:34:24,686 - DEBUG - ====Verifying policy data for ctest-vn-01457701 in API_Server ====== 2025-08-11 21:34:24,686 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:24,691 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bac6c050-28c2-4648-b2b0-3ea97e2c40c5 2025-08-11 21:34:24,701 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:24,769 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2105add9-71b8-4641-8db8-86d51f09d6e1 2025-08-11 21:34:24,777 - DEBUG - ==>Verifying data for policy with id: 474957cb-f83b-4d8b-98ca-19fc672beb14, fqn: ['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-policy-allow-all-31411629'] 2025-08-11 21:34:24,778 - INFO - VN ctest-vn-01457701 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 21:34:24,778 - DEBUG - Verifying the vn in opserver 2025-08-11 21:34:24,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701 virtual network link through opserver 10.0.0.254 2025-08-11 21:34:24,778 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-11 21:34:25,064 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-11 21:34:25,116 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701?flat'} 2025-08-11 21:34:25,116 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701 is found in opserver 2025-08-11 21:34:25,126 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 21:34:25,131 - DEBUG - VRF ids for VN ctest-vn-01457701: {} 2025-08-11 21:34:25,131 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:25,136 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bac6c050-28c2-4648-b2b0-3ea97e2c40c5 2025-08-11 21:34:25,146 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:25,218 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:25,228 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:25,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ea3cc58-d3f5-40ed-80cf-9ea0ee6c3d0a 2025-08-11 21:34:25,243 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ea3cc58-d3f5-40ed-80cf-9ea0ee6c3d0a 2025-08-11 21:34:25,249 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/536ea5cf-3e78-4480-bb64-f44a2d1aa33a 2025-08-11 21:34:25,255 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 21:34:25,255 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:25,265 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ea3cc58-d3f5-40ed-80cf-9ea0ee6c3d0a 2025-08-11 21:34:25,280 - INFO - Verified VN network id 12 for VN 1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:25,280 - INFO - Verifications in API Server for VN ctest-vn-25735011 passed 2025-08-11 21:34:25,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:25,290 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ea3cc58-d3f5-40ed-80cf-9ea0ee6c3d0a 2025-08-11 21:34:25,297 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ea3cc58-d3f5-40ed-80cf-9ea0ee6c3d0a 2025-08-11 21:34:25,304 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/536ea5cf-3e78-4480-bb64-f44a2d1aa33a 2025-08-11 21:34:25,316 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-25735011', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37253723', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2181684457491677572', 'uuid-lslong': '9592932598946231609'}, 'enable': 'true', 'created': '2025-08-11T21:34:23', 'last-modified': '2025-08-11T21:34:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304125'} 2025-08-11 21:34:25,321 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 21:34:25,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25735011 passed 2025-08-11 21:34:25,322 - DEBUG - ====Verifying policy data for ctest-vn-25735011 in API_Server ====== 2025-08-11 21:34:25,322 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:25,326 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bac6c050-28c2-4648-b2b0-3ea97e2c40c5 2025-08-11 21:34:25,336 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:25,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e46e674-7cc8-4184-8520-f15f8a747539 2025-08-11 21:34:25,414 - DEBUG - ==>Verifying data for policy with id: 474957cb-f83b-4d8b-98ca-19fc672beb14, fqn: ['default-domain', 'ctest-TestBasicPolicy-37253723', 'ctest-policy-allow-all-31411629'] 2025-08-11 21:34:25,414 - INFO - VN ctest-vn-25735011 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 21:34:25,414 - DEBUG - Verifying the vn in opserver 2025-08-11 21:34:25,414 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-25735011 virtual network link through opserver 10.0.0.254 2025-08-11 21:34:25,414 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-11 21:34:25,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-25735011', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-25735011?flat'} 2025-08-11 21:34:25,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-25735011 is found in opserver 2025-08-11 21:34:25,433 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 21:34:25,437 - DEBUG - VRF ids for VN ctest-vn-25735011: {} 2025-08-11 21:34:25,485 - DEBUG - Services list from nova: [, , ] 2025-08-11 21:34:26,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3824-1) 2025-08-11 21:34:27,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3824-1) 2025-08-11 21:34:27,437 - INFO - Waiting for VM ctest-TestBasicPolicy-37253723-06299839 to be up.. 2025-08-11 21:34:27,499 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 21:34:32,563 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:34:32,563 - INFO - VM name : ctest-TestBasicPolicy-37253723-06299839 2025-08-11 21:34:32,625 - DEBUG - VM ctest-TestBasicPolicy-37253723-06299839 ID is 42681ff0-50f8-41a9-9b35-d58202122991 2025-08-11 21:34:32,642 - DEBUG - VM ctest-TestBasicPolicy-37253723-06299839 launched on Node cn-jenkins-deploy-platform-ansible-os-3824-1 2025-08-11 21:34:32,700 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/42681ff0-50f8-41a9-9b35-d58202122991 2025-08-11 21:34:32,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f813a35c-e9f3-4833-a9a8-370d1a273d3a 2025-08-11 21:34:35,944 - 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 1004ms') 2025-08-11 21:34:35,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37253723-06299839 failed! 2025-08-11 21:34:35,998 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37253723:ctest-vn-01457701 is 60.31.250.129 and allocation pool is NOT set 2025-08-11 21:34:38,053 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.280 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.280/1.523/2.767/1.243 ms') 2025-08-11 21:34:38,053 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37253723-06299839 passed 2025-08-11 21:34:38,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:34:38,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37253723-06299839, IP 60.31.250.131, Port 22 2025-08-11 21:34:38,361 - DEBUG - VM ctest-TestBasicPolicy-37253723-06299839 is ready for SSH connections 2025-08-11 21:34:38,362 - INFO - Waiting for VM ctest-TestBasicPolicy-37253723-88138002 to be up.. 2025-08-11 21:34:38,424 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:34:38,424 - INFO - VM name : ctest-TestBasicPolicy-37253723-88138002 2025-08-11 21:34:38,483 - DEBUG - VM ctest-TestBasicPolicy-37253723-88138002 ID is 178b5ea6-4479-4e48-b6bc-957891f496a0 2025-08-11 21:34:38,483 - DEBUG - VM ctest-TestBasicPolicy-37253723-88138002 launched on Node cn-jenkins-deploy-platform-ansible-os-3824-1 2025-08-11 21:34:38,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/178b5ea6-4479-4e48-b6bc-957891f496a0 2025-08-11 21:34:38,552 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9cc592ef-5740-4232-a21e-3386f44b8d3f 2025-08-11 21:34:39,779 - 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=2.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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.188/1.884/2.581/0.696 ms') 2025-08-11 21:34:39,779 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37253723-88138002 passed 2025-08-11 21:34:39,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:34:39,926 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37253723-88138002, IP 208.147.188.131, Port 22 2025-08-11 21:34:40,077 - DEBUG - VM ctest-TestBasicPolicy-37253723-88138002 is ready for SSH connections 2025-08-11 21:34:40,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:34:40,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.147.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:34:40,078 - DEBUG - ping -s 56 -c 3 -W 1 208.147.188.131 2025-08-11 21:34:43,736 - DEBUG - PING 208.147.188.131 (208.147.188.131): 56 data bytes 64 bytes from 208.147.188.131: seq=0 ttl=63 time=3.262 ms 64 bytes from 208.147.188.131: seq=1 ttl=63 time=0.682 ms 64 bytes from 208.147.188.131: seq=2 ttl=63 time=0.815 ms --- 208.147.188.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/1.586/3.262 ms 2025-08-11 21:34:43,736 - INFO - Ping to IP 208.147.188.131 from VM ctest-TestBasicPolicy-37253723-06299839 passed 2025-08-11 21:34:43,906 - DEBUG - Policy Update Response {"network-policy": {"uuid": "474957cb-f83b-4d8b-98ca-19fc672beb14", "href": "http://10.0.0.254:8082/network-policy/474957cb-f83b-4d8b-98ca-19fc672beb14"}} 2025-08-11 21:34:43,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:34:43,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.147.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:34:43,906 - DEBUG - ping -s 56 -c 3 -W 1 208.147.188.131 2025-08-11 21:34:47,099 - DEBUG - PING 208.147.188.131 (208.147.188.131): 56 data bytes 64 bytes from 208.147.188.131: seq=0 ttl=63 time=1.299 ms --- 208.147.188.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.299/1.299/1.299 ms 2025-08-11 21:34:47,099 - WARNING - Ping to IP 208.147.188.131 from VM ctest-TestBasicPolicy-37253723-06299839 failed 2025-08-11 21:34:47,099 - INFO - Deleting VM ctest-TestBasicPolicy-37253723-88138002 2025-08-11 21:34:47,156 - INFO - Deleting VM ctest-TestBasicPolicy-37253723-06299839 2025-08-11 21:34:47,475 - INFO - Deleted policy ctest-policy-allow-all-31411629 2025-08-11 21:34:47,475 - INFO - Deleting VN ctest-vn-25735011 2025-08-11 21:34:47,511 - DEBUG - VN 1e46e674-7cc8-4184-8520-f15f8a747539 still in use: Unable to complete operation on network 1e46e674-7cc8-4184-8520-f15f8a747539. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e6b60cf-13f5-4c1c-8c9d-19e46ad25f9b'] 2025-08-11 21:34:47,511 - WARNING - Deleting VN ctest-vn-25735011 failed..Will retry 2025-08-11 21:34:49,598 - DEBUG - Response for deleting network () 2025-08-11 21:34:49,598 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ea3cc58-d3f5-40ed-80cf-9ea0ee6c3d0a 2025-08-11 21:34:49,605 - DEBUG - Response Code: 404 2025-08-11 21:34:49,605 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:49,611 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bac6c050-28c2-4648-b2b0-3ea97e2c40c5 2025-08-11 21:34:49,662 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:49,730 - INFO - Validated that VN ctest-vn-25735011 is not found in API Server 2025-08-11 21:34:49,741 - DEBUG - VN ctest-vn-25735011 is not present in Agent 10.0.0.254 2025-08-11 21:34:49,741 - INFO - Validated that VN ctest-vn-25735011 is not in any agent 2025-08-11 21:34:49,755 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25735011 info 2025-08-11 21:34:49,755 - INFO - Deleting VN ctest-vn-01457701 2025-08-11 21:34:49,841 - DEBUG - Response for deleting network () 2025-08-11 21:34:49,842 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3ea4f3d3-f929-435c-a328-c876f33ffe37 2025-08-11 21:34:49,849 - DEBUG - Response Code: 404 2025-08-11 21:34:49,849 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 21:34:49,853 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bac6c050-28c2-4648-b2b0-3ea97e2c40c5 2025-08-11 21:34:49,907 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6c4b3a3-3c93-4115-8c96-1a4b04224190 2025-08-11 21:34:49,986 - INFO - Validated that VN ctest-vn-01457701 is not found in API Server 2025-08-11 21:34:49,997 - DEBUG - VN ctest-vn-01457701 is not present in Agent 10.0.0.254 2025-08-11 21:34:49,997 - INFO - Validated that VN ctest-vn-01457701 is not in any agent 2025-08-11 21:34:50,012 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01457701 info 2025-08-11 21:34:50,263 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 21:34:50,263 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-11 21:34:50,263 - INFO - -------------------------------------------------------------------------------- 2025-08-11 21:34:50,911 - INFO - Deleted project: ctest-TestBasicPolicy-37253723, ID : b6c4b3a3-3c93-4115-8c96-1a4b04224190