2025-11-20 14:34:45,529 - INFO - Domain Default found not creating 2025-11-20 14:34:45,699 - INFO - Project ctest-TestBasicPolicy-65620111 not found, creating it 2025-11-20 14:34:46,200 - INFO - Created Project:ctest-TestBasicPolicy-65620111, ID : 2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:34:47,870 - INFO - ================================================================================ 2025-11-20 14:34:47,870 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 14:34:47,871 - 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-11-20 14:34:48,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.136': {'10.20.0.218': '0'}} with 2025-11-20 14:34:48,129 - INFO - Initial checks done. Running the testcase now 2025-11-20 14:34:48,129 - INFO - 2025-11-20 14:34:48,685 - DEBUG - Response for create_network : {'network': {'id': '0bdfdb34-e022-41c0-b8f8-23a969f4ecf4', 'name': 'ctest-vn-76727474', 'tenant_id': '2feb7fa12f2048f4b6ed40141fc56184', 'project_id': '2feb7fa12f2048f4b6ed40141fc56184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-vn-76727474'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 14:34:48,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d3eb63a-cf14-4e95-a3d5-bba9ae660060', 'name': '', 'tenant_id': '2feb7fa12f2048f4b6ed40141fc56184', 'network_id': '0bdfdb34-e022-41c0-b8f8-23a969f4ecf4', 'ip_version': 4, 'cidr': '150.221.183.0/26', 'allocation_pools': [{'start': '150.221.183.2', 'end': '150.221.183.62'}], 'gateway_ip': '150.221.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.221.183.2', 'tags': [], 'project_id': '2feb7fa12f2048f4b6ed40141fc56184'}} 2025-11-20 14:34:48,899 - INFO - Created VN ctest-vn-76727474 2025-11-20 14:34:48,951 - DEBUG - VN ctest-vn-76727474 UUID is 0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:49,276 - DEBUG - Response for create_network : {'network': {'id': 'b50c0c10-58da-4c9b-8e44-06ef04bdf110', 'name': 'ctest-vn-23730095', 'tenant_id': '2feb7fa12f2048f4b6ed40141fc56184', 'project_id': '2feb7fa12f2048f4b6ed40141fc56184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-vn-23730095'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 14:34:49,495 - DEBUG - Response for create_subnet : {'subnet': {'id': '57e809d2-80b4-4aff-bcc2-bfda572652ab', 'name': '', 'tenant_id': '2feb7fa12f2048f4b6ed40141fc56184', 'network_id': 'b50c0c10-58da-4c9b-8e44-06ef04bdf110', 'ip_version': 4, 'cidr': '97.138.210.192/26', 'allocation_pools': [{'start': '97.138.210.194', 'end': '97.138.210.254'}], 'gateway_ip': '97.138.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.138.210.194', 'tags': [], 'project_id': '2feb7fa12f2048f4b6ed40141fc56184'}} 2025-11-20 14:34:49,515 - INFO - Created VN ctest-vn-23730095 2025-11-20 14:34:49,567 - DEBUG - VN ctest-vn-23730095 UUID is b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:49,679 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474, 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-65620111:ctest-vn-23730095, 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-11-20 14:34:49,983 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0bdfdb34-e022-41c0-b8f8-23a969f4ecf4', 'name': 'ctest-vn-76727474', 'tenant_id': '2feb7fa12f2048f4b6ed40141fc56184', 'project_id': '2feb7fa12f2048f4b6ed40141fc56184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d3eb63a-cf14-4e95-a3d5-bba9ae660060'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-vn-76727474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-policy-allow-all-96145152']], 'subnet_ipam': [{'subnet_cidr': '150.221.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 14:34:50,325 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b50c0c10-58da-4c9b-8e44-06ef04bdf110', 'name': 'ctest-vn-23730095', 'tenant_id': '2feb7fa12f2048f4b6ed40141fc56184', 'project_id': '2feb7fa12f2048f4b6ed40141fc56184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57e809d2-80b4-4aff-bcc2-bfda572652ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-vn-23730095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-policy-allow-all-96145152']], 'subnet_ipam': [{'subnet_cidr': '97.138.210.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 14:34:50,519 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:34:50,837 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:34:50,886 - DEBUG - Requesting: http://10.0.0.136:8082/domain/20a2c035-69a8-436f-bf67-7a856b884082 2025-11-20 14:34:50,900 - DEBUG - Requesting: http://10.0.0.136:8082/project/2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:34:50,979 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:50,990 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:51,000 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/9da52532-3eec-4be8-9328-6dff7391575f 2025-11-20 14:34:51,009 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/9da52532-3eec-4be8-9328-6dff7391575f 2025-11-20 14:34:51,017 - DEBUG - Requesting: http://10.0.0.136:8082/route-target/e3d0a30d-61cd-4521-918c-dcc268e9600d 2025-11-20 14:34:51,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 14:34:51,024 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:51,034 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/9da52532-3eec-4be8-9328-6dff7391575f 2025-11-20 14:34:51,050 - INFO - Verified VN network id 12 for VN 0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:51,050 - INFO - Verifications in API Server for VN ctest-vn-76727474 passed 2025-11-20 14:34:51,050 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:51,062 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/9da52532-3eec-4be8-9328-6dff7391575f 2025-11-20 14:34:51,072 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/9da52532-3eec-4be8-9328-6dff7391575f 2025-11-20 14:34:51,081 - DEBUG - Requesting: http://10.0.0.136:8082/route-target/e3d0a30d-61cd-4521-918c-dcc268e9600d 2025-11-20 14:34:51,097 - DEBUG - Control-node 10.0.0.136 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65620111', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '855643474368807360', 'uuid-lslong': '13328442307737087220'}, 'enable': 'true', 'created': '2025-11-20T14:34:48', 'last-modified': '2025-11-20T14:34:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.140335'} 2025-11-20 14:34:51,103 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 14:34:51,103 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76727474 passed 2025-11-20 14:34:51,103 - DEBUG - ====Verifying policy data for ctest-vn-76727474 in API_Server ====== 2025-11-20 14:34:51,103 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:34:51,108 - DEBUG - Requesting: http://10.0.0.136:8082/domain/20a2c035-69a8-436f-bf67-7a856b884082 2025-11-20 14:34:51,120 - DEBUG - Requesting: http://10.0.0.136:8082/project/2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:34:51,192 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/0bdfdb34-e022-41c0-b8f8-23a969f4ecf4 2025-11-20 14:34:51,203 - DEBUG - ==>Verifying data for policy with id: afd18d85-93a9-4b1d-9c35-af1454c5adf2, fqn: ['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-policy-allow-all-96145152'] 2025-11-20 14:34:51,203 - INFO - VN ctest-vn-76727474 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 14:34:51,203 - DEBUG - Verifying the vn in opserver 2025-11-20 14:34:51,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474 virtual network link through opserver 10.0.0.136 2025-11-20 14:34:51,203 - DEBUG - Requesting: http://10.0.0.136:8081/analytics/uves/virtual-networks 2025-11-20 14:34:51,506 - DEBUG - Requesting: http://10.0.0.136:8081/analytics/uves/virtual-networks 2025-11-20 14:34:51,571 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474', 'href': 'http://10.0.0.136:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474?flat'} 2025-11-20 14:34:51,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474 is found in opserver 2025-11-20 14:34:51,582 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 14:34:51,586 - DEBUG - VRF ids for VN ctest-vn-76727474: {} 2025-11-20 14:34:51,586 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:34:51,593 - DEBUG - Requesting: http://10.0.0.136:8082/domain/20a2c035-69a8-436f-bf67-7a856b884082 2025-11-20 14:34:51,609 - DEBUG - Requesting: http://10.0.0.136:8082/project/2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:34:51,688 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:51,704 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:51,716 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/2e7008e9-27b5-4412-8077-9bbfab8f72db 2025-11-20 14:34:51,725 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/2e7008e9-27b5-4412-8077-9bbfab8f72db 2025-11-20 14:34:51,734 - DEBUG - Requesting: http://10.0.0.136:8082/route-target/ca9be386-e4ef-4ac2-bc82-ea2d9721fcad 2025-11-20 14:34:51,744 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 14:34:51,745 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:51,756 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/2e7008e9-27b5-4412-8077-9bbfab8f72db 2025-11-20 14:34:51,773 - INFO - Verified VN network id 13 for VN b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:51,773 - INFO - Verifications in API Server for VN ctest-vn-23730095 passed 2025-11-20 14:34:51,773 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:51,786 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/2e7008e9-27b5-4412-8077-9bbfab8f72db 2025-11-20 14:34:51,796 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/2e7008e9-27b5-4412-8077-9bbfab8f72db 2025-11-20 14:34:51,806 - DEBUG - Requesting: http://10.0.0.136:8082/route-target/ca9be386-e4ef-4ac2-bc82-ea2d9721fcad 2025-11-20 14:34:51,823 - DEBUG - Control-node 10.0.0.136 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-23730095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65620111', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13045815484935195803', 'uuid-lslong': '10251326275448598800'}, 'enable': 'true', 'created': '2025-11-20T14:34:49', 'last-modified': '2025-11-20T14:34:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.550256'} 2025-11-20 14:34:51,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 14:34:51,830 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23730095 passed 2025-11-20 14:34:51,830 - DEBUG - ====Verifying policy data for ctest-vn-23730095 in API_Server ====== 2025-11-20 14:34:51,830 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:34:51,836 - DEBUG - Requesting: http://10.0.0.136:8082/domain/20a2c035-69a8-436f-bf67-7a856b884082 2025-11-20 14:34:51,848 - DEBUG - Requesting: http://10.0.0.136:8082/project/2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:34:51,923 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-network/b50c0c10-58da-4c9b-8e44-06ef04bdf110 2025-11-20 14:34:51,941 - DEBUG - ==>Verifying data for policy with id: afd18d85-93a9-4b1d-9c35-af1454c5adf2, fqn: ['default-domain', 'ctest-TestBasicPolicy-65620111', 'ctest-policy-allow-all-96145152'] 2025-11-20 14:34:51,941 - INFO - VN ctest-vn-23730095 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 14:34:51,941 - DEBUG - Verifying the vn in opserver 2025-11-20 14:34:51,941 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-23730095 virtual network link through opserver 10.0.0.136 2025-11-20 14:34:51,941 - DEBUG - Requesting: http://10.0.0.136:8081/analytics/uves/virtual-networks 2025-11-20 14:34:51,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-23730095', 'href': 'http://10.0.0.136:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-23730095?flat'} 2025-11-20 14:34:51,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-23730095 is found in opserver 2025-11-20 14:34:51,964 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 14:34:51,969 - DEBUG - VRF ids for VN ctest-vn-23730095: {} 2025-11-20 14:34:52,036 - DEBUG - Services list from nova: [, , ] 2025-11-20 14:34:53,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4777-1) 2025-11-20 14:34:54,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4777-1) 2025-11-20 14:34:54,379 - INFO - Waiting for VM ctest-TestBasicPolicy-65620111-00000678 to be up.. 2025-11-20 14:34:54,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 14:34:59,568 - DEBUG - VM is in ACTIVE state now 2025-11-20 14:34:59,568 - INFO - VM name : ctest-TestBasicPolicy-65620111-00000678 2025-11-20 14:34:59,638 - DEBUG - VM ctest-TestBasicPolicy-65620111-00000678 ID is 4a5daa28-9ea9-4ace-9ede-93a02e049f5b 2025-11-20 14:34:59,656 - DEBUG - VM ctest-TestBasicPolicy-65620111-00000678 launched on Node cn-jenkins-deploy-platform-ansible-os-4777-1 2025-11-20 14:34:59,736 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/4a5daa28-9ea9-4ace-9ede-93a02e049f5b 2025-11-20 14:34:59,745 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/1f39910b-b72d-447d-abb4-35f6721b207e 2025-11-20 14:35:03,006 - 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-11-20 14:35:03,006 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65620111-00000678 failed! 2025-11-20 14:35:03,063 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65620111:ctest-vn-76727474 is 150.221.183.1 and allocation pool is NOT set 2025-11-20 14:35:05,130 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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 = 2.687/4.223/5.760/1.536 ms') 2025-11-20 14:35:05,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65620111-00000678 passed 2025-11-20 14:35:05,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:05,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65620111-00000678, IP 150.221.183.3, Port 22 2025-11-20 14:35:05,443 - DEBUG - VM ctest-TestBasicPolicy-65620111-00000678 is ready for SSH connections 2025-11-20 14:35:05,443 - INFO - Waiting for VM ctest-TestBasicPolicy-65620111-96374313 to be up.. 2025-11-20 14:35:05,520 - DEBUG - VM is in ACTIVE state now 2025-11-20 14:35:05,520 - INFO - VM name : ctest-TestBasicPolicy-65620111-96374313 2025-11-20 14:35:05,598 - DEBUG - VM ctest-TestBasicPolicy-65620111-96374313 ID is d7e756ec-25df-4bb0-9bc6-445517d2eb18 2025-11-20 14:35:05,598 - DEBUG - VM ctest-TestBasicPolicy-65620111-96374313 launched on Node cn-jenkins-deploy-platform-ansible-os-4777-1 2025-11-20 14:35:05,674 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/d7e756ec-25df-4bb0-9bc6-445517d2eb18 2025-11-20 14:35:05,685 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/e4e8e63f-6b80-4d55-8467-a197c54af562 2025-11-20 14:35:06,939 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.56 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 = 1.560/3.435/5.311/1.875 ms') 2025-11-20 14:35:06,940 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65620111-96374313 passed 2025-11-20 14:35:07,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:07,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65620111-96374313, IP 97.138.210.195, Port 22 2025-11-20 14:35:07,251 - DEBUG - VM ctest-TestBasicPolicy-65620111-96374313 is ready for SSH connections 2025-11-20 14:35:07,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:07,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.138.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.136, gateway password: c0ntrail123 2025-11-20 14:35:07,252 - DEBUG - ping -s 56 -c 3 -W 1 97.138.210.195 2025-11-20 14:35:11,311 - DEBUG - PING 97.138.210.195 (97.138.210.195): 56 data bytes 64 bytes from 97.138.210.195: seq=0 ttl=63 time=4.217 ms 64 bytes from 97.138.210.195: seq=1 ttl=63 time=1.010 ms 64 bytes from 97.138.210.195: seq=2 ttl=63 time=1.053 ms --- 97.138.210.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/2.093/4.217 ms 2025-11-20 14:35:11,311 - INFO - Ping to IP 97.138.210.195 from VM ctest-TestBasicPolicy-65620111-00000678 passed 2025-11-20 14:35:11,487 - DEBUG - Policy Update Response {"network-policy": {"uuid": "afd18d85-93a9-4b1d-9c35-af1454c5adf2", "href": "http://10.0.0.136:8082/network-policy/afd18d85-93a9-4b1d-9c35-af1454c5adf2"}} 2025-11-20 14:35:11,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:11,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.138.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.136, gateway password: c0ntrail123 2025-11-20 14:35:11,488 - DEBUG - ping -s 56 -c 3 -W 1 97.138.210.195 2025-11-20 14:35:14,738 - DEBUG - PING 97.138.210.195 (97.138.210.195): 56 data bytes --- 97.138.210.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 14:35:14,738 - WARNING - Ping to IP 97.138.210.195 from VM ctest-TestBasicPolicy-65620111-00000678 failed 2025-11-20 14:35:14,738 - INFO - Deleting VM ctest-TestBasicPolicy-65620111-96374313 2025-11-20 14:35:14,808 - INFO - Deleting VM ctest-TestBasicPolicy-65620111-00000678 2025-11-20 14:35:15,211 - INFO - Deleted policy ctest-policy-allow-all-96145152 2025-11-20 14:35:15,211 - INFO - Deleting VN ctest-vn-23730095 2025-11-20 14:35:15,254 - DEBUG - VN b50c0c10-58da-4c9b-8e44-06ef04bdf110 still in use: Unable to complete operation on network b50c0c10-58da-4c9b-8e44-06ef04bdf110. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c977b2f5-b0b7-4173-8f3c-cd3bcf3ab71a'] 2025-11-20 14:35:15,254 - WARNING - Deleting VN ctest-vn-23730095 failed..Will retry 2025-11-20 14:35:17,359 - DEBUG - Response for deleting network () 2025-11-20 14:35:17,359 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/2e7008e9-27b5-4412-8077-9bbfab8f72db 2025-11-20 14:35:17,365 - DEBUG - Response Code: 404 2025-11-20 14:35:17,365 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:35:17,375 - DEBUG - Requesting: http://10.0.0.136:8082/domain/20a2c035-69a8-436f-bf67-7a856b884082 2025-11-20 14:35:17,428 - DEBUG - Requesting: http://10.0.0.136:8082/project/2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:35:17,502 - INFO - Validated that VN ctest-vn-23730095 is not found in API Server 2025-11-20 14:35:17,515 - DEBUG - VN ctest-vn-23730095 is not present in Agent 10.0.0.136 2025-11-20 14:35:17,515 - INFO - Validated that VN ctest-vn-23730095 is not in any agent 2025-11-20 14:35:17,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23730095 info 2025-11-20 14:35:17,535 - INFO - Deleting VN ctest-vn-76727474 2025-11-20 14:35:17,639 - DEBUG - Response for deleting network () 2025-11-20 14:35:17,639 - DEBUG - Requesting: http://10.0.0.136:8082/routing-instance/9da52532-3eec-4be8-9328-6dff7391575f 2025-11-20 14:35:17,645 - DEBUG - Response Code: 404 2025-11-20 14:35:17,646 - DEBUG - Requesting: http://10.0.0.136:8082/domains 2025-11-20 14:35:17,651 - DEBUG - Requesting: http://10.0.0.136:8082/domain/20a2c035-69a8-436f-bf67-7a856b884082 2025-11-20 14:35:17,704 - DEBUG - Requesting: http://10.0.0.136:8082/project/2feb7fa1-2f20-48f4-b6ed-40141fc56184 2025-11-20 14:35:17,779 - INFO - Validated that VN ctest-vn-76727474 is not found in API Server 2025-11-20 14:35:17,792 - DEBUG - VN ctest-vn-76727474 is not present in Agent 10.0.0.136 2025-11-20 14:35:17,792 - INFO - Validated that VN ctest-vn-76727474 is not in any agent 2025-11-20 14:35:17,809 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76727474 info 2025-11-20 14:35:18,080 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 14:35:18,080 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-11-20 14:35:18,080 - INFO - -------------------------------------------------------------------------------- 2025-11-20 14:35:18,802 - INFO - Deleted project: ctest-TestBasicPolicy-65620111, ID : 2feb7fa1-2f20-48f4-b6ed-40141fc56184