2025-10-27 02:09:37,721 - INFO - Domain Default found not creating 2025-10-27 02:09:37,900 - INFO - Project ctest-TestBasicPolicy-56264384 not found, creating it 2025-10-27 02:09:38,438 - INFO - Created Project:ctest-TestBasicPolicy-56264384, ID : c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:09:40,084 - INFO - ================================================================================ 2025-10-27 02:09:40,085 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 02:09:40,085 - 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-27 02:09:40,344 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 02:09:40,344 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:09:40,345 - INFO - 2025-10-27 02:09:40,973 - DEBUG - Response for create_network : {'network': {'id': 'cd1d9939-f0fa-4b30-b834-bda473a7b187', 'name': 'ctest-vn-10127912', 'tenant_id': 'c17d72db691b42428a2fb15931f07399', 'project_id': 'c17d72db691b42428a2fb15931f07399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-vn-10127912'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:09:41,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9626d8b-c524-4bbf-a6ff-0a0d6268b38a', 'name': '', 'tenant_id': 'c17d72db691b42428a2fb15931f07399', 'network_id': 'cd1d9939-f0fa-4b30-b834-bda473a7b187', 'ip_version': 4, 'cidr': '91.224.79.0/26', 'allocation_pools': [{'start': '91.224.79.2', 'end': '91.224.79.62'}], 'gateway_ip': '91.224.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.224.79.2', 'tags': [], 'project_id': 'c17d72db691b42428a2fb15931f07399'}} 2025-10-27 02:09:41,208 - INFO - Created VN ctest-vn-10127912 2025-10-27 02:09:41,263 - DEBUG - VN ctest-vn-10127912 UUID is cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:41,558 - DEBUG - Response for create_network : {'network': {'id': 'd1afa85b-588b-4c44-b041-fdf01ffde3a8', 'name': 'ctest-vn-28193391', 'tenant_id': 'c17d72db691b42428a2fb15931f07399', 'project_id': 'c17d72db691b42428a2fb15931f07399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-vn-28193391'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:09:41,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cedee61-4185-4c4d-8ac4-e3d6cc5ef25d', 'name': '', 'tenant_id': 'c17d72db691b42428a2fb15931f07399', 'network_id': 'd1afa85b-588b-4c44-b041-fdf01ffde3a8', 'ip_version': 4, 'cidr': '1.37.140.192/26', 'allocation_pools': [{'start': '1.37.140.194', 'end': '1.37.140.254'}], 'gateway_ip': '1.37.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.37.140.194', 'tags': [], 'project_id': 'c17d72db691b42428a2fb15931f07399'}} 2025-10-27 02:09:41,806 - INFO - Created VN ctest-vn-28193391 2025-10-27 02:09:41,863 - DEBUG - VN ctest-vn-28193391 UUID is d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:41,989 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912, 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-56264384:ctest-vn-28193391, 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-27 02:09:42,305 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd1d9939-f0fa-4b30-b834-bda473a7b187', 'name': 'ctest-vn-10127912', 'tenant_id': 'c17d72db691b42428a2fb15931f07399', 'project_id': 'c17d72db691b42428a2fb15931f07399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9626d8b-c524-4bbf-a6ff-0a0d6268b38a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-vn-10127912'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-policy-allow-all-24329603']], 'subnet_ipam': [{'subnet_cidr': '91.224.79.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:09:42,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1afa85b-588b-4c44-b041-fdf01ffde3a8', 'name': 'ctest-vn-28193391', 'tenant_id': 'c17d72db691b42428a2fb15931f07399', 'project_id': 'c17d72db691b42428a2fb15931f07399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8cedee61-4185-4c4d-8ac4-e3d6cc5ef25d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-vn-28193391'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-policy-allow-all-24329603']], 'subnet_ipam': [{'subnet_cidr': '1.37.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:09:42,711 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:09:43,052 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:09:43,083 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0eb0c76a-21b1-4cbc-8823-c3d297938167 2025-10-27 02:09:43,095 - DEBUG - Requesting: http://10.0.0.242:8082/project/c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:09:43,171 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:43,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:43,192 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e708056-f677-4260-9902-026c2912590b 2025-10-27 02:09:43,200 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e708056-f677-4260-9902-026c2912590b 2025-10-27 02:09:43,208 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0eee6eb3-5da4-4236-aac7-d20f7e4c8d3d 2025-10-27 02:09:43,215 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:09:43,215 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:43,225 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e708056-f677-4260-9902-026c2912590b 2025-10-27 02:09:43,240 - INFO - Verified VN network id 11 for VN cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:43,240 - INFO - Verifications in API Server for VN ctest-vn-10127912 passed 2025-10-27 02:09:43,240 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:43,250 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e708056-f677-4260-9902-026c2912590b 2025-10-27 02:09:43,257 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e708056-f677-4260-9902-026c2912590b 2025-10-27 02:09:43,265 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0eee6eb3-5da4-4236-aac7-d20f7e4c8d3d 2025-10-27 02:09:43,280 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56264384', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14780138026234956592', 'uuid-lslong': '13273442515780350343'}, 'enable': 'true', 'created': '2025-10-27T02:09:40', 'last-modified': '2025-10-27T02:09:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005121'} 2025-10-27 02:09:43,286 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:09:43,286 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10127912 passed 2025-10-27 02:09:43,287 - DEBUG - ====Verifying policy data for ctest-vn-10127912 in API_Server ====== 2025-10-27 02:09:43,287 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:09:43,292 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0eb0c76a-21b1-4cbc-8823-c3d297938167 2025-10-27 02:09:43,305 - DEBUG - Requesting: http://10.0.0.242:8082/project/c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:09:43,379 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cd1d9939-f0fa-4b30-b834-bda473a7b187 2025-10-27 02:09:43,388 - DEBUG - ==>Verifying data for policy with id: b2ece897-95d0-4117-8169-43992691f567, fqn: ['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-policy-allow-all-24329603'] 2025-10-27 02:09:43,388 - INFO - VN ctest-vn-10127912 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:09:43,388 - DEBUG - Verifying the vn in opserver 2025-10-27 02:09:43,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912 virtual network link through opserver 10.0.0.242 2025-10-27 02:09:43,388 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 02:09:43,723 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 02:09:43,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912?flat'} 2025-10-27 02:09:43,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912 is found in opserver 2025-10-27 02:09:43,795 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:09:43,799 - DEBUG - VRF ids for VN ctest-vn-10127912: {} 2025-10-27 02:09:43,800 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:09:43,805 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0eb0c76a-21b1-4cbc-8823-c3d297938167 2025-10-27 02:09:43,818 - DEBUG - Requesting: http://10.0.0.242:8082/project/c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:09:43,892 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:43,905 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:43,915 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb9a335-f14e-4e6a-9ad2-a9eff2ddc561 2025-10-27 02:09:43,922 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb9a335-f14e-4e6a-9ad2-a9eff2ddc561 2025-10-27 02:09:43,930 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d53000c1-2f81-44ba-939f-9cbcef27c497 2025-10-27 02:09:43,937 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:09:43,937 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:43,946 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb9a335-f14e-4e6a-9ad2-a9eff2ddc561 2025-10-27 02:09:43,960 - INFO - Verified VN network id 12 for VN d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:43,960 - INFO - Verifications in API Server for VN ctest-vn-28193391 passed 2025-10-27 02:09:43,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:43,969 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb9a335-f14e-4e6a-9ad2-a9eff2ddc561 2025-10-27 02:09:43,976 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb9a335-f14e-4e6a-9ad2-a9eff2ddc561 2025-10-27 02:09:43,983 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d53000c1-2f81-44ba-939f-9cbcef27c497 2025-10-27 02:09:43,995 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-28193391', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56264384', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15109480385132317764', 'uuid-lslong': '12700711631932220328'}, 'enable': 'true', 'created': '2025-10-27T02:09:41', 'last-modified': '2025-10-27T02:09:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.478915'} 2025-10-27 02:09:44,001 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:09:44,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28193391 passed 2025-10-27 02:09:44,002 - DEBUG - ====Verifying policy data for ctest-vn-28193391 in API_Server ====== 2025-10-27 02:09:44,002 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:09:44,008 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0eb0c76a-21b1-4cbc-8823-c3d297938167 2025-10-27 02:09:44,019 - DEBUG - Requesting: http://10.0.0.242:8082/project/c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:09:44,096 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d1afa85b-588b-4c44-b041-fdf01ffde3a8 2025-10-27 02:09:44,106 - DEBUG - ==>Verifying data for policy with id: b2ece897-95d0-4117-8169-43992691f567, fqn: ['default-domain', 'ctest-TestBasicPolicy-56264384', 'ctest-policy-allow-all-24329603'] 2025-10-27 02:09:44,106 - INFO - VN ctest-vn-28193391 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:09:44,106 - DEBUG - Verifying the vn in opserver 2025-10-27 02:09:44,106 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-28193391 virtual network link through opserver 10.0.0.242 2025-10-27 02:09:44,106 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 02:09:44,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-28193391', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-28193391?flat'} 2025-10-27 02:09:44,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-28193391 is found in opserver 2025-10-27 02:09:44,128 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:09:44,132 - DEBUG - VRF ids for VN ctest-vn-28193391: {} 2025-10-27 02:09:44,201 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:09:45,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4488-1) 2025-10-27 02:09:46,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4488-1) 2025-10-27 02:09:46,727 - INFO - Waiting for VM ctest-TestBasicPolicy-56264384-90861706 to be up.. 2025-10-27 02:09:46,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:09:51,907 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:09:51,907 - INFO - VM name : ctest-TestBasicPolicy-56264384-90861706 2025-10-27 02:09:51,996 - DEBUG - VM ctest-TestBasicPolicy-56264384-90861706 ID is ec9a0397-86da-4730-83c8-a4a92f0e43c4 2025-10-27 02:09:52,019 - DEBUG - VM ctest-TestBasicPolicy-56264384-90861706 launched on Node cn-jenkins-deploy-platform-ansible-os-4488-1 2025-10-27 02:09:52,111 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ec9a0397-86da-4730-83c8-a4a92f0e43c4 2025-10-27 02:09:52,121 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5d8a8b96-7691-474f-aedb-043fcd3c5572 2025-10-27 02:09:55,366 - 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 1002ms') 2025-10-27 02:09:55,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56264384-90861706 failed! 2025-10-27 02:09:55,423 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56264384:ctest-vn-10127912 is 91.224.79.1 and allocation pool is NOT set 2025-10-27 02:09:57,484 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.021/5.822/8.624/2.801 ms') 2025-10-27 02:09:57,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56264384-90861706 passed 2025-10-27 02:09:57,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:09:57,639 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56264384-90861706, IP 91.224.79.3, Port 22 2025-10-27 02:09:57,705 - 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-27 02:09:57,799 - DEBUG - VM ctest-TestBasicPolicy-56264384-90861706 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:10:02,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:10:02,800 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56264384-90861706, IP 91.224.79.3, Port 22 2025-10-27 02:10:02,969 - DEBUG - VM ctest-TestBasicPolicy-56264384-90861706 is ready for SSH connections 2025-10-27 02:10:02,969 - INFO - Waiting for VM ctest-TestBasicPolicy-56264384-16649969 to be up.. 2025-10-27 02:10:03,050 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:10:03,050 - INFO - VM name : ctest-TestBasicPolicy-56264384-16649969 2025-10-27 02:10:03,129 - DEBUG - VM ctest-TestBasicPolicy-56264384-16649969 ID is ecdaca5c-1876-48df-9c43-56f8e1e0b8f3 2025-10-27 02:10:03,129 - DEBUG - VM ctest-TestBasicPolicy-56264384-16649969 launched on Node cn-jenkins-deploy-platform-ansible-os-4488-1 2025-10-27 02:10:03,209 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ecdaca5c-1876-48df-9c43-56f8e1e0b8f3 2025-10-27 02:10:03,220 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/25437519-9207-4332-b0e7-592bf291bccb 2025-10-27 02:10:04,465 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.770/3.091/1.320 ms') 2025-10-27 02:10:04,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56264384-16649969 passed 2025-10-27 02:10:04,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:10:04,619 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56264384-16649969, IP 1.37.140.195, Port 22 2025-10-27 02:10:04,789 - DEBUG - VM ctest-TestBasicPolicy-56264384-16649969 is ready for SSH connections 2025-10-27 02:10:04,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:10:04,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.37.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 02:10:04,790 - DEBUG - ping -s 56 -c 3 -W 1 1.37.140.195 2025-10-27 02:10:08,976 - DEBUG - PING 1.37.140.195 (1.37.140.195): 56 data bytes 64 bytes from 1.37.140.195: seq=0 ttl=63 time=4.212 ms 64 bytes from 1.37.140.195: seq=1 ttl=63 time=1.085 ms 64 bytes from 1.37.140.195: seq=2 ttl=63 time=1.087 ms --- 1.37.140.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/2.128/4.212 ms 2025-10-27 02:10:08,976 - INFO - Ping to IP 1.37.140.195 from VM ctest-TestBasicPolicy-56264384-90861706 passed 2025-10-27 02:10:09,154 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2ece897-95d0-4117-8169-43992691f567", "href": "http://10.0.0.242:8082/network-policy/b2ece897-95d0-4117-8169-43992691f567"}} 2025-10-27 02:10:09,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:10:09,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.37.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 02:10:09,155 - DEBUG - ping -s 56 -c 3 -W 1 1.37.140.195 2025-10-27 02:10:12,394 - DEBUG - PING 1.37.140.195 (1.37.140.195): 56 data bytes --- 1.37.140.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 02:10:12,394 - WARNING - Ping to IP 1.37.140.195 from VM ctest-TestBasicPolicy-56264384-90861706 failed 2025-10-27 02:10:12,395 - INFO - Deleting VM ctest-TestBasicPolicy-56264384-16649969 2025-10-27 02:10:12,476 - INFO - Deleting VM ctest-TestBasicPolicy-56264384-90861706 2025-10-27 02:10:12,872 - INFO - Deleted policy ctest-policy-allow-all-24329603 2025-10-27 02:10:12,872 - INFO - Deleting VN ctest-vn-28193391 2025-10-27 02:10:12,912 - DEBUG - VN d1afa85b-588b-4c44-b041-fdf01ffde3a8 still in use: Unable to complete operation on network d1afa85b-588b-4c44-b041-fdf01ffde3a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba37fb25-3f2f-451d-a7a4-b32356fdfa18'] 2025-10-27 02:10:12,912 - WARNING - Deleting VN ctest-vn-28193391 failed..Will retry 2025-10-27 02:10:15,048 - DEBUG - Response for deleting network () 2025-10-27 02:10:15,048 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb9a335-f14e-4e6a-9ad2-a9eff2ddc561 2025-10-27 02:10:15,055 - DEBUG - Response Code: 404 2025-10-27 02:10:15,055 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:10:15,060 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0eb0c76a-21b1-4cbc-8823-c3d297938167 2025-10-27 02:10:15,113 - DEBUG - Requesting: http://10.0.0.242:8082/project/c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:10:15,189 - INFO - Validated that VN ctest-vn-28193391 is not found in API Server 2025-10-27 02:10:15,201 - DEBUG - VN ctest-vn-28193391 is not present in Agent 10.0.0.242 2025-10-27 02:10:15,201 - INFO - Validated that VN ctest-vn-28193391 is not in any agent 2025-10-27 02:10:15,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28193391 info 2025-10-27 02:10:15,219 - INFO - Deleting VN ctest-vn-10127912 2025-10-27 02:10:15,345 - DEBUG - Response for deleting network () 2025-10-27 02:10:15,345 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e708056-f677-4260-9902-026c2912590b 2025-10-27 02:10:15,355 - DEBUG - Response Code: 404 2025-10-27 02:10:15,355 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 02:10:15,361 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0eb0c76a-21b1-4cbc-8823-c3d297938167 2025-10-27 02:10:15,419 - DEBUG - Requesting: http://10.0.0.242:8082/project/c17d72db-691b-4242-8a2f-b15931f07399 2025-10-27 02:10:15,505 - INFO - Validated that VN ctest-vn-10127912 is not found in API Server 2025-10-27 02:10:15,517 - DEBUG - VN ctest-vn-10127912 is not present in Agent 10.0.0.242 2025-10-27 02:10:15,517 - INFO - Validated that VN ctest-vn-10127912 is not in any agent 2025-10-27 02:10:15,538 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10127912 info 2025-10-27 02:10:15,821 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:10:15,821 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-27 02:10:15,821 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:10:16,566 - INFO - Deleted project: ctest-TestBasicPolicy-56264384, ID : c17d72db-691b-4242-8a2f-b15931f07399