2025-07-17 14:24:59,934 - INFO - Domain Default found not creating 2025-07-17 14:25:00,102 - INFO - Project ctest-TestBasicPolicy-51484279 not found, creating it 2025-07-17 14:25:00,615 - INFO - Created Project:ctest-TestBasicPolicy-51484279, ID : dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:02,296 - INFO - ================================================================================ 2025-07-17 14:25:02,296 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 14:25:02,297 - 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-07-17 14:25:02,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-17 14:25:02,560 - INFO - Initial checks done. Running the testcase now 2025-07-17 14:25:02,560 - INFO - 2025-07-17 14:25:03,180 - DEBUG - Response for create_network : {'network': {'id': '3a53c788-e7da-419a-93f2-587c367685d7', 'name': 'ctest-vn-59384448', 'tenant_id': 'dc48a164933142c5b60fdbf8facf8454', 'project_id': 'dc48a164933142c5b60fdbf8facf8454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-vn-59384448'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:25:03,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '0432c333-c0fc-4fa1-a300-b839d89732d2', 'name': '', 'tenant_id': 'dc48a164933142c5b60fdbf8facf8454', 'network_id': '3a53c788-e7da-419a-93f2-587c367685d7', 'ip_version': 4, 'cidr': '98.160.53.0/26', 'allocation_pools': [{'start': '98.160.53.2', 'end': '98.160.53.62'}], 'gateway_ip': '98.160.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.160.53.2', 'tags': [], 'project_id': 'dc48a164933142c5b60fdbf8facf8454'}} 2025-07-17 14:25:03,358 - INFO - Created VN ctest-vn-59384448 2025-07-17 14:25:03,415 - DEBUG - VN ctest-vn-59384448 UUID is 3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:03,740 - DEBUG - Response for create_network : {'network': {'id': '7a8f00a6-455f-4b95-823a-b2b996dc91b9', 'name': 'ctest-vn-46134302', 'tenant_id': 'dc48a164933142c5b60fdbf8facf8454', 'project_id': 'dc48a164933142c5b60fdbf8facf8454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-vn-46134302'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:25:03,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '095b43a4-2735-4f9d-8383-65b5a6cc12e5', 'name': '', 'tenant_id': 'dc48a164933142c5b60fdbf8facf8454', 'network_id': '7a8f00a6-455f-4b95-823a-b2b996dc91b9', 'ip_version': 4, 'cidr': '163.144.56.64/26', 'allocation_pools': [{'start': '163.144.56.66', 'end': '163.144.56.126'}], 'gateway_ip': '163.144.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.144.56.66', 'tags': [], 'project_id': 'dc48a164933142c5b60fdbf8facf8454'}} 2025-07-17 14:25:03,964 - INFO - Created VN ctest-vn-46134302 2025-07-17 14:25:04,018 - DEBUG - VN ctest-vn-46134302 UUID is 7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:04,139 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448, 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-51484279:ctest-vn-46134302, 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-07-17 14:25:04,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a53c788-e7da-419a-93f2-587c367685d7', 'name': 'ctest-vn-59384448', 'tenant_id': 'dc48a164933142c5b60fdbf8facf8454', 'project_id': 'dc48a164933142c5b60fdbf8facf8454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0432c333-c0fc-4fa1-a300-b839d89732d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-vn-59384448'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-policy-allow-all-65370997']], 'subnet_ipam': [{'subnet_cidr': '98.160.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:25:04,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a8f00a6-455f-4b95-823a-b2b996dc91b9', 'name': 'ctest-vn-46134302', 'tenant_id': 'dc48a164933142c5b60fdbf8facf8454', 'project_id': 'dc48a164933142c5b60fdbf8facf8454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['095b43a4-2735-4f9d-8383-65b5a6cc12e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-vn-46134302'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-policy-allow-all-65370997']], 'subnet_ipam': [{'subnet_cidr': '163.144.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:25:04,883 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:05,216 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:05,247 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7b9b80c8-aeb3-46d7-9f89-8e6affb9e053 2025-07-17 14:25:05,262 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:05,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:05,364 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:05,374 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2fa54da-449f-4f41-9f06-d312e696d2fc 2025-07-17 14:25:05,382 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2fa54da-449f-4f41-9f06-d312e696d2fc 2025-07-17 14:25:05,390 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dc41407c-f918-450e-9f90-0d02b82786b1 2025-07-17 14:25:05,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 14:25:05,397 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:05,407 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2fa54da-449f-4f41-9f06-d312e696d2fc 2025-07-17 14:25:05,421 - INFO - Verified VN network id 9 for VN 3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:05,421 - INFO - Verifications in API Server for VN ctest-vn-59384448 passed 2025-07-17 14:25:05,422 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:05,432 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2fa54da-449f-4f41-9f06-d312e696d2fc 2025-07-17 14:25:05,440 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2fa54da-449f-4f41-9f06-d312e696d2fc 2025-07-17 14:25:05,448 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dc41407c-f918-450e-9f90-0d02b82786b1 2025-07-17 14:25:05,463 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51484279', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4202922268086124954', 'uuid-lslong': '10660680558452311511'}, 'enable': 'true', 'created': '2025-07-17T14:25:03', 'last-modified': '2025-07-17T14:25:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034712'} 2025-07-17 14:25:05,470 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 14:25:05,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59384448 passed 2025-07-17 14:25:05,470 - DEBUG - ====Verifying policy data for ctest-vn-59384448 in API_Server ====== 2025-07-17 14:25:05,470 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:05,476 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7b9b80c8-aeb3-46d7-9f89-8e6affb9e053 2025-07-17 14:25:05,488 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:05,561 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a53c788-e7da-419a-93f2-587c367685d7 2025-07-17 14:25:05,573 - DEBUG - ==>Verifying data for policy with id: 76a1fec8-ee59-4dcc-9b76-2327ed698fa5, fqn: ['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-policy-allow-all-65370997'] 2025-07-17 14:25:05,573 - INFO - VN ctest-vn-59384448 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 14:25:05,573 - DEBUG - Verifying the vn in opserver 2025-07-17 14:25:05,573 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448 virtual network link through opserver 10.0.0.254 2025-07-17 14:25:05,573 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-17 14:25:05,907 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-17 14:25:05,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448?flat'} 2025-07-17 14:25:05,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448 is found in opserver 2025-07-17 14:25:05,983 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 14:25:05,989 - DEBUG - VRF ids for VN ctest-vn-59384448: {} 2025-07-17 14:25:05,989 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:05,998 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7b9b80c8-aeb3-46d7-9f89-8e6affb9e053 2025-07-17 14:25:06,016 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:06,096 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:06,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:06,122 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04322a44-def1-4605-945c-5c103567dfd4 2025-07-17 14:25:06,131 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04322a44-def1-4605-945c-5c103567dfd4 2025-07-17 14:25:06,139 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/88619080-cab5-4e37-89fe-76902068252a 2025-07-17 14:25:06,148 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 14:25:06,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:06,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04322a44-def1-4605-945c-5c103567dfd4 2025-07-17 14:25:06,180 - INFO - Verified VN network id 10 for VN 7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:06,180 - INFO - Verifications in API Server for VN ctest-vn-46134302 passed 2025-07-17 14:25:06,180 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:06,193 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04322a44-def1-4605-945c-5c103567dfd4 2025-07-17 14:25:06,202 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04322a44-def1-4605-945c-5c103567dfd4 2025-07-17 14:25:06,211 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/88619080-cab5-4e37-89fe-76902068252a 2025-07-17 14:25:06,225 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-46134302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51484279', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8831278108425276309', 'uuid-lslong': '9384009283749581241'}, 'enable': 'true', 'created': '2025-07-17T14:25:03', 'last-modified': '2025-07-17T14:25:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.559784'} 2025-07-17 14:25:06,233 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 14:25:06,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46134302 passed 2025-07-17 14:25:06,234 - DEBUG - ====Verifying policy data for ctest-vn-46134302 in API_Server ====== 2025-07-17 14:25:06,234 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:06,240 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7b9b80c8-aeb3-46d7-9f89-8e6affb9e053 2025-07-17 14:25:06,256 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:06,343 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7a8f00a6-455f-4b95-823a-b2b996dc91b9 2025-07-17 14:25:06,355 - DEBUG - ==>Verifying data for policy with id: 76a1fec8-ee59-4dcc-9b76-2327ed698fa5, fqn: ['default-domain', 'ctest-TestBasicPolicy-51484279', 'ctest-policy-allow-all-65370997'] 2025-07-17 14:25:06,356 - INFO - VN ctest-vn-46134302 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 14:25:06,356 - DEBUG - Verifying the vn in opserver 2025-07-17 14:25:06,356 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-46134302 virtual network link through opserver 10.0.0.254 2025-07-17 14:25:06,356 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-17 14:25:06,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-46134302', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-46134302?flat'} 2025-07-17 14:25:06,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-46134302 is found in opserver 2025-07-17 14:25:06,384 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 14:25:06,390 - DEBUG - VRF ids for VN ctest-vn-46134302: {} 2025-07-17 14:25:06,451 - DEBUG - Services list from nova: [, , ] 2025-07-17 14:25:07,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3656-1) 2025-07-17 14:25:08,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3656-1) 2025-07-17 14:25:08,915 - INFO - Waiting for VM ctest-TestBasicPolicy-51484279-31830350 to be up.. 2025-07-17 14:25:09,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 14:25:14,079 - DEBUG - VM is in ACTIVE state now 2025-07-17 14:25:14,080 - INFO - VM name : ctest-TestBasicPolicy-51484279-31830350 2025-07-17 14:25:14,168 - DEBUG - VM ctest-TestBasicPolicy-51484279-31830350 ID is c5e10661-574d-40a4-9cd7-6f77a9c561b9 2025-07-17 14:25:14,192 - DEBUG - VM ctest-TestBasicPolicy-51484279-31830350 launched on Node cn-jenkins-deploy-platform-ansible-os-3656-1 2025-07-17 14:25:14,273 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c5e10661-574d-40a4-9cd7-6f77a9c561b9 2025-07-17 14:25:14,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/67c21025-5199-462c-836d-074b68a9d68e 2025-07-17 14:25:17,621 - 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-07-17 14:25:17,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51484279-31830350 failed! 2025-07-17 14:25:17,678 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51484279:ctest-vn-59384448 is 98.160.53.1 and allocation pool is NOT set 2025-07-17 14:25:19,746 - 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=7.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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 = 0.414/4.147/7.881/3.733 ms') 2025-07-17 14:25:19,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51484279-31830350 passed 2025-07-17 14:25:19,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:25:19,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51484279-31830350, IP 98.160.53.3, Port 22 2025-07-17 14:25:19,969 - 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-07-17 14:25:20,064 - DEBUG - VM ctest-TestBasicPolicy-51484279-31830350 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-17 14:25:25,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:25:25,066 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51484279-31830350, IP 98.160.53.3, Port 22 2025-07-17 14:25:25,223 - DEBUG - VM ctest-TestBasicPolicy-51484279-31830350 is ready for SSH connections 2025-07-17 14:25:25,223 - INFO - Waiting for VM ctest-TestBasicPolicy-51484279-35040281 to be up.. 2025-07-17 14:25:25,303 - DEBUG - VM is in ACTIVE state now 2025-07-17 14:25:25,303 - INFO - VM name : ctest-TestBasicPolicy-51484279-35040281 2025-07-17 14:25:25,378 - DEBUG - VM ctest-TestBasicPolicy-51484279-35040281 ID is e8cd635d-8820-4857-9157-c49505d7d998 2025-07-17 14:25:25,378 - DEBUG - VM ctest-TestBasicPolicy-51484279-35040281 launched on Node cn-jenkins-deploy-platform-ansible-os-3656-1 2025-07-17 14:25:25,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e8cd635d-8820-4857-9157-c49505d7d998 2025-07-17 14:25:25,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ef3868d5-bd58-4210-8859-a5938bc2570f 2025-07-17 14:25:26,703 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.847/3.331/1.483 ms') 2025-07-17 14:25:26,703 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51484279-35040281 passed 2025-07-17 14:25:26,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:25:26,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51484279-35040281, IP 163.144.56.67, Port 22 2025-07-17 14:25:27,014 - DEBUG - VM ctest-TestBasicPolicy-51484279-35040281 is ready for SSH connections 2025-07-17 14:25:27,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:25:27,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.144.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-17 14:25:27,014 - DEBUG - ping -s 56 -c 3 -W 1 163.144.56.67 2025-07-17 14:25:31,076 - DEBUG - PING 163.144.56.67 (163.144.56.67): 56 data bytes 64 bytes from 163.144.56.67: seq=0 ttl=63 time=3.522 ms 64 bytes from 163.144.56.67: seq=1 ttl=63 time=1.082 ms 64 bytes from 163.144.56.67: seq=2 ttl=63 time=0.722 ms --- 163.144.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.775/3.522 ms 2025-07-17 14:25:31,077 - INFO - Ping to IP 163.144.56.67 from VM ctest-TestBasicPolicy-51484279-31830350 passed 2025-07-17 14:25:31,266 - DEBUG - Policy Update Response {"network-policy": {"uuid": "76a1fec8-ee59-4dcc-9b76-2327ed698fa5", "href": "http://10.0.0.254:8082/network-policy/76a1fec8-ee59-4dcc-9b76-2327ed698fa5"}} 2025-07-17 14:25:31,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:25:31,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.144.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-17 14:25:31,267 - DEBUG - ping -s 56 -c 3 -W 1 163.144.56.67 2025-07-17 14:25:34,510 - DEBUG - PING 163.144.56.67 (163.144.56.67): 56 data bytes 64 bytes from 163.144.56.67: seq=0 ttl=63 time=1.651 ms --- 163.144.56.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.651/1.651/1.651 ms 2025-07-17 14:25:34,510 - WARNING - Ping to IP 163.144.56.67 from VM ctest-TestBasicPolicy-51484279-31830350 failed 2025-07-17 14:25:34,510 - INFO - Deleting VM ctest-TestBasicPolicy-51484279-35040281 2025-07-17 14:25:34,577 - INFO - Deleting VM ctest-TestBasicPolicy-51484279-31830350 2025-07-17 14:25:34,980 - INFO - Deleted policy ctest-policy-allow-all-65370997 2025-07-17 14:25:34,981 - INFO - Deleting VN ctest-vn-46134302 2025-07-17 14:25:35,020 - DEBUG - VN 7a8f00a6-455f-4b95-823a-b2b996dc91b9 still in use: Unable to complete operation on network 7a8f00a6-455f-4b95-823a-b2b996dc91b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f708e6b7-67e2-4b55-9c62-b041839f4f00'] 2025-07-17 14:25:35,020 - WARNING - Deleting VN ctest-vn-46134302 failed..Will retry 2025-07-17 14:25:37,160 - DEBUG - Response for deleting network () 2025-07-17 14:25:37,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04322a44-def1-4605-945c-5c103567dfd4 2025-07-17 14:25:37,169 - DEBUG - Response Code: 404 2025-07-17 14:25:37,169 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:37,176 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7b9b80c8-aeb3-46d7-9f89-8e6affb9e053 2025-07-17 14:25:37,235 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:37,317 - INFO - Validated that VN ctest-vn-46134302 is not found in API Server 2025-07-17 14:25:37,332 - DEBUG - VN ctest-vn-46134302 is not present in Agent 10.0.0.254 2025-07-17 14:25:37,332 - INFO - Validated that VN ctest-vn-46134302 is not in any agent 2025-07-17 14:25:37,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46134302 info 2025-07-17 14:25:37,351 - INFO - Deleting VN ctest-vn-59384448 2025-07-17 14:25:37,479 - DEBUG - Response for deleting network () 2025-07-17 14:25:37,479 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2fa54da-449f-4f41-9f06-d312e696d2fc 2025-07-17 14:25:37,487 - DEBUG - Response Code: 404 2025-07-17 14:25:37,487 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 14:25:37,493 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7b9b80c8-aeb3-46d7-9f89-8e6affb9e053 2025-07-17 14:25:37,548 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc48a164-9331-42c5-b60f-dbf8facf8454 2025-07-17 14:25:37,633 - INFO - Validated that VN ctest-vn-59384448 is not found in API Server 2025-07-17 14:25:37,645 - DEBUG - VN ctest-vn-59384448 is not present in Agent 10.0.0.254 2025-07-17 14:25:37,645 - INFO - Validated that VN ctest-vn-59384448 is not in any agent 2025-07-17 14:25:37,662 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59384448 info 2025-07-17 14:25:37,916 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 14:25:37,916 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-07-17 14:25:37,916 - INFO - -------------------------------------------------------------------------------- 2025-07-17 14:25:38,691 - INFO - Deleted project: ctest-TestBasicPolicy-51484279, ID : dc48a164-9331-42c5-b60f-dbf8facf8454