2025-07-22 14:24:11,342 - INFO - Domain Default found not creating 2025-07-22 14:24:11,509 - INFO - Project ctest-TestBasicPolicy-75746076 not found, creating it 2025-07-22 14:24:11,983 - INFO - Created Project:ctest-TestBasicPolicy-75746076, ID : ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:13,584 - INFO - ================================================================================ 2025-07-22 14:24:13,584 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 14:24:13,584 - 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-07-22 14:24:13,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-22 14:24:13,838 - INFO - Initial checks done. Running the testcase now 2025-07-22 14:24:13,838 - INFO - 2025-07-22 14:24:14,430 - DEBUG - Response for create_network : {'network': {'id': '66d21fe6-3950-44f5-8716-049200a643cc', 'name': 'ctest-vn-87899073', 'tenant_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'project_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-vn-87899073'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 14:24:14,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '440626de-bde0-48a5-b8fe-d377179b3954', 'name': '', 'tenant_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'network_id': '66d21fe6-3950-44f5-8716-049200a643cc', 'ip_version': 4, 'cidr': '143.58.187.0/26', 'allocation_pools': [{'start': '143.58.187.2', 'end': '143.58.187.62'}], 'gateway_ip': '143.58.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.58.187.2', 'tags': [], 'project_id': 'ed1bd95c0f1e44ddab551edbf40445c5'}} 2025-07-22 14:24:14,627 - INFO - Created VN ctest-vn-87899073 2025-07-22 14:24:14,685 - DEBUG - VN ctest-vn-87899073 UUID is 66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:15,008 - DEBUG - Response for create_network : {'network': {'id': '169db6fb-c3a2-4956-99a0-6b19b7c9da6c', 'name': 'ctest-vn-18019743', 'tenant_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'project_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-vn-18019743'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 14:24:15,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb62b224-0421-4208-8c51-80a4d9a13645', 'name': '', 'tenant_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'network_id': '169db6fb-c3a2-4956-99a0-6b19b7c9da6c', 'ip_version': 4, 'cidr': '211.89.28.192/26', 'allocation_pools': [{'start': '211.89.28.194', 'end': '211.89.28.254'}], 'gateway_ip': '211.89.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.89.28.194', 'tags': [], 'project_id': 'ed1bd95c0f1e44ddab551edbf40445c5'}} 2025-07-22 14:24:15,252 - INFO - Created VN ctest-vn-18019743 2025-07-22 14:24:15,308 - DEBUG - VN ctest-vn-18019743 UUID is 169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:15,431 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073, 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-75746076:ctest-vn-18019743, 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-07-22 14:24:15,767 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66d21fe6-3950-44f5-8716-049200a643cc', 'name': 'ctest-vn-87899073', 'tenant_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'project_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['440626de-bde0-48a5-b8fe-d377179b3954'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-vn-87899073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-policy-allow-all-58001759']], 'subnet_ipam': [{'subnet_cidr': '143.58.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 14:24:16,032 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '169db6fb-c3a2-4956-99a0-6b19b7c9da6c', 'name': 'ctest-vn-18019743', 'tenant_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'project_id': 'ed1bd95c0f1e44ddab551edbf40445c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb62b224-0421-4208-8c51-80a4d9a13645'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-vn-18019743'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-policy-allow-all-58001759']], 'subnet_ipam': [{'subnet_cidr': '211.89.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 14:24:16,212 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:16,520 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:16,554 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ea162fb4-24a8-420f-b243-98f261438c15 2025-07-22 14:24:16,577 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:16,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:16,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:16,701 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3edf6e7a-9d91-47d5-9523-5d562202395f 2025-07-22 14:24:16,711 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3edf6e7a-9d91-47d5-9523-5d562202395f 2025-07-22 14:24:16,721 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a4d9103-ec6b-4d7d-8525-77f9211ae522 2025-07-22 14:24:16,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 14:24:16,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:16,740 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3edf6e7a-9d91-47d5-9523-5d562202395f 2025-07-22 14:24:16,759 - INFO - Verified VN network id 9 for VN 66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:16,759 - INFO - Verifications in API Server for VN ctest-vn-87899073 passed 2025-07-22 14:24:16,759 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:16,774 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3edf6e7a-9d91-47d5-9523-5d562202395f 2025-07-22 14:24:16,784 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3edf6e7a-9d91-47d5-9523-5d562202395f 2025-07-22 14:24:16,793 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a4d9103-ec6b-4d7d-8525-77f9211ae522 2025-07-22 14:24:16,809 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75746076', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7409019410642388213', 'uuid-lslong': '9733972669730538444'}, 'enable': 'true', 'created': '2025-07-22T14:24:14', 'last-modified': '2025-07-22T14:24:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068667'} 2025-07-22 14:24:16,818 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 14:24:16,818 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87899073 passed 2025-07-22 14:24:16,818 - DEBUG - ====Verifying policy data for ctest-vn-87899073 in API_Server ====== 2025-07-22 14:24:16,818 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:16,826 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ea162fb4-24a8-420f-b243-98f261438c15 2025-07-22 14:24:16,840 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:16,941 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/66d21fe6-3950-44f5-8716-049200a643cc 2025-07-22 14:24:16,957 - DEBUG - ==>Verifying data for policy with id: 838a548a-2c3b-437d-a509-b3e87af4036c, fqn: ['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-policy-allow-all-58001759'] 2025-07-22 14:24:16,957 - INFO - VN ctest-vn-87899073 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 14:24:16,957 - DEBUG - Verifying the vn in opserver 2025-07-22 14:24:16,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073 virtual network link through opserver 10.0.0.254 2025-07-22 14:24:16,958 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 14:24:17,294 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 14:24:17,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073?flat'} 2025-07-22 14:24:17,358 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073 is found in opserver 2025-07-22 14:24:17,370 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 14:24:17,375 - DEBUG - VRF ids for VN ctest-vn-87899073: {} 2025-07-22 14:24:17,375 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:17,382 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ea162fb4-24a8-420f-b243-98f261438c15 2025-07-22 14:24:17,398 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:17,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:17,506 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:17,519 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9ac0d50-e361-4a2f-8400-a95c248b0df7 2025-07-22 14:24:17,528 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9ac0d50-e361-4a2f-8400-a95c248b0df7 2025-07-22 14:24:17,537 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f91b7986-57e0-4cea-b287-8d00e7b7c2d5 2025-07-22 14:24:17,545 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 14:24:17,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:17,559 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9ac0d50-e361-4a2f-8400-a95c248b0df7 2025-07-22 14:24:17,576 - INFO - Verified VN network id 10 for VN 169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:17,577 - INFO - Verifications in API Server for VN ctest-vn-18019743 passed 2025-07-22 14:24:17,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:17,651 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9ac0d50-e361-4a2f-8400-a95c248b0df7 2025-07-22 14:24:17,660 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9ac0d50-e361-4a2f-8400-a95c248b0df7 2025-07-22 14:24:17,671 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f91b7986-57e0-4cea-b287-8d00e7b7c2d5 2025-07-22 14:24:17,690 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-18019743', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75746076', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1629659832613226838', 'uuid-lslong': '11069965642278492780'}, 'enable': 'true', 'created': '2025-07-22T14:24:14', 'last-modified': '2025-07-22T14:24:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.696439'} 2025-07-22 14:24:17,699 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 14:24:17,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18019743 passed 2025-07-22 14:24:17,700 - DEBUG - ====Verifying policy data for ctest-vn-18019743 in API_Server ====== 2025-07-22 14:24:17,700 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:17,707 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ea162fb4-24a8-420f-b243-98f261438c15 2025-07-22 14:24:17,722 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:17,811 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/169db6fb-c3a2-4956-99a0-6b19b7c9da6c 2025-07-22 14:24:17,823 - DEBUG - ==>Verifying data for policy with id: 838a548a-2c3b-437d-a509-b3e87af4036c, fqn: ['default-domain', 'ctest-TestBasicPolicy-75746076', 'ctest-policy-allow-all-58001759'] 2025-07-22 14:24:17,823 - INFO - VN ctest-vn-18019743 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 14:24:17,823 - DEBUG - Verifying the vn in opserver 2025-07-22 14:24:17,823 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-18019743 virtual network link through opserver 10.0.0.254 2025-07-22 14:24:17,823 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 14:24:17,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-18019743', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-18019743?flat'} 2025-07-22 14:24:17,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-18019743 is found in opserver 2025-07-22 14:24:17,848 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 14:24:17,853 - DEBUG - VRF ids for VN ctest-vn-18019743: {} 2025-07-22 14:24:17,922 - DEBUG - Services list from nova: [, , ] 2025-07-22 14:24:19,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3692-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3692-1) 2025-07-22 14:24:20,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3692-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3692-1) 2025-07-22 14:24:20,587 - INFO - Waiting for VM ctest-TestBasicPolicy-75746076-17083950 to be up.. 2025-07-22 14:24:20,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 14:24:25,751 - DEBUG - VM is in ACTIVE state now 2025-07-22 14:24:25,751 - INFO - VM name : ctest-TestBasicPolicy-75746076-17083950 2025-07-22 14:24:25,832 - DEBUG - VM ctest-TestBasicPolicy-75746076-17083950 ID is 932ed9d1-1c38-4ae5-b43f-990e0545008b 2025-07-22 14:24:25,852 - DEBUG - VM ctest-TestBasicPolicy-75746076-17083950 launched on Node cn-jenkins-deploy-platform-ansible-os-3692-1 2025-07-22 14:24:25,938 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/932ed9d1-1c38-4ae5-b43f-990e0545008b 2025-07-22 14:24:25,948 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f1805623-b828-40b0-93ce-927b8dc50dbc 2025-07-22 14:24:29,213 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-07-22 14:24:29,213 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75746076-17083950 failed! 2025-07-22 14:24:29,268 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75746076:ctest-vn-87899073 is 143.58.187.1 and allocation pool is NOT set 2025-07-22 14:24:31,337 - 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=8.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.452/4.425/8.399/3.973 ms') 2025-07-22 14:24:31,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75746076-17083950 passed 2025-07-22 14:24:31,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:24:31,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75746076-17083950, IP 143.58.187.3, Port 22 2025-07-22 14:24:31,648 - DEBUG - VM ctest-TestBasicPolicy-75746076-17083950 is ready for SSH connections 2025-07-22 14:24:31,649 - INFO - Waiting for VM ctest-TestBasicPolicy-75746076-27233248 to be up.. 2025-07-22 14:24:31,725 - DEBUG - VM is in ACTIVE state now 2025-07-22 14:24:31,725 - INFO - VM name : ctest-TestBasicPolicy-75746076-27233248 2025-07-22 14:24:31,799 - DEBUG - VM ctest-TestBasicPolicy-75746076-27233248 ID is a6f40c21-435d-4628-8954-fd33f4e6dabe 2025-07-22 14:24:31,800 - DEBUG - VM ctest-TestBasicPolicy-75746076-27233248 launched on Node cn-jenkins-deploy-platform-ansible-os-3692-1 2025-07-22 14:24:31,884 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6f40c21-435d-4628-8954-fd33f4e6dabe 2025-07-22 14:24:31,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d3798ae0-a956-4108-b7a2-aa7c3beca48d 2025-07-22 14:24:33,151 - 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=4.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.15 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 = 2.150/3.087/4.025/0.937 ms') 2025-07-22 14:24:33,151 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75746076-27233248 passed 2025-07-22 14:24:33,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:24:33,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75746076-27233248, IP 211.89.28.195, Port 22 2025-07-22 14:24:33,464 - DEBUG - VM ctest-TestBasicPolicy-75746076-27233248 is ready for SSH connections 2025-07-22 14:24:33,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:24:33,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.89.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-22 14:24:33,464 - DEBUG - ping -s 56 -c 3 -W 1 211.89.28.195 2025-07-22 14:24:37,568 - DEBUG - PING 211.89.28.195 (211.89.28.195): 56 data bytes 64 bytes from 211.89.28.195: seq=0 ttl=63 time=3.787 ms 64 bytes from 211.89.28.195: seq=1 ttl=63 time=1.123 ms 64 bytes from 211.89.28.195: seq=2 ttl=63 time=0.783 ms --- 211.89.28.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.897/3.787 ms 2025-07-22 14:24:37,569 - INFO - Ping to IP 211.89.28.195 from VM ctest-TestBasicPolicy-75746076-17083950 passed 2025-07-22 14:24:37,764 - DEBUG - Policy Update Response {"network-policy": {"uuid": "838a548a-2c3b-437d-a509-b3e87af4036c", "href": "http://10.0.0.254:8082/network-policy/838a548a-2c3b-437d-a509-b3e87af4036c"}} 2025-07-22 14:24:37,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 14:24:37,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.89.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-22 14:24:37,765 - DEBUG - ping -s 56 -c 3 -W 1 211.89.28.195 2025-07-22 14:24:40,996 - DEBUG - PING 211.89.28.195 (211.89.28.195): 56 data bytes --- 211.89.28.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 14:24:40,996 - WARNING - Ping to IP 211.89.28.195 from VM ctest-TestBasicPolicy-75746076-17083950 failed 2025-07-22 14:24:40,996 - INFO - Deleting VM ctest-TestBasicPolicy-75746076-27233248 2025-07-22 14:24:41,071 - INFO - Deleting VM ctest-TestBasicPolicy-75746076-17083950 2025-07-22 14:24:41,531 - INFO - Deleted policy ctest-policy-allow-all-58001759 2025-07-22 14:24:41,531 - INFO - Deleting VN ctest-vn-18019743 2025-07-22 14:24:41,574 - DEBUG - VN 169db6fb-c3a2-4956-99a0-6b19b7c9da6c still in use: Unable to complete operation on network 169db6fb-c3a2-4956-99a0-6b19b7c9da6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e004689d-74ef-4e19-a643-ae405c97a0fa'] 2025-07-22 14:24:41,575 - WARNING - Deleting VN ctest-vn-18019743 failed..Will retry 2025-07-22 14:24:43,714 - DEBUG - Response for deleting network () 2025-07-22 14:24:43,715 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9ac0d50-e361-4a2f-8400-a95c248b0df7 2025-07-22 14:24:43,722 - DEBUG - Response Code: 404 2025-07-22 14:24:43,723 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:43,730 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ea162fb4-24a8-420f-b243-98f261438c15 2025-07-22 14:24:43,788 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:43,874 - INFO - Validated that VN ctest-vn-18019743 is not found in API Server 2025-07-22 14:24:43,887 - DEBUG - VN ctest-vn-18019743 is not present in Agent 10.0.0.254 2025-07-22 14:24:43,887 - INFO - Validated that VN ctest-vn-18019743 is not in any agent 2025-07-22 14:24:43,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18019743 info 2025-07-22 14:24:43,907 - INFO - Deleting VN ctest-vn-87899073 2025-07-22 14:24:44,032 - DEBUG - Response for deleting network () 2025-07-22 14:24:44,032 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3edf6e7a-9d91-47d5-9523-5d562202395f 2025-07-22 14:24:44,043 - DEBUG - Response Code: 404 2025-07-22 14:24:44,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 14:24:44,050 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ea162fb4-24a8-420f-b243-98f261438c15 2025-07-22 14:24:44,107 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed1bd95c-0f1e-44dd-ab55-1edbf40445c5 2025-07-22 14:24:44,183 - INFO - Validated that VN ctest-vn-87899073 is not found in API Server 2025-07-22 14:24:44,197 - DEBUG - VN ctest-vn-87899073 is not present in Agent 10.0.0.254 2025-07-22 14:24:44,197 - INFO - Validated that VN ctest-vn-87899073 is not in any agent 2025-07-22 14:24:44,215 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87899073 info 2025-07-22 14:24:44,472 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 14:24:44,473 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-07-22 14:24:44,473 - INFO - -------------------------------------------------------------------------------- 2025-07-22 14:24:45,202 - INFO - Deleted project: ctest-TestBasicPolicy-75746076, ID : ed1bd95c-0f1e-44dd-ab55-1edbf40445c5