2026-10-23 14:21:36,209 - INFO - Domain Default found not creating 2026-10-23 14:21:36,504 - INFO - Project ctest-TestBasicPolicy-15514446 not found, creating it 2026-10-23 14:21:37,114 - INFO - Created Project:ctest-TestBasicPolicy-15514446, ID : 2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:21:40,057 - INFO - ================================================================================ 2026-10-23 14:21:40,057 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-23 14:21:40,057 - 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-23 14:21:40,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-10-23 14:21:40,333 - INFO - Initial checks done. Running the testcase now 2026-10-23 14:21:40,333 - INFO - 2026-10-23 14:21:41,018 - DEBUG - Response for create_network : {'network': {'id': '3658b156-dcfe-46d9-b71e-9159d21c03ec', 'name': 'ctest-vn-46939437', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-46939437'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 14:21:41,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff30575e-cdaa-40a9-b618-f41863961a4f', 'name': '', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'network_id': '3658b156-dcfe-46d9-b71e-9159d21c03ec', 'ip_version': 4, 'cidr': '77.88.165.0/26', 'allocation_pools': [{'start': '77.88.165.2', 'end': '77.88.165.62'}], 'gateway_ip': '77.88.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.88.165.2', 'tags': [], 'project_id': '2c9c04dc0b234008bff44a94aadf4408'}} 2026-10-23 14:21:41,286 - INFO - Created VN ctest-vn-46939437 2026-10-23 14:21:41,346 - DEBUG - VN ctest-vn-46939437 UUID is 3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:41,747 - DEBUG - Response for create_network : {'network': {'id': '55608ac0-a592-4e03-86bf-4ccc3aa8cd7c', 'name': 'ctest-vn-68138576', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-68138576'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 14:21:41,999 - DEBUG - Response for create_subnet : {'subnet': {'id': '97dae167-623e-408d-b035-e6ec78931862', 'name': '', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'network_id': '55608ac0-a592-4e03-86bf-4ccc3aa8cd7c', 'ip_version': 4, 'cidr': '149.76.235.128/26', 'allocation_pools': [{'start': '149.76.235.130', 'end': '149.76.235.190'}], 'gateway_ip': '149.76.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.76.235.130', 'tags': [], 'project_id': '2c9c04dc0b234008bff44a94aadf4408'}} 2026-10-23 14:21:42,018 - INFO - Created VN ctest-vn-68138576 2026-10-23 14:21:42,073 - DEBUG - VN ctest-vn-68138576 UUID is 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:42,204 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437, 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-15514446:ctest-vn-68138576, 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-23 14:21:42,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3658b156-dcfe-46d9-b71e-9159d21c03ec', 'name': 'ctest-vn-46939437', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ff30575e-cdaa-40a9-b618-f41863961a4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-46939437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623']], 'subnet_ipam': [{'subnet_cidr': '77.88.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-23 14:21:42,837 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55608ac0-a592-4e03-86bf-4ccc3aa8cd7c', 'name': 'ctest-vn-68138576', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['97dae167-623e-408d-b035-e6ec78931862'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-68138576'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623']], 'subnet_ipam': [{'subnet_cidr': '149.76.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-23 14:21:43,021 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:21:43,440 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:21:43,485 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a 2026-10-23 14:21:43,503 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:21:43,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:43,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:43,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8 2026-10-23 14:21:43,641 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8 2026-10-23 14:21:43,650 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9ccf2257-1351-4e37-b4ff-65bf8353bd9d 2026-10-23 14:21:43,659 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-23 14:21:43,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:43,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8 2026-10-23 14:21:43,696 - INFO - Verified VN network id 11 for VN 3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:43,696 - INFO - Verifications in API Server for VN ctest-vn-46939437 passed 2026-10-23 14:21:43,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:43,711 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8 2026-10-23 14:21:43,724 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8 2026-10-23 14:21:43,736 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9ccf2257-1351-4e37-b4ff-65bf8353bd9d 2026-10-23 14:21:43,767 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15514446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3916074862631601881', 'uuid-lslong': '13195143773205300204'}, 'enable': 'true', 'created': '2026-10-23T14:21:40', 'last-modified': '2026-10-23T14:21:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.238593'} 2026-10-23 14:21:43,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-23 14:21:43,775 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46939437 passed 2026-10-23 14:21:43,775 - DEBUG - ====Verifying policy data for ctest-vn-46939437 in API_Server ====== 2026-10-23 14:21:43,775 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:21:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a 2026-10-23 14:21:43,796 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:21:43,880 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec 2026-10-23 14:21:43,894 - DEBUG - ==>Verifying data for policy with id: b462b3c8-a655-48dd-b79e-8de430dda1ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623'] 2026-10-23 14:21:43,894 - INFO - VN ctest-vn-46939437 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-23 14:21:43,895 - DEBUG - Verifying the vn in opserver 2026-10-23 14:21:43,895 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437 virtual network link through opserver 10.0.0.38 2026-10-23 14:21:43,895 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-23 14:21:44,265 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-23 14:21:44,322 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437?flat'} 2026-10-23 14:21:44,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437 is found in opserver 2026-10-23 14:21:44,337 - DEBUG - Do not have enough data to verify VN in agent 2026-10-23 14:21:44,343 - DEBUG - VRF ids for VN ctest-vn-46939437: {} 2026-10-23 14:21:44,343 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:21:44,349 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a 2026-10-23 14:21:44,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:21:44,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:44,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:44,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7 2026-10-23 14:21:44,490 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7 2026-10-23 14:21:44,501 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/53834a6b-b866-4e16-9698-08122210aad9 2026-10-23 14:21:44,513 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-23 14:21:44,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:44,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7 2026-10-23 14:21:44,554 - INFO - Verified VN network id 12 for VN 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:44,554 - INFO - Verifications in API Server for VN ctest-vn-68138576 passed 2026-10-23 14:21:44,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:44,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7 2026-10-23 14:21:44,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7 2026-10-23 14:21:44,595 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/53834a6b-b866-4e16-9698-08122210aad9 2026-10-23 14:21:44,614 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15514446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6152069651004280323', 'uuid-lslong': '9709563761675259260'}, 'enable': 'true', 'created': '2026-10-23T14:21:41', 'last-modified': '2026-10-23T14:21:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813099'} 2026-10-23 14:21:44,622 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-23 14:21:44,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68138576 passed 2026-10-23 14:21:44,623 - DEBUG - ====Verifying policy data for ctest-vn-68138576 in API_Server ====== 2026-10-23 14:21:44,623 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:21:44,631 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a 2026-10-23 14:21:44,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:21:44,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c 2026-10-23 14:21:44,745 - DEBUG - ==>Verifying data for policy with id: b462b3c8-a655-48dd-b79e-8de430dda1ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623'] 2026-10-23 14:21:44,745 - INFO - VN ctest-vn-68138576 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-23 14:21:44,745 - DEBUG - Verifying the vn in opserver 2026-10-23 14:21:44,745 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576 virtual network link through opserver 10.0.0.38 2026-10-23 14:21:44,746 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-23 14:21:44,758 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576?flat'} 2026-10-23 14:21:44,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576 is found in opserver 2026-10-23 14:21:44,776 - DEBUG - Do not have enough data to verify VN in agent 2026-10-23 14:21:44,784 - DEBUG - VRF ids for VN ctest-vn-68138576: {} 2026-10-23 14:21:44,975 - DEBUG - Services list from nova: [, , ] 2026-10-23 14:21:45,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6396-1) 2026-10-23 14:21:46,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6396-1) 2026-10-23 14:21:46,164 - INFO - Waiting for VM ctest-TestBasicPolicy-15514446-06259687 to be up.. 2026-10-23 14:21:46,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:21:51,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:21:56,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:01,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:06,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:11,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:16,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:22,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:27,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 14:22:32,323 - DEBUG - VM is in ACTIVE state now 2026-10-23 14:22:32,323 - INFO - VM name : ctest-TestBasicPolicy-15514446-06259687 2026-10-23 14:22:32,423 - DEBUG - VM ctest-TestBasicPolicy-15514446-06259687 ID is 0390116d-21ab-4625-9e82-e9615ea7d942 2026-10-23 14:22:32,449 - DEBUG - VM ctest-TestBasicPolicy-15514446-06259687 launched on Node cn-jenkins-deploy-platform-ansible-os-6396-1 2026-10-23 14:22:32,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0390116d-21ab-4625-9e82-e9615ea7d942 2026-10-23 14:22:32,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/11677b0e-afe4-4366-a9ed-1b8cf8561431 2026-10-23 14:22:35,875 - 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 1031ms') 2026-10-23 14:22:35,875 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15514446-06259687 failed! 2026-10-23 14:22:35,929 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437 is 77.88.165.1 and allocation pool is NOT set 2026-10-23 14:22:40,033 - 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 1031ms') 2026-10-23 14:22:40,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15514446-06259687 failed! 2026-10-23 14:22:40,090 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437 is 77.88.165.1 and allocation pool is NOT set 2026-10-23 14:22:42,159 - 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=7.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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.223/4.196/7.169/2.973 ms') 2026-10-23 14:22:42,159 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15514446-06259687 passed 2026-10-23 14:22:42,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 14:22:42,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15514446-06259687, IP 77.88.165.3, Port 22 2026-10-23 14:22:42,500 - DEBUG - VM ctest-TestBasicPolicy-15514446-06259687 is ready for SSH connections 2026-10-23 14:22:42,501 - INFO - Waiting for VM ctest-TestBasicPolicy-15514446-84295715 to be up.. 2026-10-23 14:22:42,625 - DEBUG - VM is in ACTIVE state now 2026-10-23 14:22:42,625 - INFO - VM name : ctest-TestBasicPolicy-15514446-84295715 2026-10-23 14:22:42,734 - DEBUG - VM ctest-TestBasicPolicy-15514446-84295715 ID is b6a4875a-9920-4738-ae0e-132d573ae3ec 2026-10-23 14:22:42,735 - DEBUG - VM ctest-TestBasicPolicy-15514446-84295715 launched on Node cn-jenkins-deploy-platform-ansible-os-6396-1 2026-10-23 14:22:42,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6a4875a-9920-4738-ae0e-132d573ae3ec 2026-10-23 14:22:42,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ce39a8b8-6fa9-4aba-9679-86a8e60afdbc 2026-10-23 14:22:44,218 - 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=8.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.682 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.682/4.524/8.366/3.842 ms') 2026-10-23 14:22:44,218 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15514446-84295715 passed 2026-10-23 14:22:44,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 14:22:44,386 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15514446-84295715, IP 149.76.235.131, Port 22 2026-10-23 14:22:44,561 - DEBUG - VM ctest-TestBasicPolicy-15514446-84295715 is ready for SSH connections 2026-10-23 14:22:44,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 14:22:44,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.76.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-23 14:22:44,562 - DEBUG - ping -s 56 -c 3 -W 1 149.76.235.131 2026-10-23 14:22:49,035 - DEBUG - PING 149.76.235.131 (149.76.235.131): 56 data bytes 64 bytes from 149.76.235.131: seq=0 ttl=63 time=5.896 ms 64 bytes from 149.76.235.131: seq=1 ttl=63 time=1.516 ms 64 bytes from 149.76.235.131: seq=2 ttl=63 time=1.416 ms --- 149.76.235.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.416/2.942/5.896 ms 2026-10-23 14:22:49,036 - INFO - Ping to IP 149.76.235.131 from VM ctest-TestBasicPolicy-15514446-06259687 passed 2026-10-23 14:22:49,241 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b462b3c8-a655-48dd-b79e-8de430dda1ae", "href": "http://10.0.0.38:8082/network-policy/b462b3c8-a655-48dd-b79e-8de430dda1ae"}} 2026-10-23 14:22:49,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 14:22:49,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.76.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-23 14:22:49,242 - DEBUG - ping -s 56 -c 3 -W 1 149.76.235.131 2026-10-23 14:22:52,409 - DEBUG - PING 149.76.235.131 (149.76.235.131): 56 data bytes 64 bytes from 149.76.235.131: seq=0 ttl=63 time=2.247 ms --- 149.76.235.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.247/2.247/2.247 ms 2026-10-23 14:22:52,410 - WARNING - Ping to IP 149.76.235.131 from VM ctest-TestBasicPolicy-15514446-06259687 failed 2026-10-23 14:22:52,410 - INFO - Deleting VM ctest-TestBasicPolicy-15514446-84295715 2026-10-23 14:22:52,498 - INFO - Deleting VM ctest-TestBasicPolicy-15514446-06259687 2026-10-23 14:22:52,978 - INFO - Deleted policy ctest-policy-allow-all-14661623 2026-10-23 14:22:52,979 - INFO - Deleting VN ctest-vn-68138576 2026-10-23 14:22:53,022 - DEBUG - VN 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c still in use: Unable to complete operation on network 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4cb93e0-7557-49e2-9be1-b5d71d03b26c'] 2026-10-23 14:22:53,023 - WARNING - Deleting VN ctest-vn-68138576 failed..Will retry 2026-10-23 14:22:55,061 - DEBUG - VN 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c still in use: Unable to complete operation on network 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-703340d8-cbc1-4af5-a22e-bc565f90799a'] 2026-10-23 14:22:55,061 - WARNING - Deleting VN ctest-vn-68138576 failed..Will retry 2026-10-23 14:22:57,272 - DEBUG - Response for deleting network () 2026-10-23 14:22:57,272 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7 2026-10-23 14:22:57,280 - DEBUG - Response Code: 404 2026-10-23 14:22:57,280 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:22:57,288 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a 2026-10-23 14:22:57,350 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:22:57,443 - INFO - Validated that VN ctest-vn-68138576 is not found in API Server 2026-10-23 14:22:57,465 - DEBUG - VN ctest-vn-68138576 is not present in Agent 10.0.0.38 2026-10-23 14:22:57,465 - INFO - Validated that VN ctest-vn-68138576 is not in any agent 2026-10-23 14:22:57,507 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68138576 info 2026-10-23 14:22:57,507 - INFO - Deleting VN ctest-vn-46939437 2026-10-23 14:22:57,663 - DEBUG - Response for deleting network () 2026-10-23 14:22:57,663 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8 2026-10-23 14:22:57,673 - DEBUG - Response Code: 404 2026-10-23 14:22:57,673 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-23 14:22:57,682 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a 2026-10-23 14:22:57,740 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408 2026-10-23 14:22:57,835 - INFO - Validated that VN ctest-vn-46939437 is not found in API Server 2026-10-23 14:22:57,853 - DEBUG - VN ctest-vn-46939437 is not present in Agent 10.0.0.38 2026-10-23 14:22:57,853 - INFO - Validated that VN ctest-vn-46939437 is not in any agent 2026-10-23 14:22:57,884 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46939437 info 2026-10-23 14:22:58,172 - DEBUG - No XMPP flaps were noticed during the test
2026-10-23 14:22:58,172 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:18]
2026-10-23 14:22:58,172 - INFO - -------------------------------------------------------------------------------- 2026-10-23 14:22:59,058 - INFO - Deleted project: ctest-TestBasicPolicy-15514446, ID : 2c9c04dc-0b23-4008-bff4-4a94aadf4408