2026-04-02 11:39:39,695 - INFO - Domain Default found not creating 2026-04-02 11:39:39,905 - INFO - Project ctest-TestBasicPolicy-96437397 not found, creating it 2026-04-02 11:39:40,362 - INFO - Created Project:ctest-TestBasicPolicy-96437397, ID : 44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:39:41,835 - INFO - ================================================================================ 2026-04-02 11:39:41,836 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-02 11:39:41,836 - 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-04-02 11:39:42,089 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-04-02 11:39:42,089 - INFO - Initial checks done. Running the testcase now 2026-04-02 11:39:42,089 - INFO - 2026-04-02 11:39:42,666 - DEBUG - Response for create_network : {'network': {'id': 'd7b13afc-3912-475b-8037-4922bd8a9ac2', 'name': 'ctest-vn-90015924', 'tenant_id': '44c97054819b4e1e97420542d5f793b0', 'project_id': '44c97054819b4e1e97420542d5f793b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-vn-90015924'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 11:39:42,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '319e2512-ac44-4cef-b6d7-26f434e1707e', 'name': '', 'tenant_id': '44c97054819b4e1e97420542d5f793b0', 'network_id': 'd7b13afc-3912-475b-8037-4922bd8a9ac2', 'ip_version': 4, 'cidr': '97.125.246.64/26', 'allocation_pools': [{'start': '97.125.246.66', 'end': '97.125.246.126'}], 'gateway_ip': '97.125.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.125.246.66', 'tags': [], 'project_id': '44c97054819b4e1e97420542d5f793b0'}} 2026-04-02 11:39:42,874 - INFO - Created VN ctest-vn-90015924 2026-04-02 11:39:42,930 - DEBUG - VN ctest-vn-90015924 UUID is d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:43,220 - DEBUG - Response for create_network : {'network': {'id': '27e78df1-a301-44ff-86e9-56901077d2d7', 'name': 'ctest-vn-97740714', 'tenant_id': '44c97054819b4e1e97420542d5f793b0', 'project_id': '44c97054819b4e1e97420542d5f793b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-vn-97740714'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 11:39:43,382 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af087119-9e4c-4d09-bf79-fe81f8f3e808', 'name': '', 'tenant_id': '44c97054819b4e1e97420542d5f793b0', 'network_id': '27e78df1-a301-44ff-86e9-56901077d2d7', 'ip_version': 4, 'cidr': '176.40.28.64/26', 'allocation_pools': [{'start': '176.40.28.66', 'end': '176.40.28.126'}], 'gateway_ip': '176.40.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.40.28.66', 'tags': [], 'project_id': '44c97054819b4e1e97420542d5f793b0'}} 2026-04-02 11:39:43,401 - INFO - Created VN ctest-vn-97740714 2026-04-02 11:39:43,454 - DEBUG - VN ctest-vn-97740714 UUID is 27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:43,578 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924, 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-96437397:ctest-vn-97740714, 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-04-02 11:39:43,878 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7b13afc-3912-475b-8037-4922bd8a9ac2', 'name': 'ctest-vn-90015924', 'tenant_id': '44c97054819b4e1e97420542d5f793b0', 'project_id': '44c97054819b4e1e97420542d5f793b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['319e2512-ac44-4cef-b6d7-26f434e1707e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-vn-90015924'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-policy-allow-all-95954437']], 'subnet_ipam': [{'subnet_cidr': '97.125.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 11:39:44,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27e78df1-a301-44ff-86e9-56901077d2d7', 'name': 'ctest-vn-97740714', 'tenant_id': '44c97054819b4e1e97420542d5f793b0', 'project_id': '44c97054819b4e1e97420542d5f793b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af087119-9e4c-4d09-bf79-fe81f8f3e808'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-vn-97740714'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-policy-allow-all-95954437']], 'subnet_ipam': [{'subnet_cidr': '176.40.28.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 11:39:44,279 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:39:44,560 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:39:44,602 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a485233c-3919-4c9b-b8e7-17e485e066d8 2026-04-02 11:39:44,615 - DEBUG - Requesting: http://10.0.0.141:8082/project/44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:39:44,688 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:44,700 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:44,710 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3b9f4cbf-d759-4cdc-8c81-8705e393e741 2026-04-02 11:39:44,718 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3b9f4cbf-d759-4cdc-8c81-8705e393e741 2026-04-02 11:39:44,725 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e00cbb52-d514-4233-a8b7-08102ef7c38e 2026-04-02 11:39:44,732 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 11:39:44,732 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:44,741 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3b9f4cbf-d759-4cdc-8c81-8705e393e741 2026-04-02 11:39:44,755 - INFO - Verified VN network id 12 for VN d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:44,755 - INFO - Verifications in API Server for VN ctest-vn-90015924 passed 2026-04-02 11:39:44,755 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:44,764 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3b9f4cbf-d759-4cdc-8c81-8705e393e741 2026-04-02 11:39:44,772 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3b9f4cbf-d759-4cdc-8c81-8705e393e741 2026-04-02 11:39:44,780 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e00cbb52-d514-4233-a8b7-08102ef7c38e 2026-04-02 11:39:44,805 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96437397', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15542268643995961179', 'uuid-lslong': '9238933574131555010'}, 'enable': 'true', 'created': '2026-04-02T11:39:42', 'last-modified': '2026-04-02T11:39:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952308'} 2026-04-02 11:39:44,811 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 11:39:44,812 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90015924 passed 2026-04-02 11:39:44,812 - DEBUG - ====Verifying policy data for ctest-vn-90015924 in API_Server ====== 2026-04-02 11:39:44,812 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:39:44,817 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a485233c-3919-4c9b-b8e7-17e485e066d8 2026-04-02 11:39:44,830 - DEBUG - Requesting: http://10.0.0.141:8082/project/44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:39:44,911 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7b13afc-3912-475b-8037-4922bd8a9ac2 2026-04-02 11:39:44,920 - DEBUG - ==>Verifying data for policy with id: 50dd09ba-5fa7-4348-b2ba-0a6dda0d785e, fqn: ['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-policy-allow-all-95954437'] 2026-04-02 11:39:44,920 - INFO - VN ctest-vn-90015924 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 11:39:44,920 - DEBUG - Verifying the vn in opserver 2026-04-02 11:39:44,921 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924 virtual network link through opserver 10.0.0.141 2026-04-02 11:39:44,921 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-02 11:39:45,189 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-02 11:39:45,268 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924?flat'} 2026-04-02 11:39:45,268 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924 is found in opserver 2026-04-02 11:39:45,279 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 11:39:45,284 - DEBUG - VRF ids for VN ctest-vn-90015924: {} 2026-04-02 11:39:45,285 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:39:45,291 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a485233c-3919-4c9b-b8e7-17e485e066d8 2026-04-02 11:39:45,303 - DEBUG - Requesting: http://10.0.0.141:8082/project/44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:39:45,375 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:45,388 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:45,398 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b65a4d2c-5d9d-44ae-b91d-205a65a009cd 2026-04-02 11:39:45,405 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b65a4d2c-5d9d-44ae-b91d-205a65a009cd 2026-04-02 11:39:45,411 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a094a7d5-3ec0-4d0e-830d-ba826e978f9a 2026-04-02 11:39:45,418 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 11:39:45,418 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:45,428 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b65a4d2c-5d9d-44ae-b91d-205a65a009cd 2026-04-02 11:39:45,443 - INFO - Verified VN network id 13 for VN 27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:45,443 - INFO - Verifications in API Server for VN ctest-vn-97740714 passed 2026-04-02 11:39:45,443 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:45,452 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b65a4d2c-5d9d-44ae-b91d-205a65a009cd 2026-04-02 11:39:45,460 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b65a4d2c-5d9d-44ae-b91d-205a65a009cd 2026-04-02 11:39:45,467 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a094a7d5-3ec0-4d0e-830d-ba826e978f9a 2026-04-02 11:39:45,479 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-97740714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96437397', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2875422956060755199', 'uuid-lslong': '9721396447407493847'}, 'enable': 'true', 'created': '2026-04-02T11:39:43', 'last-modified': '2026-04-02T11:39:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384146'} 2026-04-02 11:39:45,485 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 11:39:45,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97740714 passed 2026-04-02 11:39:45,485 - DEBUG - ====Verifying policy data for ctest-vn-97740714 in API_Server ====== 2026-04-02 11:39:45,485 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:39:45,490 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a485233c-3919-4c9b-b8e7-17e485e066d8 2026-04-02 11:39:45,499 - DEBUG - Requesting: http://10.0.0.141:8082/project/44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:39:45,570 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/27e78df1-a301-44ff-86e9-56901077d2d7 2026-04-02 11:39:45,581 - DEBUG - ==>Verifying data for policy with id: 50dd09ba-5fa7-4348-b2ba-0a6dda0d785e, fqn: ['default-domain', 'ctest-TestBasicPolicy-96437397', 'ctest-policy-allow-all-95954437'] 2026-04-02 11:39:45,581 - INFO - VN ctest-vn-97740714 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 11:39:45,581 - DEBUG - Verifying the vn in opserver 2026-04-02 11:39:45,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-97740714 virtual network link through opserver 10.0.0.141 2026-04-02 11:39:45,581 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-02 11:39:45,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-97740714', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-97740714?flat'} 2026-04-02 11:39:45,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-97740714 is found in opserver 2026-04-02 11:39:45,601 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 11:39:45,605 - DEBUG - VRF ids for VN ctest-vn-97740714: {} 2026-04-02 11:39:45,665 - DEBUG - Services list from nova: [, , ] 2026-04-02 11:39:46,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5579-1) 2026-04-02 11:39:47,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5579-1) 2026-04-02 11:39:47,921 - INFO - Waiting for VM ctest-TestBasicPolicy-96437397-50312517 to be up.. 2026-04-02 11:39:48,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 11:39:53,085 - DEBUG - VM is in ACTIVE state now 2026-04-02 11:39:53,085 - INFO - VM name : ctest-TestBasicPolicy-96437397-50312517 2026-04-02 11:39:53,168 - DEBUG - VM ctest-TestBasicPolicy-96437397-50312517 ID is 6ac56b96-e8b5-4d4b-8dcb-6e767f51622b 2026-04-02 11:39:53,192 - DEBUG - VM ctest-TestBasicPolicy-96437397-50312517 launched on Node cn-jenkins-deploy-platform-ansible-os-5579-1 2026-04-02 11:39:53,278 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6ac56b96-e8b5-4d4b-8dcb-6e767f51622b 2026-04-02 11:39:53,287 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/aa8b3422-57ca-4b6c-baf6-2c62e75d65c9 2026-04-02 11:39:56,529 - 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-04-02 11:39:56,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96437397-50312517 failed! 2026-04-02 11:39:56,587 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96437397:ctest-vn-90015924 is 97.125.246.65 and allocation pool is NOT set 2026-04-02 11:39:58,649 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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.378/4.302/7.226/2.924 ms') 2026-04-02 11:39:58,649 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96437397-50312517 passed 2026-04-02 11:39:58,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:39:58,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96437397-50312517, IP 97.125.246.67, Port 22 2026-04-02 11:39:58,869 - 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-04-02 11:39:58,963 - DEBUG - VM ctest-TestBasicPolicy-96437397-50312517 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 11:40:03,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:40:03,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96437397-50312517, IP 97.125.246.67, Port 22 2026-04-02 11:40:04,122 - DEBUG - VM ctest-TestBasicPolicy-96437397-50312517 is ready for SSH connections 2026-04-02 11:40:04,123 - INFO - Waiting for VM ctest-TestBasicPolicy-96437397-46326603 to be up.. 2026-04-02 11:40:04,218 - DEBUG - VM is in ACTIVE state now 2026-04-02 11:40:04,218 - INFO - VM name : ctest-TestBasicPolicy-96437397-46326603 2026-04-02 11:40:04,307 - DEBUG - VM ctest-TestBasicPolicy-96437397-46326603 ID is d3f14eb0-8e20-4668-8fe3-6eed5fed9d1c 2026-04-02 11:40:04,307 - DEBUG - VM ctest-TestBasicPolicy-96437397-46326603 launched on Node cn-jenkins-deploy-platform-ansible-os-5579-1 2026-04-02 11:40:04,393 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d3f14eb0-8e20-4668-8fe3-6eed5fed9d1c 2026-04-02 11:40:04,403 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a9802104-f9fc-48c6-b972-952fb6c09776 2026-04-02 11:40:05,653 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.336/2.250/3.165/0.914 ms') 2026-04-02 11:40:05,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96437397-46326603 passed 2026-04-02 11:40:05,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:40:05,811 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96437397-46326603, IP 176.40.28.67, Port 22 2026-04-02 11:40:05,974 - DEBUG - VM ctest-TestBasicPolicy-96437397-46326603 is ready for SSH connections 2026-04-02 11:40:05,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:40:05,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.40.28.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-02 11:40:05,975 - DEBUG - ping -s 56 -c 3 -W 1 176.40.28.67 2026-04-02 11:40:10,114 - DEBUG - PING 176.40.28.67 (176.40.28.67): 56 data bytes 64 bytes from 176.40.28.67: seq=0 ttl=63 time=10.633 ms 64 bytes from 176.40.28.67: seq=1 ttl=63 time=1.134 ms 64 bytes from 176.40.28.67: seq=2 ttl=63 time=1.075 ms --- 176.40.28.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.075/4.280/10.633 ms 2026-04-02 11:40:10,114 - INFO - Ping to IP 176.40.28.67 from VM ctest-TestBasicPolicy-96437397-50312517 passed 2026-04-02 11:40:10,294 - DEBUG - Policy Update Response {"network-policy": {"uuid": "50dd09ba-5fa7-4348-b2ba-0a6dda0d785e", "href": "http://10.0.0.141:8082/network-policy/50dd09ba-5fa7-4348-b2ba-0a6dda0d785e"}} 2026-04-02 11:40:10,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:40:10,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.40.28.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-02 11:40:10,295 - DEBUG - ping -s 56 -c 3 -W 1 176.40.28.67 2026-04-02 11:40:13,522 - DEBUG - PING 176.40.28.67 (176.40.28.67): 56 data bytes --- 176.40.28.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-02 11:40:13,522 - WARNING - Ping to IP 176.40.28.67 from VM ctest-TestBasicPolicy-96437397-50312517 failed 2026-04-02 11:40:13,522 - INFO - Deleting VM ctest-TestBasicPolicy-96437397-46326603 2026-04-02 11:40:13,593 - INFO - Deleting VM ctest-TestBasicPolicy-96437397-50312517 2026-04-02 11:40:14,076 - INFO - Deleted policy ctest-policy-allow-all-95954437 2026-04-02 11:40:14,076 - INFO - Deleting VN ctest-vn-97740714 2026-04-02 11:40:14,128 - DEBUG - VN 27e78df1-a301-44ff-86e9-56901077d2d7 still in use: Unable to complete operation on network 27e78df1-a301-44ff-86e9-56901077d2d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb01bd61-622c-4c1e-b14a-402c0460e20f'] 2026-04-02 11:40:14,128 - WARNING - Deleting VN ctest-vn-97740714 failed..Will retry 2026-04-02 11:40:16,243 - DEBUG - Response for deleting network () 2026-04-02 11:40:16,244 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b65a4d2c-5d9d-44ae-b91d-205a65a009cd 2026-04-02 11:40:16,250 - DEBUG - Response Code: 404 2026-04-02 11:40:16,251 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:40:16,257 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a485233c-3919-4c9b-b8e7-17e485e066d8 2026-04-02 11:40:16,314 - DEBUG - Requesting: http://10.0.0.141:8082/project/44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:40:16,389 - INFO - Validated that VN ctest-vn-97740714 is not found in API Server 2026-04-02 11:40:16,400 - DEBUG - VN ctest-vn-97740714 is not present in Agent 10.0.0.141 2026-04-02 11:40:16,400 - INFO - Validated that VN ctest-vn-97740714 is not in any agent 2026-04-02 11:40:16,416 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97740714 info 2026-04-02 11:40:16,416 - INFO - Deleting VN ctest-vn-90015924 2026-04-02 11:40:16,528 - DEBUG - Response for deleting network () 2026-04-02 11:40:16,528 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3b9f4cbf-d759-4cdc-8c81-8705e393e741 2026-04-02 11:40:16,538 - DEBUG - Response Code: 404 2026-04-02 11:40:16,538 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-02 11:40:16,545 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a485233c-3919-4c9b-b8e7-17e485e066d8 2026-04-02 11:40:16,600 - DEBUG - Requesting: http://10.0.0.141:8082/project/44c97054-819b-4e1e-9742-0542d5f793b0 2026-04-02 11:40:16,676 - INFO - Validated that VN ctest-vn-90015924 is not found in API Server 2026-04-02 11:40:16,688 - DEBUG - VN ctest-vn-90015924 is not present in Agent 10.0.0.141 2026-04-02 11:40:16,688 - INFO - Validated that VN ctest-vn-90015924 is not in any agent 2026-04-02 11:40:16,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90015924 info 2026-04-02 11:40:16,965 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 11:40:16,965 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-04-02 11:40:16,965 - INFO - -------------------------------------------------------------------------------- 2026-04-02 11:40:17,702 - INFO - Deleted project: ctest-TestBasicPolicy-96437397, ID : 44c97054-819b-4e1e-9742-0542d5f793b0