2025-12-29 02:25:03,565 - INFO - Domain Default found not creating 2025-12-29 02:25:03,748 - INFO - Project ctest-TestBasicPolicy-42213170 not found, creating it 2025-12-29 02:25:04,455 - INFO - Created Project:ctest-TestBasicPolicy-42213170, ID : 41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:05,960 - INFO - ================================================================================ 2025-12-29 02:25:05,960 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-29 02:25:05,960 - 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-12-29 02:25:06,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.249': '0'}} with 2025-12-29 02:25:06,214 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:25:06,214 - INFO - 2025-12-29 02:25:06,810 - DEBUG - Response for create_network : {'network': {'id': 'a37680b5-da6d-4fec-91bd-b5da39c7aeea', 'name': 'ctest-vn-42877982', 'tenant_id': '41602ce250014ec7b68f4907b84c18a1', 'project_id': '41602ce250014ec7b68f4907b84c18a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-vn-42877982'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:25:06,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f98f2afc-2dec-4a43-b831-b0e5612ce216', 'name': '', 'tenant_id': '41602ce250014ec7b68f4907b84c18a1', 'network_id': 'a37680b5-da6d-4fec-91bd-b5da39c7aeea', 'ip_version': 4, 'cidr': '5.189.129.64/26', 'allocation_pools': [{'start': '5.189.129.66', 'end': '5.189.129.126'}], 'gateway_ip': '5.189.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.189.129.66', 'tags': [], 'project_id': '41602ce250014ec7b68f4907b84c18a1'}} 2025-12-29 02:25:07,003 - INFO - Created VN ctest-vn-42877982 2025-12-29 02:25:07,053 - DEBUG - VN ctest-vn-42877982 UUID is a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:07,362 - DEBUG - Response for create_network : {'network': {'id': 'cf6a2726-a320-4ccb-aa33-2c345ae19019', 'name': 'ctest-vn-36818241', 'tenant_id': '41602ce250014ec7b68f4907b84c18a1', 'project_id': '41602ce250014ec7b68f4907b84c18a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-vn-36818241'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:25:07,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '73af60af-86cb-4a09-9a5a-8c99c1c3868e', 'name': '', 'tenant_id': '41602ce250014ec7b68f4907b84c18a1', 'network_id': 'cf6a2726-a320-4ccb-aa33-2c345ae19019', 'ip_version': 4, 'cidr': '169.125.18.0/26', 'allocation_pools': [{'start': '169.125.18.2', 'end': '169.125.18.62'}], 'gateway_ip': '169.125.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.125.18.2', 'tags': [], 'project_id': '41602ce250014ec7b68f4907b84c18a1'}} 2025-12-29 02:25:07,558 - INFO - Created VN ctest-vn-36818241 2025-12-29 02:25:07,609 - DEBUG - VN ctest-vn-36818241 UUID is cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:07,757 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982, 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-42213170:ctest-vn-36818241, 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-12-29 02:25:08,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a37680b5-da6d-4fec-91bd-b5da39c7aeea', 'name': 'ctest-vn-42877982', 'tenant_id': '41602ce250014ec7b68f4907b84c18a1', 'project_id': '41602ce250014ec7b68f4907b84c18a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f98f2afc-2dec-4a43-b831-b0e5612ce216'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-vn-42877982'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-policy-allow-all-56995365']], 'subnet_ipam': [{'subnet_cidr': '5.189.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:25:08,248 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf6a2726-a320-4ccb-aa33-2c345ae19019', 'name': 'ctest-vn-36818241', 'tenant_id': '41602ce250014ec7b68f4907b84c18a1', 'project_id': '41602ce250014ec7b68f4907b84c18a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73af60af-86cb-4a09-9a5a-8c99c1c3868e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-vn-36818241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-policy-allow-all-56995365']], 'subnet_ipam': [{'subnet_cidr': '169.125.18.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:25:08,409 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:08,705 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:09,013 - DEBUG - Requesting: http://10.0.0.23:8082/domain/d180cc61-627f-419e-b966-85e514e3af0d 2025-12-29 02:25:09,023 - DEBUG - Requesting: http://10.0.0.23:8082/project/41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:09,103 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:09,112 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:09,120 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f31f4986-a6eb-43a0-8819-c6a0579aa9c3 2025-12-29 02:25:09,126 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f31f4986-a6eb-43a0-8819-c6a0579aa9c3 2025-12-29 02:25:09,131 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/0eaf3b95-9bf3-4d6f-8393-5eafc2e3be59 2025-12-29 02:25:09,135 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 02:25:09,135 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:09,142 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f31f4986-a6eb-43a0-8819-c6a0579aa9c3 2025-12-29 02:25:09,155 - INFO - Verified VN network id 9 for VN a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:09,155 - INFO - Verifications in API Server for VN ctest-vn-42877982 passed 2025-12-29 02:25:09,155 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:09,164 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f31f4986-a6eb-43a0-8819-c6a0579aa9c3 2025-12-29 02:25:09,170 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f31f4986-a6eb-43a0-8819-c6a0579aa9c3 2025-12-29 02:25:09,176 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/0eaf3b95-9bf3-4d6f-8393-5eafc2e3be59 2025-12-29 02:25:09,190 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42213170', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11778743393976143852', 'uuid-lslong': '10501749854974750442'}, 'enable': 'true', 'created': '2025-12-29T02:25:06', 'last-modified': '2025-12-29T02:25:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.172093'} 2025-12-29 02:25:09,196 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 02:25:09,196 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42877982 passed 2025-12-29 02:25:09,196 - DEBUG - ====Verifying policy data for ctest-vn-42877982 in API_Server ====== 2025-12-29 02:25:09,196 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:09,202 - DEBUG - Requesting: http://10.0.0.23:8082/domain/d180cc61-627f-419e-b966-85e514e3af0d 2025-12-29 02:25:09,213 - DEBUG - Requesting: http://10.0.0.23:8082/project/41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:09,284 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a37680b5-da6d-4fec-91bd-b5da39c7aeea 2025-12-29 02:25:09,292 - DEBUG - ==>Verifying data for policy with id: b685094b-a6f5-43f4-9451-2ed34743b54c, fqn: ['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-policy-allow-all-56995365'] 2025-12-29 02:25:09,292 - INFO - VN ctest-vn-42877982 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 02:25:09,292 - DEBUG - Verifying the vn in opserver 2025-12-29 02:25:09,292 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982 virtual network link through opserver 10.0.0.23 2025-12-29 02:25:09,293 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-29 02:25:09,643 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-29 02:25:09,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982?flat'} 2025-12-29 02:25:09,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982 is found in opserver 2025-12-29 02:25:09,726 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 02:25:09,731 - DEBUG - VRF ids for VN ctest-vn-42877982: {} 2025-12-29 02:25:09,731 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:09,736 - DEBUG - Requesting: http://10.0.0.23:8082/domain/d180cc61-627f-419e-b966-85e514e3af0d 2025-12-29 02:25:09,745 - DEBUG - Requesting: http://10.0.0.23:8082/project/41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:09,815 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:09,825 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:09,833 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/68ce1acc-09cd-488a-9d26-868056395a4c 2025-12-29 02:25:09,839 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/68ce1acc-09cd-488a-9d26-868056395a4c 2025-12-29 02:25:09,844 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6e5489a4-023f-48a9-85f8-57a7d6844d26 2025-12-29 02:25:09,849 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 02:25:09,849 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:09,857 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/68ce1acc-09cd-488a-9d26-868056395a4c 2025-12-29 02:25:09,868 - INFO - Verified VN network id 10 for VN cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:09,868 - INFO - Verifications in API Server for VN ctest-vn-36818241 passed 2025-12-29 02:25:09,868 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:09,886 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/68ce1acc-09cd-488a-9d26-868056395a4c 2025-12-29 02:25:09,893 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/68ce1acc-09cd-488a-9d26-868056395a4c 2025-12-29 02:25:09,899 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6e5489a4-023f-48a9-85f8-57a7d6844d26 2025-12-29 02:25:09,908 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-36818241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42213170', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14945801360281455819', 'uuid-lslong': '12264194813634646041'}, 'enable': 'true', 'created': '2025-12-29T02:25:07', 'last-modified': '2025-12-29T02:25:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.676558'} 2025-12-29 02:25:09,914 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 02:25:09,914 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36818241 passed 2025-12-29 02:25:09,914 - DEBUG - ====Verifying policy data for ctest-vn-36818241 in API_Server ====== 2025-12-29 02:25:09,914 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:09,918 - DEBUG - Requesting: http://10.0.0.23:8082/domain/d180cc61-627f-419e-b966-85e514e3af0d 2025-12-29 02:25:09,927 - DEBUG - Requesting: http://10.0.0.23:8082/project/41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:09,993 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cf6a2726-a320-4ccb-aa33-2c345ae19019 2025-12-29 02:25:10,001 - DEBUG - ==>Verifying data for policy with id: b685094b-a6f5-43f4-9451-2ed34743b54c, fqn: ['default-domain', 'ctest-TestBasicPolicy-42213170', 'ctest-policy-allow-all-56995365'] 2025-12-29 02:25:10,001 - INFO - VN ctest-vn-36818241 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 02:25:10,001 - DEBUG - Verifying the vn in opserver 2025-12-29 02:25:10,001 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-36818241 virtual network link through opserver 10.0.0.23 2025-12-29 02:25:10,001 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-29 02:25:10,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-36818241', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-36818241?flat'} 2025-12-29 02:25:10,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-36818241 is found in opserver 2025-12-29 02:25:10,019 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 02:25:10,023 - DEBUG - VRF ids for VN ctest-vn-36818241: {} 2025-12-29 02:25:10,078 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:25:11,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4933-1) 2025-12-29 02:25:12,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4933-1) 2025-12-29 02:25:12,298 - INFO - Waiting for VM ctest-TestBasicPolicy-42213170-75763893 to be up.. 2025-12-29 02:25:12,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:25:17,455 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:25:17,455 - INFO - VM name : ctest-TestBasicPolicy-42213170-75763893 2025-12-29 02:25:17,520 - DEBUG - VM ctest-TestBasicPolicy-42213170-75763893 ID is 66047558-b39e-4e13-899e-f6371a58f870 2025-12-29 02:25:17,538 - DEBUG - VM ctest-TestBasicPolicy-42213170-75763893 launched on Node cn-jenkins-deploy-platform-ansible-os-4933-1 2025-12-29 02:25:17,615 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/66047558-b39e-4e13-899e-f6371a58f870 2025-12-29 02:25:17,622 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e50448b2-28f8-454c-a22c-3a9368e5045d 2025-12-29 02:25:20,875 - 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-12-29 02:25:20,875 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42213170-75763893 failed! 2025-12-29 02:25:20,929 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42213170:ctest-vn-42877982 is 5.189.129.65 and allocation pool is NOT set 2025-12-29 02:25:22,988 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.575 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.575/1.843/3.112/1.268 ms') 2025-12-29 02:25:22,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42213170-75763893 passed 2025-12-29 02:25:23,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:23,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42213170-75763893, IP 5.189.129.67, Port 22 2025-12-29 02:25:23,298 - DEBUG - VM ctest-TestBasicPolicy-42213170-75763893 is ready for SSH connections 2025-12-29 02:25:23,298 - INFO - Waiting for VM ctest-TestBasicPolicy-42213170-20637088 to be up.. 2025-12-29 02:25:23,384 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:25:23,384 - INFO - VM name : ctest-TestBasicPolicy-42213170-20637088 2025-12-29 02:25:23,455 - DEBUG - VM ctest-TestBasicPolicy-42213170-20637088 ID is a603ce0f-8c21-47ae-b187-9c7d9cca5277 2025-12-29 02:25:23,455 - DEBUG - VM ctest-TestBasicPolicy-42213170-20637088 launched on Node cn-jenkins-deploy-platform-ansible-os-4933-1 2025-12-29 02:25:23,527 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a603ce0f-8c21-47ae-b187-9c7d9cca5277 2025-12-29 02:25:23,535 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/449cd99a-69fe-4754-8fd0-5ad03a731eb1 2025-12-29 02:25:24,762 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.698/2.992/1.294 ms') 2025-12-29 02:25:24,763 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42213170-20637088 passed 2025-12-29 02:25:24,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:24,913 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42213170-20637088, IP 169.125.18.3, Port 22 2025-12-29 02:25:25,085 - DEBUG - VM ctest-TestBasicPolicy-42213170-20637088 is ready for SSH connections 2025-12-29 02:25:25,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:25,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.125.18.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:25:25,085 - DEBUG - ping -s 56 -c 3 -W 1 169.125.18.3 2025-12-29 02:25:29,108 - DEBUG - PING 169.125.18.3 (169.125.18.3): 56 data bytes 64 bytes from 169.125.18.3: seq=0 ttl=63 time=3.980 ms 64 bytes from 169.125.18.3: seq=1 ttl=63 time=1.041 ms 64 bytes from 169.125.18.3: seq=2 ttl=63 time=0.814 ms --- 169.125.18.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.945/3.980 ms 2025-12-29 02:25:29,108 - INFO - Ping to IP 169.125.18.3 from VM ctest-TestBasicPolicy-42213170-75763893 passed 2025-12-29 02:25:29,281 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b685094b-a6f5-43f4-9451-2ed34743b54c", "href": "http://10.0.0.23:8082/network-policy/b685094b-a6f5-43f4-9451-2ed34743b54c"}} 2025-12-29 02:25:29,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:29,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.125.18.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:25:29,281 - DEBUG - ping -s 56 -c 3 -W 1 169.125.18.3 2025-12-29 02:25:32,499 - DEBUG - PING 169.125.18.3 (169.125.18.3): 56 data bytes --- 169.125.18.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:25:32,499 - WARNING - Ping to IP 169.125.18.3 from VM ctest-TestBasicPolicy-42213170-75763893 failed 2025-12-29 02:25:32,499 - INFO - Deleting VM ctest-TestBasicPolicy-42213170-20637088 2025-12-29 02:25:32,564 - INFO - Deleting VM ctest-TestBasicPolicy-42213170-75763893 2025-12-29 02:25:32,926 - INFO - Deleted policy ctest-policy-allow-all-56995365 2025-12-29 02:25:32,927 - INFO - Deleting VN ctest-vn-36818241 2025-12-29 02:25:32,957 - DEBUG - VN cf6a2726-a320-4ccb-aa33-2c345ae19019 still in use: Unable to complete operation on network cf6a2726-a320-4ccb-aa33-2c345ae19019. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-569f3d27-2179-49bb-9f8d-dd786fd6d8be'] 2025-12-29 02:25:32,957 - WARNING - Deleting VN ctest-vn-36818241 failed..Will retry 2025-12-29 02:25:35,065 - DEBUG - Response for deleting network () 2025-12-29 02:25:35,065 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/68ce1acc-09cd-488a-9d26-868056395a4c 2025-12-29 02:25:35,071 - DEBUG - Response Code: 404 2025-12-29 02:25:35,071 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:35,077 - DEBUG - Requesting: http://10.0.0.23:8082/domain/d180cc61-627f-419e-b966-85e514e3af0d 2025-12-29 02:25:35,129 - DEBUG - Requesting: http://10.0.0.23:8082/project/41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:35,195 - INFO - Validated that VN ctest-vn-36818241 is not found in API Server 2025-12-29 02:25:35,206 - DEBUG - VN ctest-vn-36818241 is not present in Agent 10.0.0.23 2025-12-29 02:25:35,206 - INFO - Validated that VN ctest-vn-36818241 is not in any agent 2025-12-29 02:25:35,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36818241 info 2025-12-29 02:25:35,220 - INFO - Deleting VN ctest-vn-42877982 2025-12-29 02:25:35,309 - DEBUG - Response for deleting network () 2025-12-29 02:25:35,309 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f31f4986-a6eb-43a0-8819-c6a0579aa9c3 2025-12-29 02:25:35,315 - DEBUG - Response Code: 404 2025-12-29 02:25:35,315 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-29 02:25:35,320 - DEBUG - Requesting: http://10.0.0.23:8082/domain/d180cc61-627f-419e-b966-85e514e3af0d 2025-12-29 02:25:35,369 - DEBUG - Requesting: http://10.0.0.23:8082/project/41602ce2-5001-4ec7-b68f-4907b84c18a1 2025-12-29 02:25:35,439 - INFO - Validated that VN ctest-vn-42877982 is not found in API Server 2025-12-29 02:25:35,448 - DEBUG - VN ctest-vn-42877982 is not present in Agent 10.0.0.23 2025-12-29 02:25:35,448 - INFO - Validated that VN ctest-vn-42877982 is not in any agent 2025-12-29 02:25:35,461 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42877982 info 2025-12-29 02:25:35,713 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:25:35,713 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-29 02:25:35,713 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:25:36,399 - INFO - Deleted project: ctest-TestBasicPolicy-42213170, ID : 41602ce2-5001-4ec7-b68f-4907b84c18a1