2025-10-16 10:42:41,164 - INFO - Domain Default found not creating 2025-10-16 10:42:41,323 - INFO - Project ctest-TestBasicPolicy-61397078 not found, creating it 2025-10-16 10:42:41,822 - INFO - Created Project:ctest-TestBasicPolicy-61397078, ID : cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:42:43,363 - INFO - ================================================================================ 2025-10-16 10:42:43,364 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-16 10:42:43,364 - 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-16 10:42:43,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.18': '0'}} with 2025-10-16 10:42:43,617 - INFO - Initial checks done. Running the testcase now 2025-10-16 10:42:43,617 - INFO - 2025-10-16 10:42:44,217 - DEBUG - Response for create_network : {'network': {'id': '9f17a244-182e-47f5-a9ec-82d5046e1032', 'name': 'ctest-vn-36664637', 'tenant_id': 'cc6006428fd0417aa8546549c7ddfee2', 'project_id': 'cc6006428fd0417aa8546549c7ddfee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-vn-36664637'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:42:44,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '84502576-b692-4d8c-a364-0299401913c5', 'name': '', 'tenant_id': 'cc6006428fd0417aa8546549c7ddfee2', 'network_id': '9f17a244-182e-47f5-a9ec-82d5046e1032', 'ip_version': 4, 'cidr': '215.33.167.192/26', 'allocation_pools': [{'start': '215.33.167.194', 'end': '215.33.167.254'}], 'gateway_ip': '215.33.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.33.167.194', 'tags': [], 'project_id': 'cc6006428fd0417aa8546549c7ddfee2'}} 2025-10-16 10:42:44,447 - INFO - Created VN ctest-vn-36664637 2025-10-16 10:42:44,500 - DEBUG - VN ctest-vn-36664637 UUID is 9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:44,836 - DEBUG - Response for create_network : {'network': {'id': 'd6176fbe-ea69-4c46-a817-3c4776347a75', 'name': 'ctest-vn-19912441', 'tenant_id': 'cc6006428fd0417aa8546549c7ddfee2', 'project_id': 'cc6006428fd0417aa8546549c7ddfee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-vn-19912441'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:42:45,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ef5ee94-fa0d-4d4d-84f4-df67ec7b477c', 'name': '', 'tenant_id': 'cc6006428fd0417aa8546549c7ddfee2', 'network_id': 'd6176fbe-ea69-4c46-a817-3c4776347a75', 'ip_version': 4, 'cidr': '174.9.239.64/26', 'allocation_pools': [{'start': '174.9.239.66', 'end': '174.9.239.126'}], 'gateway_ip': '174.9.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.9.239.66', 'tags': [], 'project_id': 'cc6006428fd0417aa8546549c7ddfee2'}} 2025-10-16 10:42:45,069 - INFO - Created VN ctest-vn-19912441 2025-10-16 10:42:45,124 - DEBUG - VN ctest-vn-19912441 UUID is d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:45,275 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637, 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-61397078:ctest-vn-19912441, 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-16 10:42:45,563 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f17a244-182e-47f5-a9ec-82d5046e1032', 'name': 'ctest-vn-36664637', 'tenant_id': 'cc6006428fd0417aa8546549c7ddfee2', 'project_id': 'cc6006428fd0417aa8546549c7ddfee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84502576-b692-4d8c-a364-0299401913c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-vn-36664637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-policy-allow-all-52400234']], 'subnet_ipam': [{'subnet_cidr': '215.33.167.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:42:45,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6176fbe-ea69-4c46-a817-3c4776347a75', 'name': 'ctest-vn-19912441', 'tenant_id': 'cc6006428fd0417aa8546549c7ddfee2', 'project_id': 'cc6006428fd0417aa8546549c7ddfee2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ef5ee94-fa0d-4d4d-84f4-df67ec7b477c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-vn-19912441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-policy-allow-all-52400234']], 'subnet_ipam': [{'subnet_cidr': '174.9.239.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:42:45,936 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:42:46,292 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:42:46,319 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f30d30e0-e9b8-4d0f-89b0-ef3c94d4c289 2025-10-16 10:42:46,332 - DEBUG - Requesting: http://10.0.0.48:8082/project/cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:42:46,404 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:46,415 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:46,424 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/d3aca13c-5eb6-41ab-bbfb-b8bd0be6eb8e 2025-10-16 10:42:46,430 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/d3aca13c-5eb6-41ab-bbfb-b8bd0be6eb8e 2025-10-16 10:42:46,436 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9df9bfd7-4777-4098-8edf-75415ca46cee 2025-10-16 10:42:46,442 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 10:42:46,442 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:46,450 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/d3aca13c-5eb6-41ab-bbfb-b8bd0be6eb8e 2025-10-16 10:42:46,462 - INFO - Verified VN network id 11 for VN 9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:46,463 - INFO - Verifications in API Server for VN ctest-vn-36664637 passed 2025-10-16 10:42:46,463 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:46,472 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/d3aca13c-5eb6-41ab-bbfb-b8bd0be6eb8e 2025-10-16 10:42:46,479 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/d3aca13c-5eb6-41ab-bbfb-b8bd0be6eb8e 2025-10-16 10:42:46,485 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9df9bfd7-4777-4098-8edf-75415ca46cee 2025-10-16 10:42:46,497 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61397078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11463809789842049013', 'uuid-lslong': '12244305338327502898'}, 'enable': 'true', 'created': '2025-10-16T10:42:44', 'last-modified': '2025-10-16T10:42:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953823'} 2025-10-16 10:42:46,503 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 10:42:46,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36664637 passed 2025-10-16 10:42:46,503 - DEBUG - ====Verifying policy data for ctest-vn-36664637 in API_Server ====== 2025-10-16 10:42:46,503 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:42:46,508 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f30d30e0-e9b8-4d0f-89b0-ef3c94d4c289 2025-10-16 10:42:46,518 - DEBUG - Requesting: http://10.0.0.48:8082/project/cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:42:46,590 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9f17a244-182e-47f5-a9ec-82d5046e1032 2025-10-16 10:42:46,599 - DEBUG - ==>Verifying data for policy with id: 45df7f4f-500c-457e-ae13-cef3d3f28d65, fqn: ['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-policy-allow-all-52400234'] 2025-10-16 10:42:46,600 - INFO - VN ctest-vn-36664637 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 10:42:46,600 - DEBUG - Verifying the vn in opserver 2025-10-16 10:42:46,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637 virtual network link through opserver 10.0.0.48 2025-10-16 10:42:46,600 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-16 10:42:46,932 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-16 10:42:46,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637?flat'} 2025-10-16 10:42:46,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637 is found in opserver 2025-10-16 10:42:46,999 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 10:42:47,004 - DEBUG - VRF ids for VN ctest-vn-36664637: {} 2025-10-16 10:42:47,004 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:42:47,010 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f30d30e0-e9b8-4d0f-89b0-ef3c94d4c289 2025-10-16 10:42:47,022 - DEBUG - Requesting: http://10.0.0.48:8082/project/cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:42:47,096 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:47,108 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:47,117 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/6e774866-bd13-46e5-a504-4d2f3c1e88eb 2025-10-16 10:42:47,123 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/6e774866-bd13-46e5-a504-4d2f3c1e88eb 2025-10-16 10:42:47,131 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7c36173f-5a38-4cc5-a4c2-b83b593a1b38 2025-10-16 10:42:47,137 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 10:42:47,137 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:47,146 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/6e774866-bd13-46e5-a504-4d2f3c1e88eb 2025-10-16 10:42:47,161 - INFO - Verified VN network id 12 for VN d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:47,161 - INFO - Verifications in API Server for VN ctest-vn-19912441 passed 2025-10-16 10:42:47,162 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:47,171 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/6e774866-bd13-46e5-a504-4d2f3c1e88eb 2025-10-16 10:42:47,178 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/6e774866-bd13-46e5-a504-4d2f3c1e88eb 2025-10-16 10:42:47,185 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7c36173f-5a38-4cc5-a4c2-b83b593a1b38 2025-10-16 10:42:47,198 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-19912441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61397078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15426921914348162118', 'uuid-lslong': '12112216000459733621'}, 'enable': 'true', 'created': '2025-10-16T10:42:44', 'last-modified': '2025-10-16T10:42:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432107'} 2025-10-16 10:42:47,203 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 10:42:47,204 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19912441 passed 2025-10-16 10:42:47,204 - DEBUG - ====Verifying policy data for ctest-vn-19912441 in API_Server ====== 2025-10-16 10:42:47,204 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:42:47,208 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f30d30e0-e9b8-4d0f-89b0-ef3c94d4c289 2025-10-16 10:42:47,218 - DEBUG - Requesting: http://10.0.0.48:8082/project/cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:42:47,292 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6176fbe-ea69-4c46-a817-3c4776347a75 2025-10-16 10:42:47,300 - DEBUG - ==>Verifying data for policy with id: 45df7f4f-500c-457e-ae13-cef3d3f28d65, fqn: ['default-domain', 'ctest-TestBasicPolicy-61397078', 'ctest-policy-allow-all-52400234'] 2025-10-16 10:42:47,300 - INFO - VN ctest-vn-19912441 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 10:42:47,300 - DEBUG - Verifying the vn in opserver 2025-10-16 10:42:47,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-19912441 virtual network link through opserver 10.0.0.48 2025-10-16 10:42:47,301 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-16 10:42:47,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-19912441', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-19912441?flat'} 2025-10-16 10:42:47,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-19912441 is found in opserver 2025-10-16 10:42:47,325 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 10:42:47,331 - DEBUG - VRF ids for VN ctest-vn-19912441: {} 2025-10-16 10:42:47,388 - DEBUG - Services list from nova: [, , ] 2025-10-16 10:42:48,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4344-1) 2025-10-16 10:42:49,678 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4344-1) 2025-10-16 10:42:49,678 - INFO - Waiting for VM ctest-TestBasicPolicy-61397078-07234866 to be up.. 2025-10-16 10:42:49,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 10:42:54,843 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:42:54,843 - INFO - VM name : ctest-TestBasicPolicy-61397078-07234866 2025-10-16 10:42:54,919 - DEBUG - VM ctest-TestBasicPolicy-61397078-07234866 ID is d73abb80-be84-4eab-9bde-ff7aca047358 2025-10-16 10:42:54,939 - DEBUG - VM ctest-TestBasicPolicy-61397078-07234866 launched on Node cn-jenkins-deploy-platform-ansible-os-4344-1 2025-10-16 10:42:55,023 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d73abb80-be84-4eab-9bde-ff7aca047358 2025-10-16 10:42:55,031 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c7991a7d-aa9d-4c3c-8bb8-7b9719560dcb 2025-10-16 10:42:58,292 - 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 1030ms') 2025-10-16 10:42:58,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61397078-07234866 failed! 2025-10-16 10:42:58,348 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61397078:ctest-vn-36664637 is 215.33.167.193 and allocation pool is NOT set 2025-10-16 10:43:00,406 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.811 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 = 0.811/4.548/8.285/3.737 ms') 2025-10-16 10:43:00,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61397078-07234866 passed 2025-10-16 10:43:00,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:43:00,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61397078-07234866, IP 215.33.167.195, Port 22 2025-10-16 10:43:00,625 - 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-16 10:43:00,719 - DEBUG - VM ctest-TestBasicPolicy-61397078-07234866 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 10:43:05,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:43:05,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61397078-07234866, IP 215.33.167.195, Port 22 2025-10-16 10:43:05,875 - DEBUG - VM ctest-TestBasicPolicy-61397078-07234866 is ready for SSH connections 2025-10-16 10:43:05,875 - INFO - Waiting for VM ctest-TestBasicPolicy-61397078-46562894 to be up.. 2025-10-16 10:43:05,951 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:43:05,951 - INFO - VM name : ctest-TestBasicPolicy-61397078-46562894 2025-10-16 10:43:06,025 - DEBUG - VM ctest-TestBasicPolicy-61397078-46562894 ID is 7309489a-2220-45b4-8595-451155392953 2025-10-16 10:43:06,025 - DEBUG - VM ctest-TestBasicPolicy-61397078-46562894 launched on Node cn-jenkins-deploy-platform-ansible-os-4344-1 2025-10-16 10:43:06,100 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7309489a-2220-45b4-8595-451155392953 2025-10-16 10:43:06,109 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e88b27b3-3ce8-41f7-b807-24885fd39e8b 2025-10-16 10:43:07,347 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.400/1.934/3.468/1.534 ms') 2025-10-16 10:43:07,347 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61397078-46562894 passed 2025-10-16 10:43:07,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:43:07,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61397078-46562894, IP 174.9.239.67, Port 22 2025-10-16 10:43:07,655 - DEBUG - VM ctest-TestBasicPolicy-61397078-46562894 is ready for SSH connections 2025-10-16 10:43:07,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:43:07,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.9.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:43:07,655 - DEBUG - ping -s 56 -c 3 -W 1 174.9.239.67 2025-10-16 10:43:11,815 - DEBUG - PING 174.9.239.67 (174.9.239.67): 56 data bytes 64 bytes from 174.9.239.67: seq=0 ttl=63 time=3.511 ms 64 bytes from 174.9.239.67: seq=1 ttl=63 time=1.056 ms 64 bytes from 174.9.239.67: seq=2 ttl=63 time=0.801 ms --- 174.9.239.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/1.789/3.511 ms 2025-10-16 10:43:11,815 - INFO - Ping to IP 174.9.239.67 from VM ctest-TestBasicPolicy-61397078-07234866 passed 2025-10-16 10:43:11,991 - DEBUG - Policy Update Response {"network-policy": {"uuid": "45df7f4f-500c-457e-ae13-cef3d3f28d65", "href": "http://10.0.0.48:8082/network-policy/45df7f4f-500c-457e-ae13-cef3d3f28d65"}} 2025-10-16 10:43:11,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:43:11,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.9.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:43:11,992 - DEBUG - ping -s 56 -c 3 -W 1 174.9.239.67 2025-10-16 10:43:15,224 - DEBUG - PING 174.9.239.67 (174.9.239.67): 56 data bytes --- 174.9.239.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 10:43:15,224 - WARNING - Ping to IP 174.9.239.67 from VM ctest-TestBasicPolicy-61397078-07234866 failed 2025-10-16 10:43:15,224 - INFO - Deleting VM ctest-TestBasicPolicy-61397078-46562894 2025-10-16 10:43:15,306 - INFO - Deleting VM ctest-TestBasicPolicy-61397078-07234866 2025-10-16 10:43:15,940 - INFO - Deleted policy ctest-policy-allow-all-52400234 2025-10-16 10:43:15,940 - INFO - Deleting VN ctest-vn-19912441 2025-10-16 10:43:16,035 - DEBUG - VN d6176fbe-ea69-4c46-a817-3c4776347a75 still in use: Unable to complete operation on network d6176fbe-ea69-4c46-a817-3c4776347a75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d37452b-990a-4032-9ac2-0ace47a28960'] 2025-10-16 10:43:16,035 - WARNING - Deleting VN ctest-vn-19912441 failed..Will retry 2025-10-16 10:43:18,138 - DEBUG - Response for deleting network () 2025-10-16 10:43:18,139 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/6e774866-bd13-46e5-a504-4d2f3c1e88eb 2025-10-16 10:43:18,144 - DEBUG - Response Code: 404 2025-10-16 10:43:18,144 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:43:18,148 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f30d30e0-e9b8-4d0f-89b0-ef3c94d4c289 2025-10-16 10:43:18,202 - DEBUG - Requesting: http://10.0.0.48:8082/project/cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:43:18,273 - INFO - Validated that VN ctest-vn-19912441 is not found in API Server 2025-10-16 10:43:18,282 - DEBUG - VN ctest-vn-19912441 is not present in Agent 10.0.0.48 2025-10-16 10:43:18,282 - INFO - Validated that VN ctest-vn-19912441 is not in any agent 2025-10-16 10:43:18,297 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19912441 info 2025-10-16 10:43:18,297 - INFO - Deleting VN ctest-vn-36664637 2025-10-16 10:43:18,396 - DEBUG - Response for deleting network () 2025-10-16 10:43:18,397 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/d3aca13c-5eb6-41ab-bbfb-b8bd0be6eb8e 2025-10-16 10:43:18,403 - DEBUG - Response Code: 404 2025-10-16 10:43:18,403 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-16 10:43:18,409 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f30d30e0-e9b8-4d0f-89b0-ef3c94d4c289 2025-10-16 10:43:18,461 - DEBUG - Requesting: http://10.0.0.48:8082/project/cc600642-8fd0-417a-a854-6549c7ddfee2 2025-10-16 10:43:18,535 - INFO - Validated that VN ctest-vn-36664637 is not found in API Server 2025-10-16 10:43:18,547 - DEBUG - VN ctest-vn-36664637 is not present in Agent 10.0.0.48 2025-10-16 10:43:18,547 - INFO - Validated that VN ctest-vn-36664637 is not in any agent 2025-10-16 10:43:18,560 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36664637 info 2025-10-16 10:43:18,820 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 10:43:18,820 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-16 10:43:18,821 - INFO - -------------------------------------------------------------------------------- 2025-10-16 10:43:19,579 - INFO - Deleted project: ctest-TestBasicPolicy-61397078, ID : cc600642-8fd0-417a-a854-6549c7ddfee2