2025-11-10 21:18:57,488 - INFO - Domain Default found not creating 2025-11-10 21:18:57,636 - INFO - Project ctest-TestBasicPolicy-08735887 not found, creating it 2025-11-10 21:18:58,104 - INFO - Created Project:ctest-TestBasicPolicy-08735887, ID : 4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:18:59,560 - INFO - ================================================================================ 2025-11-10 21:18:59,560 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-10 21:18:59,560 - 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-10 21:18:59,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-11-10 21:18:59,816 - INFO - Initial checks done. Running the testcase now 2025-11-10 21:18:59,817 - INFO - 2025-11-10 21:19:00,399 - DEBUG - Response for create_network : {'network': {'id': '7db4f39e-3bb7-441c-a67f-f90052109a81', 'name': 'ctest-vn-55063369', 'tenant_id': '4b05ee23efa84ec094038bfc386f3ca5', 'project_id': '4b05ee23efa84ec094038bfc386f3ca5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-vn-55063369'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 21:19:00,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f993521-caac-47ee-8ae0-2c49bf80600a', 'name': '', 'tenant_id': '4b05ee23efa84ec094038bfc386f3ca5', 'network_id': '7db4f39e-3bb7-441c-a67f-f90052109a81', 'ip_version': 4, 'cidr': '25.183.4.0/26', 'allocation_pools': [{'start': '25.183.4.2', 'end': '25.183.4.62'}], 'gateway_ip': '25.183.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.183.4.2', 'tags': [], 'project_id': '4b05ee23efa84ec094038bfc386f3ca5'}} 2025-11-10 21:19:00,607 - INFO - Created VN ctest-vn-55063369 2025-11-10 21:19:00,659 - DEBUG - VN ctest-vn-55063369 UUID is 7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:00,949 - DEBUG - Response for create_network : {'network': {'id': 'dd2a44a0-7698-4cf1-b182-0e125351b100', 'name': 'ctest-vn-90842350', 'tenant_id': '4b05ee23efa84ec094038bfc386f3ca5', 'project_id': '4b05ee23efa84ec094038bfc386f3ca5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-vn-90842350'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 21:19:01,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf2ce378-e55c-449c-a22c-cce4b296a199', 'name': '', 'tenant_id': '4b05ee23efa84ec094038bfc386f3ca5', 'network_id': 'dd2a44a0-7698-4cf1-b182-0e125351b100', 'ip_version': 4, 'cidr': '201.57.124.64/26', 'allocation_pools': [{'start': '201.57.124.66', 'end': '201.57.124.126'}], 'gateway_ip': '201.57.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.57.124.66', 'tags': [], 'project_id': '4b05ee23efa84ec094038bfc386f3ca5'}} 2025-11-10 21:19:01,167 - INFO - Created VN ctest-vn-90842350 2025-11-10 21:19:01,219 - DEBUG - VN ctest-vn-90842350 UUID is dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:01,336 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369, 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-08735887:ctest-vn-90842350, 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-10 21:19:01,639 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7db4f39e-3bb7-441c-a67f-f90052109a81', 'name': 'ctest-vn-55063369', 'tenant_id': '4b05ee23efa84ec094038bfc386f3ca5', 'project_id': '4b05ee23efa84ec094038bfc386f3ca5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f993521-caac-47ee-8ae0-2c49bf80600a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-vn-55063369'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-policy-allow-all-07486006']], 'subnet_ipam': [{'subnet_cidr': '25.183.4.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 21:19:01,914 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd2a44a0-7698-4cf1-b182-0e125351b100', 'name': 'ctest-vn-90842350', 'tenant_id': '4b05ee23efa84ec094038bfc386f3ca5', 'project_id': '4b05ee23efa84ec094038bfc386f3ca5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf2ce378-e55c-449c-a22c-cce4b296a199'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-vn-90842350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-policy-allow-all-07486006']], 'subnet_ipam': [{'subnet_cidr': '201.57.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 21:19:02,063 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:02,360 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:02,390 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4baaae83-4e16-48cc-88ed-1396e487d748 2025-11-10 21:19:02,403 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:19:02,478 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:02,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:02,501 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdb5a05b-8bdc-42b4-bf58-5114656ec892 2025-11-10 21:19:02,508 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdb5a05b-8bdc-42b4-bf58-5114656ec892 2025-11-10 21:19:02,515 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8c8cf7f3-ab86-455c-8d10-a1252e1ecdf7 2025-11-10 21:19:02,521 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 21:19:02,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:02,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdb5a05b-8bdc-42b4-bf58-5114656ec892 2025-11-10 21:19:02,543 - INFO - Verified VN network id 11 for VN 7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:02,543 - INFO - Verifications in API Server for VN ctest-vn-55063369 passed 2025-11-10 21:19:02,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:02,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdb5a05b-8bdc-42b4-bf58-5114656ec892 2025-11-10 21:19:02,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdb5a05b-8bdc-42b4-bf58-5114656ec892 2025-11-10 21:19:02,567 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8c8cf7f3-ab86-455c-8d10-a1252e1ecdf7 2025-11-10 21:19:02,580 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08735887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9058132611481158684', 'uuid-lslong': '11997581712110426753'}, 'enable': 'true', 'created': '2025-11-10T21:19:00', 'last-modified': '2025-11-10T21:19:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966815'} 2025-11-10 21:19:02,586 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 21:19:02,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55063369 passed 2025-11-10 21:19:02,586 - DEBUG - ====Verifying policy data for ctest-vn-55063369 in API_Server ====== 2025-11-10 21:19:02,586 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:02,591 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4baaae83-4e16-48cc-88ed-1396e487d748 2025-11-10 21:19:02,602 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:19:02,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7db4f39e-3bb7-441c-a67f-f90052109a81 2025-11-10 21:19:02,682 - DEBUG - ==>Verifying data for policy with id: fd86b828-62e5-4c8b-b9c7-75781c40d55b, fqn: ['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-policy-allow-all-07486006'] 2025-11-10 21:19:02,683 - INFO - VN ctest-vn-55063369 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 21:19:02,683 - DEBUG - Verifying the vn in opserver 2025-11-10 21:19:02,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369 virtual network link through opserver 10.0.0.38 2025-11-10 21:19:02,683 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-10 21:19:02,985 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-10 21:19:03,045 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369?flat'} 2025-11-10 21:19:03,045 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369 is found in opserver 2025-11-10 21:19:03,055 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 21:19:03,059 - DEBUG - VRF ids for VN ctest-vn-55063369: {} 2025-11-10 21:19:03,059 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:03,064 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4baaae83-4e16-48cc-88ed-1396e487d748 2025-11-10 21:19:03,076 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:19:03,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:03,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:03,165 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd1e05ba-0e12-4933-81a3-f9ff1fc35b05 2025-11-10 21:19:03,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd1e05ba-0e12-4933-81a3-f9ff1fc35b05 2025-11-10 21:19:03,178 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e1cc2e6d-641c-42e5-94c9-968b48106a22 2025-11-10 21:19:03,184 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 21:19:03,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:03,192 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd1e05ba-0e12-4933-81a3-f9ff1fc35b05 2025-11-10 21:19:03,205 - INFO - Verified VN network id 12 for VN dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:03,205 - INFO - Verifications in API Server for VN ctest-vn-90842350 passed 2025-11-10 21:19:03,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:03,213 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd1e05ba-0e12-4933-81a3-f9ff1fc35b05 2025-11-10 21:19:03,220 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd1e05ba-0e12-4933-81a3-f9ff1fc35b05 2025-11-10 21:19:03,225 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e1cc2e6d-641c-42e5-94c9-968b48106a22 2025-11-10 21:19:03,235 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-90842350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08735887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15936625687379070193', 'uuid-lslong': '12790801363555692800'}, 'enable': 'true', 'created': '2025-11-10T21:19:00', 'last-modified': '2025-11-10T21:19:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393068'} 2025-11-10 21:19:03,240 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 21:19:03,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90842350 passed 2025-11-10 21:19:03,241 - DEBUG - ====Verifying policy data for ctest-vn-90842350 in API_Server ====== 2025-11-10 21:19:03,241 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:03,246 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4baaae83-4e16-48cc-88ed-1396e487d748 2025-11-10 21:19:03,255 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:19:03,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd2a44a0-7698-4cf1-b182-0e125351b100 2025-11-10 21:19:03,332 - DEBUG - ==>Verifying data for policy with id: fd86b828-62e5-4c8b-b9c7-75781c40d55b, fqn: ['default-domain', 'ctest-TestBasicPolicy-08735887', 'ctest-policy-allow-all-07486006'] 2025-11-10 21:19:03,332 - INFO - VN ctest-vn-90842350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 21:19:03,332 - DEBUG - Verifying the vn in opserver 2025-11-10 21:19:03,332 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-90842350 virtual network link through opserver 10.0.0.38 2025-11-10 21:19:03,332 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-10 21:19:03,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-90842350', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-90842350?flat'} 2025-11-10 21:19:03,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-90842350 is found in opserver 2025-11-10 21:19:03,350 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 21:19:03,354 - DEBUG - VRF ids for VN ctest-vn-90842350: {} 2025-11-10 21:19:03,409 - DEBUG - Services list from nova: [, , ] 2025-11-10 21:19:04,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4690-1) 2025-11-10 21:19:05,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4690-1) 2025-11-10 21:19:05,605 - INFO - Waiting for VM ctest-TestBasicPolicy-08735887-37214200 to be up.. 2025-11-10 21:19:05,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 21:19:10,760 - DEBUG - VM is in ACTIVE state now 2025-11-10 21:19:10,760 - INFO - VM name : ctest-TestBasicPolicy-08735887-37214200 2025-11-10 21:19:10,832 - DEBUG - VM ctest-TestBasicPolicy-08735887-37214200 ID is e40381d6-d6df-409d-85a1-e8e7cf9298d5 2025-11-10 21:19:10,850 - DEBUG - VM ctest-TestBasicPolicy-08735887-37214200 launched on Node cn-jenkins-deploy-platform-ansible-os-4690-1 2025-11-10 21:19:10,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e40381d6-d6df-409d-85a1-e8e7cf9298d5 2025-11-10 21:19:10,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c877a385-9055-4c0d-bfa3-cca1ae64da99 2025-11-10 21:19:14,196 - 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 1026ms') 2025-11-10 21:19:14,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08735887-37214200 failed! 2025-11-10 21:19:14,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08735887:ctest-vn-55063369 is 25.183.4.1 and allocation pool is NOT set 2025-11-10 21:19:16,308 - 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=9.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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 = 1.928/5.937/9.947/4.009 ms') 2025-11-10 21:19:16,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08735887-37214200 passed 2025-11-10 21:19:16,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:19:16,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08735887-37214200, IP 25.183.4.3, Port 22 2025-11-10 21:19:16,528 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-10 21:19:16,604 - DEBUG - VM ctest-TestBasicPolicy-08735887-37214200 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 21:19:21,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:19:21,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08735887-37214200, IP 25.183.4.3, Port 22 2025-11-10 21:19:21,762 - DEBUG - VM ctest-TestBasicPolicy-08735887-37214200 is ready for SSH connections 2025-11-10 21:19:21,762 - INFO - Waiting for VM ctest-TestBasicPolicy-08735887-58546085 to be up.. 2025-11-10 21:19:21,846 - DEBUG - VM is in ACTIVE state now 2025-11-10 21:19:21,846 - INFO - VM name : ctest-TestBasicPolicy-08735887-58546085 2025-11-10 21:19:21,918 - DEBUG - VM ctest-TestBasicPolicy-08735887-58546085 ID is a1981c6a-a89e-4533-aef3-1a85188451fc 2025-11-10 21:19:21,918 - DEBUG - VM ctest-TestBasicPolicy-08735887-58546085 launched on Node cn-jenkins-deploy-platform-ansible-os-4690-1 2025-11-10 21:19:21,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1981c6a-a89e-4533-aef3-1a85188451fc 2025-11-10 21:19:22,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d2ee29b-a1d0-40ef-9ba8-62e501afd0ea 2025-11-10 21:19:23,243 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.670/2.935/1.265 ms') 2025-11-10 21:19:23,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08735887-58546085 passed 2025-11-10 21:19:23,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:19:23,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08735887-58546085, IP 201.57.124.67, Port 22 2025-11-10 21:19:23,555 - DEBUG - VM ctest-TestBasicPolicy-08735887-58546085 is ready for SSH connections 2025-11-10 21:19:23,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:19:23,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.57.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-10 21:19:23,555 - DEBUG - ping -s 56 -c 3 -W 1 201.57.124.67 2025-11-10 21:19:27,619 - DEBUG - PING 201.57.124.67 (201.57.124.67): 56 data bytes 64 bytes from 201.57.124.67: seq=0 ttl=63 time=3.823 ms 64 bytes from 201.57.124.67: seq=1 ttl=63 time=1.353 ms 64 bytes from 201.57.124.67: seq=2 ttl=63 time=1.222 ms --- 201.57.124.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.222/2.132/3.823 ms 2025-11-10 21:19:27,619 - INFO - Ping to IP 201.57.124.67 from VM ctest-TestBasicPolicy-08735887-37214200 passed 2025-11-10 21:19:27,799 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd86b828-62e5-4c8b-b9c7-75781c40d55b", "href": "http://10.0.0.38:8082/network-policy/fd86b828-62e5-4c8b-b9c7-75781c40d55b"}} 2025-11-10 21:19:27,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:19:27,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.57.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-10 21:19:27,799 - DEBUG - ping -s 56 -c 3 -W 1 201.57.124.67 2025-11-10 21:19:31,009 - DEBUG - PING 201.57.124.67 (201.57.124.67): 56 data bytes --- 201.57.124.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 21:19:31,009 - WARNING - Ping to IP 201.57.124.67 from VM ctest-TestBasicPolicy-08735887-37214200 failed 2025-11-10 21:19:31,010 - INFO - Deleting VM ctest-TestBasicPolicy-08735887-58546085 2025-11-10 21:19:31,080 - INFO - Deleting VM ctest-TestBasicPolicy-08735887-37214200 2025-11-10 21:19:31,450 - INFO - Deleted policy ctest-policy-allow-all-07486006 2025-11-10 21:19:31,450 - INFO - Deleting VN ctest-vn-90842350 2025-11-10 21:19:31,490 - DEBUG - VN dd2a44a0-7698-4cf1-b182-0e125351b100 still in use: Unable to complete operation on network dd2a44a0-7698-4cf1-b182-0e125351b100. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51516174-9d0a-43f6-93ec-401d7fd63791'] 2025-11-10 21:19:31,490 - WARNING - Deleting VN ctest-vn-90842350 failed..Will retry 2025-11-10 21:19:33,595 - DEBUG - Response for deleting network () 2025-11-10 21:19:33,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd1e05ba-0e12-4933-81a3-f9ff1fc35b05 2025-11-10 21:19:33,600 - DEBUG - Response Code: 404 2025-11-10 21:19:33,600 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:33,605 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4baaae83-4e16-48cc-88ed-1396e487d748 2025-11-10 21:19:33,656 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:19:33,723 - INFO - Validated that VN ctest-vn-90842350 is not found in API Server 2025-11-10 21:19:33,732 - DEBUG - VN ctest-vn-90842350 is not present in Agent 10.0.0.38 2025-11-10 21:19:33,733 - INFO - Validated that VN ctest-vn-90842350 is not in any agent 2025-11-10 21:19:33,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90842350 info 2025-11-10 21:19:33,746 - INFO - Deleting VN ctest-vn-55063369 2025-11-10 21:19:33,844 - DEBUG - Response for deleting network () 2025-11-10 21:19:33,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdb5a05b-8bdc-42b4-bf58-5114656ec892 2025-11-10 21:19:33,850 - DEBUG - Response Code: 404 2025-11-10 21:19:33,850 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-10 21:19:33,856 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4baaae83-4e16-48cc-88ed-1396e487d748 2025-11-10 21:19:33,909 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b05ee23-efa8-4ec0-9403-8bfc386f3ca5 2025-11-10 21:19:33,986 - INFO - Validated that VN ctest-vn-55063369 is not found in API Server 2025-11-10 21:19:33,996 - DEBUG - VN ctest-vn-55063369 is not present in Agent 10.0.0.38 2025-11-10 21:19:33,996 - INFO - Validated that VN ctest-vn-55063369 is not in any agent 2025-11-10 21:19:34,009 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55063369 info 2025-11-10 21:19:34,268 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 21:19:34,268 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-10 21:19:34,268 - INFO - -------------------------------------------------------------------------------- 2025-11-10 21:19:34,946 - INFO - Deleted project: ctest-TestBasicPolicy-08735887, ID : 4b05ee23-efa8-4ec0-9403-8bfc386f3ca5