2026-01-22 13:47:31,743 - INFO - Domain Default found not creating 2026-01-22 13:47:31,904 - INFO - Project ctest-TestBasicPolicy-55339194 not found, creating it 2026-01-22 13:47:32,353 - INFO - Created Project:ctest-TestBasicPolicy-55339194, ID : 87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:47:33,801 - INFO - ================================================================================ 2026-01-22 13:47:33,801 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 13:47:33,801 - 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-22 13:47:34,054 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.130': '0'}} with 2026-01-22 13:47:34,055 - INFO - Initial checks done. Running the testcase now 2026-01-22 13:47:34,055 - INFO - 2026-01-22 13:47:34,586 - DEBUG - Response for create_network : {'network': {'id': '786955b9-ad00-4b80-8d6e-03bb43b01e1a', 'name': 'ctest-vn-10198740', 'tenant_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'project_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-vn-10198740'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 13:47:34,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '354421a9-9103-4fd8-a116-d8868eb96009', 'name': '', 'tenant_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'network_id': '786955b9-ad00-4b80-8d6e-03bb43b01e1a', 'ip_version': 4, 'cidr': '24.208.143.128/26', 'allocation_pools': [{'start': '24.208.143.130', 'end': '24.208.143.190'}], 'gateway_ip': '24.208.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.208.143.130', 'tags': [], 'project_id': '87f4c942ac7c4b3f8d0bca45aa440f75'}} 2026-01-22 13:47:34,797 - INFO - Created VN ctest-vn-10198740 2026-01-22 13:47:34,849 - DEBUG - VN ctest-vn-10198740 UUID is 786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:35,123 - DEBUG - Response for create_network : {'network': {'id': '8505b5b0-eeb7-496b-9981-f1edceb5ade3', 'name': 'ctest-vn-41132816', 'tenant_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'project_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-vn-41132816'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 13:47:35,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bf2ab35-d0ee-4167-84cc-461625df7104', 'name': '', 'tenant_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'network_id': '8505b5b0-eeb7-496b-9981-f1edceb5ade3', 'ip_version': 4, 'cidr': '223.122.77.128/26', 'allocation_pools': [{'start': '223.122.77.130', 'end': '223.122.77.190'}], 'gateway_ip': '223.122.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.122.77.130', 'tags': [], 'project_id': '87f4c942ac7c4b3f8d0bca45aa440f75'}} 2026-01-22 13:47:35,335 - INFO - Created VN ctest-vn-41132816 2026-01-22 13:47:35,389 - DEBUG - VN ctest-vn-41132816 UUID is 8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:35,545 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740, 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-55339194:ctest-vn-41132816, 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-22 13:47:35,836 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '786955b9-ad00-4b80-8d6e-03bb43b01e1a', 'name': 'ctest-vn-10198740', 'tenant_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'project_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['354421a9-9103-4fd8-a116-d8868eb96009'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-vn-10198740'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-policy-allow-all-68558622']], 'subnet_ipam': [{'subnet_cidr': '24.208.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 13:47:36,065 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8505b5b0-eeb7-496b-9981-f1edceb5ade3', 'name': 'ctest-vn-41132816', 'tenant_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'project_id': '87f4c942ac7c4b3f8d0bca45aa440f75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7bf2ab35-d0ee-4167-84cc-461625df7104'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-vn-41132816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-policy-allow-all-68558622']], 'subnet_ipam': [{'subnet_cidr': '223.122.77.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 13:47:36,245 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:47:36,548 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:47:36,581 - DEBUG - Requesting: http://10.0.0.50:8082/domain/97d6fd71-e172-4cf1-9c0b-3351b75d6356 2026-01-22 13:47:36,593 - DEBUG - Requesting: http://10.0.0.50:8082/project/87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:47:36,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:36,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:36,685 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55e5a5db-a936-42a2-a6fd-d285149c34fb 2026-01-22 13:47:36,693 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55e5a5db-a936-42a2-a6fd-d285149c34fb 2026-01-22 13:47:36,700 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2c806fc2-b152-4dfe-9442-a47dc260daf3 2026-01-22 13:47:36,707 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 13:47:36,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:36,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55e5a5db-a936-42a2-a6fd-d285149c34fb 2026-01-22 13:47:36,731 - INFO - Verified VN network id 11 for VN 786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:36,731 - INFO - Verifications in API Server for VN ctest-vn-10198740 passed 2026-01-22 13:47:36,732 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:36,741 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55e5a5db-a936-42a2-a6fd-d285149c34fb 2026-01-22 13:47:36,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55e5a5db-a936-42a2-a6fd-d285149c34fb 2026-01-22 13:47:36,755 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2c806fc2-b152-4dfe-9442-a47dc260daf3 2026-01-22 13:47:36,768 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55339194', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8676560413065759616', 'uuid-lslong': '10191087109615394330'}, 'enable': 'true', 'created': '2026-01-22T13:47:34', 'last-modified': '2026-01-22T13:47:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956552'} 2026-01-22 13:47:36,774 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 13:47:36,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10198740 passed 2026-01-22 13:47:36,775 - DEBUG - ====Verifying policy data for ctest-vn-10198740 in API_Server ====== 2026-01-22 13:47:36,775 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:47:36,780 - DEBUG - Requesting: http://10.0.0.50:8082/domain/97d6fd71-e172-4cf1-9c0b-3351b75d6356 2026-01-22 13:47:36,790 - DEBUG - Requesting: http://10.0.0.50:8082/project/87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:47:36,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/786955b9-ad00-4b80-8d6e-03bb43b01e1a 2026-01-22 13:47:36,868 - DEBUG - ==>Verifying data for policy with id: cf07381b-bca4-47c1-ad7e-24603d0909a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-policy-allow-all-68558622'] 2026-01-22 13:47:36,869 - INFO - VN ctest-vn-10198740 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 13:47:36,869 - DEBUG - Verifying the vn in opserver 2026-01-22 13:47:36,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740 virtual network link through opserver 10.0.0.50 2026-01-22 13:47:36,869 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 13:47:37,166 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 13:47:37,236 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740?flat'} 2026-01-22 13:47:37,236 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740 is found in opserver 2026-01-22 13:47:37,246 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 13:47:37,251 - DEBUG - VRF ids for VN ctest-vn-10198740: {} 2026-01-22 13:47:37,251 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:47:37,256 - DEBUG - Requesting: http://10.0.0.50:8082/domain/97d6fd71-e172-4cf1-9c0b-3351b75d6356 2026-01-22 13:47:37,268 - DEBUG - Requesting: http://10.0.0.50:8082/project/87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:47:37,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:37,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:37,366 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c59319c-d645-4223-adda-7d58ea7f7a5f 2026-01-22 13:47:37,374 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c59319c-d645-4223-adda-7d58ea7f7a5f 2026-01-22 13:47:37,381 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/089b8d8c-132a-4ccc-84ac-4153559ed6bd 2026-01-22 13:47:37,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 13:47:37,387 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:37,396 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c59319c-d645-4223-adda-7d58ea7f7a5f 2026-01-22 13:47:37,412 - INFO - Verified VN network id 12 for VN 8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:37,412 - INFO - Verifications in API Server for VN ctest-vn-41132816 passed 2026-01-22 13:47:37,412 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:37,421 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c59319c-d645-4223-adda-7d58ea7f7a5f 2026-01-22 13:47:37,428 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c59319c-d645-4223-adda-7d58ea7f7a5f 2026-01-22 13:47:37,436 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/089b8d8c-132a-4ccc-84ac-4153559ed6bd 2026-01-22 13:47:37,449 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-41132816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55339194', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9585267153451829611', 'uuid-lslong': '11061388163476205027'}, 'enable': 'true', 'created': '2026-01-22T13:47:35', 'last-modified': '2026-01-22T13:47:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408204'} 2026-01-22 13:47:37,456 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 13:47:37,456 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41132816 passed 2026-01-22 13:47:37,456 - DEBUG - ====Verifying policy data for ctest-vn-41132816 in API_Server ====== 2026-01-22 13:47:37,457 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:47:37,463 - DEBUG - Requesting: http://10.0.0.50:8082/domain/97d6fd71-e172-4cf1-9c0b-3351b75d6356 2026-01-22 13:47:37,475 - DEBUG - Requesting: http://10.0.0.50:8082/project/87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:47:37,543 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8505b5b0-eeb7-496b-9981-f1edceb5ade3 2026-01-22 13:47:37,552 - DEBUG - ==>Verifying data for policy with id: cf07381b-bca4-47c1-ad7e-24603d0909a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-55339194', 'ctest-policy-allow-all-68558622'] 2026-01-22 13:47:37,552 - INFO - VN ctest-vn-41132816 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 13:47:37,552 - DEBUG - Verifying the vn in opserver 2026-01-22 13:47:37,552 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-41132816 virtual network link through opserver 10.0.0.50 2026-01-22 13:47:37,552 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 13:47:37,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-41132816', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-41132816?flat'} 2026-01-22 13:47:37,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-41132816 is found in opserver 2026-01-22 13:47:37,573 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 13:47:37,577 - DEBUG - VRF ids for VN ctest-vn-41132816: {} 2026-01-22 13:47:37,637 - DEBUG - Services list from nova: [, , ] 2026-01-22 13:47:38,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5063-1) 2026-01-22 13:47:39,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5063-1) 2026-01-22 13:47:39,853 - INFO - Waiting for VM ctest-TestBasicPolicy-55339194-37164813 to be up.. 2026-01-22 13:47:39,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 13:47:45,012 - DEBUG - VM is in ACTIVE state now 2026-01-22 13:47:45,012 - INFO - VM name : ctest-TestBasicPolicy-55339194-37164813 2026-01-22 13:47:45,091 - DEBUG - VM ctest-TestBasicPolicy-55339194-37164813 ID is 0c9935e2-b347-4465-bf99-81dbd90c0495 2026-01-22 13:47:45,109 - DEBUG - VM ctest-TestBasicPolicy-55339194-37164813 launched on Node cn-jenkins-deploy-platform-ansible-os-5063-1 2026-01-22 13:47:45,182 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0c9935e2-b347-4465-bf99-81dbd90c0495 2026-01-22 13:47:45,191 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b93e73ab-dddb-4ef6-bea1-4e582a1ee199 2026-01-22 13:47:48,403 - 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 1019ms') 2026-01-22 13:47:48,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55339194-37164813 failed! 2026-01-22 13:47:48,457 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55339194:ctest-vn-10198740 is 24.208.143.129 and allocation pool is NOT set 2026-01-22 13:47:50,523 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 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 = 2.630/3.397/4.164/0.767 ms') 2026-01-22 13:47:50,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55339194-37164813 passed 2026-01-22 13:47:50,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 13:47:50,673 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55339194-37164813, IP 24.208.143.131, Port 22 2026-01-22 13:47:50,728 - 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-01-22 13:47:50,807 - DEBUG - VM ctest-TestBasicPolicy-55339194-37164813 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 13:47:55,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 13:47:55,808 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55339194-37164813, IP 24.208.143.131, Port 22 2026-01-22 13:47:55,965 - DEBUG - VM ctest-TestBasicPolicy-55339194-37164813 is ready for SSH connections 2026-01-22 13:47:55,965 - INFO - Waiting for VM ctest-TestBasicPolicy-55339194-11805628 to be up.. 2026-01-22 13:47:56,041 - DEBUG - VM is in ACTIVE state now 2026-01-22 13:47:56,042 - INFO - VM name : ctest-TestBasicPolicy-55339194-11805628 2026-01-22 13:47:56,115 - DEBUG - VM ctest-TestBasicPolicy-55339194-11805628 ID is bca88b36-cab8-4143-9711-7f4254a9744f 2026-01-22 13:47:56,116 - DEBUG - VM ctest-TestBasicPolicy-55339194-11805628 launched on Node cn-jenkins-deploy-platform-ansible-os-5063-1 2026-01-22 13:47:56,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bca88b36-cab8-4143-9711-7f4254a9744f 2026-01-22 13:47:56,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ed203456-0a8a-4449-adfd-92870faf43c7 2026-01-22 13:47:57,431 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.835/3.289/1.453 ms') 2026-01-22 13:47:57,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55339194-11805628 passed 2026-01-22 13:47:57,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 13:47:57,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55339194-11805628, IP 223.122.77.131, Port 22 2026-01-22 13:47:57,741 - DEBUG - VM ctest-TestBasicPolicy-55339194-11805628 is ready for SSH connections 2026-01-22 13:47:57,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 13:47:57,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.122.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-22 13:47:57,741 - DEBUG - ping -s 56 -c 3 -W 1 223.122.77.131 2026-01-22 13:48:01,827 - DEBUG - PING 223.122.77.131 (223.122.77.131): 56 data bytes 64 bytes from 223.122.77.131: seq=0 ttl=63 time=3.963 ms 64 bytes from 223.122.77.131: seq=1 ttl=63 time=1.082 ms 64 bytes from 223.122.77.131: seq=2 ttl=63 time=1.078 ms --- 223.122.77.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.041/3.963 ms 2026-01-22 13:48:01,827 - INFO - Ping to IP 223.122.77.131 from VM ctest-TestBasicPolicy-55339194-37164813 passed 2026-01-22 13:48:02,009 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cf07381b-bca4-47c1-ad7e-24603d0909a1", "href": "http://10.0.0.50:8082/network-policy/cf07381b-bca4-47c1-ad7e-24603d0909a1"}} 2026-01-22 13:48:02,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 13:48:02,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.122.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-22 13:48:02,009 - DEBUG - ping -s 56 -c 3 -W 1 223.122.77.131 2026-01-22 13:48:05,256 - DEBUG - PING 223.122.77.131 (223.122.77.131): 56 data bytes --- 223.122.77.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 13:48:05,256 - WARNING - Ping to IP 223.122.77.131 from VM ctest-TestBasicPolicy-55339194-37164813 failed 2026-01-22 13:48:05,256 - INFO - Deleting VM ctest-TestBasicPolicy-55339194-11805628 2026-01-22 13:48:05,328 - INFO - Deleting VM ctest-TestBasicPolicy-55339194-37164813 2026-01-22 13:48:05,700 - INFO - Deleted policy ctest-policy-allow-all-68558622 2026-01-22 13:48:05,701 - INFO - Deleting VN ctest-vn-41132816 2026-01-22 13:48:05,743 - DEBUG - VN 8505b5b0-eeb7-496b-9981-f1edceb5ade3 still in use: Unable to complete operation on network 8505b5b0-eeb7-496b-9981-f1edceb5ade3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98af6f61-8e96-4430-a3d9-585d2bfd9d94'] 2026-01-22 13:48:05,743 - WARNING - Deleting VN ctest-vn-41132816 failed..Will retry 2026-01-22 13:48:07,841 - DEBUG - Response for deleting network () 2026-01-22 13:48:07,842 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c59319c-d645-4223-adda-7d58ea7f7a5f 2026-01-22 13:48:07,849 - DEBUG - Response Code: 404 2026-01-22 13:48:07,850 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:48:07,856 - DEBUG - Requesting: http://10.0.0.50:8082/domain/97d6fd71-e172-4cf1-9c0b-3351b75d6356 2026-01-22 13:48:07,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:48:07,984 - INFO - Validated that VN ctest-vn-41132816 is not found in API Server 2026-01-22 13:48:07,994 - DEBUG - VN ctest-vn-41132816 is not present in Agent 10.0.0.50 2026-01-22 13:48:07,994 - INFO - Validated that VN ctest-vn-41132816 is not in any agent 2026-01-22 13:48:08,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41132816 info 2026-01-22 13:48:08,008 - INFO - Deleting VN ctest-vn-10198740 2026-01-22 13:48:08,113 - DEBUG - Response for deleting network () 2026-01-22 13:48:08,113 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55e5a5db-a936-42a2-a6fd-d285149c34fb 2026-01-22 13:48:08,120 - DEBUG - Response Code: 404 2026-01-22 13:48:08,120 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-22 13:48:08,126 - DEBUG - Requesting: http://10.0.0.50:8082/domain/97d6fd71-e172-4cf1-9c0b-3351b75d6356 2026-01-22 13:48:08,182 - DEBUG - Requesting: http://10.0.0.50:8082/project/87f4c942-ac7c-4b3f-8d0b-ca45aa440f75 2026-01-22 13:48:08,266 - INFO - Validated that VN ctest-vn-10198740 is not found in API Server 2026-01-22 13:48:08,275 - DEBUG - VN ctest-vn-10198740 is not present in Agent 10.0.0.50 2026-01-22 13:48:08,275 - INFO - Validated that VN ctest-vn-10198740 is not in any agent 2026-01-22 13:48:08,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10198740 info 2026-01-22 13:48:08,542 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 13:48:08,542 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-22 13:48:08,542 - INFO - -------------------------------------------------------------------------------- 2026-01-22 13:48:09,241 - INFO - Deleted project: ctest-TestBasicPolicy-55339194, ID : 87f4c942-ac7c-4b3f-8d0b-ca45aa440f75