2025-04-24 02:06:00,609 - INFO - Domain Default found not creating 2025-04-24 02:06:00,738 - INFO - Project ctest-TestBasicPolicy-56502885 not found, creating it 2025-04-24 02:06:01,175 - INFO - Created Project:ctest-TestBasicPolicy-56502885, ID : f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:02,565 - INFO - ================================================================================ 2025-04-24 02:06:02,565 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 02:06:02,565 - 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-24 02:06:02,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-04-24 02:06:02,818 - INFO - Initial checks done. Running the testcase now 2025-04-24 02:06:02,818 - INFO - 2025-04-24 02:06:03,335 - DEBUG - Response for create_network : {'network': {'id': '637b754e-13b5-45ff-8e51-a51c371154ea', 'name': 'ctest-vn-27422472', 'tenant_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'project_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-vn-27422472'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:06:03,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e607dce-3095-4b9b-9718-e9c1b68e36cd', 'name': '', 'tenant_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'network_id': '637b754e-13b5-45ff-8e51-a51c371154ea', 'ip_version': 4, 'cidr': '193.127.251.192/26', 'allocation_pools': [{'start': '193.127.251.194', 'end': '193.127.251.254'}], 'gateway_ip': '193.127.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.127.251.194', 'tags': [], 'project_id': 'f0bda1c6b90d431d93f7cc39a4e57c11'}} 2025-04-24 02:06:03,620 - INFO - Created VN ctest-vn-27422472 2025-04-24 02:06:03,673 - DEBUG - VN ctest-vn-27422472 UUID is 637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:03,995 - DEBUG - Response for create_network : {'network': {'id': '22205acd-47fd-46e5-b65a-37ac5d0261c7', 'name': 'ctest-vn-65327057', 'tenant_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'project_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-vn-65327057'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:06:04,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3f138f7-9293-4ab5-b7e9-a98c3e207143', 'name': '', 'tenant_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'network_id': '22205acd-47fd-46e5-b65a-37ac5d0261c7', 'ip_version': 4, 'cidr': '139.143.167.0/26', 'allocation_pools': [{'start': '139.143.167.2', 'end': '139.143.167.62'}], 'gateway_ip': '139.143.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.143.167.2', 'tags': [], 'project_id': 'f0bda1c6b90d431d93f7cc39a4e57c11'}} 2025-04-24 02:06:04,161 - INFO - Created VN ctest-vn-65327057 2025-04-24 02:06:04,213 - DEBUG - VN ctest-vn-65327057 UUID is 22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:04,361 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472, 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-56502885:ctest-vn-65327057, 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-24 02:06:04,663 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '637b754e-13b5-45ff-8e51-a51c371154ea', 'name': 'ctest-vn-27422472', 'tenant_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'project_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e607dce-3095-4b9b-9718-e9c1b68e36cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-vn-27422472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-policy-allow-all-44219427']], 'subnet_ipam': [{'subnet_cidr': '193.127.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:06:04,900 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22205acd-47fd-46e5-b65a-37ac5d0261c7', 'name': 'ctest-vn-65327057', 'tenant_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'project_id': 'f0bda1c6b90d431d93f7cc39a4e57c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3f138f7-9293-4ab5-b7e9-a98c3e207143'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-vn-65327057'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-policy-allow-all-44219427']], 'subnet_ipam': [{'subnet_cidr': '139.143.167.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:06:05,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:05,359 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:05,387 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a 2025-04-24 02:06:05,402 - DEBUG - Requesting: http://10.0.0.50:8082/project/f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:05,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:05,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:05,496 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a992552e-0dfc-405c-b288-fe71ec033a4c 2025-04-24 02:06:05,503 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a992552e-0dfc-405c-b288-fe71ec033a4c 2025-04-24 02:06:05,509 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49ce09fc-bc3b-442f-8a7a-5437d4814523 2025-04-24 02:06:05,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 02:06:05,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:05,522 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a992552e-0dfc-405c-b288-fe71ec033a4c 2025-04-24 02:06:05,536 - INFO - Verified VN network id 9 for VN 637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:05,536 - INFO - Verifications in API Server for VN ctest-vn-27422472 passed 2025-04-24 02:06:05,536 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:05,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a992552e-0dfc-405c-b288-fe71ec033a4c 2025-04-24 02:06:05,549 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a992552e-0dfc-405c-b288-fe71ec033a4c 2025-04-24 02:06:05,555 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49ce09fc-bc3b-442f-8a7a-5437d4814523 2025-04-24 02:06:05,565 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56502885', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7168452210088822271', 'uuid-lslong': '10255159367100880106'}, 'enable': 'true', 'created': '2025-04-24T02:06:03', 'last-modified': '2025-04-24T02:06:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931050'} 2025-04-24 02:06:05,571 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 02:06:05,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27422472 passed 2025-04-24 02:06:05,571 - DEBUG - ====Verifying policy data for ctest-vn-27422472 in API_Server ====== 2025-04-24 02:06:05,571 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:05,578 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a 2025-04-24 02:06:05,588 - DEBUG - Requesting: http://10.0.0.50:8082/project/f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:05,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/637b754e-13b5-45ff-8e51-a51c371154ea 2025-04-24 02:06:05,734 - DEBUG - ==>Verifying data for policy with id: 3419387d-0dfd-497e-b032-772e3784ac06, fqn: ['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-policy-allow-all-44219427'] 2025-04-24 02:06:05,734 - INFO - VN ctest-vn-27422472 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 02:06:05,734 - DEBUG - Verifying the vn in opserver 2025-04-24 02:06:05,734 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472 virtual network link through opserver 10.0.0.50 2025-04-24 02:06:05,734 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-24 02:06:06,026 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-24 02:06:06,104 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472?flat'} 2025-04-24 02:06:06,105 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472 is found in opserver 2025-04-24 02:06:06,117 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 02:06:06,123 - DEBUG - VRF ids for VN ctest-vn-27422472: {} 2025-04-24 02:06:06,124 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:06,151 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a 2025-04-24 02:06:06,223 - DEBUG - Requesting: http://10.0.0.50:8082/project/f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:06,305 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:06,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:06,343 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f5637f6-ccb9-4ba1-ab64-ad59823ac18c 2025-04-24 02:06:06,350 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f5637f6-ccb9-4ba1-ab64-ad59823ac18c 2025-04-24 02:06:06,357 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/08c6b853-a3f0-4c5c-9ecd-aeeca10482a8 2025-04-24 02:06:06,363 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 02:06:06,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:06,372 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f5637f6-ccb9-4ba1-ab64-ad59823ac18c 2025-04-24 02:06:06,385 - INFO - Verified VN network id 10 for VN 22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:06,385 - INFO - Verifications in API Server for VN ctest-vn-65327057 passed 2025-04-24 02:06:06,385 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:06,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f5637f6-ccb9-4ba1-ab64-ad59823ac18c 2025-04-24 02:06:06,399 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f5637f6-ccb9-4ba1-ab64-ad59823ac18c 2025-04-24 02:06:06,405 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/08c6b853-a3f0-4c5c-9ecd-aeeca10482a8 2025-04-24 02:06:06,415 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-65327057', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56502885', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2459065234266867429', 'uuid-lslong': '13139876076241183175'}, 'enable': 'true', 'created': '2025-04-24T02:06:03', 'last-modified': '2025-04-24T02:06:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.535591'} 2025-04-24 02:06:06,421 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 02:06:06,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65327057 passed 2025-04-24 02:06:06,421 - DEBUG - ====Verifying policy data for ctest-vn-65327057 in API_Server ====== 2025-04-24 02:06:06,421 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:06,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a 2025-04-24 02:06:06,436 - DEBUG - Requesting: http://10.0.0.50:8082/project/f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:06,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22205acd-47fd-46e5-b65a-37ac5d0261c7 2025-04-24 02:06:06,512 - DEBUG - ==>Verifying data for policy with id: 3419387d-0dfd-497e-b032-772e3784ac06, fqn: ['default-domain', 'ctest-TestBasicPolicy-56502885', 'ctest-policy-allow-all-44219427'] 2025-04-24 02:06:06,512 - INFO - VN ctest-vn-65327057 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 02:06:06,513 - DEBUG - Verifying the vn in opserver 2025-04-24 02:06:06,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-65327057 virtual network link through opserver 10.0.0.50 2025-04-24 02:06:06,513 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-24 02:06:06,521 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-65327057', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-65327057?flat'} 2025-04-24 02:06:06,522 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-65327057 is found in opserver 2025-04-24 02:06:06,531 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 02:06:06,536 - DEBUG - VRF ids for VN ctest-vn-65327057: {} 2025-04-24 02:06:06,586 - DEBUG - Services list from nova: [, , ] 2025-04-24 02:06:07,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3196-1) 2025-04-24 02:06:08,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3196-1) 2025-04-24 02:06:08,767 - INFO - Waiting for VM ctest-TestBasicPolicy-56502885-88103482 to be up.. 2025-04-24 02:06:08,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 02:06:13,911 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:06:13,911 - INFO - VM name : ctest-TestBasicPolicy-56502885-88103482 2025-04-24 02:06:14,000 - DEBUG - VM ctest-TestBasicPolicy-56502885-88103482 ID is 08a6ab12-8f7b-4976-98aa-c0add070c815 2025-04-24 02:06:14,020 - DEBUG - VM ctest-TestBasicPolicy-56502885-88103482 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1 2025-04-24 02:06:14,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/08a6ab12-8f7b-4976-98aa-c0add070c815 2025-04-24 02:06:14,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9433ea96-8a9f-47a9-9359-8b372fbd6054 2025-04-24 02:06:17,360 - 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 1011ms') 2025-04-24 02:06:17,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56502885-88103482 failed! 2025-04-24 02:06:17,413 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56502885:ctest-vn-27422472 is 193.127.251.193 and allocation pool is NOT set 2025-04-24 02:06:19,474 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.428 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.428/1.808/3.189/1.380 ms') 2025-04-24 02:06:19,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56502885-88103482 passed 2025-04-24 02:06:19,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:06:19,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56502885-88103482, IP 193.127.251.195, Port 22 2025-04-24 02:06:19,780 - DEBUG - VM ctest-TestBasicPolicy-56502885-88103482 is ready for SSH connections 2025-04-24 02:06:19,780 - INFO - Waiting for VM ctest-TestBasicPolicy-56502885-58874103 to be up.. 2025-04-24 02:06:19,860 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:06:19,860 - INFO - VM name : ctest-TestBasicPolicy-56502885-58874103 2025-04-24 02:06:19,938 - DEBUG - VM ctest-TestBasicPolicy-56502885-58874103 ID is 6cb282b4-0467-4aa3-92ea-65f0aea5850f 2025-04-24 02:06:19,939 - DEBUG - VM ctest-TestBasicPolicy-56502885-58874103 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1 2025-04-24 02:06:20,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6cb282b4-0467-4aa3-92ea-65f0aea5850f 2025-04-24 02:06:20,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4955ffa0-90d1-4bdb-ae28-8a7985165fa4 2025-04-24 02:06:21,256 - 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=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.554/2.737/1.182 ms') 2025-04-24 02:06:21,256 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56502885-58874103 passed 2025-04-24 02:06:21,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:06:21,409 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56502885-58874103, IP 139.143.167.3, Port 22 2025-04-24 02:06:21,560 - DEBUG - VM ctest-TestBasicPolicy-56502885-58874103 is ready for SSH connections 2025-04-24 02:06:21,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:06:21,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.143.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-24 02:06:21,561 - DEBUG - ping -s 56 -c 3 -W 1 139.143.167.3 2025-04-24 02:06:25,490 - DEBUG - PING 139.143.167.3 (139.143.167.3): 56 data bytes 64 bytes from 139.143.167.3: seq=0 ttl=63 time=4.344 ms 64 bytes from 139.143.167.3: seq=1 ttl=63 time=0.826 ms 64 bytes from 139.143.167.3: seq=2 ttl=63 time=0.738 ms --- 139.143.167.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/1.969/4.344 ms 2025-04-24 02:06:25,490 - INFO - Ping to IP 139.143.167.3 from VM ctest-TestBasicPolicy-56502885-88103482 passed 2025-04-24 02:06:25,665 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3419387d-0dfd-497e-b032-772e3784ac06", "href": "http://10.0.0.50:8082/network-policy/3419387d-0dfd-497e-b032-772e3784ac06"}} 2025-04-24 02:06:25,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:06:25,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.143.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-24 02:06:25,665 - DEBUG - ping -s 56 -c 3 -W 1 139.143.167.3 2025-04-24 02:06:28,873 - DEBUG - PING 139.143.167.3 (139.143.167.3): 56 data bytes --- 139.143.167.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 02:06:28,873 - WARNING - Ping to IP 139.143.167.3 from VM ctest-TestBasicPolicy-56502885-88103482 failed 2025-04-24 02:06:28,873 - INFO - Deleting VM ctest-TestBasicPolicy-56502885-58874103 2025-04-24 02:06:28,928 - INFO - Deleting VM ctest-TestBasicPolicy-56502885-88103482 2025-04-24 02:06:29,284 - INFO - Deleted policy ctest-policy-allow-all-44219427 2025-04-24 02:06:29,285 - INFO - Deleting VN ctest-vn-65327057 2025-04-24 02:06:29,316 - DEBUG - VN 22205acd-47fd-46e5-b65a-37ac5d0261c7 still in use: Unable to complete operation on network 22205acd-47fd-46e5-b65a-37ac5d0261c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2bd15888-44a9-44c1-93af-a15cbf0e2139'] 2025-04-24 02:06:29,316 - WARNING - Deleting VN ctest-vn-65327057 failed..Will retry 2025-04-24 02:06:31,414 - DEBUG - Response for deleting network () 2025-04-24 02:06:31,414 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f5637f6-ccb9-4ba1-ab64-ad59823ac18c 2025-04-24 02:06:31,420 - DEBUG - Response Code: 404 2025-04-24 02:06:31,420 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:31,424 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a 2025-04-24 02:06:31,477 - DEBUG - Requesting: http://10.0.0.50:8082/project/f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:31,545 - INFO - Validated that VN ctest-vn-65327057 is not found in API Server 2025-04-24 02:06:31,555 - DEBUG - VN ctest-vn-65327057 is not present in Agent 10.0.0.50 2025-04-24 02:06:31,555 - INFO - Validated that VN ctest-vn-65327057 is not in any agent 2025-04-24 02:06:31,570 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65327057 info 2025-04-24 02:06:31,570 - INFO - Deleting VN ctest-vn-27422472 2025-04-24 02:06:31,661 - DEBUG - Response for deleting network () 2025-04-24 02:06:31,661 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a992552e-0dfc-405c-b288-fe71ec033a4c 2025-04-24 02:06:31,668 - DEBUG - Response Code: 404 2025-04-24 02:06:31,668 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-24 02:06:31,674 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a 2025-04-24 02:06:31,725 - DEBUG - Requesting: http://10.0.0.50:8082/project/f0bda1c6-b90d-431d-93f7-cc39a4e57c11 2025-04-24 02:06:31,794 - INFO - Validated that VN ctest-vn-27422472 is not found in API Server 2025-04-24 02:06:31,806 - DEBUG - VN ctest-vn-27422472 is not present in Agent 10.0.0.50 2025-04-24 02:06:31,806 - INFO - Validated that VN ctest-vn-27422472 is not in any agent 2025-04-24 02:06:31,826 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27422472 info 2025-04-24 02:06:32,082 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:06:32,082 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-24 02:06:32,082 - INFO - -------------------------------------------------------------------------------- 2025-04-24 02:06:32,736 - INFO - Deleted project: ctest-TestBasicPolicy-56502885, ID : f0bda1c6-b90d-431d-93f7-cc39a4e57c11