2025-10-30 18:31:02,036 - INFO - Domain Default found not creating 2025-10-30 18:31:02,256 - INFO - Project ctest-TestBasicPolicy-23735559 not found, creating it 2025-10-30 18:31:02,716 - INFO - Created Project:ctest-TestBasicPolicy-23735559, ID : ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:04,445 - INFO - ================================================================================ 2025-10-30 18:31:04,445 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 18:31:04,445 - 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-30 18:31:04,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 18:31:04,732 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:31:04,732 - INFO - 2025-10-30 18:31:05,440 - DEBUG - Response for create_network : {'network': {'id': 'f9e866d1-32fd-4ac5-971b-39efd1bc534f', 'name': 'ctest-vn-45032288', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-45032288'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:31:05,680 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db99cc34-4e96-4ae3-a4e4-b1eb852b61c5', 'name': '', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'network_id': 'f9e866d1-32fd-4ac5-971b-39efd1bc534f', 'ip_version': 4, 'cidr': '110.54.129.128/26', 'allocation_pools': [{'start': '110.54.129.130', 'end': '110.54.129.190'}], 'gateway_ip': '110.54.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.54.129.130', 'tags': [], 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4'}} 2025-10-30 18:31:05,710 - INFO - Created VN ctest-vn-45032288 2025-10-30 18:31:05,769 - DEBUG - VN ctest-vn-45032288 UUID is f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:06,132 - DEBUG - Response for create_network : {'network': {'id': '5119a3c9-626d-4d3c-af69-932f57a1d4b0', 'name': 'ctest-vn-50717142', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-50717142'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:31:06,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b0ddeaf-5bbb-4280-a66a-344606b03469', 'name': '', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'network_id': '5119a3c9-626d-4d3c-af69-932f57a1d4b0', 'ip_version': 4, 'cidr': '29.90.242.0/26', 'allocation_pools': [{'start': '29.90.242.2', 'end': '29.90.242.62'}], 'gateway_ip': '29.90.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.90.242.2', 'tags': [], 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4'}} 2025-10-30 18:31:06,353 - INFO - Created VN ctest-vn-50717142 2025-10-30 18:31:06,413 - DEBUG - VN ctest-vn-50717142 UUID is 5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:06,597 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288, 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-23735559:ctest-vn-50717142, 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-30 18:31:07,012 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9e866d1-32fd-4ac5-971b-39efd1bc534f', 'name': 'ctest-vn-45032288', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db99cc34-4e96-4ae3-a4e4-b1eb852b61c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-45032288'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922']], 'subnet_ipam': [{'subnet_cidr': '110.54.129.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:31:07,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5119a3c9-626d-4d3c-af69-932f57a1d4b0', 'name': 'ctest-vn-50717142', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b0ddeaf-5bbb-4280-a66a-344606b03469'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-50717142'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922']], 'subnet_ipam': [{'subnet_cidr': '29.90.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:31:07,457 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:07,763 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:07,796 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85 2025-10-30 18:31:07,820 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:07,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:07,954 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:07,981 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3 2025-10-30 18:31:07,997 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3 2025-10-30 18:31:08,013 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/845aaae5-c0fd-4c61-9890-3d408f148d1a 2025-10-30 18:31:08,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 18:31:08,024 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:08,045 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3 2025-10-30 18:31:08,068 - INFO - Verified VN network id 11 for VN f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:08,068 - INFO - Verifications in API Server for VN ctest-vn-45032288 passed 2025-10-30 18:31:08,068 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:08,084 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3 2025-10-30 18:31:08,094 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3 2025-10-30 18:31:08,106 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/845aaae5-c0fd-4c61-9890-3d408f148d1a 2025-10-30 18:31:08,123 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23735559', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18007756158730586821', 'uuid-lslong': '10888360226277053263'}, 'enable': 'true', 'created': '2025-10-30T18:31:05', 'last-modified': '2025-10-30T18:31:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.151885'} 2025-10-30 18:31:08,131 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 18:31:08,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45032288 passed 2025-10-30 18:31:08,132 - DEBUG - ====Verifying policy data for ctest-vn-45032288 in API_Server ====== 2025-10-30 18:31:08,132 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:08,139 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85 2025-10-30 18:31:08,158 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:08,250 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f 2025-10-30 18:31:08,267 - DEBUG - ==>Verifying data for policy with id: 787a511a-f929-46fd-933e-c119dbc866f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922'] 2025-10-30 18:31:08,267 - INFO - VN ctest-vn-45032288 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 18:31:08,267 - DEBUG - Verifying the vn in opserver 2025-10-30 18:31:08,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288 virtual network link through opserver 10.0.0.141 2025-10-30 18:31:08,267 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-30 18:31:08,574 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-30 18:31:08,658 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288?flat'} 2025-10-30 18:31:08,658 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288 is found in opserver 2025-10-30 18:31:08,673 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 18:31:08,685 - DEBUG - VRF ids for VN ctest-vn-45032288: {} 2025-10-30 18:31:08,685 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:08,695 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85 2025-10-30 18:31:08,718 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:08,812 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:08,830 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:08,841 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269 2025-10-30 18:31:08,849 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269 2025-10-30 18:31:08,856 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f35df30e-ba80-4251-9160-0740dd3ac1b3 2025-10-30 18:31:08,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 18:31:08,864 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:08,874 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269 2025-10-30 18:31:08,891 - INFO - Verified VN network id 12 for VN 5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:08,892 - INFO - Verifications in API Server for VN ctest-vn-50717142 passed 2025-10-30 18:31:08,892 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:08,902 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269 2025-10-30 18:31:08,910 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269 2025-10-30 18:31:08,918 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f35df30e-ba80-4251-9160-0740dd3ac1b3 2025-10-30 18:31:08,938 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23735559', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5843882076825013564', 'uuid-lslong': '12639795660734977200'}, 'enable': 'true', 'created': '2025-10-30T18:31:06', 'last-modified': '2025-10-30T18:31:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.687506'} 2025-10-30 18:31:08,945 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 18:31:08,945 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50717142 passed 2025-10-30 18:31:08,945 - DEBUG - ====Verifying policy data for ctest-vn-50717142 in API_Server ====== 2025-10-30 18:31:08,946 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:08,953 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85 2025-10-30 18:31:08,967 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:09,058 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0 2025-10-30 18:31:09,071 - DEBUG - ==>Verifying data for policy with id: 787a511a-f929-46fd-933e-c119dbc866f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922'] 2025-10-30 18:31:09,071 - INFO - VN ctest-vn-50717142 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 18:31:09,071 - DEBUG - Verifying the vn in opserver 2025-10-30 18:31:09,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142 virtual network link through opserver 10.0.0.141 2025-10-30 18:31:09,071 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-30 18:31:09,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142?flat'} 2025-10-30 18:31:09,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142 is found in opserver 2025-10-30 18:31:09,100 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 18:31:09,107 - DEBUG - VRF ids for VN ctest-vn-50717142: {} 2025-10-30 18:31:09,175 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:31:10,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4551-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4551-1) 2025-10-30 18:31:11,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4551-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4551-1) 2025-10-30 18:31:11,692 - INFO - Waiting for VM ctest-TestBasicPolicy-23735559-81759351 to be up.. 2025-10-30 18:31:11,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:31:16,946 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:31:16,946 - INFO - VM name : ctest-TestBasicPolicy-23735559-81759351 2025-10-30 18:31:17,073 - DEBUG - VM ctest-TestBasicPolicy-23735559-81759351 ID is b82f28d4-54b5-414d-b1a5-ad6c23917154 2025-10-30 18:31:17,103 - DEBUG - VM ctest-TestBasicPolicy-23735559-81759351 launched on Node cn-jenkins-deploy-platform-ansible-os-4551-1 2025-10-30 18:31:17,208 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b82f28d4-54b5-414d-b1a5-ad6c23917154 2025-10-30 18:31:17,218 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b28a03f1-0999-496c-8ee0-33df385be622 2025-10-30 18:31:20,500 - 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 1006ms') 2025-10-30 18:31:20,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23735559-81759351 failed! 2025-10-30 18:31:20,566 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288 is 110.54.129.129 and allocation pool is NOT set 2025-10-30 18:31:22,640 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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.506/5.240/7.975/2.734 ms') 2025-10-30 18:31:22,640 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23735559-81759351 passed 2025-10-30 18:31:22,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:31:22,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23735559-81759351, IP 110.54.129.131, Port 22 2025-10-30 18:31:22,879 - 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-30 18:31:23,034 - DEBUG - VM ctest-TestBasicPolicy-23735559-81759351 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 18:31:28,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:31:28,035 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23735559-81759351, IP 110.54.129.131, Port 22 2025-10-30 18:31:28,232 - DEBUG - VM ctest-TestBasicPolicy-23735559-81759351 is ready for SSH connections 2025-10-30 18:31:28,232 - INFO - Waiting for VM ctest-TestBasicPolicy-23735559-76091276 to be up.. 2025-10-30 18:31:28,396 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:31:28,397 - INFO - VM name : ctest-TestBasicPolicy-23735559-76091276 2025-10-30 18:31:28,558 - DEBUG - VM ctest-TestBasicPolicy-23735559-76091276 ID is 591dc1ce-de74-4f07-b89f-0608d987f317 2025-10-30 18:31:28,559 - DEBUG - VM ctest-TestBasicPolicy-23735559-76091276 launched on Node cn-jenkins-deploy-platform-ansible-os-4551-1 2025-10-30 18:31:28,708 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/591dc1ce-de74-4f07-b89f-0608d987f317 2025-10-30 18:31:28,721 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b1630e06-64f1-4af0-b15b-b35135b1ba28 2025-10-30 18:31:30,005 - 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=6.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.003/3.567/6.132/2.564 ms') 2025-10-30 18:31:30,005 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23735559-76091276 passed 2025-10-30 18:31:30,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:31:30,189 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23735559-76091276, IP 29.90.242.3, Port 22 2025-10-30 18:31:30,364 - DEBUG - VM ctest-TestBasicPolicy-23735559-76091276 is ready for SSH connections 2025-10-30 18:31:30,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:31:30,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.90.242.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:31:30,365 - DEBUG - ping -s 56 -c 3 -W 1 29.90.242.3 2025-10-30 18:31:34,641 - DEBUG - PING 29.90.242.3 (29.90.242.3): 56 data bytes 64 bytes from 29.90.242.3: seq=0 ttl=63 time=4.569 ms 64 bytes from 29.90.242.3: seq=1 ttl=63 time=1.894 ms 64 bytes from 29.90.242.3: seq=2 ttl=63 time=1.982 ms --- 29.90.242.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.894/2.815/4.569 ms 2025-10-30 18:31:34,641 - INFO - Ping to IP 29.90.242.3 from VM ctest-TestBasicPolicy-23735559-81759351 passed 2025-10-30 18:31:34,857 - DEBUG - Policy Update Response {"network-policy": {"uuid": "787a511a-f929-46fd-933e-c119dbc866f6", "href": "http://10.0.0.141:8082/network-policy/787a511a-f929-46fd-933e-c119dbc866f6"}} 2025-10-30 18:31:34,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:31:34,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.90.242.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:31:34,857 - DEBUG - ping -s 56 -c 3 -W 1 29.90.242.3 2025-10-30 18:31:38,148 - DEBUG - PING 29.90.242.3 (29.90.242.3): 56 data bytes --- 29.90.242.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 18:31:38,148 - WARNING - Ping to IP 29.90.242.3 from VM ctest-TestBasicPolicy-23735559-81759351 failed 2025-10-30 18:31:38,148 - INFO - Deleting VM ctest-TestBasicPolicy-23735559-76091276 2025-10-30 18:31:38,290 - INFO - Deleting VM ctest-TestBasicPolicy-23735559-81759351 2025-10-30 18:31:38,716 - INFO - Deleted policy ctest-policy-allow-all-32699922 2025-10-30 18:31:38,716 - INFO - Deleting VN ctest-vn-50717142 2025-10-30 18:31:38,761 - DEBUG - VN 5119a3c9-626d-4d3c-af69-932f57a1d4b0 still in use: Unable to complete operation on network 5119a3c9-626d-4d3c-af69-932f57a1d4b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f05493c3-5bd8-4320-af0c-56688e850ef7'] 2025-10-30 18:31:38,761 - WARNING - Deleting VN ctest-vn-50717142 failed..Will retry 2025-10-30 18:31:40,927 - DEBUG - Response for deleting network () 2025-10-30 18:31:40,927 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269 2025-10-30 18:31:40,933 - DEBUG - Response Code: 404 2025-10-30 18:31:40,933 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:40,938 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85 2025-10-30 18:31:40,992 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:41,086 - INFO - Validated that VN ctest-vn-50717142 is not found in API Server 2025-10-30 18:31:41,104 - DEBUG - VN ctest-vn-50717142 is not present in Agent 10.0.0.141 2025-10-30 18:31:41,104 - INFO - Validated that VN ctest-vn-50717142 is not in any agent 2025-10-30 18:31:41,128 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50717142 info 2025-10-30 18:31:41,128 - INFO - Deleting VN ctest-vn-45032288 2025-10-30 18:31:41,279 - DEBUG - Response for deleting network () 2025-10-30 18:31:41,279 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3 2025-10-30 18:31:41,286 - DEBUG - Response Code: 404 2025-10-30 18:31:41,286 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 18:31:41,292 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85 2025-10-30 18:31:41,347 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4 2025-10-30 18:31:41,432 - INFO - Validated that VN ctest-vn-45032288 is not found in API Server 2025-10-30 18:31:41,449 - DEBUG - VN ctest-vn-45032288 is not present in Agent 10.0.0.141 2025-10-30 18:31:41,449 - INFO - Validated that VN ctest-vn-45032288 is not in any agent 2025-10-30 18:31:41,471 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45032288 info 2025-10-30 18:31:41,764 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 18:31:41,764 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2025-10-30 18:31:41,764 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:31:42,617 - INFO - Deleted project: ctest-TestBasicPolicy-23735559, ID : ef31ef03-b06f-461a-8ffd-b0a2a54566b4