2026-06-22 15:55:36,510 - INFO - Domain Default found not creating 2026-06-22 15:55:36,671 - INFO - Project ctest-TestBasicPolicy-98408438 not found, creating it 2026-06-22 15:55:37,122 - INFO - Created Project:ctest-TestBasicPolicy-98408438, ID : 3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:55:38,605 - INFO - ================================================================================ 2026-06-22 15:55:38,605 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-22 15:55:38,605 - 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-06-22 15:55:38,858 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-22 15:55:38,858 - INFO - Initial checks done. Running the testcase now 2026-06-22 15:55:38,859 - INFO - 2026-06-22 15:55:39,435 - DEBUG - Response for create_network : {'network': {'id': '856b3b04-fe89-4040-b227-2859a201504a', 'name': 'ctest-vn-37381564', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-37381564'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 15:55:39,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b8373e6-7250-43b6-be2b-4da55aedd394', 'name': '', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'network_id': '856b3b04-fe89-4040-b227-2859a201504a', 'ip_version': 4, 'cidr': '131.224.164.0/26', 'allocation_pools': [{'start': '131.224.164.2', 'end': '131.224.164.62'}], 'gateway_ip': '131.224.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.224.164.2', 'tags': [], 'project_id': '3c789e137f694764a3b0b1371c9c409a'}} 2026-06-22 15:55:39,602 - INFO - Created VN ctest-vn-37381564 2026-06-22 15:55:39,656 - DEBUG - VN ctest-vn-37381564 UUID is 856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:39,947 - DEBUG - Response for create_network : {'network': {'id': '44f15161-488e-4d20-a57f-48a7c729dad0', 'name': 'ctest-vn-44563840', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-44563840'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 15:55:40,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a459963e-f5db-4559-805d-4121c7454604', 'name': '', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'network_id': '44f15161-488e-4d20-a57f-48a7c729dad0', 'ip_version': 4, 'cidr': '119.109.60.192/26', 'allocation_pools': [{'start': '119.109.60.194', 'end': '119.109.60.254'}], 'gateway_ip': '119.109.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.109.60.194', 'tags': [], 'project_id': '3c789e137f694764a3b0b1371c9c409a'}} 2026-06-22 15:55:40,171 - INFO - Created VN ctest-vn-44563840 2026-06-22 15:55:40,224 - DEBUG - VN ctest-vn-44563840 UUID is 44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:40,376 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564, 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-98408438:ctest-vn-44563840, 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-06-22 15:55:40,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '856b3b04-fe89-4040-b227-2859a201504a', 'name': 'ctest-vn-37381564', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b8373e6-7250-43b6-be2b-4da55aedd394'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-37381564'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425']], 'subnet_ipam': [{'subnet_cidr': '131.224.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 15:55:40,931 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44f15161-488e-4d20-a57f-48a7c729dad0', 'name': 'ctest-vn-44563840', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a459963e-f5db-4559-805d-4121c7454604'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-44563840'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425']], 'subnet_ipam': [{'subnet_cidr': '119.109.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 15:55:41,100 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:55:41,422 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:55:41,449 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26 2026-06-22 15:55:41,461 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:55:41,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:41,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:41,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669 2026-06-22 15:55:41,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669 2026-06-22 15:55:41,563 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/334bf497-f115-4025-99bf-0d0b61be8d46 2026-06-22 15:55:41,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 15:55:41,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:41,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669 2026-06-22 15:55:41,591 - INFO - Verified VN network id 11 for VN 856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:41,591 - INFO - Verifications in API Server for VN ctest-vn-37381564 passed 2026-06-22 15:55:41,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:41,599 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669 2026-06-22 15:55:41,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669 2026-06-22 15:55:41,613 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/334bf497-f115-4025-99bf-0d0b61be8d46 2026-06-22 15:55:41,625 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98408438', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9613842722188771392', 'uuid-lslong': '12837273628278083658'}, 'enable': 'true', 'created': '2026-06-22T15:55:39', 'last-modified': '2026-06-22T15:55:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973938'} 2026-06-22 15:55:41,631 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 15:55:41,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37381564 passed 2026-06-22 15:55:41,632 - DEBUG - ====Verifying policy data for ctest-vn-37381564 in API_Server ====== 2026-06-22 15:55:41,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:55:41,638 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26 2026-06-22 15:55:41,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:55:41,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a 2026-06-22 15:55:41,723 - DEBUG - ==>Verifying data for policy with id: 0067410e-1d46-452a-99b9-629c6cb5b76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425'] 2026-06-22 15:55:41,723 - INFO - VN ctest-vn-37381564 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 15:55:41,724 - DEBUG - Verifying the vn in opserver 2026-06-22 15:55:41,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564 virtual network link through opserver 10.0.0.38 2026-06-22 15:55:41,724 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-22 15:55:42,043 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-22 15:55:42,093 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564?flat'} 2026-06-22 15:55:42,093 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564 is found in opserver 2026-06-22 15:55:42,103 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 15:55:42,108 - DEBUG - VRF ids for VN ctest-vn-37381564: {} 2026-06-22 15:55:42,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:55:42,114 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26 2026-06-22 15:55:42,126 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:55:42,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:42,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:42,219 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf 2026-06-22 15:55:42,227 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf 2026-06-22 15:55:42,233 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1e5ebae3-bdc4-4300-8700-3d59e749a612 2026-06-22 15:55:42,240 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 15:55:42,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:42,249 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf 2026-06-22 15:55:42,269 - INFO - Verified VN network id 12 for VN 44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:42,270 - INFO - Verifications in API Server for VN ctest-vn-44563840 passed 2026-06-22 15:55:42,270 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:42,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf 2026-06-22 15:55:42,287 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf 2026-06-22 15:55:42,294 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1e5ebae3-bdc4-4300-8700-3d59e749a612 2026-06-22 15:55:42,307 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98408438', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4967841342237330720', 'uuid-lslong': '11925330223738510032'}, 'enable': 'true', 'created': '2026-06-22T15:55:39', 'last-modified': '2026-06-22T15:55:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404723'} 2026-06-22 15:55:42,313 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 15:55:42,313 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44563840 passed 2026-06-22 15:55:42,314 - DEBUG - ====Verifying policy data for ctest-vn-44563840 in API_Server ====== 2026-06-22 15:55:42,314 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:55:42,320 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26 2026-06-22 15:55:42,331 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:55:42,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0 2026-06-22 15:55:42,408 - DEBUG - ==>Verifying data for policy with id: 0067410e-1d46-452a-99b9-629c6cb5b76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425'] 2026-06-22 15:55:42,408 - INFO - VN ctest-vn-44563840 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 15:55:42,408 - DEBUG - Verifying the vn in opserver 2026-06-22 15:55:42,408 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840 virtual network link through opserver 10.0.0.38 2026-06-22 15:55:42,408 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-22 15:55:42,419 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840?flat'} 2026-06-22 15:55:42,419 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840 is found in opserver 2026-06-22 15:55:42,428 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 15:55:42,432 - DEBUG - VRF ids for VN ctest-vn-44563840: {} 2026-06-22 15:55:42,489 - DEBUG - Services list from nova: [, , ] 2026-06-22 15:55:43,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6022-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6022-1) 2026-06-22 15:55:44,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6022-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6022-1) 2026-06-22 15:55:44,639 - INFO - Waiting for VM ctest-TestBasicPolicy-98408438-02830793 to be up.. 2026-06-22 15:55:44,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 15:55:49,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 15:55:54,864 - DEBUG - VM is in ACTIVE state now 2026-06-22 15:55:54,864 - INFO - VM name : ctest-TestBasicPolicy-98408438-02830793 2026-06-22 15:55:54,949 - DEBUG - VM ctest-TestBasicPolicy-98408438-02830793 ID is eb59ac89-24d2-444c-9672-e210da43b511 2026-06-22 15:55:54,972 - DEBUG - VM ctest-TestBasicPolicy-98408438-02830793 launched on Node cn-jenkins-deploy-platform-ansible-os-6022-1 2026-06-22 15:55:55,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eb59ac89-24d2-444c-9672-e210da43b511 2026-06-22 15:55:55,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/36e9ced3-880a-42b9-a18c-92aed148b9d6 2026-06-22 15:55:58,332 - 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 1014ms') 2026-06-22 15:55:58,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98408438-02830793 failed! 2026-06-22 15:55:58,388 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564 is 131.224.164.1 and allocation pool is NOT set 2026-06-22 15:56:00,454 - 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=9.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.745 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.745/5.150/9.556/4.405 ms') 2026-06-22 15:56:00,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98408438-02830793 passed 2026-06-22 15:56:00,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 15:56:00,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98408438-02830793, IP 131.224.164.3, Port 22 2026-06-22 15:56:00,675 - 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-06-22 15:56:00,755 - DEBUG - VM ctest-TestBasicPolicy-98408438-02830793 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 15:56:05,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 15:56:05,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98408438-02830793, IP 131.224.164.3, Port 22 2026-06-22 15:56:05,911 - DEBUG - VM ctest-TestBasicPolicy-98408438-02830793 is ready for SSH connections 2026-06-22 15:56:05,912 - INFO - Waiting for VM ctest-TestBasicPolicy-98408438-69649284 to be up.. 2026-06-22 15:56:05,987 - DEBUG - VM is in ACTIVE state now 2026-06-22 15:56:05,987 - INFO - VM name : ctest-TestBasicPolicy-98408438-69649284 2026-06-22 15:56:06,062 - DEBUG - VM ctest-TestBasicPolicy-98408438-69649284 ID is 07ddd7b0-aca6-4afe-9688-28d1432bb222 2026-06-22 15:56:06,062 - DEBUG - VM ctest-TestBasicPolicy-98408438-69649284 launched on Node cn-jenkins-deploy-platform-ansible-os-6022-1 2026-06-22 15:56:06,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/07ddd7b0-aca6-4afe-9688-28d1432bb222 2026-06-22 15:56:06,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/299fa3bb-b30d-46ae-94e9-c3668f7c6a03 2026-06-22 15:56:07,380 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/2.285/4.110/1.824 ms') 2026-06-22 15:56:07,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98408438-69649284 passed 2026-06-22 15:56:07,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 15:56:07,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98408438-69649284, IP 119.109.60.195, Port 22 2026-06-22 15:56:07,722 - DEBUG - VM ctest-TestBasicPolicy-98408438-69649284 is ready for SSH connections 2026-06-22 15:56:07,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 15:56:07,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.109.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-22 15:56:07,723 - DEBUG - ping -s 56 -c 3 -W 1 119.109.60.195 2026-06-22 15:56:11,645 - DEBUG - PING 119.109.60.195 (119.109.60.195): 56 data bytes 64 bytes from 119.109.60.195: seq=0 ttl=63 time=4.134 ms 64 bytes from 119.109.60.195: seq=1 ttl=63 time=0.825 ms 64 bytes from 119.109.60.195: seq=2 ttl=63 time=1.000 ms --- 119.109.60.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.986/4.134 ms 2026-06-22 15:56:11,645 - INFO - Ping to IP 119.109.60.195 from VM ctest-TestBasicPolicy-98408438-02830793 passed 2026-06-22 15:56:11,824 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0067410e-1d46-452a-99b9-629c6cb5b76b", "href": "http://10.0.0.38:8082/network-policy/0067410e-1d46-452a-99b9-629c6cb5b76b"}} 2026-06-22 15:56:11,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 15:56:11,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.109.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-22 15:56:11,825 - DEBUG - ping -s 56 -c 3 -W 1 119.109.60.195 2026-06-22 15:56:14,947 - DEBUG - PING 119.109.60.195 (119.109.60.195): 56 data bytes --- 119.109.60.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-22 15:56:14,947 - WARNING - Ping to IP 119.109.60.195 from VM ctest-TestBasicPolicy-98408438-02830793 failed 2026-06-22 15:56:14,947 - INFO - Deleting VM ctest-TestBasicPolicy-98408438-69649284 2026-06-22 15:56:15,022 - INFO - Deleting VM ctest-TestBasicPolicy-98408438-02830793 2026-06-22 15:56:15,339 - INFO - Deleted policy ctest-policy-allow-all-21447425 2026-06-22 15:56:15,339 - INFO - Deleting VN ctest-vn-44563840 2026-06-22 15:56:15,374 - DEBUG - VN 44f15161-488e-4d20-a57f-48a7c729dad0 still in use: Unable to complete operation on network 44f15161-488e-4d20-a57f-48a7c729dad0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1aa3aa84-32ad-4162-a012-d5da9510ced0'] 2026-06-22 15:56:15,374 - WARNING - Deleting VN ctest-vn-44563840 failed..Will retry 2026-06-22 15:56:17,479 - DEBUG - Response for deleting network () 2026-06-22 15:56:17,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf 2026-06-22 15:56:17,486 - DEBUG - Response Code: 404 2026-06-22 15:56:17,486 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:56:17,492 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26 2026-06-22 15:56:17,552 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:56:17,627 - INFO - Validated that VN ctest-vn-44563840 is not found in API Server 2026-06-22 15:56:17,638 - DEBUG - VN ctest-vn-44563840 is not present in Agent 10.0.0.38 2026-06-22 15:56:17,638 - INFO - Validated that VN ctest-vn-44563840 is not in any agent 2026-06-22 15:56:17,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44563840 info 2026-06-22 15:56:17,655 - INFO - Deleting VN ctest-vn-37381564 2026-06-22 15:56:17,768 - DEBUG - Response for deleting network () 2026-06-22 15:56:17,769 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669 2026-06-22 15:56:17,775 - DEBUG - Response Code: 404 2026-06-22 15:56:17,775 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 15:56:17,781 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26 2026-06-22 15:56:17,833 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a 2026-06-22 15:56:17,900 - INFO - Validated that VN ctest-vn-37381564 is not found in API Server 2026-06-22 15:56:17,910 - DEBUG - VN ctest-vn-37381564 is not present in Agent 10.0.0.38 2026-06-22 15:56:17,910 - INFO - Validated that VN ctest-vn-37381564 is not in any agent 2026-06-22 15:56:17,922 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37381564 info 2026-06-22 15:56:18,177 - DEBUG - No XMPP flaps were noticed during the test
2026-06-22 15:56:18,177 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-06-22 15:56:18,177 - INFO - -------------------------------------------------------------------------------- 2026-06-22 15:56:18,915 - INFO - Deleted project: ctest-TestBasicPolicy-98408438, ID : 3c789e13-7f69-4764-a3b0-b1371c9c409a