2026-10-27 01:32:10,162 - INFO - Domain Default found not creating 2026-10-27 01:32:10,331 - INFO - Project ctest-TestBasicPolicy-28309523 not found, creating it 2026-10-27 01:32:10,773 - INFO - Created Project:ctest-TestBasicPolicy-28309523, ID : 659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:32:12,415 - INFO - ================================================================================ 2026-10-27 01:32:12,415 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-27 01:32:12,415 - 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 2026-10-27 01:32:12,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-27 01:32:12,671 - INFO - Initial checks done. Running the testcase now 2026-10-27 01:32:12,671 - INFO - 2026-10-27 01:32:13,256 - DEBUG - Response for create_network : {'network': {'id': 'bc805dcd-ba73-4cbd-8aaa-6482cc52c194', 'name': 'ctest-vn-73377066', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-73377066'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 01:32:13,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bba788d-fc4f-416f-8504-a12ebfe8cab4', 'name': '', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'network_id': 'bc805dcd-ba73-4cbd-8aaa-6482cc52c194', 'ip_version': 4, 'cidr': '92.20.182.0/26', 'allocation_pools': [{'start': '92.20.182.2', 'end': '92.20.182.62'}], 'gateway_ip': '92.20.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.20.182.2', 'tags': [], 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5'}} 2026-10-27 01:32:13,429 - INFO - Created VN ctest-vn-73377066 2026-10-27 01:32:13,480 - DEBUG - VN ctest-vn-73377066 UUID is bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:13,783 - DEBUG - Response for create_network : {'network': {'id': '2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df', 'name': 'ctest-vn-75971873', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-75971873'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 01:32:14,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6f93377-f90e-47ac-a032-d02a9cb062b6', 'name': '', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'network_id': '2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df', 'ip_version': 4, 'cidr': '191.57.184.64/26', 'allocation_pools': [{'start': '191.57.184.66', 'end': '191.57.184.126'}], 'gateway_ip': '191.57.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.57.184.66', 'tags': [], 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5'}} 2026-10-27 01:32:14,021 - INFO - Created VN ctest-vn-75971873 2026-10-27 01:32:14,072 - DEBUG - VN ctest-vn-75971873 UUID is 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:14,216 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066, 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-28309523:ctest-vn-75971873, 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] 2026-10-27 01:32:14,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc805dcd-ba73-4cbd-8aaa-6482cc52c194', 'name': 'ctest-vn-73377066', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1bba788d-fc4f-416f-8504-a12ebfe8cab4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-73377066'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662']], 'subnet_ipam': [{'subnet_cidr': '92.20.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-27 01:32:14,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df', 'name': 'ctest-vn-75971873', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b6f93377-f90e-47ac-a032-d02a9cb062b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-75971873'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662']], 'subnet_ipam': [{'subnet_cidr': '191.57.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-27 01:32:14,920 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:32:15,517 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:32:15,545 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334 2026-10-27 01:32:15,558 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:32:15,634 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:15,645 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:15,654 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845 2026-10-27 01:32:15,661 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845 2026-10-27 01:32:15,667 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c05ed9c3-cc47-4b42-a097-3189726c6835 2026-10-27 01:32:15,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-27 01:32:15,674 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:15,683 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845 2026-10-27 01:32:15,696 - INFO - Verified VN network id 12 for VN bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:15,697 - INFO - Verifications in API Server for VN ctest-vn-73377066 passed 2026-10-27 01:32:15,697 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:15,706 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845 2026-10-27 01:32:15,713 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845 2026-10-27 01:32:15,720 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c05ed9c3-cc47-4b42-a097-3189726c6835 2026-10-27 01:32:15,733 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28309523', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13582959614327213245', 'uuid-lslong': '9991909236211368340'}, 'enable': 'true', 'created': '2026-10-27T01:32:13', 'last-modified': '2026-10-27T01:32:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.253455'} 2026-10-27 01:32:15,741 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-27 01:32:15,741 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73377066 passed 2026-10-27 01:32:15,742 - DEBUG - ====Verifying policy data for ctest-vn-73377066 in API_Server ====== 2026-10-27 01:32:15,742 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:32:15,747 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334 2026-10-27 01:32:15,759 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:32:15,835 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194 2026-10-27 01:32:15,846 - DEBUG - ==>Verifying data for policy with id: 804b7db7-fb3e-4ef6-9896-2d6afd4f2e1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662'] 2026-10-27 01:32:15,847 - INFO - VN ctest-vn-73377066 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-27 01:32:15,847 - DEBUG - Verifying the vn in opserver 2026-10-27 01:32:15,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066 virtual network link through opserver 10.0.0.161 2026-10-27 01:32:15,847 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-27 01:32:16,213 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-27 01:32:16,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066?flat'} 2026-10-27 01:32:16,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066 is found in opserver 2026-10-27 01:32:16,277 - DEBUG - Do not have enough data to verify VN in agent 2026-10-27 01:32:16,282 - DEBUG - VRF ids for VN ctest-vn-73377066: {} 2026-10-27 01:32:16,282 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:32:16,288 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334 2026-10-27 01:32:16,299 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:32:16,371 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:16,384 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:16,394 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29 2026-10-27 01:32:16,401 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29 2026-10-27 01:32:16,408 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/95b72ca6-9140-4467-a88f-1b0cf0031bcf 2026-10-27 01:32:16,413 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-27 01:32:16,414 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:16,422 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29 2026-10-27 01:32:16,435 - INFO - Verified VN network id 13 for VN 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:16,436 - INFO - Verifications in API Server for VN ctest-vn-75971873 passed 2026-10-27 01:32:16,436 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:16,445 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29 2026-10-27 01:32:16,451 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29 2026-10-27 01:32:16,457 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/95b72ca6-9140-4467-a88f-1b0cf0031bcf 2026-10-27 01:32:16,468 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28309523', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3124967902431365982', 'uuid-lslong': '11413049011547944927'}, 'enable': 'true', 'created': '2026-10-27T01:32:13', 'last-modified': '2026-10-27T01:32:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.762637'} 2026-10-27 01:32:16,475 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-27 01:32:16,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75971873 passed 2026-10-27 01:32:16,475 - DEBUG - ====Verifying policy data for ctest-vn-75971873 in API_Server ====== 2026-10-27 01:32:16,475 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:32:16,480 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334 2026-10-27 01:32:16,490 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:32:16,563 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df 2026-10-27 01:32:16,572 - DEBUG - ==>Verifying data for policy with id: 804b7db7-fb3e-4ef6-9896-2d6afd4f2e1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662'] 2026-10-27 01:32:16,572 - INFO - VN ctest-vn-75971873 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-27 01:32:16,572 - DEBUG - Verifying the vn in opserver 2026-10-27 01:32:16,572 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873 virtual network link through opserver 10.0.0.161 2026-10-27 01:32:16,572 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-27 01:32:16,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873?flat'} 2026-10-27 01:32:16,581 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873 is found in opserver 2026-10-27 01:32:16,590 - DEBUG - Do not have enough data to verify VN in agent 2026-10-27 01:32:16,596 - DEBUG - VRF ids for VN ctest-vn-75971873: {} 2026-10-27 01:32:16,656 - DEBUG - Services list from nova: [, , ] 2026-10-27 01:32:17,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6419-1) 2026-10-27 01:32:17,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6419-1) 2026-10-27 01:32:17,709 - INFO - Waiting for VM ctest-TestBasicPolicy-28309523-01379782 to be up.. 2026-10-27 01:32:17,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:22,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:27,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:32,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:38,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:43,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:48,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:53,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:32:58,379 - DEBUG - VM is in ACTIVE state now 2026-10-27 01:32:58,379 - INFO - VM name : ctest-TestBasicPolicy-28309523-01379782 2026-10-27 01:32:58,466 - DEBUG - VM ctest-TestBasicPolicy-28309523-01379782 ID is 731430e2-18df-4000-a1d0-dcd5c35482f3 2026-10-27 01:32:58,488 - DEBUG - VM ctest-TestBasicPolicy-28309523-01379782 launched on Node cn-jenkins-deploy-platform-ansible-os-6419-1 2026-10-27 01:32:58,587 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/731430e2-18df-4000-a1d0-dcd5c35482f3 2026-10-27 01:32:58,596 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/f1c3275f-fa53-423d-a79f-74ab31eec46c 2026-10-27 01:33:01,895 - 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 1001ms') 2026-10-27 01:33:01,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28309523-01379782 failed! 2026-10-27 01:33:01,948 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066 is 92.20.182.1 and allocation pool is NOT set 2026-10-27 01:33:04,010 - 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=5.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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.186/3.405/5.624/2.219 ms') 2026-10-27 01:33:04,010 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28309523-01379782 passed 2026-10-27 01:33:04,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:33:04,165 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28309523-01379782, IP 92.20.182.3, Port 22 2026-10-27 01:33:04,231 - 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': ''} 2026-10-27 01:33:04,324 - DEBUG - VM ctest-TestBasicPolicy-28309523-01379782 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-27 01:33:09,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:33:09,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28309523-01379782, IP 92.20.182.3, Port 22 2026-10-27 01:33:09,494 - DEBUG - VM ctest-TestBasicPolicy-28309523-01379782 is ready for SSH connections 2026-10-27 01:33:09,494 - INFO - Waiting for VM ctest-TestBasicPolicy-28309523-82622451 to be up.. 2026-10-27 01:33:09,570 - DEBUG - VM is in ACTIVE state now 2026-10-27 01:33:09,570 - INFO - VM name : ctest-TestBasicPolicy-28309523-82622451 2026-10-27 01:33:09,642 - DEBUG - VM ctest-TestBasicPolicy-28309523-82622451 ID is f3802943-6275-4c97-9ed4-bc9d7efe196c 2026-10-27 01:33:09,642 - DEBUG - VM ctest-TestBasicPolicy-28309523-82622451 launched on Node cn-jenkins-deploy-platform-ansible-os-6419-1 2026-10-27 01:33:09,726 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/f3802943-6275-4c97-9ed4-bc9d7efe196c 2026-10-27 01:33:09,734 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/87e18d77-823c-45b2-8de5-cc4c175c7b5f 2026-10-27 01:33:10,972 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/2.178/3.861/1.682 ms') 2026-10-27 01:33:10,972 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28309523-82622451 passed 2026-10-27 01:33:11,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:33:11,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28309523-82622451, IP 191.57.184.67, Port 22 2026-10-27 01:33:11,298 - DEBUG - VM ctest-TestBasicPolicy-28309523-82622451 is ready for SSH connections 2026-10-27 01:33:11,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:33:11,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.57.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-27 01:33:11,299 - DEBUG - ping -s 56 -c 3 -W 1 191.57.184.67 2026-10-27 01:33:15,260 - DEBUG - PING 191.57.184.67 (191.57.184.67): 56 data bytes 64 bytes from 191.57.184.67: seq=0 ttl=63 time=3.885 ms 64 bytes from 191.57.184.67: seq=1 ttl=63 time=0.963 ms 64 bytes from 191.57.184.67: seq=2 ttl=63 time=0.876 ms --- 191.57.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.908/3.885 ms 2026-10-27 01:33:15,260 - INFO - Ping to IP 191.57.184.67 from VM ctest-TestBasicPolicy-28309523-01379782 passed 2026-10-27 01:33:15,444 - DEBUG - Policy Update Response {"network-policy": {"uuid": "804b7db7-fb3e-4ef6-9896-2d6afd4f2e1f", "href": "http://10.0.0.161:8082/network-policy/804b7db7-fb3e-4ef6-9896-2d6afd4f2e1f"}} 2026-10-27 01:33:15,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:33:15,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.57.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-27 01:33:15,444 - DEBUG - ping -s 56 -c 3 -W 1 191.57.184.67 2026-10-27 01:33:18,657 - DEBUG - PING 191.57.184.67 (191.57.184.67): 56 data bytes 64 bytes from 191.57.184.67: seq=0 ttl=63 time=1.352 ms --- 191.57.184.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.352/1.352/1.352 ms 2026-10-27 01:33:18,657 - WARNING - Ping to IP 191.57.184.67 from VM ctest-TestBasicPolicy-28309523-01379782 failed 2026-10-27 01:33:18,657 - INFO - Deleting VM ctest-TestBasicPolicy-28309523-82622451 2026-10-27 01:33:18,745 - INFO - Deleting VM ctest-TestBasicPolicy-28309523-01379782 2026-10-27 01:33:19,138 - INFO - Deleted policy ctest-policy-allow-all-36289662 2026-10-27 01:33:19,138 - INFO - Deleting VN ctest-vn-75971873 2026-10-27 01:33:19,173 - DEBUG - VN 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df still in use: Unable to complete operation on network 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ba95e1e-613b-4efb-8fdb-12ab4803792d'] 2026-10-27 01:33:19,173 - WARNING - Deleting VN ctest-vn-75971873 failed..Will retry 2026-10-27 01:33:21,208 - DEBUG - VN 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df still in use: Unable to complete operation on network 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5442cee4-fca0-492e-897f-00e4afd41eff'] 2026-10-27 01:33:21,208 - WARNING - Deleting VN ctest-vn-75971873 failed..Will retry 2026-10-27 01:33:23,308 - DEBUG - Response for deleting network () 2026-10-27 01:33:23,309 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29 2026-10-27 01:33:23,315 - DEBUG - Response Code: 404 2026-10-27 01:33:23,315 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:33:23,320 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334 2026-10-27 01:33:23,380 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:33:23,453 - INFO - Validated that VN ctest-vn-75971873 is not found in API Server 2026-10-27 01:33:23,465 - DEBUG - VN ctest-vn-75971873 is not present in Agent 10.0.0.161 2026-10-27 01:33:23,465 - INFO - Validated that VN ctest-vn-75971873 is not in any agent 2026-10-27 01:33:23,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75971873 info 2026-10-27 01:33:23,482 - INFO - Deleting VN ctest-vn-73377066 2026-10-27 01:33:23,579 - DEBUG - Response for deleting network () 2026-10-27 01:33:23,579 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845 2026-10-27 01:33:23,585 - DEBUG - Response Code: 404 2026-10-27 01:33:23,585 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-27 01:33:23,590 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334 2026-10-27 01:33:23,641 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5 2026-10-27 01:33:23,713 - INFO - Validated that VN ctest-vn-73377066 is not found in API Server 2026-10-27 01:33:23,722 - DEBUG - VN ctest-vn-73377066 is not present in Agent 10.0.0.161 2026-10-27 01:33:23,722 - INFO - Validated that VN ctest-vn-73377066 is not in any agent 2026-10-27 01:33:23,735 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73377066 info 2026-10-27 01:33:24,007 - DEBUG - No XMPP flaps were noticed during the test
2026-10-27 01:33:24,007 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-10-27 01:33:24,007 - INFO - -------------------------------------------------------------------------------- 2026-10-27 01:33:24,755 - INFO - Deleted project: ctest-TestBasicPolicy-28309523, ID : 659f3d84-f4aa-4d34-aac3-a3875416c4c5