2025-05-06 07:15:23,862 - INFO - Domain Default found not creating 2025-05-06 07:15:24,007 - INFO - Project ctest-TestBasicPolicy-33112986 not found, creating it 2025-05-06 07:15:24,468 - INFO - Created Project:ctest-TestBasicPolicy-33112986, ID : 8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:25,927 - INFO - ================================================================================ 2025-05-06 07:15:25,927 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-06 07:15:25,928 - 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-05-06 07:15:26,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-06 07:15:26,185 - INFO - Initial checks done. Running the testcase now 2025-05-06 07:15:26,185 - INFO - 2025-05-06 07:15:26,722 - DEBUG - Response for create_network : {'network': {'id': 'c5a00563-0636-43db-a843-ed1f599bc76c', 'name': 'ctest-vn-77670217', 'tenant_id': '8851a7a272c849be90f2106ea4e9163d', 'project_id': '8851a7a272c849be90f2106ea4e9163d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-vn-77670217'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 07:15:26,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '055c2930-ee1a-4229-8d03-079c0e45d790', 'name': '', 'tenant_id': '8851a7a272c849be90f2106ea4e9163d', 'network_id': 'c5a00563-0636-43db-a843-ed1f599bc76c', 'ip_version': 4, 'cidr': '104.192.198.64/26', 'allocation_pools': [{'start': '104.192.198.66', 'end': '104.192.198.126'}], 'gateway_ip': '104.192.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.192.198.66', 'tags': [], 'project_id': '8851a7a272c849be90f2106ea4e9163d'}} 2025-05-06 07:15:26,902 - INFO - Created VN ctest-vn-77670217 2025-05-06 07:15:26,955 - DEBUG - VN ctest-vn-77670217 UUID is c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:27,266 - DEBUG - Response for create_network : {'network': {'id': '81b5e817-a864-4b0b-964c-ac4190c04768', 'name': 'ctest-vn-77608623', 'tenant_id': '8851a7a272c849be90f2106ea4e9163d', 'project_id': '8851a7a272c849be90f2106ea4e9163d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-vn-77608623'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 07:15:27,457 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c19146f1-88dc-4ea7-81e9-40b0b1688bed', 'name': '', 'tenant_id': '8851a7a272c849be90f2106ea4e9163d', 'network_id': '81b5e817-a864-4b0b-964c-ac4190c04768', 'ip_version': 4, 'cidr': '97.21.129.64/26', 'allocation_pools': [{'start': '97.21.129.66', 'end': '97.21.129.126'}], 'gateway_ip': '97.21.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.21.129.66', 'tags': [], 'project_id': '8851a7a272c849be90f2106ea4e9163d'}} 2025-05-06 07:15:27,475 - INFO - Created VN ctest-vn-77608623 2025-05-06 07:15:27,527 - DEBUG - VN ctest-vn-77608623 UUID is 81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:27,679 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217, 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-33112986:ctest-vn-77608623, 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-05-06 07:15:28,011 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5a00563-0636-43db-a843-ed1f599bc76c', 'name': 'ctest-vn-77670217', 'tenant_id': '8851a7a272c849be90f2106ea4e9163d', 'project_id': '8851a7a272c849be90f2106ea4e9163d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['055c2930-ee1a-4229-8d03-079c0e45d790'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-vn-77670217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-policy-allow-all-68642373']], 'subnet_ipam': [{'subnet_cidr': '104.192.198.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 07:15:28,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81b5e817-a864-4b0b-964c-ac4190c04768', 'name': 'ctest-vn-77608623', 'tenant_id': '8851a7a272c849be90f2106ea4e9163d', 'project_id': '8851a7a272c849be90f2106ea4e9163d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c19146f1-88dc-4ea7-81e9-40b0b1688bed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-vn-77608623'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-policy-allow-all-68642373']], 'subnet_ipam': [{'subnet_cidr': '97.21.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 07:15:28,451 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:28,749 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:28,779 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e6916306-8f8e-4eca-b242-c7d9f2de7972 2025-05-06 07:15:28,793 - DEBUG - Requesting: http://10.0.0.50:8082/project/8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:28,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:28,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:28,907 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6018b2a3-6eca-4bf5-937e-5eeaf6b43897 2025-05-06 07:15:28,916 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6018b2a3-6eca-4bf5-937e-5eeaf6b43897 2025-05-06 07:15:28,926 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/19ff4c66-aec8-40fa-8a78-fcf60640effb 2025-05-06 07:15:28,937 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 07:15:28,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:28,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6018b2a3-6eca-4bf5-937e-5eeaf6b43897 2025-05-06 07:15:28,967 - INFO - Verified VN network id 8 for VN c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:28,967 - INFO - Verifications in API Server for VN ctest-vn-77670217 passed 2025-05-06 07:15:28,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:28,979 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6018b2a3-6eca-4bf5-937e-5eeaf6b43897 2025-05-06 07:15:28,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6018b2a3-6eca-4bf5-937e-5eeaf6b43897 2025-05-06 07:15:28,996 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/19ff4c66-aec8-40fa-8a78-fcf60640effb 2025-05-06 07:15:29,009 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33112986', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14240387944609629147', 'uuid-lslong': '12124795340714657644'}, 'enable': 'true', 'created': '2025-05-06T07:15:26', 'last-modified': '2025-05-06T07:15:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040804'} 2025-05-06 07:15:29,016 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 07:15:29,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77670217 passed 2025-05-06 07:15:29,016 - DEBUG - ====Verifying policy data for ctest-vn-77670217 in API_Server ====== 2025-05-06 07:15:29,016 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:29,025 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e6916306-8f8e-4eca-b242-c7d9f2de7972 2025-05-06 07:15:29,036 - DEBUG - Requesting: http://10.0.0.50:8082/project/8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:29,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c5a00563-0636-43db-a843-ed1f599bc76c 2025-05-06 07:15:29,124 - DEBUG - ==>Verifying data for policy with id: 0c59492e-9ecb-4c82-9a99-429fea2a17a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-policy-allow-all-68642373'] 2025-05-06 07:15:29,124 - INFO - VN ctest-vn-77670217 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 07:15:29,124 - DEBUG - Verifying the vn in opserver 2025-05-06 07:15:29,124 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217 virtual network link through opserver 10.0.0.50 2025-05-06 07:15:29,125 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-06 07:15:29,418 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-06 07:15:29,472 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217?flat'} 2025-05-06 07:15:29,472 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217 is found in opserver 2025-05-06 07:15:29,483 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 07:15:29,487 - DEBUG - VRF ids for VN ctest-vn-77670217: {} 2025-05-06 07:15:29,488 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:29,494 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e6916306-8f8e-4eca-b242-c7d9f2de7972 2025-05-06 07:15:29,507 - DEBUG - Requesting: http://10.0.0.50:8082/project/8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:29,583 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:29,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:29,608 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c212e6a4-305b-4f1f-89c2-4aa6ccaa5196 2025-05-06 07:15:29,617 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c212e6a4-305b-4f1f-89c2-4aa6ccaa5196 2025-05-06 07:15:29,624 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f0b14b8-a929-4f51-9280-e417863a67fa 2025-05-06 07:15:29,631 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 07:15:29,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:29,641 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c212e6a4-305b-4f1f-89c2-4aa6ccaa5196 2025-05-06 07:15:29,658 - INFO - Verified VN network id 9 for VN 81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:29,658 - INFO - Verifications in API Server for VN ctest-vn-77608623 passed 2025-05-06 07:15:29,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:29,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c212e6a4-305b-4f1f-89c2-4aa6ccaa5196 2025-05-06 07:15:29,677 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c212e6a4-305b-4f1f-89c2-4aa6ccaa5196 2025-05-06 07:15:29,684 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f0b14b8-a929-4f51-9280-e417863a67fa 2025-05-06 07:15:29,698 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77608623', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33112986', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9346631789984369419', 'uuid-lslong': '10830220601520572264'}, 'enable': 'true', 'created': '2025-05-06T07:15:27', 'last-modified': '2025-05-06T07:15:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464754'} 2025-05-06 07:15:29,704 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 07:15:29,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77608623 passed 2025-05-06 07:15:29,705 - DEBUG - ====Verifying policy data for ctest-vn-77608623 in API_Server ====== 2025-05-06 07:15:29,705 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:29,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e6916306-8f8e-4eca-b242-c7d9f2de7972 2025-05-06 07:15:29,723 - DEBUG - Requesting: http://10.0.0.50:8082/project/8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:29,805 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81b5e817-a864-4b0b-964c-ac4190c04768 2025-05-06 07:15:29,819 - DEBUG - ==>Verifying data for policy with id: 0c59492e-9ecb-4c82-9a99-429fea2a17a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-33112986', 'ctest-policy-allow-all-68642373'] 2025-05-06 07:15:29,819 - INFO - VN ctest-vn-77608623 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 07:15:29,819 - DEBUG - Verifying the vn in opserver 2025-05-06 07:15:29,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77608623 virtual network link through opserver 10.0.0.50 2025-05-06 07:15:29,819 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-06 07:15:29,833 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77608623', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77608623?flat'} 2025-05-06 07:15:29,834 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77608623 is found in opserver 2025-05-06 07:15:29,849 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 07:15:29,856 - DEBUG - VRF ids for VN ctest-vn-77608623: {} 2025-05-06 07:15:29,920 - DEBUG - Services list from nova: [, , ] 2025-05-06 07:15:30,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3274-1) 2025-05-06 07:15:32,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3274-1) 2025-05-06 07:15:32,215 - INFO - Waiting for VM ctest-TestBasicPolicy-33112986-26242269 to be up.. 2025-05-06 07:15:32,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 07:15:37,383 - DEBUG - VM is in ACTIVE state now 2025-05-06 07:15:37,383 - INFO - VM name : ctest-TestBasicPolicy-33112986-26242269 2025-05-06 07:15:37,460 - DEBUG - VM ctest-TestBasicPolicy-33112986-26242269 ID is d89c3616-51d7-4fab-beb4-e52c89ad66cf 2025-05-06 07:15:37,478 - DEBUG - VM ctest-TestBasicPolicy-33112986-26242269 launched on Node cn-jenkins-deploy-platform-ansible-os-3274-1 2025-05-06 07:15:37,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d89c3616-51d7-4fab-beb4-e52c89ad66cf 2025-05-06 07:15:37,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8cf6d284-9fc1-456f-96d2-70e20dd94fd9 2025-05-06 07:15:40,843 - 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 1014ms') 2025-05-06 07:15:40,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33112986-26242269 failed! 2025-05-06 07:15:40,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33112986:ctest-vn-77670217 is 104.192.198.65 and allocation pool is NOT set 2025-05-06 07:15:42,959 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.994 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.994/3.040/5.086/2.046 ms') 2025-05-06 07:15:42,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33112986-26242269 passed 2025-05-06 07:15:43,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:43,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33112986-26242269, IP 104.192.198.67, Port 22 2025-05-06 07:15:43,266 - DEBUG - VM ctest-TestBasicPolicy-33112986-26242269 is ready for SSH connections 2025-05-06 07:15:43,267 - INFO - Waiting for VM ctest-TestBasicPolicy-33112986-23664970 to be up.. 2025-05-06 07:15:43,342 - DEBUG - VM is in ACTIVE state now 2025-05-06 07:15:43,342 - INFO - VM name : ctest-TestBasicPolicy-33112986-23664970 2025-05-06 07:15:43,417 - DEBUG - VM ctest-TestBasicPolicy-33112986-23664970 ID is f605d812-9913-482d-8cd3-a509317c7717 2025-05-06 07:15:43,418 - DEBUG - VM ctest-TestBasicPolicy-33112986-23664970 launched on Node cn-jenkins-deploy-platform-ansible-os-3274-1 2025-05-06 07:15:43,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f605d812-9913-482d-8cd3-a509317c7717 2025-05-06 07:15:43,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/963c421d-1316-4eb2-8ffc-7380f76a32af 2025-05-06 07:15:44,743 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.706 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.706/2.829/4.952/2.123 ms') 2025-05-06 07:15:44,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33112986-23664970 passed 2025-05-06 07:15:44,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:44,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33112986-23664970, IP 97.21.129.67, Port 22 2025-05-06 07:15:45,058 - DEBUG - VM ctest-TestBasicPolicy-33112986-23664970 is ready for SSH connections 2025-05-06 07:15:45,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:45,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.21.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 07:15:45,059 - DEBUG - ping -s 56 -c 3 -W 1 97.21.129.67 2025-05-06 07:15:48,746 - DEBUG - PING 97.21.129.67 (97.21.129.67): 56 data bytes 64 bytes from 97.21.129.67: seq=0 ttl=63 time=3.517 ms 64 bytes from 97.21.129.67: seq=1 ttl=63 time=0.928 ms 64 bytes from 97.21.129.67: seq=2 ttl=63 time=0.944 ms --- 97.21.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/1.796/3.517 ms 2025-05-06 07:15:48,746 - INFO - Ping to IP 97.21.129.67 from VM ctest-TestBasicPolicy-33112986-26242269 passed 2025-05-06 07:15:48,931 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0c59492e-9ecb-4c82-9a99-429fea2a17a5", "href": "http://10.0.0.50:8082/network-policy/0c59492e-9ecb-4c82-9a99-429fea2a17a5"}} 2025-05-06 07:15:48,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:48,931 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.21.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 07:15:48,931 - DEBUG - ping -s 56 -c 3 -W 1 97.21.129.67 2025-05-06 07:15:52,147 - DEBUG - PING 97.21.129.67 (97.21.129.67): 56 data bytes 64 bytes from 97.21.129.67: seq=0 ttl=63 time=1.401 ms --- 97.21.129.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.401/1.401/1.401 ms 2025-05-06 07:15:52,147 - WARNING - Ping to IP 97.21.129.67 from VM ctest-TestBasicPolicy-33112986-26242269 failed 2025-05-06 07:15:52,147 - INFO - Deleting VM ctest-TestBasicPolicy-33112986-23664970 2025-05-06 07:15:52,208 - INFO - Deleting VM ctest-TestBasicPolicy-33112986-26242269 2025-05-06 07:15:52,677 - INFO - Deleted policy ctest-policy-allow-all-68642373 2025-05-06 07:15:52,678 - INFO - Deleting VN ctest-vn-77608623 2025-05-06 07:15:52,727 - DEBUG - VN 81b5e817-a864-4b0b-964c-ac4190c04768 still in use: Unable to complete operation on network 81b5e817-a864-4b0b-964c-ac4190c04768. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10238e7b-2f36-4cb4-9506-1b658f171c8a'] 2025-05-06 07:15:52,728 - WARNING - Deleting VN ctest-vn-77608623 failed..Will retry 2025-05-06 07:15:54,838 - DEBUG - Response for deleting network () 2025-05-06 07:15:54,838 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c212e6a4-305b-4f1f-89c2-4aa6ccaa5196 2025-05-06 07:15:54,847 - DEBUG - Response Code: 404 2025-05-06 07:15:54,847 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:54,853 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e6916306-8f8e-4eca-b242-c7d9f2de7972 2025-05-06 07:15:54,911 - DEBUG - Requesting: http://10.0.0.50:8082/project/8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:54,984 - INFO - Validated that VN ctest-vn-77608623 is not found in API Server 2025-05-06 07:15:54,997 - DEBUG - VN ctest-vn-77608623 is not present in Agent 10.0.0.50 2025-05-06 07:15:54,997 - INFO - Validated that VN ctest-vn-77608623 is not in any agent 2025-05-06 07:15:55,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77608623 info 2025-05-06 07:15:55,016 - INFO - Deleting VN ctest-vn-77670217 2025-05-06 07:15:55,125 - DEBUG - Response for deleting network () 2025-05-06 07:15:55,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6018b2a3-6eca-4bf5-937e-5eeaf6b43897 2025-05-06 07:15:55,137 - DEBUG - Response Code: 404 2025-05-06 07:15:55,138 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 07:15:55,144 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e6916306-8f8e-4eca-b242-c7d9f2de7972 2025-05-06 07:15:55,197 - DEBUG - Requesting: http://10.0.0.50:8082/project/8851a7a2-72c8-49be-90f2-106ea4e9163d 2025-05-06 07:15:55,272 - INFO - Validated that VN ctest-vn-77670217 is not found in API Server 2025-05-06 07:15:55,284 - DEBUG - VN ctest-vn-77670217 is not present in Agent 10.0.0.50 2025-05-06 07:15:55,284 - INFO - Validated that VN ctest-vn-77670217 is not in any agent 2025-05-06 07:15:55,300 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77670217 info 2025-05-06 07:15:55,555 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 07:15:55,555 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-06 07:15:55,555 - INFO - -------------------------------------------------------------------------------- 2025-05-06 07:15:56,260 - INFO - Deleted project: ctest-TestBasicPolicy-33112986, ID : 8851a7a2-72c8-49be-90f2-106ea4e9163d