2025-10-22 11:39:06,866 - INFO - Domain Default found not creating 2025-10-22 11:39:07,030 - INFO - Project ctest-TestBasicPolicy-71957996 not found, creating it 2025-10-22 11:39:07,474 - INFO - Created Project:ctest-TestBasicPolicy-71957996, ID : 0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:08,916 - INFO - ================================================================================ 2025-10-22 11:39:08,916 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 11:39:08,916 - 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-10-22 11:39:09,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-22 11:39:09,169 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:39:09,169 - INFO - 2025-10-22 11:39:09,725 - DEBUG - Response for create_network : {'network': {'id': 'a7524adf-29ca-4a34-ac1c-58da5d2ff31f', 'name': 'ctest-vn-13986176', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-13986176'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:39:09,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d17519a-7faa-4eb0-abca-9bf339e203da', 'name': '', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'network_id': 'a7524adf-29ca-4a34-ac1c-58da5d2ff31f', 'ip_version': 4, 'cidr': '206.40.60.128/26', 'allocation_pools': [{'start': '206.40.60.130', 'end': '206.40.60.190'}], 'gateway_ip': '206.40.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.40.60.130', 'tags': [], 'project_id': '0f857b2de46243bb88a0c5b8971ceef5'}} 2025-10-22 11:39:09,954 - INFO - Created VN ctest-vn-13986176 2025-10-22 11:39:10,008 - DEBUG - VN ctest-vn-13986176 UUID is a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:10,312 - DEBUG - Response for create_network : {'network': {'id': 'af0085e3-416b-4f96-8859-2def3280bb24', 'name': 'ctest-vn-58183885', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-58183885'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:39:10,484 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6be33d5-eb2b-4fe8-af0e-1b283ee4b16b', 'name': '', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'network_id': 'af0085e3-416b-4f96-8859-2def3280bb24', 'ip_version': 4, 'cidr': '130.114.107.128/26', 'allocation_pools': [{'start': '130.114.107.130', 'end': '130.114.107.190'}], 'gateway_ip': '130.114.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.114.107.130', 'tags': [], 'project_id': '0f857b2de46243bb88a0c5b8971ceef5'}} 2025-10-22 11:39:10,503 - INFO - Created VN ctest-vn-58183885 2025-10-22 11:39:10,556 - DEBUG - VN ctest-vn-58183885 UUID is af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:10,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176, 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-71957996:ctest-vn-58183885, 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-10-22 11:39:10,978 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7524adf-29ca-4a34-ac1c-58da5d2ff31f', 'name': 'ctest-vn-13986176', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d17519a-7faa-4eb0-abca-9bf339e203da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-13986176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454']], 'subnet_ipam': [{'subnet_cidr': '206.40.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:39:11,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af0085e3-416b-4f96-8859-2def3280bb24', 'name': 'ctest-vn-58183885', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6be33d5-eb2b-4fe8-af0e-1b283ee4b16b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-58183885'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454']], 'subnet_ipam': [{'subnet_cidr': '130.114.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:39:11,400 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:11,711 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:11,738 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9 2025-10-22 11:39:11,751 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:11,825 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:11,836 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:11,846 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60 2025-10-22 11:39:11,854 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60 2025-10-22 11:39:11,863 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/577fcc5a-3aa9-4b62-b4df-f91749375ca7 2025-10-22 11:39:11,873 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 11:39:11,873 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:11,883 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60 2025-10-22 11:39:11,905 - INFO - Verified VN network id 11 for VN a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:11,905 - INFO - Verifications in API Server for VN ctest-vn-13986176 passed 2025-10-22 11:39:11,905 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:11,915 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60 2025-10-22 11:39:11,924 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60 2025-10-22 11:39:11,931 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/577fcc5a-3aa9-4b62-b4df-f91749375ca7 2025-10-22 11:39:11,944 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71957996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12056781474763524660', 'uuid-lslong': '12401885168761041695'}, 'enable': 'true', 'created': '2025-10-22T11:39:09', 'last-modified': '2025-10-22T11:39:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999589'} 2025-10-22 11:39:11,950 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 11:39:11,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13986176 passed 2025-10-22 11:39:11,950 - DEBUG - ====Verifying policy data for ctest-vn-13986176 in API_Server ====== 2025-10-22 11:39:11,950 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:11,956 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9 2025-10-22 11:39:11,969 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:12,050 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f 2025-10-22 11:39:12,062 - DEBUG - ==>Verifying data for policy with id: b866254b-4c06-4a0b-b5f5-f725dfc69504, fqn: ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454'] 2025-10-22 11:39:12,062 - INFO - VN ctest-vn-13986176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 11:39:12,063 - DEBUG - Verifying the vn in opserver 2025-10-22 11:39:12,063 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176 virtual network link through opserver 10.0.0.41 2025-10-22 11:39:12,063 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-22 11:39:12,359 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-22 11:39:12,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176?flat'} 2025-10-22 11:39:12,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176 is found in opserver 2025-10-22 11:39:12,420 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 11:39:12,425 - DEBUG - VRF ids for VN ctest-vn-13986176: {} 2025-10-22 11:39:12,425 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:12,430 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9 2025-10-22 11:39:12,440 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:12,515 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:12,532 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:12,545 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9 2025-10-22 11:39:12,559 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9 2025-10-22 11:39:12,568 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c46701ed-d7fc-4261-86a5-404fd7c4bdab 2025-10-22 11:39:12,574 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 11:39:12,574 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:12,584 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9 2025-10-22 11:39:12,606 - INFO - Verified VN network id 12 for VN af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:12,606 - INFO - Verifications in API Server for VN ctest-vn-58183885 passed 2025-10-22 11:39:12,606 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:12,619 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9 2025-10-22 11:39:12,628 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9 2025-10-22 11:39:12,634 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c46701ed-d7fc-4261-86a5-404fd7c4bdab 2025-10-22 11:39:12,649 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71957996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12610226167739010966', 'uuid-lslong': '9824934567453178660'}, 'enable': 'true', 'created': '2025-10-22T11:39:10', 'last-modified': '2025-10-22T11:39:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449013'} 2025-10-22 11:39:12,655 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 11:39:12,656 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58183885 passed 2025-10-22 11:39:12,656 - DEBUG - ====Verifying policy data for ctest-vn-58183885 in API_Server ====== 2025-10-22 11:39:12,656 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:12,662 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9 2025-10-22 11:39:12,673 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:12,749 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24 2025-10-22 11:39:12,758 - DEBUG - ==>Verifying data for policy with id: b866254b-4c06-4a0b-b5f5-f725dfc69504, fqn: ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454'] 2025-10-22 11:39:12,758 - INFO - VN ctest-vn-58183885 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 11:39:12,758 - DEBUG - Verifying the vn in opserver 2025-10-22 11:39:12,758 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885 virtual network link through opserver 10.0.0.41 2025-10-22 11:39:12,758 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-22 11:39:12,769 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885?flat'} 2025-10-22 11:39:12,769 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885 is found in opserver 2025-10-22 11:39:12,780 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 11:39:12,786 - DEBUG - VRF ids for VN ctest-vn-58183885: {} 2025-10-22 11:39:12,855 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:39:13,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:39:15,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:39:15,027 - INFO - Waiting for VM ctest-TestBasicPolicy-71957996-90990455 to be up.. 2025-10-22 11:39:15,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:39:20,204 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:39:20,204 - INFO - VM name : ctest-TestBasicPolicy-71957996-90990455 2025-10-22 11:39:20,274 - DEBUG - VM ctest-TestBasicPolicy-71957996-90990455 ID is 310f2847-ba80-4d3c-8dc9-b81a8e9bff24 2025-10-22 11:39:20,295 - DEBUG - VM ctest-TestBasicPolicy-71957996-90990455 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:39:20,373 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/310f2847-ba80-4d3c-8dc9-b81a8e9bff24 2025-10-22 11:39:20,381 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2e5eb40f-c329-4600-b65a-5e0d7dd379d4 2025-10-22 11:39:23,638 - 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 1031ms') 2025-10-22 11:39:23,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71957996-90990455 failed! 2025-10-22 11:39:23,696 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176 is 206.40.60.129 and allocation pool is NOT set 2025-10-22 11:39:25,759 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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 = 2.483/5.849/9.216/3.366 ms') 2025-10-22 11:39:25,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71957996-90990455 passed 2025-10-22 11:39:25,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:39:25,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71957996-90990455, IP 206.40.60.131, Port 22 2025-10-22 11:39:25,964 - 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-10-22 11:39:26,043 - DEBUG - VM ctest-TestBasicPolicy-71957996-90990455 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 11:39:31,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:39:31,045 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71957996-90990455, IP 206.40.60.131, Port 22 2025-10-22 11:39:31,199 - DEBUG - VM ctest-TestBasicPolicy-71957996-90990455 is ready for SSH connections 2025-10-22 11:39:31,199 - INFO - Waiting for VM ctest-TestBasicPolicy-71957996-34564374 to be up.. 2025-10-22 11:39:31,271 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:39:31,272 - INFO - VM name : ctest-TestBasicPolicy-71957996-34564374 2025-10-22 11:39:31,341 - DEBUG - VM ctest-TestBasicPolicy-71957996-34564374 ID is 013c27e8-41d1-425d-8c7a-c0127a98d5a8 2025-10-22 11:39:31,341 - DEBUG - VM ctest-TestBasicPolicy-71957996-34564374 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:39:31,415 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/013c27e8-41d1-425d-8c7a-c0127a98d5a8 2025-10-22 11:39:31,424 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b7b7d8f7-c89b-4633-816f-060ce9ad15b1 2025-10-22 11:39:32,668 - 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=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.782/3.131/1.348 ms') 2025-10-22 11:39:32,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71957996-34564374 passed 2025-10-22 11:39:32,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:39:32,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71957996-34564374, IP 130.114.107.131, Port 22 2025-10-22 11:39:32,971 - DEBUG - VM ctest-TestBasicPolicy-71957996-34564374 is ready for SSH connections 2025-10-22 11:39:32,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:39:32,972 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.114.107.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:39:32,972 - DEBUG - ping -s 56 -c 3 -W 1 130.114.107.131 2025-10-22 11:39:37,022 - DEBUG - PING 130.114.107.131 (130.114.107.131): 56 data bytes 64 bytes from 130.114.107.131: seq=0 ttl=63 time=3.590 ms 64 bytes from 130.114.107.131: seq=1 ttl=63 time=0.888 ms 64 bytes from 130.114.107.131: seq=2 ttl=63 time=0.871 ms --- 130.114.107.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.783/3.590 ms 2025-10-22 11:39:37,022 - INFO - Ping to IP 130.114.107.131 from VM ctest-TestBasicPolicy-71957996-90990455 passed 2025-10-22 11:39:37,208 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b866254b-4c06-4a0b-b5f5-f725dfc69504", "href": "http://10.0.0.41:8082/network-policy/b866254b-4c06-4a0b-b5f5-f725dfc69504"}} 2025-10-22 11:39:37,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:39:37,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.114.107.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:39:37,208 - DEBUG - ping -s 56 -c 3 -W 1 130.114.107.131 2025-10-22 11:39:40,447 - DEBUG - PING 130.114.107.131 (130.114.107.131): 56 data bytes --- 130.114.107.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 11:39:40,448 - WARNING - Ping to IP 130.114.107.131 from VM ctest-TestBasicPolicy-71957996-90990455 failed 2025-10-22 11:39:40,448 - INFO - Deleting VM ctest-TestBasicPolicy-71957996-34564374 2025-10-22 11:39:40,529 - INFO - Deleting VM ctest-TestBasicPolicy-71957996-90990455 2025-10-22 11:39:40,918 - INFO - Deleted policy ctest-policy-allow-all-28992454 2025-10-22 11:39:40,919 - INFO - Deleting VN ctest-vn-58183885 2025-10-22 11:39:40,959 - DEBUG - VN af0085e3-416b-4f96-8859-2def3280bb24 still in use: Unable to complete operation on network af0085e3-416b-4f96-8859-2def3280bb24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cafe6459-ac1c-4797-aa82-09cf11d4fc85'] 2025-10-22 11:39:40,959 - WARNING - Deleting VN ctest-vn-58183885 failed..Will retry 2025-10-22 11:39:43,075 - DEBUG - Response for deleting network () 2025-10-22 11:39:43,075 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9 2025-10-22 11:39:43,082 - DEBUG - Response Code: 404 2025-10-22 11:39:43,082 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:43,088 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9 2025-10-22 11:39:43,146 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:43,222 - INFO - Validated that VN ctest-vn-58183885 is not found in API Server 2025-10-22 11:39:43,233 - DEBUG - VN ctest-vn-58183885 is not present in Agent 10.0.0.41 2025-10-22 11:39:43,233 - INFO - Validated that VN ctest-vn-58183885 is not in any agent 2025-10-22 11:39:43,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58183885 info 2025-10-22 11:39:43,249 - INFO - Deleting VN ctest-vn-13986176 2025-10-22 11:39:43,377 - DEBUG - Response for deleting network () 2025-10-22 11:39:43,377 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60 2025-10-22 11:39:43,383 - DEBUG - Response Code: 404 2025-10-22 11:39:43,383 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-22 11:39:43,392 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9 2025-10-22 11:39:43,444 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5 2025-10-22 11:39:43,521 - INFO - Validated that VN ctest-vn-13986176 is not found in API Server 2025-10-22 11:39:43,533 - DEBUG - VN ctest-vn-13986176 is not present in Agent 10.0.0.41 2025-10-22 11:39:43,533 - INFO - Validated that VN ctest-vn-13986176 is not in any agent 2025-10-22 11:39:43,548 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13986176 info 2025-10-22 11:39:43,801 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 11:39:43,802 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-22 11:39:43,802 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:39:44,518 - INFO - Deleted project: ctest-TestBasicPolicy-71957996, ID : 0f857b2d-e462-43bb-88a0-c5b8971ceef5