2025-07-21 12:12:36,135 - INFO - Domain Default found not creating 2025-07-21 12:12:36,282 - INFO - Project ctest-TestBasicPolicy-17579895 not found, creating it 2025-07-21 12:12:36,746 - INFO - Created Project:ctest-TestBasicPolicy-17579895, ID : d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:12:38,164 - INFO - ================================================================================ 2025-07-21 12:12:38,164 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 12:12:38,164 - 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-21 12:12:38,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-07-21 12:12:38,423 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:12:38,423 - INFO - 2025-07-21 12:12:38,981 - DEBUG - Response for create_network : {'network': {'id': 'c6454f43-eafe-4853-910d-6d3a9bc63ff8', 'name': 'ctest-vn-37498650', 'tenant_id': 'd9b789168e42457fb8aa2d09115be924', 'project_id': 'd9b789168e42457fb8aa2d09115be924', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-vn-37498650'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:12:39,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9c06e4b-0cf0-40df-80d9-b2208f6e3ad4', 'name': '', 'tenant_id': 'd9b789168e42457fb8aa2d09115be924', 'network_id': 'c6454f43-eafe-4853-910d-6d3a9bc63ff8', 'ip_version': 4, 'cidr': '163.73.197.192/26', 'allocation_pools': [{'start': '163.73.197.194', 'end': '163.73.197.254'}], 'gateway_ip': '163.73.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.73.197.194', 'tags': [], 'project_id': 'd9b789168e42457fb8aa2d09115be924'}} 2025-07-21 12:12:39,182 - INFO - Created VN ctest-vn-37498650 2025-07-21 12:12:39,234 - DEBUG - VN ctest-vn-37498650 UUID is c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:39,531 - DEBUG - Response for create_network : {'network': {'id': '9141a361-0161-4790-ae11-b24574a8ed19', 'name': 'ctest-vn-17808537', 'tenant_id': 'd9b789168e42457fb8aa2d09115be924', 'project_id': 'd9b789168e42457fb8aa2d09115be924', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-vn-17808537'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:12:39,688 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba7f6b63-0204-421b-81da-7ab694e6b7ae', 'name': '', 'tenant_id': 'd9b789168e42457fb8aa2d09115be924', 'network_id': '9141a361-0161-4790-ae11-b24574a8ed19', 'ip_version': 4, 'cidr': '21.154.17.0/26', 'allocation_pools': [{'start': '21.154.17.2', 'end': '21.154.17.62'}], 'gateway_ip': '21.154.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.154.17.2', 'tags': [], 'project_id': 'd9b789168e42457fb8aa2d09115be924'}} 2025-07-21 12:12:39,706 - INFO - Created VN ctest-vn-17808537 2025-07-21 12:12:39,758 - DEBUG - VN ctest-vn-17808537 UUID is 9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:39,910 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650, 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-17579895:ctest-vn-17808537, 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-21 12:12:40,210 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6454f43-eafe-4853-910d-6d3a9bc63ff8', 'name': 'ctest-vn-37498650', 'tenant_id': 'd9b789168e42457fb8aa2d09115be924', 'project_id': 'd9b789168e42457fb8aa2d09115be924', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9c06e4b-0cf0-40df-80d9-b2208f6e3ad4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-vn-37498650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-policy-allow-all-13175130']], 'subnet_ipam': [{'subnet_cidr': '163.73.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:12:40,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9141a361-0161-4790-ae11-b24574a8ed19', 'name': 'ctest-vn-17808537', 'tenant_id': 'd9b789168e42457fb8aa2d09115be924', 'project_id': 'd9b789168e42457fb8aa2d09115be924', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba7f6b63-0204-421b-81da-7ab694e6b7ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-vn-17808537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-policy-allow-all-13175130']], 'subnet_ipam': [{'subnet_cidr': '21.154.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:12:40,630 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:12:40,938 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:12:40,968 - DEBUG - Requesting: http://10.0.0.65:8082/domain/a39917a0-d3a9-4bc6-a909-11160314c285 2025-07-21 12:12:40,982 - DEBUG - Requesting: http://10.0.0.65:8082/project/d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:12:41,056 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:41,067 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:41,077 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/200d49c7-96dd-4713-b975-ee188707c3bb 2025-07-21 12:12:41,087 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/200d49c7-96dd-4713-b975-ee188707c3bb 2025-07-21 12:12:41,094 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7f7af07d-c8b7-4f62-977f-4a5052e56a9a 2025-07-21 12:12:41,102 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 12:12:41,102 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:41,112 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/200d49c7-96dd-4713-b975-ee188707c3bb 2025-07-21 12:12:41,127 - INFO - Verified VN network id 8 for VN c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:41,128 - INFO - Verifications in API Server for VN ctest-vn-37498650 passed 2025-07-21 12:12:41,128 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:41,138 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/200d49c7-96dd-4713-b975-ee188707c3bb 2025-07-21 12:12:41,146 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/200d49c7-96dd-4713-b975-ee188707c3bb 2025-07-21 12:12:41,154 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7f7af07d-c8b7-4f62-977f-4a5052e56a9a 2025-07-21 12:12:41,167 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17579895', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14286912546026702931', 'uuid-lslong': '10452130408685780984'}, 'enable': 'true', 'created': '2025-07-21T12:12:38', 'last-modified': '2025-07-21T12:12:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974842'} 2025-07-21 12:12:41,175 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 12:12:41,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37498650 passed 2025-07-21 12:12:41,175 - DEBUG - ====Verifying policy data for ctest-vn-37498650 in API_Server ====== 2025-07-21 12:12:41,175 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:12:41,181 - DEBUG - Requesting: http://10.0.0.65:8082/domain/a39917a0-d3a9-4bc6-a909-11160314c285 2025-07-21 12:12:41,193 - DEBUG - Requesting: http://10.0.0.65:8082/project/d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:12:41,263 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c6454f43-eafe-4853-910d-6d3a9bc63ff8 2025-07-21 12:12:41,274 - DEBUG - ==>Verifying data for policy with id: 09e8b8fe-b5cb-49b0-95c1-d0b4edcd4513, fqn: ['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-policy-allow-all-13175130'] 2025-07-21 12:12:41,274 - INFO - VN ctest-vn-37498650 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 12:12:41,274 - DEBUG - Verifying the vn in opserver 2025-07-21 12:12:41,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650 virtual network link through opserver 10.0.0.65 2025-07-21 12:12:41,275 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-21 12:12:41,563 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-21 12:12:41,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650?flat'} 2025-07-21 12:12:41,620 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650 is found in opserver 2025-07-21 12:12:41,631 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 12:12:41,636 - DEBUG - VRF ids for VN ctest-vn-37498650: {} 2025-07-21 12:12:41,636 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:12:41,642 - DEBUG - Requesting: http://10.0.0.65:8082/domain/a39917a0-d3a9-4bc6-a909-11160314c285 2025-07-21 12:12:41,654 - DEBUG - Requesting: http://10.0.0.65:8082/project/d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:12:41,724 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:41,738 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:41,748 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7c0290d3-be1a-4420-80b7-490d4c19b90b 2025-07-21 12:12:41,756 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7c0290d3-be1a-4420-80b7-490d4c19b90b 2025-07-21 12:12:41,763 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/e917f129-11a9-459c-acf0-4edd2c494fc1 2025-07-21 12:12:41,771 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 12:12:41,771 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:41,784 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7c0290d3-be1a-4420-80b7-490d4c19b90b 2025-07-21 12:12:41,800 - INFO - Verified VN network id 9 for VN 9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:41,800 - INFO - Verifications in API Server for VN ctest-vn-17808537 passed 2025-07-21 12:12:41,800 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:41,810 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7c0290d3-be1a-4420-80b7-490d4c19b90b 2025-07-21 12:12:41,818 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7c0290d3-be1a-4420-80b7-490d4c19b90b 2025-07-21 12:12:41,825 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/e917f129-11a9-459c-acf0-4edd2c494fc1 2025-07-21 12:12:41,838 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-17808537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17579895', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10466826646016051088', 'uuid-lslong': '12543002448583257369'}, 'enable': 'true', 'created': '2025-07-21T12:12:39', 'last-modified': '2025-07-21T12:12:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398326'} 2025-07-21 12:12:41,844 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 12:12:41,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17808537 passed 2025-07-21 12:12:41,845 - DEBUG - ====Verifying policy data for ctest-vn-17808537 in API_Server ====== 2025-07-21 12:12:41,845 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:12:41,850 - DEBUG - Requesting: http://10.0.0.65:8082/domain/a39917a0-d3a9-4bc6-a909-11160314c285 2025-07-21 12:12:41,863 - DEBUG - Requesting: http://10.0.0.65:8082/project/d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:12:41,932 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/9141a361-0161-4790-ae11-b24574a8ed19 2025-07-21 12:12:41,943 - DEBUG - ==>Verifying data for policy with id: 09e8b8fe-b5cb-49b0-95c1-d0b4edcd4513, fqn: ['default-domain', 'ctest-TestBasicPolicy-17579895', 'ctest-policy-allow-all-13175130'] 2025-07-21 12:12:41,943 - INFO - VN ctest-vn-17808537 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 12:12:41,943 - DEBUG - Verifying the vn in opserver 2025-07-21 12:12:41,943 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-17808537 virtual network link through opserver 10.0.0.65 2025-07-21 12:12:41,943 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-21 12:12:41,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-17808537', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-17808537?flat'} 2025-07-21 12:12:41,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-17808537 is found in opserver 2025-07-21 12:12:41,966 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 12:12:41,971 - DEBUG - VRF ids for VN ctest-vn-17808537: {} 2025-07-21 12:12:42,028 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:12:43,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3678-1) 2025-07-21 12:12:44,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3678-1) 2025-07-21 12:12:44,278 - INFO - Waiting for VM ctest-TestBasicPolicy-17579895-67884858 to be up.. 2025-07-21 12:12:44,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 12:12:49,432 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:12:49,432 - INFO - VM name : ctest-TestBasicPolicy-17579895-67884858 2025-07-21 12:12:49,506 - DEBUG - VM ctest-TestBasicPolicy-17579895-67884858 ID is c8101f75-485a-44f7-9c99-f2f40477b137 2025-07-21 12:12:49,527 - DEBUG - VM ctest-TestBasicPolicy-17579895-67884858 launched on Node cn-jenkins-deploy-platform-ansible-os-3678-1 2025-07-21 12:12:49,595 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c8101f75-485a-44f7-9c99-f2f40477b137 2025-07-21 12:12:49,605 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/686aa812-dfc3-4168-bf19-c77febbe464b 2025-07-21 12:12:52,863 - 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 1019ms') 2025-07-21 12:12:52,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17579895-67884858 failed! 2025-07-21 12:12:52,922 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17579895:ctest-vn-37498650 is 163.73.197.193 and allocation pool is NOT set 2025-07-21 12:12:54,979 - 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=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 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.493/2.076/3.659/1.583 ms') 2025-07-21 12:12:54,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17579895-67884858 passed 2025-07-21 12:12:55,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:12:55,134 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17579895-67884858, IP 163.73.197.195, Port 22 2025-07-21 12:12:55,289 - DEBUG - VM ctest-TestBasicPolicy-17579895-67884858 is ready for SSH connections 2025-07-21 12:12:55,289 - INFO - Waiting for VM ctest-TestBasicPolicy-17579895-75769685 to be up.. 2025-07-21 12:12:55,362 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:12:55,362 - INFO - VM name : ctest-TestBasicPolicy-17579895-75769685 2025-07-21 12:12:55,430 - DEBUG - VM ctest-TestBasicPolicy-17579895-75769685 ID is f9b3e407-d94f-41df-aec5-b30c055871f3 2025-07-21 12:12:55,430 - DEBUG - VM ctest-TestBasicPolicy-17579895-75769685 launched on Node cn-jenkins-deploy-platform-ansible-os-3678-1 2025-07-21 12:12:55,498 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f9b3e407-d94f-41df-aec5-b30c055871f3 2025-07-21 12:12:55,506 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/66540845-6cba-4329-8a51-651e1ef13b09 2025-07-21 12:12:56,737 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.919/3.370/1.451 ms') 2025-07-21 12:12:56,737 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17579895-75769685 passed 2025-07-21 12:12:56,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:12:56,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17579895-75769685, IP 21.154.17.3, Port 22 2025-07-21 12:12:57,037 - DEBUG - VM ctest-TestBasicPolicy-17579895-75769685 is ready for SSH connections 2025-07-21 12:12:57,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:12:57,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.154.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-21 12:12:57,038 - DEBUG - ping -s 56 -c 3 -W 1 21.154.17.3 2025-07-21 12:13:00,719 - DEBUG - PING 21.154.17.3 (21.154.17.3): 56 data bytes 64 bytes from 21.154.17.3: seq=0 ttl=63 time=4.196 ms 64 bytes from 21.154.17.3: seq=1 ttl=63 time=0.798 ms 64 bytes from 21.154.17.3: seq=2 ttl=63 time=0.828 ms --- 21.154.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.940/4.196 ms 2025-07-21 12:13:00,719 - INFO - Ping to IP 21.154.17.3 from VM ctest-TestBasicPolicy-17579895-67884858 passed 2025-07-21 12:13:00,906 - DEBUG - Policy Update Response {"network-policy": {"uuid": "09e8b8fe-b5cb-49b0-95c1-d0b4edcd4513", "href": "http://10.0.0.65:8082/network-policy/09e8b8fe-b5cb-49b0-95c1-d0b4edcd4513"}} 2025-07-21 12:13:00,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:13:00,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.154.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-21 12:13:00,906 - DEBUG - ping -s 56 -c 3 -W 1 21.154.17.3 2025-07-21 12:13:04,113 - DEBUG - PING 21.154.17.3 (21.154.17.3): 56 data bytes --- 21.154.17.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 12:13:04,113 - WARNING - Ping to IP 21.154.17.3 from VM ctest-TestBasicPolicy-17579895-67884858 failed 2025-07-21 12:13:04,113 - INFO - Deleting VM ctest-TestBasicPolicy-17579895-75769685 2025-07-21 12:13:04,173 - INFO - Deleting VM ctest-TestBasicPolicy-17579895-67884858 2025-07-21 12:13:04,557 - INFO - Deleted policy ctest-policy-allow-all-13175130 2025-07-21 12:13:04,558 - INFO - Deleting VN ctest-vn-17808537 2025-07-21 12:13:04,596 - DEBUG - VN 9141a361-0161-4790-ae11-b24574a8ed19 still in use: Unable to complete operation on network 9141a361-0161-4790-ae11-b24574a8ed19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c719fda-ea6a-47a3-aa0d-682e0f8a6ee4'] 2025-07-21 12:13:04,596 - WARNING - Deleting VN ctest-vn-17808537 failed..Will retry 2025-07-21 12:13:06,693 - DEBUG - Response for deleting network () 2025-07-21 12:13:06,694 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7c0290d3-be1a-4420-80b7-490d4c19b90b 2025-07-21 12:13:06,701 - DEBUG - Response Code: 404 2025-07-21 12:13:06,701 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:13:06,709 - DEBUG - Requesting: http://10.0.0.65:8082/domain/a39917a0-d3a9-4bc6-a909-11160314c285 2025-07-21 12:13:06,764 - DEBUG - Requesting: http://10.0.0.65:8082/project/d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:13:06,840 - INFO - Validated that VN ctest-vn-17808537 is not found in API Server 2025-07-21 12:13:06,851 - DEBUG - VN ctest-vn-17808537 is not present in Agent 10.0.0.65 2025-07-21 12:13:06,851 - INFO - Validated that VN ctest-vn-17808537 is not in any agent 2025-07-21 12:13:06,869 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17808537 info 2025-07-21 12:13:06,869 - INFO - Deleting VN ctest-vn-37498650 2025-07-21 12:13:06,968 - DEBUG - Response for deleting network () 2025-07-21 12:13:06,968 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/200d49c7-96dd-4713-b975-ee188707c3bb 2025-07-21 12:13:06,975 - DEBUG - Response Code: 404 2025-07-21 12:13:06,975 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-21 12:13:06,980 - DEBUG - Requesting: http://10.0.0.65:8082/domain/a39917a0-d3a9-4bc6-a909-11160314c285 2025-07-21 12:13:07,035 - DEBUG - Requesting: http://10.0.0.65:8082/project/d9b78916-8e42-457f-b8aa-2d09115be924 2025-07-21 12:13:07,113 - INFO - Validated that VN ctest-vn-37498650 is not found in API Server 2025-07-21 12:13:07,124 - DEBUG - VN ctest-vn-37498650 is not present in Agent 10.0.0.65 2025-07-21 12:13:07,124 - INFO - Validated that VN ctest-vn-37498650 is not in any agent 2025-07-21 12:13:07,139 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37498650 info 2025-07-21 12:13:07,391 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 12:13:07,391 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-21 12:13:07,391 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:13:08,057 - INFO - Deleted project: ctest-TestBasicPolicy-17579895, ID : d9b78916-8e42-457f-b8aa-2d09115be924