2025-04-04 15:15:40,871 - INFO - Domain Default found not creating 2025-04-04 15:15:41,050 - INFO - Project ctest-TestBasicPolicy-64700274 not found, creating it 2025-04-04 15:15:41,516 - INFO - Created Project:ctest-TestBasicPolicy-64700274, ID : acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:15:43,072 - INFO - ================================================================================ 2025-04-04 15:15:43,073 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-04 15:15:43,073 - 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-04-04 15:15:43,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.26': '0'}} with 2025-04-04 15:15:43,333 - INFO - Initial checks done. Running the testcase now 2025-04-04 15:15:43,333 - INFO - 2025-04-04 15:15:43,899 - DEBUG - Response for create_network : {'network': {'id': '4027858d-f65d-4d9c-a430-1d5420a45feb', 'name': 'ctest-vn-23270297', 'tenant_id': 'acfb79ab7796455b96a45393a227c06d', 'project_id': 'acfb79ab7796455b96a45393a227c06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-vn-23270297'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:15:44,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '3dd871d0-43e6-4265-aa0b-3d6ae2eb0cf9', 'name': '', 'tenant_id': 'acfb79ab7796455b96a45393a227c06d', 'network_id': '4027858d-f65d-4d9c-a430-1d5420a45feb', 'ip_version': 4, 'cidr': '33.208.190.192/26', 'allocation_pools': [{'start': '33.208.190.194', 'end': '33.208.190.254'}], 'gateway_ip': '33.208.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.208.190.194', 'tags': [], 'project_id': 'acfb79ab7796455b96a45393a227c06d'}} 2025-04-04 15:15:44,137 - INFO - Created VN ctest-vn-23270297 2025-04-04 15:15:44,195 - DEBUG - VN ctest-vn-23270297 UUID is 4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:44,536 - DEBUG - Response for create_network : {'network': {'id': 'd404c76c-5e02-489c-8b1e-20819b7d0a22', 'name': 'ctest-vn-94960326', 'tenant_id': 'acfb79ab7796455b96a45393a227c06d', 'project_id': 'acfb79ab7796455b96a45393a227c06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-vn-94960326'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:15:44,773 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f292f72d-8874-4997-841b-d3e5308727fa', 'name': '', 'tenant_id': 'acfb79ab7796455b96a45393a227c06d', 'network_id': 'd404c76c-5e02-489c-8b1e-20819b7d0a22', 'ip_version': 4, 'cidr': '197.115.118.0/26', 'allocation_pools': [{'start': '197.115.118.2', 'end': '197.115.118.62'}], 'gateway_ip': '197.115.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.115.118.2', 'tags': [], 'project_id': 'acfb79ab7796455b96a45393a227c06d'}} 2025-04-04 15:15:44,793 - INFO - Created VN ctest-vn-94960326 2025-04-04 15:15:44,847 - DEBUG - VN ctest-vn-94960326 UUID is d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:44,967 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297, 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-64700274:ctest-vn-94960326, 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-04-04 15:15:45,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4027858d-f65d-4d9c-a430-1d5420a45feb', 'name': 'ctest-vn-23270297', 'tenant_id': 'acfb79ab7796455b96a45393a227c06d', 'project_id': 'acfb79ab7796455b96a45393a227c06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3dd871d0-43e6-4265-aa0b-3d6ae2eb0cf9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-vn-23270297'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-policy-allow-all-49122613']], 'subnet_ipam': [{'subnet_cidr': '33.208.190.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:15:45,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd404c76c-5e02-489c-8b1e-20819b7d0a22', 'name': 'ctest-vn-94960326', 'tenant_id': 'acfb79ab7796455b96a45393a227c06d', 'project_id': 'acfb79ab7796455b96a45393a227c06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f292f72d-8874-4997-841b-d3e5308727fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-vn-94960326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-policy-allow-all-49122613']], 'subnet_ipam': [{'subnet_cidr': '197.115.118.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:15:45,710 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:15:46,008 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:15:46,041 - DEBUG - Requesting: http://10.0.0.29:8082/domain/bfa57452-8050-4581-ac34-a31ff290556d 2025-04-04 15:15:46,056 - DEBUG - Requesting: http://10.0.0.29:8082/project/acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:15:46,134 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:46,147 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:46,159 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a76ea512-0448-4d9a-9026-6d5809e4f17b 2025-04-04 15:15:46,169 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a76ea512-0448-4d9a-9026-6d5809e4f17b 2025-04-04 15:15:46,178 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3a38454a-541f-4a90-b068-b91a54b7e5e1 2025-04-04 15:15:46,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-04 15:15:46,187 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:46,199 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a76ea512-0448-4d9a-9026-6d5809e4f17b 2025-04-04 15:15:46,218 - INFO - Verified VN network id 9 for VN 4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:46,218 - INFO - Verifications in API Server for VN ctest-vn-23270297 passed 2025-04-04 15:15:46,218 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:46,230 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a76ea512-0448-4d9a-9026-6d5809e4f17b 2025-04-04 15:15:46,238 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a76ea512-0448-4d9a-9026-6d5809e4f17b 2025-04-04 15:15:46,247 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3a38454a-541f-4a90-b068-b91a54b7e5e1 2025-04-04 15:15:46,262 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64700274', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4622810387289296284', 'uuid-lslong': '11830988468264394731'}, 'enable': 'true', 'created': '2025-04-04T15:15:43', 'last-modified': '2025-04-04T15:15:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003612'} 2025-04-04 15:15:46,270 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-04 15:15:46,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23270297 passed 2025-04-04 15:15:46,270 - DEBUG - ====Verifying policy data for ctest-vn-23270297 in API_Server ====== 2025-04-04 15:15:46,270 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:15:46,278 - DEBUG - Requesting: http://10.0.0.29:8082/domain/bfa57452-8050-4581-ac34-a31ff290556d 2025-04-04 15:15:46,295 - DEBUG - Requesting: http://10.0.0.29:8082/project/acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:15:46,373 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4027858d-f65d-4d9c-a430-1d5420a45feb 2025-04-04 15:15:46,385 - DEBUG - ==>Verifying data for policy with id: 4d1708bf-fee2-4615-a18a-10f957db50f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-policy-allow-all-49122613'] 2025-04-04 15:15:46,385 - INFO - VN ctest-vn-23270297 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-04 15:15:46,386 - DEBUG - Verifying the vn in opserver 2025-04-04 15:15:46,386 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297 virtual network link through opserver 10.0.0.29 2025-04-04 15:15:46,386 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-04-04 15:15:46,685 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-04-04 15:15:46,748 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297?flat'} 2025-04-04 15:15:46,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297 is found in opserver 2025-04-04 15:15:46,759 - DEBUG - Do not have enough data to verify VN in agent 2025-04-04 15:15:46,766 - DEBUG - VRF ids for VN ctest-vn-23270297: {} 2025-04-04 15:15:46,766 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:15:46,774 - DEBUG - Requesting: http://10.0.0.29:8082/domain/bfa57452-8050-4581-ac34-a31ff290556d 2025-04-04 15:15:46,788 - DEBUG - Requesting: http://10.0.0.29:8082/project/acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:15:46,862 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:46,877 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:46,891 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9573d968-a336-4311-87c8-368401b6555f 2025-04-04 15:15:46,901 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9573d968-a336-4311-87c8-368401b6555f 2025-04-04 15:15:46,910 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/48afa1b3-cc3c-448e-ae2b-a9ecb492a6f3 2025-04-04 15:15:46,918 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-04 15:15:46,918 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:46,928 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9573d968-a336-4311-87c8-368401b6555f 2025-04-04 15:15:46,945 - INFO - Verified VN network id 10 for VN d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:46,945 - INFO - Verifications in API Server for VN ctest-vn-94960326 passed 2025-04-04 15:15:46,945 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:46,956 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9573d968-a336-4311-87c8-368401b6555f 2025-04-04 15:15:46,964 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9573d968-a336-4311-87c8-368401b6555f 2025-04-04 15:15:46,972 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/48afa1b3-cc3c-448e-ae2b-a9ecb492a6f3 2025-04-04 15:15:46,985 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-94960326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64700274', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15277555104195168412', 'uuid-lslong': '10024485561604835874'}, 'enable': 'true', 'created': '2025-04-04T15:15:44', 'last-modified': '2025-04-04T15:15:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467001'} 2025-04-04 15:15:46,992 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-04 15:15:46,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94960326 passed 2025-04-04 15:15:46,993 - DEBUG - ====Verifying policy data for ctest-vn-94960326 in API_Server ====== 2025-04-04 15:15:46,993 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:15:47,002 - DEBUG - Requesting: http://10.0.0.29:8082/domain/bfa57452-8050-4581-ac34-a31ff290556d 2025-04-04 15:15:47,017 - DEBUG - Requesting: http://10.0.0.29:8082/project/acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:15:47,097 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d404c76c-5e02-489c-8b1e-20819b7d0a22 2025-04-04 15:15:47,109 - DEBUG - ==>Verifying data for policy with id: 4d1708bf-fee2-4615-a18a-10f957db50f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-64700274', 'ctest-policy-allow-all-49122613'] 2025-04-04 15:15:47,109 - INFO - VN ctest-vn-94960326 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-04 15:15:47,109 - DEBUG - Verifying the vn in opserver 2025-04-04 15:15:47,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-94960326 virtual network link through opserver 10.0.0.29 2025-04-04 15:15:47,109 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-04-04 15:15:47,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-94960326', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-94960326?flat'} 2025-04-04 15:15:47,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-94960326 is found in opserver 2025-04-04 15:15:47,133 - DEBUG - Do not have enough data to verify VN in agent 2025-04-04 15:15:47,139 - DEBUG - VRF ids for VN ctest-vn-94960326: {} 2025-04-04 15:15:47,196 - DEBUG - Services list from nova: [, , ] 2025-04-04 15:15:48,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3035-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3035-1) 2025-04-04 15:15:49,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3035-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3035-1) 2025-04-04 15:15:49,526 - INFO - Waiting for VM ctest-TestBasicPolicy-64700274-92001465 to be up.. 2025-04-04 15:15:49,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-04 15:15:54,714 - DEBUG - VM is in ACTIVE state now 2025-04-04 15:15:54,714 - INFO - VM name : ctest-TestBasicPolicy-64700274-92001465 2025-04-04 15:15:54,801 - DEBUG - VM ctest-TestBasicPolicy-64700274-92001465 ID is a5194c5d-8a03-4bee-9c97-a801cac26e93 2025-04-04 15:15:54,823 - DEBUG - VM ctest-TestBasicPolicy-64700274-92001465 launched on Node cn-jenkins-deploy-platform-ansible-os-3035-1 2025-04-04 15:15:54,907 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a5194c5d-8a03-4bee-9c97-a801cac26e93 2025-04-04 15:15:54,917 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/b1b62ece-87d1-43c0-ae90-21a7f556e7ba 2025-04-04 15:15:58,174 - 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 1010ms') 2025-04-04 15:15:58,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64700274-92001465 failed! 2025-04-04 15:15:58,231 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64700274:ctest-vn-23270297 is 33.208.190.193 and allocation pool is NOT set 2025-04-04 15:16:00,297 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.964 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.964/6.822/12.680/5.858 ms') 2025-04-04 15:16:00,297 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64700274-92001465 passed 2025-04-04 15:16:00,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:16:00,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64700274-92001465, IP 33.208.190.195, Port 22 2025-04-04 15:16:00,617 - DEBUG - VM ctest-TestBasicPolicy-64700274-92001465 is ready for SSH connections 2025-04-04 15:16:00,617 - INFO - Waiting for VM ctest-TestBasicPolicy-64700274-15732022 to be up.. 2025-04-04 15:16:00,714 - DEBUG - VM is in ACTIVE state now 2025-04-04 15:16:00,714 - INFO - VM name : ctest-TestBasicPolicy-64700274-15732022 2025-04-04 15:16:00,808 - DEBUG - VM ctest-TestBasicPolicy-64700274-15732022 ID is 5df0a3bf-31b9-44cf-b58e-6f3d53f54afd 2025-04-04 15:16:00,808 - DEBUG - VM ctest-TestBasicPolicy-64700274-15732022 launched on Node cn-jenkins-deploy-platform-ansible-os-3035-1 2025-04-04 15:16:00,905 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/5df0a3bf-31b9-44cf-b58e-6f3d53f54afd 2025-04-04 15:16:00,916 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/6e9f90b7-58b6-4330-bb53-e7f8df74d096 2025-04-04 15:16:02,182 - 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=5.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 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.060/3.609/5.159/1.549 ms') 2025-04-04 15:16:02,182 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64700274-15732022 passed 2025-04-04 15:16:02,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:16:02,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64700274-15732022, IP 197.115.118.3, Port 22 2025-04-04 15:16:02,509 - DEBUG - VM ctest-TestBasicPolicy-64700274-15732022 is ready for SSH connections 2025-04-04 15:16:02,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:16:02,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.115.118.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-04-04 15:16:02,510 - DEBUG - ping -s 56 -c 3 -W 1 197.115.118.3 2025-04-04 15:16:06,631 - DEBUG - PING 197.115.118.3 (197.115.118.3): 56 data bytes 64 bytes from 197.115.118.3: seq=0 ttl=63 time=5.234 ms 64 bytes from 197.115.118.3: seq=1 ttl=63 time=0.853 ms 64 bytes from 197.115.118.3: seq=2 ttl=63 time=1.213 ms --- 197.115.118.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.433/5.234 ms 2025-04-04 15:16:06,631 - INFO - Ping to IP 197.115.118.3 from VM ctest-TestBasicPolicy-64700274-92001465 passed 2025-04-04 15:16:06,822 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d1708bf-fee2-4615-a18a-10f957db50f4", "href": "http://10.0.0.29:8082/network-policy/4d1708bf-fee2-4615-a18a-10f957db50f4"}} 2025-04-04 15:16:06,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:16:06,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.115.118.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-04-04 15:16:06,823 - DEBUG - ping -s 56 -c 3 -W 1 197.115.118.3 2025-04-04 15:16:10,042 - DEBUG - PING 197.115.118.3 (197.115.118.3): 56 data bytes 64 bytes from 197.115.118.3: seq=0 ttl=63 time=1.628 ms --- 197.115.118.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.628/1.628/1.628 ms 2025-04-04 15:16:10,042 - WARNING - Ping to IP 197.115.118.3 from VM ctest-TestBasicPolicy-64700274-92001465 failed 2025-04-04 15:16:10,042 - INFO - Deleting VM ctest-TestBasicPolicy-64700274-15732022 2025-04-04 15:16:10,126 - INFO - Deleting VM ctest-TestBasicPolicy-64700274-92001465 2025-04-04 15:16:10,572 - INFO - Deleted policy ctest-policy-allow-all-49122613 2025-04-04 15:16:10,573 - INFO - Deleting VN ctest-vn-94960326 2025-04-04 15:16:10,622 - DEBUG - VN d404c76c-5e02-489c-8b1e-20819b7d0a22 still in use: Unable to complete operation on network d404c76c-5e02-489c-8b1e-20819b7d0a22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70640b4c-4f19-43fd-9a3c-78db124d5ffb'] 2025-04-04 15:16:10,622 - WARNING - Deleting VN ctest-vn-94960326 failed..Will retry 2025-04-04 15:16:12,735 - DEBUG - Response for deleting network () 2025-04-04 15:16:12,735 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9573d968-a336-4311-87c8-368401b6555f 2025-04-04 15:16:12,741 - DEBUG - Response Code: 404 2025-04-04 15:16:12,742 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:16:12,752 - DEBUG - Requesting: http://10.0.0.29:8082/domain/bfa57452-8050-4581-ac34-a31ff290556d 2025-04-04 15:16:12,815 - DEBUG - Requesting: http://10.0.0.29:8082/project/acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:16:12,900 - INFO - Validated that VN ctest-vn-94960326 is not found in API Server 2025-04-04 15:16:12,914 - DEBUG - VN ctest-vn-94960326 is not present in Agent 10.0.0.29 2025-04-04 15:16:12,914 - INFO - Validated that VN ctest-vn-94960326 is not in any agent 2025-04-04 15:16:12,936 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94960326 info 2025-04-04 15:16:12,936 - INFO - Deleting VN ctest-vn-23270297 2025-04-04 15:16:13,067 - DEBUG - Response for deleting network () 2025-04-04 15:16:13,067 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a76ea512-0448-4d9a-9026-6d5809e4f17b 2025-04-04 15:16:13,076 - DEBUG - Response Code: 404 2025-04-04 15:16:13,076 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-04 15:16:13,085 - DEBUG - Requesting: http://10.0.0.29:8082/domain/bfa57452-8050-4581-ac34-a31ff290556d 2025-04-04 15:16:13,141 - DEBUG - Requesting: http://10.0.0.29:8082/project/acfb79ab-7796-455b-96a4-5393a227c06d 2025-04-04 15:16:13,220 - INFO - Validated that VN ctest-vn-23270297 is not found in API Server 2025-04-04 15:16:13,234 - DEBUG - VN ctest-vn-23270297 is not present in Agent 10.0.0.29 2025-04-04 15:16:13,234 - INFO - Validated that VN ctest-vn-23270297 is not in any agent 2025-04-04 15:16:13,255 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23270297 info 2025-04-04 15:16:13,513 - DEBUG - No XMPP flaps were noticed during the test 2025-04-04 15:16:13,513 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-04 15:16:13,513 - INFO - -------------------------------------------------------------------------------- 2025-04-04 15:16:14,296 - INFO - Deleted project: ctest-TestBasicPolicy-64700274, ID : acfb79ab-7796-455b-96a4-5393a227c06d