2026-01-06 05:35:33,248 - INFO - Domain Default found not creating 2026-01-06 05:35:33,417 - INFO - Project ctest-TestBasicPolicy-09410480 not found, creating it 2026-01-06 05:35:33,882 - INFO - Created Project:ctest-TestBasicPolicy-09410480, ID : 4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:35:35,504 - INFO - ================================================================================ 2026-01-06 05:35:35,504 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-06 05:35:35,504 - 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-01-06 05:35:35,761 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-06 05:35:35,761 - INFO - Initial checks done. Running the testcase now 2026-01-06 05:35:35,761 - INFO - 2026-01-06 05:35:36,390 - DEBUG - Response for create_network : {'network': {'id': '0c71c159-c406-4834-b188-4620ef1e8d88', 'name': 'ctest-vn-14831908', 'tenant_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'project_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-vn-14831908'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 05:35:36,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4e1a830-13b8-4890-90bb-c8c485d99775', 'name': '', 'tenant_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'network_id': '0c71c159-c406-4834-b188-4620ef1e8d88', 'ip_version': 4, 'cidr': '101.26.228.192/26', 'allocation_pools': [{'start': '101.26.228.194', 'end': '101.26.228.254'}], 'gateway_ip': '101.26.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.26.228.194', 'tags': [], 'project_id': '4b6ae9568bbf4952904ffdb56a9b6d8f'}} 2026-01-06 05:35:36,605 - INFO - Created VN ctest-vn-14831908 2026-01-06 05:35:36,656 - DEBUG - VN ctest-vn-14831908 UUID is 0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:36,941 - DEBUG - Response for create_network : {'network': {'id': '2c36c89e-d043-4177-b73f-91931018bca1', 'name': 'ctest-vn-46159708', 'tenant_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'project_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-vn-46159708'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 05:35:37,131 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e161a9c-1eef-4bfe-b7a5-8c418ccfdb1a', 'name': '', 'tenant_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'network_id': '2c36c89e-d043-4177-b73f-91931018bca1', 'ip_version': 4, 'cidr': '21.186.82.64/26', 'allocation_pools': [{'start': '21.186.82.66', 'end': '21.186.82.126'}], 'gateway_ip': '21.186.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.186.82.66', 'tags': [], 'project_id': '4b6ae9568bbf4952904ffdb56a9b6d8f'}} 2026-01-06 05:35:37,150 - INFO - Created VN ctest-vn-46159708 2026-01-06 05:35:37,204 - DEBUG - VN ctest-vn-46159708 UUID is 2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:37,324 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908, 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-09410480:ctest-vn-46159708, 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-01-06 05:35:37,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c71c159-c406-4834-b188-4620ef1e8d88', 'name': 'ctest-vn-14831908', 'tenant_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'project_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4e1a830-13b8-4890-90bb-c8c485d99775'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-vn-14831908'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-policy-allow-all-50933004']], 'subnet_ipam': [{'subnet_cidr': '101.26.228.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 05:35:37,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c36c89e-d043-4177-b73f-91931018bca1', 'name': 'ctest-vn-46159708', 'tenant_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'project_id': '4b6ae9568bbf4952904ffdb56a9b6d8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e161a9c-1eef-4bfe-b7a5-8c418ccfdb1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-vn-46159708'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-policy-allow-all-50933004']], 'subnet_ipam': [{'subnet_cidr': '21.186.82.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 05:35:38,012 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:35:38,371 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:35:38,413 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6f3eaf00-10f9-4e8d-8820-73da42f9f275 2026-01-06 05:35:38,426 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:35:38,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:38,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:38,518 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cbb9c08d-d0fc-4a8e-a1cc-6345f25e3687 2026-01-06 05:35:38,526 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cbb9c08d-d0fc-4a8e-a1cc-6345f25e3687 2026-01-06 05:35:38,533 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/643f6dfd-2c70-4f67-91fa-710c146ee774 2026-01-06 05:35:38,539 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 05:35:38,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:38,548 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cbb9c08d-d0fc-4a8e-a1cc-6345f25e3687 2026-01-06 05:35:38,563 - INFO - Verified VN network id 11 for VN 0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:38,563 - INFO - Verifications in API Server for VN ctest-vn-14831908 passed 2026-01-06 05:35:38,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:38,573 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cbb9c08d-d0fc-4a8e-a1cc-6345f25e3687 2026-01-06 05:35:38,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cbb9c08d-d0fc-4a8e-a1cc-6345f25e3687 2026-01-06 05:35:38,589 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/643f6dfd-2c70-4f67-91fa-710c146ee774 2026-01-06 05:35:38,603 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09410480', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '896710392108435508', 'uuid-lslong': '12792551848810548616'}, 'enable': 'true', 'created': '2026-01-06T05:35:36', 'last-modified': '2026-01-06T05:35:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995505'} 2026-01-06 05:35:38,609 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 05:35:38,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14831908 passed 2026-01-06 05:35:38,610 - DEBUG - ====Verifying policy data for ctest-vn-14831908 in API_Server ====== 2026-01-06 05:35:38,610 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:35:38,615 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6f3eaf00-10f9-4e8d-8820-73da42f9f275 2026-01-06 05:35:38,629 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:35:38,703 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c71c159-c406-4834-b188-4620ef1e8d88 2026-01-06 05:35:38,712 - DEBUG - ==>Verifying data for policy with id: 956898bb-364b-4a64-91e6-8382955bf60f, fqn: ['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-policy-allow-all-50933004'] 2026-01-06 05:35:38,712 - INFO - VN ctest-vn-14831908 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 05:35:38,713 - DEBUG - Verifying the vn in opserver 2026-01-06 05:35:38,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908 virtual network link through opserver 10.0.0.50 2026-01-06 05:35:38,713 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-06 05:35:39,047 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-06 05:35:39,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908?flat'} 2026-01-06 05:35:39,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908 is found in opserver 2026-01-06 05:35:39,122 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 05:35:39,126 - DEBUG - VRF ids for VN ctest-vn-14831908: {} 2026-01-06 05:35:39,126 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:35:39,132 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6f3eaf00-10f9-4e8d-8820-73da42f9f275 2026-01-06 05:35:39,142 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:35:39,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:39,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:39,235 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac0225e4-ba8a-4f4d-9d1d-f59b86805f93 2026-01-06 05:35:39,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac0225e4-ba8a-4f4d-9d1d-f59b86805f93 2026-01-06 05:35:39,249 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e756662a-da42-4d62-af00-1d33a93df743 2026-01-06 05:35:39,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 05:35:39,256 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:39,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac0225e4-ba8a-4f4d-9d1d-f59b86805f93 2026-01-06 05:35:39,278 - INFO - Verified VN network id 12 for VN 2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:39,278 - INFO - Verifications in API Server for VN ctest-vn-46159708 passed 2026-01-06 05:35:39,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:39,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac0225e4-ba8a-4f4d-9d1d-f59b86805f93 2026-01-06 05:35:39,294 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac0225e4-ba8a-4f4d-9d1d-f59b86805f93 2026-01-06 05:35:39,301 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e756662a-da42-4d62-af00-1d33a93df743 2026-01-06 05:35:39,312 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-46159708', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09410480', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3185954370835661175', 'uuid-lslong': '13204432693289860257'}, 'enable': 'true', 'created': '2026-01-06T05:35:36', 'last-modified': '2026-01-06T05:35:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467884'} 2026-01-06 05:35:39,318 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 05:35:39,318 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46159708 passed 2026-01-06 05:35:39,318 - DEBUG - ====Verifying policy data for ctest-vn-46159708 in API_Server ====== 2026-01-06 05:35:39,318 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:35:39,325 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6f3eaf00-10f9-4e8d-8820-73da42f9f275 2026-01-06 05:35:39,336 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:35:39,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2c36c89e-d043-4177-b73f-91931018bca1 2026-01-06 05:35:39,416 - DEBUG - ==>Verifying data for policy with id: 956898bb-364b-4a64-91e6-8382955bf60f, fqn: ['default-domain', 'ctest-TestBasicPolicy-09410480', 'ctest-policy-allow-all-50933004'] 2026-01-06 05:35:39,416 - INFO - VN ctest-vn-46159708 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 05:35:39,417 - DEBUG - Verifying the vn in opserver 2026-01-06 05:35:39,417 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-46159708 virtual network link through opserver 10.0.0.50 2026-01-06 05:35:39,417 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-06 05:35:39,427 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-46159708', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-46159708?flat'} 2026-01-06 05:35:39,427 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-46159708 is found in opserver 2026-01-06 05:35:39,437 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 05:35:39,442 - DEBUG - VRF ids for VN ctest-vn-46159708: {} 2026-01-06 05:35:39,509 - DEBUG - Services list from nova: [, , ] 2026-01-06 05:35:40,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4967-1) 2026-01-06 05:35:41,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4967-1) 2026-01-06 05:35:41,913 - INFO - Waiting for VM ctest-TestBasicPolicy-09410480-66440199 to be up.. 2026-01-06 05:35:42,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-06 05:35:47,092 - DEBUG - VM is in ACTIVE state now 2026-01-06 05:35:47,092 - INFO - VM name : ctest-TestBasicPolicy-09410480-66440199 2026-01-06 05:35:47,169 - DEBUG - VM ctest-TestBasicPolicy-09410480-66440199 ID is 0aabe1c6-82e8-4bbb-b983-553dafb5afe2 2026-01-06 05:35:47,190 - DEBUG - VM ctest-TestBasicPolicy-09410480-66440199 launched on Node cn-jenkins-deploy-platform-ansible-os-4967-1 2026-01-06 05:35:47,272 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0aabe1c6-82e8-4bbb-b983-553dafb5afe2 2026-01-06 05:35:47,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c43ee56a-acf3-4b90-a9e3-292457a2984e 2026-01-06 05:35:50,524 - 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') 2026-01-06 05:35:50,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09410480-66440199 failed! 2026-01-06 05:35:50,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09410480:ctest-vn-14831908 is 101.26.228.193 and allocation pool is NOT set 2026-01-06 05:35:52,639 - 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=4.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.277 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.277/2.625/4.973/2.348 ms') 2026-01-06 05:35:52,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09410480-66440199 passed 2026-01-06 05:35:52,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 05:35:52,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09410480-66440199, IP 101.26.228.195, Port 22 2026-01-06 05:35:52,955 - DEBUG - VM ctest-TestBasicPolicy-09410480-66440199 is ready for SSH connections 2026-01-06 05:35:52,955 - INFO - Waiting for VM ctest-TestBasicPolicy-09410480-30434758 to be up.. 2026-01-06 05:35:53,036 - DEBUG - VM is in ACTIVE state now 2026-01-06 05:35:53,036 - INFO - VM name : ctest-TestBasicPolicy-09410480-30434758 2026-01-06 05:35:53,119 - DEBUG - VM ctest-TestBasicPolicy-09410480-30434758 ID is 968f53bb-7009-4ecf-9072-58ddd2a90543 2026-01-06 05:35:53,119 - DEBUG - VM ctest-TestBasicPolicy-09410480-30434758 launched on Node cn-jenkins-deploy-platform-ansible-os-4967-1 2026-01-06 05:35:53,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/968f53bb-7009-4ecf-9072-58ddd2a90543 2026-01-06 05:35:53,234 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/09d9a9f0-dd93-4fbd-bf34-94dec47f550a 2026-01-06 05:35:54,490 - 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=4.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.092/2.653/4.214/1.561 ms') 2026-01-06 05:35:54,490 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09410480-30434758 passed 2026-01-06 05:35:54,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 05:35:54,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09410480-30434758, IP 21.186.82.67, Port 22 2026-01-06 05:35:54,713 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-06 05:35:54,796 - DEBUG - VM ctest-TestBasicPolicy-09410480-30434758 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-06 05:35:59,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 05:35:59,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09410480-30434758, IP 21.186.82.67, Port 22 2026-01-06 05:35:59,960 - DEBUG - VM ctest-TestBasicPolicy-09410480-30434758 is ready for SSH connections 2026-01-06 05:35:59,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 05:35:59,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.186.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-06 05:35:59,960 - DEBUG - ping -s 56 -c 3 -W 1 21.186.82.67 2026-01-06 05:36:04,203 - DEBUG - PING 21.186.82.67 (21.186.82.67): 56 data bytes 64 bytes from 21.186.82.67: seq=0 ttl=63 time=4.337 ms 64 bytes from 21.186.82.67: seq=1 ttl=63 time=0.997 ms 64 bytes from 21.186.82.67: seq=2 ttl=63 time=1.106 ms --- 21.186.82.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/2.146/4.337 ms 2026-01-06 05:36:04,203 - INFO - Ping to IP 21.186.82.67 from VM ctest-TestBasicPolicy-09410480-66440199 passed 2026-01-06 05:36:04,383 - DEBUG - Policy Update Response {"network-policy": {"uuid": "956898bb-364b-4a64-91e6-8382955bf60f", "href": "http://10.0.0.50:8082/network-policy/956898bb-364b-4a64-91e6-8382955bf60f"}} 2026-01-06 05:36:04,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 05:36:04,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.186.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-06 05:36:04,384 - DEBUG - ping -s 56 -c 3 -W 1 21.186.82.67 2026-01-06 05:36:07,627 - DEBUG - PING 21.186.82.67 (21.186.82.67): 56 data bytes --- 21.186.82.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-06 05:36:07,628 - WARNING - Ping to IP 21.186.82.67 from VM ctest-TestBasicPolicy-09410480-66440199 failed 2026-01-06 05:36:07,628 - INFO - Deleting VM ctest-TestBasicPolicy-09410480-30434758 2026-01-06 05:36:07,700 - INFO - Deleting VM ctest-TestBasicPolicy-09410480-66440199 2026-01-06 05:36:08,088 - INFO - Deleted policy ctest-policy-allow-all-50933004 2026-01-06 05:36:08,088 - INFO - Deleting VN ctest-vn-46159708 2026-01-06 05:36:08,125 - DEBUG - VN 2c36c89e-d043-4177-b73f-91931018bca1 still in use: Unable to complete operation on network 2c36c89e-d043-4177-b73f-91931018bca1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71f136db-1e1b-43dd-9ab5-dbc584d82b14'] 2026-01-06 05:36:08,125 - WARNING - Deleting VN ctest-vn-46159708 failed..Will retry 2026-01-06 05:36:10,228 - DEBUG - Response for deleting network () 2026-01-06 05:36:10,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac0225e4-ba8a-4f4d-9d1d-f59b86805f93 2026-01-06 05:36:10,234 - DEBUG - Response Code: 404 2026-01-06 05:36:10,235 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:36:10,240 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6f3eaf00-10f9-4e8d-8820-73da42f9f275 2026-01-06 05:36:10,294 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:36:10,367 - INFO - Validated that VN ctest-vn-46159708 is not found in API Server 2026-01-06 05:36:10,377 - DEBUG - VN ctest-vn-46159708 is not present in Agent 10.0.0.50 2026-01-06 05:36:10,377 - INFO - Validated that VN ctest-vn-46159708 is not in any agent 2026-01-06 05:36:10,391 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46159708 info 2026-01-06 05:36:10,392 - INFO - Deleting VN ctest-vn-14831908 2026-01-06 05:36:10,495 - DEBUG - Response for deleting network () 2026-01-06 05:36:10,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cbb9c08d-d0fc-4a8e-a1cc-6345f25e3687 2026-01-06 05:36:10,500 - DEBUG - Response Code: 404 2026-01-06 05:36:10,500 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-06 05:36:10,506 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6f3eaf00-10f9-4e8d-8820-73da42f9f275 2026-01-06 05:36:10,560 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b6ae956-8bbf-4952-904f-fdb56a9b6d8f 2026-01-06 05:36:10,630 - INFO - Validated that VN ctest-vn-14831908 is not found in API Server 2026-01-06 05:36:10,639 - DEBUG - VN ctest-vn-14831908 is not present in Agent 10.0.0.50 2026-01-06 05:36:10,639 - INFO - Validated that VN ctest-vn-14831908 is not in any agent 2026-01-06 05:36:10,653 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14831908 info 2026-01-06 05:36:10,921 - DEBUG - No XMPP flaps were noticed during the test 2026-01-06 05:36:10,921 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-06 05:36:10,922 - INFO - -------------------------------------------------------------------------------- 2026-01-06 05:36:11,740 - INFO - Deleted project: ctest-TestBasicPolicy-09410480, ID : 4b6ae956-8bbf-4952-904f-fdb56a9b6d8f