2025-08-20 16:12:20,497 - INFO - Domain Default found not creating 2025-08-20 16:12:20,620 - INFO - Project ctest-TestBasicPolicy-67049107 not found, creating it 2025-08-20 16:12:21,068 - INFO - Created Project:ctest-TestBasicPolicy-67049107, ID : c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:22,366 - INFO - ================================================================================ 2025-08-20 16:12:22,366 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 16:12:22,366 - 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-20 16:12:22,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-20 16:12:22,629 - INFO - Initial checks done. Running the testcase now 2025-08-20 16:12:22,629 - INFO - 2025-08-20 16:12:23,126 - DEBUG - Response for create_network : {'network': {'id': '19814aeb-29f5-4bf3-b066-de8a30185a17', 'name': 'ctest-vn-85788350', 'tenant_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'project_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-vn-85788350'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 16:12:23,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '03262437-1ad2-499b-8641-650ff44f03df', 'name': '', 'tenant_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'network_id': '19814aeb-29f5-4bf3-b066-de8a30185a17', 'ip_version': 4, 'cidr': '5.61.110.0/26', 'allocation_pools': [{'start': '5.61.110.2', 'end': '5.61.110.62'}], 'gateway_ip': '5.61.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.61.110.2', 'tags': [], 'project_id': 'c96f62fb7537414d8bb4b0ca0cb74b94'}} 2025-08-20 16:12:23,320 - INFO - Created VN ctest-vn-85788350 2025-08-20 16:12:23,373 - DEBUG - VN ctest-vn-85788350 UUID is 19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:23,675 - DEBUG - Response for create_network : {'network': {'id': '7516b12c-7146-4e46-baad-bdafde0611e0', 'name': 'ctest-vn-68305653', 'tenant_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'project_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-vn-68305653'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 16:12:23,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '996e92fc-d2e8-4fc5-aee0-8f62611ae45a', 'name': '', 'tenant_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'network_id': '7516b12c-7146-4e46-baad-bdafde0611e0', 'ip_version': 4, 'cidr': '130.79.116.192/26', 'allocation_pools': [{'start': '130.79.116.194', 'end': '130.79.116.254'}], 'gateway_ip': '130.79.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.79.116.194', 'tags': [], 'project_id': 'c96f62fb7537414d8bb4b0ca0cb74b94'}} 2025-08-20 16:12:23,879 - INFO - Created VN ctest-vn-68305653 2025-08-20 16:12:23,929 - DEBUG - VN ctest-vn-68305653 UUID is 7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:24,069 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350, 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-67049107:ctest-vn-68305653, 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-20 16:12:24,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19814aeb-29f5-4bf3-b066-de8a30185a17', 'name': 'ctest-vn-85788350', 'tenant_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'project_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03262437-1ad2-499b-8641-650ff44f03df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-vn-85788350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-policy-allow-all-95303829']], 'subnet_ipam': [{'subnet_cidr': '5.61.110.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 16:12:24,568 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7516b12c-7146-4e46-baad-bdafde0611e0', 'name': 'ctest-vn-68305653', 'tenant_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'project_id': 'c96f62fb7537414d8bb4b0ca0cb74b94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['996e92fc-d2e8-4fc5-aee0-8f62611ae45a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-vn-68305653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-policy-allow-all-95303829']], 'subnet_ipam': [{'subnet_cidr': '130.79.116.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 16:12:24,721 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:25,010 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:25,035 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9555d193-959a-4921-997f-f42de7783b33 2025-08-20 16:12:25,046 - DEBUG - Requesting: http://10.0.0.254:8082/project/c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:25,117 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:25,127 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:25,136 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8c2fc0c8-d188-4f13-a6dd-9fc439cb06e4 2025-08-20 16:12:25,141 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8c2fc0c8-d188-4f13-a6dd-9fc439cb06e4 2025-08-20 16:12:25,146 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ac5961e5-49b1-47d5-8f24-8d63975859c6 2025-08-20 16:12:25,151 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 16:12:25,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:25,158 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8c2fc0c8-d188-4f13-a6dd-9fc439cb06e4 2025-08-20 16:12:25,169 - INFO - Verified VN network id 12 for VN 19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:25,170 - INFO - Verifications in API Server for VN ctest-vn-85788350 passed 2025-08-20 16:12:25,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:25,177 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8c2fc0c8-d188-4f13-a6dd-9fc439cb06e4 2025-08-20 16:12:25,183 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8c2fc0c8-d188-4f13-a6dd-9fc439cb06e4 2025-08-20 16:12:25,189 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ac5961e5-49b1-47d5-8f24-8d63975859c6 2025-08-20 16:12:25,198 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67049107', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1837832496825584627', 'uuid-lslong': '12711091683393559063'}, 'enable': 'true', 'created': '2025-08-20T16:12:23', 'last-modified': '2025-08-20T16:12:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860838'} 2025-08-20 16:12:25,202 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 16:12:25,202 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85788350 passed 2025-08-20 16:12:25,202 - DEBUG - ====Verifying policy data for ctest-vn-85788350 in API_Server ====== 2025-08-20 16:12:25,203 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:25,206 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9555d193-959a-4921-997f-f42de7783b33 2025-08-20 16:12:25,216 - DEBUG - Requesting: http://10.0.0.254:8082/project/c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:25,284 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/19814aeb-29f5-4bf3-b066-de8a30185a17 2025-08-20 16:12:25,292 - DEBUG - ==>Verifying data for policy with id: 33c3b26f-59a0-463d-aeb1-5547124159c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-policy-allow-all-95303829'] 2025-08-20 16:12:25,292 - INFO - VN ctest-vn-85788350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 16:12:25,292 - DEBUG - Verifying the vn in opserver 2025-08-20 16:12:25,292 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350 virtual network link through opserver 10.0.0.254 2025-08-20 16:12:25,292 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-20 16:12:25,579 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-20 16:12:25,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350?flat'} 2025-08-20 16:12:25,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350 is found in opserver 2025-08-20 16:12:25,634 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 16:12:25,638 - DEBUG - VRF ids for VN ctest-vn-85788350: {} 2025-08-20 16:12:25,638 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:25,642 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9555d193-959a-4921-997f-f42de7783b33 2025-08-20 16:12:25,651 - DEBUG - Requesting: http://10.0.0.254:8082/project/c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:25,716 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:25,726 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:25,733 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ebe225b6-b091-4698-82c7-58007982ce56 2025-08-20 16:12:25,738 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ebe225b6-b091-4698-82c7-58007982ce56 2025-08-20 16:12:25,742 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/51de2930-12da-47d5-8b1f-4c6958dbd660 2025-08-20 16:12:25,747 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 16:12:25,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:25,754 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ebe225b6-b091-4698-82c7-58007982ce56 2025-08-20 16:12:25,763 - INFO - Verified VN network id 13 for VN 7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:25,763 - INFO - Verifications in API Server for VN ctest-vn-68305653 passed 2025-08-20 16:12:25,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:25,770 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ebe225b6-b091-4698-82c7-58007982ce56 2025-08-20 16:12:25,774 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ebe225b6-b091-4698-82c7-58007982ce56 2025-08-20 16:12:25,779 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/51de2930-12da-47d5-8b1f-4c6958dbd660 2025-08-20 16:12:25,787 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-68305653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67049107', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8437125756362313286', 'uuid-lslong': '13451616225067405792'}, 'enable': 'true', 'created': '2025-08-20T16:12:23', 'last-modified': '2025-08-20T16:12:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.240152'} 2025-08-20 16:12:25,792 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 16:12:25,792 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68305653 passed 2025-08-20 16:12:25,792 - DEBUG - ====Verifying policy data for ctest-vn-68305653 in API_Server ====== 2025-08-20 16:12:25,792 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:25,796 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9555d193-959a-4921-997f-f42de7783b33 2025-08-20 16:12:25,803 - DEBUG - Requesting: http://10.0.0.254:8082/project/c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:25,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7516b12c-7146-4e46-baad-bdafde0611e0 2025-08-20 16:12:25,879 - DEBUG - ==>Verifying data for policy with id: 33c3b26f-59a0-463d-aeb1-5547124159c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-67049107', 'ctest-policy-allow-all-95303829'] 2025-08-20 16:12:25,879 - INFO - VN ctest-vn-68305653 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 16:12:25,880 - DEBUG - Verifying the vn in opserver 2025-08-20 16:12:25,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-68305653 virtual network link through opserver 10.0.0.254 2025-08-20 16:12:25,880 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-20 16:12:25,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-68305653', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-68305653?flat'} 2025-08-20 16:12:25,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-68305653 is found in opserver 2025-08-20 16:12:25,894 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 16:12:25,898 - DEBUG - VRF ids for VN ctest-vn-68305653: {} 2025-08-20 16:12:25,944 - DEBUG - Services list from nova: [, , ] 2025-08-20 16:12:26,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3899-1) 2025-08-20 16:12:27,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3899-1) 2025-08-20 16:12:27,934 - INFO - Waiting for VM ctest-TestBasicPolicy-67049107-25246473 to be up.. 2025-08-20 16:12:27,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 16:12:33,063 - DEBUG - VM is in ACTIVE state now 2025-08-20 16:12:33,063 - INFO - VM name : ctest-TestBasicPolicy-67049107-25246473 2025-08-20 16:12:33,130 - DEBUG - VM ctest-TestBasicPolicy-67049107-25246473 ID is b92e82be-79d0-46b5-b99a-5092e1002bcc 2025-08-20 16:12:33,147 - DEBUG - VM ctest-TestBasicPolicy-67049107-25246473 launched on Node cn-jenkins-deploy-platform-ansible-os-3899-1. 2025-08-20 16:12:33,205 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b92e82be-79d0-46b5-b99a-5092e1002bcc 2025-08-20 16:12:33,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/39f211cb-76bf-4e9b-a845-91dbc2954c1e 2025-08-20 16:12:36,458 - 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 1024ms') 2025-08-20 16:12:36,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67049107-25246473 failed! 2025-08-20 16:12:36,509 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67049107:ctest-vn-85788350 is 5.61.110.1 and allocation pool is NOT set 2025-08-20 16:12:38,570 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 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.348/2.587/4.827/2.239 ms') 2025-08-20 16:12:38,570 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67049107-25246473 passed 2025-08-20 16:12:38,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 16:12:38,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67049107-25246473, IP 5.61.110.3, Port 22 2025-08-20 16:12:38,873 - DEBUG - VM ctest-TestBasicPolicy-67049107-25246473 is ready for SSH connections 2025-08-20 16:12:38,873 - INFO - Waiting for VM ctest-TestBasicPolicy-67049107-80067219 to be up.. 2025-08-20 16:12:38,944 - DEBUG - VM is in ACTIVE state now 2025-08-20 16:12:38,944 - INFO - VM name : ctest-TestBasicPolicy-67049107-80067219 2025-08-20 16:12:39,023 - DEBUG - VM ctest-TestBasicPolicy-67049107-80067219 ID is 4ebf9b6a-4257-40b5-a783-f264e1e54277 2025-08-20 16:12:39,023 - DEBUG - VM ctest-TestBasicPolicy-67049107-80067219 launched on Node cn-jenkins-deploy-platform-ansible-os-3899-1. 2025-08-20 16:12:39,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4ebf9b6a-4257-40b5-a783-f264e1e54277 2025-08-20 16:12:39,115 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fb4ea2a4-860d-4b36-a61f-8a9b15d8d879 2025-08-20 16:12:40,355 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 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.321/1.712/3.103/1.391 ms') 2025-08-20 16:12:40,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67049107-80067219 passed 2025-08-20 16:12:40,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 16:12:40,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67049107-80067219, IP 130.79.116.195, Port 22 2025-08-20 16:12:40,652 - DEBUG - VM ctest-TestBasicPolicy-67049107-80067219 is ready for SSH connections 2025-08-20 16:12:40,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 16:12:40,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.79.116.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-20 16:12:40,652 - DEBUG - ping -s 56 -c 3 -W 1 130.79.116.195 2025-08-20 16:12:44,321 - DEBUG - PING 130.79.116.195 (130.79.116.195): 56 data bytes 64 bytes from 130.79.116.195: seq=0 ttl=63 time=2.982 ms 64 bytes from 130.79.116.195: seq=1 ttl=63 time=0.708 ms 64 bytes from 130.79.116.195: seq=2 ttl=63 time=0.787 ms --- 130.79.116.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.492/2.982 ms 2025-08-20 16:12:44,321 - INFO - Ping to IP 130.79.116.195 from VM ctest-TestBasicPolicy-67049107-25246473 passed 2025-08-20 16:12:44,485 - DEBUG - Policy Update Response {"network-policy": {"uuid": "33c3b26f-59a0-463d-aeb1-5547124159c1", "href": "http://10.0.0.254:8082/network-policy/33c3b26f-59a0-463d-aeb1-5547124159c1"}} 2025-08-20 16:12:44,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 16:12:44,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.79.116.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-20 16:12:44,485 - DEBUG - ping -s 56 -c 3 -W 1 130.79.116.195 2025-08-20 16:12:47,685 - DEBUG - PING 130.79.116.195 (130.79.116.195): 56 data bytes --- 130.79.116.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 16:12:47,686 - WARNING - Ping to IP 130.79.116.195 from VM ctest-TestBasicPolicy-67049107-25246473 failed 2025-08-20 16:12:47,686 - INFO - Deleting VM ctest-TestBasicPolicy-67049107-80067219 2025-08-20 16:12:47,743 - INFO - Deleting VM ctest-TestBasicPolicy-67049107-25246473 2025-08-20 16:12:48,052 - INFO - Deleted policy ctest-policy-allow-all-95303829 2025-08-20 16:12:48,052 - INFO - Deleting VN ctest-vn-68305653 2025-08-20 16:12:48,099 - DEBUG - VN 7516b12c-7146-4e46-baad-bdafde0611e0 still in use: Unable to complete operation on network 7516b12c-7146-4e46-baad-bdafde0611e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fd34eed-d204-4520-bfbc-053febfc4a24'] 2025-08-20 16:12:48,099 - WARNING - Deleting VN ctest-vn-68305653 failed..Will retry 2025-08-20 16:12:50,178 - DEBUG - Response for deleting network () 2025-08-20 16:12:50,178 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ebe225b6-b091-4698-82c7-58007982ce56 2025-08-20 16:12:50,184 - DEBUG - Response Code: 404 2025-08-20 16:12:50,184 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:50,188 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9555d193-959a-4921-997f-f42de7783b33 2025-08-20 16:12:50,238 - DEBUG - Requesting: http://10.0.0.254:8082/project/c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:50,307 - INFO - Validated that VN ctest-vn-68305653 is not found in API Server 2025-08-20 16:12:50,315 - DEBUG - VN ctest-vn-68305653 is not present in Agent 10.0.0.254 2025-08-20 16:12:50,315 - INFO - Validated that VN ctest-vn-68305653 is not in any agent 2025-08-20 16:12:50,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68305653 info 2025-08-20 16:12:50,326 - INFO - Deleting VN ctest-vn-85788350 2025-08-20 16:12:50,412 - DEBUG - Response for deleting network () 2025-08-20 16:12:50,412 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8c2fc0c8-d188-4f13-a6dd-9fc439cb06e4 2025-08-20 16:12:50,416 - DEBUG - Response Code: 404 2025-08-20 16:12:50,416 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-20 16:12:50,420 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9555d193-959a-4921-997f-f42de7783b33 2025-08-20 16:12:50,469 - DEBUG - Requesting: http://10.0.0.254:8082/project/c96f62fb-7537-414d-8bb4-b0ca0cb74b94 2025-08-20 16:12:50,536 - INFO - Validated that VN ctest-vn-85788350 is not found in API Server 2025-08-20 16:12:50,543 - DEBUG - VN ctest-vn-85788350 is not present in Agent 10.0.0.254 2025-08-20 16:12:50,544 - INFO - Validated that VN ctest-vn-85788350 is not in any agent 2025-08-20 16:12:50,555 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85788350 info 2025-08-20 16:12:50,809 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 16:12:50,809 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-20 16:12:50,809 - INFO - -------------------------------------------------------------------------------- 2025-08-20 16:12:51,483 - INFO - Deleted project: ctest-TestBasicPolicy-67049107, ID : c96f62fb-7537-414d-8bb4-b0ca0cb74b94