2025-10-23 21:40:01,706 - INFO - Domain Default found not creating 2025-10-23 21:40:01,891 - INFO - Project ctest-TestBasicPolicy-17261070 not found, creating it 2025-10-23 21:40:02,380 - INFO - Created Project:ctest-TestBasicPolicy-17261070, ID : eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:04,003 - INFO - ================================================================================ 2025-10-23 21:40:04,004 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 21:40:04,004 - 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-23 21:40:04,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-23 21:40:04,263 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:40:04,263 - INFO - 2025-10-23 21:40:04,896 - DEBUG - Response for create_network : {'network': {'id': '30b3381a-7f2c-486f-921a-9cea6b09cd71', 'name': 'ctest-vn-21777865', 'tenant_id': 'eb4db6e8597c480b9a9366c4339b3102', 'project_id': 'eb4db6e8597c480b9a9366c4339b3102', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-vn-21777865'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:40:05,067 - DEBUG - Response for create_subnet : {'subnet': {'id': '51324dbe-a7ac-4320-83b7-26c53da0d288', 'name': '', 'tenant_id': 'eb4db6e8597c480b9a9366c4339b3102', 'network_id': '30b3381a-7f2c-486f-921a-9cea6b09cd71', 'ip_version': 4, 'cidr': '162.165.184.192/26', 'allocation_pools': [{'start': '162.165.184.194', 'end': '162.165.184.254'}], 'gateway_ip': '162.165.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.165.184.194', 'tags': [], 'project_id': 'eb4db6e8597c480b9a9366c4339b3102'}} 2025-10-23 21:40:05,086 - INFO - Created VN ctest-vn-21777865 2025-10-23 21:40:05,140 - DEBUG - VN ctest-vn-21777865 UUID is 30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:05,438 - DEBUG - Response for create_network : {'network': {'id': '7bc91be2-b1f1-44cc-99c2-fccf344d1263', 'name': 'ctest-vn-62959689', 'tenant_id': 'eb4db6e8597c480b9a9366c4339b3102', 'project_id': 'eb4db6e8597c480b9a9366c4339b3102', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-vn-62959689'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:40:05,617 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9258f72-4977-4a83-9182-afc000ccbcd3', 'name': '', 'tenant_id': 'eb4db6e8597c480b9a9366c4339b3102', 'network_id': '7bc91be2-b1f1-44cc-99c2-fccf344d1263', 'ip_version': 4, 'cidr': '223.210.89.192/26', 'allocation_pools': [{'start': '223.210.89.194', 'end': '223.210.89.254'}], 'gateway_ip': '223.210.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.210.89.194', 'tags': [], 'project_id': 'eb4db6e8597c480b9a9366c4339b3102'}} 2025-10-23 21:40:05,644 - INFO - Created VN ctest-vn-62959689 2025-10-23 21:40:05,700 - DEBUG - VN ctest-vn-62959689 UUID is 7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:05,821 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865, 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-17261070:ctest-vn-62959689, 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-23 21:40:06,125 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30b3381a-7f2c-486f-921a-9cea6b09cd71', 'name': 'ctest-vn-21777865', 'tenant_id': 'eb4db6e8597c480b9a9366c4339b3102', 'project_id': 'eb4db6e8597c480b9a9366c4339b3102', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51324dbe-a7ac-4320-83b7-26c53da0d288'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-vn-21777865'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-policy-allow-all-27236574']], 'subnet_ipam': [{'subnet_cidr': '162.165.184.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:40:06,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7bc91be2-b1f1-44cc-99c2-fccf344d1263', 'name': 'ctest-vn-62959689', 'tenant_id': 'eb4db6e8597c480b9a9366c4339b3102', 'project_id': 'eb4db6e8597c480b9a9366c4339b3102', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9258f72-4977-4a83-9182-afc000ccbcd3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-vn-62959689'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-policy-allow-all-27236574']], 'subnet_ipam': [{'subnet_cidr': '223.210.89.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:40:06,552 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:07,233 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:07,273 - DEBUG - Requesting: http://10.0.0.141:8082/domain/87fdf487-488e-4b69-b864-3dd930774b7a 2025-10-23 21:40:07,286 - DEBUG - Requesting: http://10.0.0.141:8082/project/eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:07,364 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:07,375 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:07,385 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fc11916b-8e95-473c-bb71-075234714ea3 2025-10-23 21:40:07,393 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fc11916b-8e95-473c-bb71-075234714ea3 2025-10-23 21:40:07,400 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/aa945774-759a-4e1b-8ce5-13761b334039 2025-10-23 21:40:07,406 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 21:40:07,406 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:07,415 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fc11916b-8e95-473c-bb71-075234714ea3 2025-10-23 21:40:07,429 - INFO - Verified VN network id 12 for VN 30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:07,430 - INFO - Verifications in API Server for VN ctest-vn-21777865 passed 2025-10-23 21:40:07,430 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:07,440 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fc11916b-8e95-473c-bb71-075234714ea3 2025-10-23 21:40:07,448 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fc11916b-8e95-473c-bb71-075234714ea3 2025-10-23 21:40:07,458 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/aa945774-759a-4e1b-8ce5-13761b334039 2025-10-23 21:40:07,472 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17261070', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3509210221105662063', 'uuid-lslong': '10527899609564040561'}, 'enable': 'true', 'created': '2025-10-23T21:40:04', 'last-modified': '2025-10-23T21:40:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372945'} 2025-10-23 21:40:07,478 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 21:40:07,478 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21777865 passed 2025-10-23 21:40:07,479 - DEBUG - ====Verifying policy data for ctest-vn-21777865 in API_Server ====== 2025-10-23 21:40:07,479 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:07,486 - DEBUG - Requesting: http://10.0.0.141:8082/domain/87fdf487-488e-4b69-b864-3dd930774b7a 2025-10-23 21:40:07,499 - DEBUG - Requesting: http://10.0.0.141:8082/project/eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:07,570 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30b3381a-7f2c-486f-921a-9cea6b09cd71 2025-10-23 21:40:07,579 - DEBUG - ==>Verifying data for policy with id: 5aad5b88-4aa3-400e-8294-4d50692d332a, fqn: ['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-policy-allow-all-27236574'] 2025-10-23 21:40:07,579 - INFO - VN ctest-vn-21777865 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 21:40:07,580 - DEBUG - Verifying the vn in opserver 2025-10-23 21:40:07,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865 virtual network link through opserver 10.0.0.141 2025-10-23 21:40:07,580 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-23 21:40:07,921 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-23 21:40:07,979 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865?flat'} 2025-10-23 21:40:07,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865 is found in opserver 2025-10-23 21:40:07,989 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 21:40:07,995 - DEBUG - VRF ids for VN ctest-vn-21777865: {} 2025-10-23 21:40:07,995 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:08,001 - DEBUG - Requesting: http://10.0.0.141:8082/domain/87fdf487-488e-4b69-b864-3dd930774b7a 2025-10-23 21:40:08,013 - DEBUG - Requesting: http://10.0.0.141:8082/project/eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:08,086 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:08,097 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:08,107 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/632887a7-8590-4e85-ad8f-137e96851669 2025-10-23 21:40:08,114 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/632887a7-8590-4e85-ad8f-137e96851669 2025-10-23 21:40:08,120 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f264f44c-31c4-41f7-923a-7224c685f2f8 2025-10-23 21:40:08,127 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 21:40:08,127 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:08,136 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/632887a7-8590-4e85-ad8f-137e96851669 2025-10-23 21:40:08,155 - INFO - Verified VN network id 13 for VN 7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:08,155 - INFO - Verifications in API Server for VN ctest-vn-62959689 passed 2025-10-23 21:40:08,155 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:08,165 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/632887a7-8590-4e85-ad8f-137e96851669 2025-10-23 21:40:08,173 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/632887a7-8590-4e85-ad8f-137e96851669 2025-10-23 21:40:08,181 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f264f44c-31c4-41f7-923a-7224c685f2f8 2025-10-23 21:40:08,194 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-62959689', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17261070', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8919691197445915852', 'uuid-lslong': '11079696000150737507'}, 'enable': 'true', 'created': '2025-10-23T21:40:05', 'last-modified': '2025-10-23T21:40:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.847724'} 2025-10-23 21:40:08,200 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 21:40:08,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62959689 passed 2025-10-23 21:40:08,201 - DEBUG - ====Verifying policy data for ctest-vn-62959689 in API_Server ====== 2025-10-23 21:40:08,201 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:08,207 - DEBUG - Requesting: http://10.0.0.141:8082/domain/87fdf487-488e-4b69-b864-3dd930774b7a 2025-10-23 21:40:08,220 - DEBUG - Requesting: http://10.0.0.141:8082/project/eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:08,298 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7bc91be2-b1f1-44cc-99c2-fccf344d1263 2025-10-23 21:40:08,308 - DEBUG - ==>Verifying data for policy with id: 5aad5b88-4aa3-400e-8294-4d50692d332a, fqn: ['default-domain', 'ctest-TestBasicPolicy-17261070', 'ctest-policy-allow-all-27236574'] 2025-10-23 21:40:08,308 - INFO - VN ctest-vn-62959689 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 21:40:08,308 - DEBUG - Verifying the vn in opserver 2025-10-23 21:40:08,308 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-62959689 virtual network link through opserver 10.0.0.141 2025-10-23 21:40:08,308 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-23 21:40:08,318 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-62959689', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-62959689?flat'} 2025-10-23 21:40:08,318 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-62959689 is found in opserver 2025-10-23 21:40:08,328 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 21:40:08,333 - DEBUG - VRF ids for VN ctest-vn-62959689: {} 2025-10-23 21:40:08,396 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:40:09,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4469-1) 2025-10-23 21:40:10,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4469-1) 2025-10-23 21:40:10,869 - INFO - Waiting for VM ctest-TestBasicPolicy-17261070-39915504 to be up.. 2025-10-23 21:40:10,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:40:16,056 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:40:16,056 - INFO - VM name : ctest-TestBasicPolicy-17261070-39915504 2025-10-23 21:40:16,134 - DEBUG - VM ctest-TestBasicPolicy-17261070-39915504 ID is af3ad0e8-ebd0-4d69-8ae2-54502cc7d0a2 2025-10-23 21:40:16,161 - DEBUG - VM ctest-TestBasicPolicy-17261070-39915504 launched on Node cn-jenkins-deploy-platform-ansible-os-4469-1 2025-10-23 21:40:16,244 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/af3ad0e8-ebd0-4d69-8ae2-54502cc7d0a2 2025-10-23 21:40:16,253 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/03221b82-a47d-4632-8bef-9fb1efed781a 2025-10-23 21:40:19,519 - 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 1022ms') 2025-10-23 21:40:19,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17261070-39915504 failed! 2025-10-23 21:40:19,576 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17261070:ctest-vn-21777865 is 162.165.184.193 and allocation pool is NOT set 2025-10-23 21:40:21,634 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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.410/4.680/7.951/3.270 ms') 2025-10-23 21:40:21,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17261070-39915504 passed 2025-10-23 21:40:21,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:40:21,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17261070-39915504, IP 162.165.184.195, Port 22 2025-10-23 21:40:21,849 - 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-23 21:40:21,930 - DEBUG - VM ctest-TestBasicPolicy-17261070-39915504 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 21:40:26,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:40:26,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17261070-39915504, IP 162.165.184.195, Port 22 2025-10-23 21:40:27,088 - DEBUG - VM ctest-TestBasicPolicy-17261070-39915504 is ready for SSH connections 2025-10-23 21:40:27,088 - INFO - Waiting for VM ctest-TestBasicPolicy-17261070-37114037 to be up.. 2025-10-23 21:40:27,173 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:40:27,174 - INFO - VM name : ctest-TestBasicPolicy-17261070-37114037 2025-10-23 21:40:27,272 - DEBUG - VM ctest-TestBasicPolicy-17261070-37114037 ID is aff8f248-ace6-4d04-bfc7-7dc268a13e8f 2025-10-23 21:40:27,272 - DEBUG - VM ctest-TestBasicPolicy-17261070-37114037 launched on Node cn-jenkins-deploy-platform-ansible-os-4469-1 2025-10-23 21:40:27,366 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/aff8f248-ace6-4d04-bfc7-7dc268a13e8f 2025-10-23 21:40:27,376 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/65fcacda-a7bc-471d-b554-811a2b57f869 2025-10-23 21:40:28,630 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.973/3.504/1.531 ms') 2025-10-23 21:40:28,630 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17261070-37114037 passed 2025-10-23 21:40:28,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:40:28,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17261070-37114037, IP 223.210.89.195, Port 22 2025-10-23 21:40:28,947 - DEBUG - VM ctest-TestBasicPolicy-17261070-37114037 is ready for SSH connections 2025-10-23 21:40:28,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:40:28,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.210.89.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-23 21:40:28,947 - DEBUG - ping -s 56 -c 3 -W 1 223.210.89.195 2025-10-23 21:40:33,130 - DEBUG - PING 223.210.89.195 (223.210.89.195): 56 data bytes 64 bytes from 223.210.89.195: seq=0 ttl=63 time=3.888 ms 64 bytes from 223.210.89.195: seq=1 ttl=63 time=1.044 ms 64 bytes from 223.210.89.195: seq=2 ttl=63 time=1.072 ms --- 223.210.89.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.044/2.001/3.888 ms 2025-10-23 21:40:33,131 - INFO - Ping to IP 223.210.89.195 from VM ctest-TestBasicPolicy-17261070-39915504 passed 2025-10-23 21:40:33,332 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5aad5b88-4aa3-400e-8294-4d50692d332a", "href": "http://10.0.0.141:8082/network-policy/5aad5b88-4aa3-400e-8294-4d50692d332a"}} 2025-10-23 21:40:33,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:40:33,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.210.89.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-23 21:40:33,332 - DEBUG - ping -s 56 -c 3 -W 1 223.210.89.195 2025-10-23 21:40:36,575 - DEBUG - PING 223.210.89.195 (223.210.89.195): 56 data bytes --- 223.210.89.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 21:40:36,575 - WARNING - Ping to IP 223.210.89.195 from VM ctest-TestBasicPolicy-17261070-39915504 failed 2025-10-23 21:40:36,575 - INFO - Deleting VM ctest-TestBasicPolicy-17261070-37114037 2025-10-23 21:40:36,658 - INFO - Deleting VM ctest-TestBasicPolicy-17261070-39915504 2025-10-23 21:40:37,065 - INFO - Deleted policy ctest-policy-allow-all-27236574 2025-10-23 21:40:37,065 - INFO - Deleting VN ctest-vn-62959689 2025-10-23 21:40:37,112 - DEBUG - VN 7bc91be2-b1f1-44cc-99c2-fccf344d1263 still in use: Unable to complete operation on network 7bc91be2-b1f1-44cc-99c2-fccf344d1263. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd17e5e2-4e31-4921-bcd0-7802521b783e'] 2025-10-23 21:40:37,112 - WARNING - Deleting VN ctest-vn-62959689 failed..Will retry 2025-10-23 21:40:39,220 - DEBUG - Response for deleting network () 2025-10-23 21:40:39,221 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/632887a7-8590-4e85-ad8f-137e96851669 2025-10-23 21:40:39,229 - DEBUG - Response Code: 404 2025-10-23 21:40:39,229 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:39,236 - DEBUG - Requesting: http://10.0.0.141:8082/domain/87fdf487-488e-4b69-b864-3dd930774b7a 2025-10-23 21:40:39,289 - DEBUG - Requesting: http://10.0.0.141:8082/project/eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:39,357 - INFO - Validated that VN ctest-vn-62959689 is not found in API Server 2025-10-23 21:40:39,368 - DEBUG - VN ctest-vn-62959689 is not present in Agent 10.0.0.141 2025-10-23 21:40:39,368 - INFO - Validated that VN ctest-vn-62959689 is not in any agent 2025-10-23 21:40:39,381 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62959689 info 2025-10-23 21:40:39,381 - INFO - Deleting VN ctest-vn-21777865 2025-10-23 21:40:39,498 - DEBUG - Response for deleting network () 2025-10-23 21:40:39,498 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/fc11916b-8e95-473c-bb71-075234714ea3 2025-10-23 21:40:39,504 - DEBUG - Response Code: 404 2025-10-23 21:40:39,504 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 21:40:39,509 - DEBUG - Requesting: http://10.0.0.141:8082/domain/87fdf487-488e-4b69-b864-3dd930774b7a 2025-10-23 21:40:39,565 - DEBUG - Requesting: http://10.0.0.141:8082/project/eb4db6e8-597c-480b-9a93-66c4339b3102 2025-10-23 21:40:39,636 - INFO - Validated that VN ctest-vn-21777865 is not found in API Server 2025-10-23 21:40:39,646 - DEBUG - VN ctest-vn-21777865 is not present in Agent 10.0.0.141 2025-10-23 21:40:39,646 - INFO - Validated that VN ctest-vn-21777865 is not in any agent 2025-10-23 21:40:39,659 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21777865 info 2025-10-23 21:40:39,913 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:40:39,913 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-23 21:40:39,913 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:40:40,639 - INFO - Deleted project: ctest-TestBasicPolicy-17261070, ID : eb4db6e8-597c-480b-9a93-66c4339b3102