2026-02-01 14:34:46,991 - INFO - Domain Default found not creating 2026-02-01 14:34:47,196 - INFO - Project ctest-TestBasicPolicy-26981281 not found, creating it 2026-02-01 14:34:47,697 - INFO - Created Project:ctest-TestBasicPolicy-26981281, ID : 3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:34:49,323 - INFO - ================================================================================ 2026-02-01 14:34:49,323 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-01 14:34:49,323 - 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-02-01 14:34:49,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-02-01 14:34:49,585 - INFO - Initial checks done. Running the testcase now 2026-02-01 14:34:49,585 - INFO - 2026-02-01 14:34:50,179 - DEBUG - Response for create_network : {'network': {'id': '8021bfcc-d6d1-4463-bc7a-b9266dae48bc', 'name': 'ctest-vn-26408414', 'tenant_id': '3366138d9b00494292f59f1183de38b8', 'project_id': '3366138d9b00494292f59f1183de38b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-vn-26408414'], 'port_security_enabled': True, 'description': ''}} 2026-02-01 14:34:50,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '41d75bdb-1150-446d-a308-ce7895bbd36d', 'name': '', 'tenant_id': '3366138d9b00494292f59f1183de38b8', 'network_id': '8021bfcc-d6d1-4463-bc7a-b9266dae48bc', 'ip_version': 4, 'cidr': '158.234.251.0/26', 'allocation_pools': [{'start': '158.234.251.2', 'end': '158.234.251.62'}], 'gateway_ip': '158.234.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.234.251.2', 'tags': [], 'project_id': '3366138d9b00494292f59f1183de38b8'}} 2026-02-01 14:34:50,366 - INFO - Created VN ctest-vn-26408414 2026-02-01 14:34:50,422 - DEBUG - VN ctest-vn-26408414 UUID is 8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:50,728 - DEBUG - Response for create_network : {'network': {'id': '874464fe-1fb9-4bde-b8a2-26766875598f', 'name': 'ctest-vn-39049734', 'tenant_id': '3366138d9b00494292f59f1183de38b8', 'project_id': '3366138d9b00494292f59f1183de38b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-vn-39049734'], 'port_security_enabled': True, 'description': ''}} 2026-02-01 14:34:50,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad4e6848-017b-49c1-ac22-00580df04b22', 'name': '', 'tenant_id': '3366138d9b00494292f59f1183de38b8', 'network_id': '874464fe-1fb9-4bde-b8a2-26766875598f', 'ip_version': 4, 'cidr': '153.30.177.192/26', 'allocation_pools': [{'start': '153.30.177.194', 'end': '153.30.177.254'}], 'gateway_ip': '153.30.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.30.177.194', 'tags': [], 'project_id': '3366138d9b00494292f59f1183de38b8'}} 2026-02-01 14:34:50,913 - INFO - Created VN ctest-vn-39049734 2026-02-01 14:34:50,970 - DEBUG - VN ctest-vn-39049734 UUID is 874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:51,096 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414, 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-26981281:ctest-vn-39049734, 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-02-01 14:34:51,397 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8021bfcc-d6d1-4463-bc7a-b9266dae48bc', 'name': 'ctest-vn-26408414', 'tenant_id': '3366138d9b00494292f59f1183de38b8', 'project_id': '3366138d9b00494292f59f1183de38b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41d75bdb-1150-446d-a308-ce7895bbd36d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-vn-26408414'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-policy-allow-all-13043118']], 'subnet_ipam': [{'subnet_cidr': '158.234.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-01 14:34:51,689 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '874464fe-1fb9-4bde-b8a2-26766875598f', 'name': 'ctest-vn-39049734', 'tenant_id': '3366138d9b00494292f59f1183de38b8', 'project_id': '3366138d9b00494292f59f1183de38b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad4e6848-017b-49c1-ac22-00580df04b22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-vn-39049734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-policy-allow-all-13043118']], 'subnet_ipam': [{'subnet_cidr': '153.30.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-01 14:34:51,834 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:34:52,132 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:34:52,169 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c58131d3-c59d-4462-9600-9ca657ea470c 2026-02-01 14:34:52,182 - DEBUG - Requesting: http://10.0.0.242:8082/project/3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:34:52,255 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:52,266 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:52,276 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83f1ecf2-7176-4050-a969-911a87cb17e4 2026-02-01 14:34:52,283 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83f1ecf2-7176-4050-a969-911a87cb17e4 2026-02-01 14:34:52,291 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0c51d985-fd92-44cc-8187-f3f329f26f06 2026-02-01 14:34:52,299 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-01 14:34:52,299 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:52,309 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83f1ecf2-7176-4050-a969-911a87cb17e4 2026-02-01 14:34:52,324 - INFO - Verified VN network id 10 for VN 8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:52,324 - INFO - Verifications in API Server for VN ctest-vn-26408414 passed 2026-02-01 14:34:52,324 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:52,333 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83f1ecf2-7176-4050-a969-911a87cb17e4 2026-02-01 14:34:52,342 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83f1ecf2-7176-4050-a969-911a87cb17e4 2026-02-01 14:34:52,348 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0c51d985-fd92-44cc-8187-f3f329f26f06 2026-02-01 14:34:52,362 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26981281', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9232871597584499811', 'uuid-lslong': '13581371200989186236'}, 'enable': 'true', 'created': '2026-02-01T14:34:50', 'last-modified': '2026-02-01T14:34:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983681'} 2026-02-01 14:34:52,369 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-01 14:34:52,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26408414 passed 2026-02-01 14:34:52,370 - DEBUG - ====Verifying policy data for ctest-vn-26408414 in API_Server ====== 2026-02-01 14:34:52,370 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:34:52,376 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c58131d3-c59d-4462-9600-9ca657ea470c 2026-02-01 14:34:52,389 - DEBUG - Requesting: http://10.0.0.242:8082/project/3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:34:52,458 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8021bfcc-d6d1-4463-bc7a-b9266dae48bc 2026-02-01 14:34:52,467 - DEBUG - ==>Verifying data for policy with id: 319d301c-6683-455b-8872-1160a37ef7a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-policy-allow-all-13043118'] 2026-02-01 14:34:52,467 - INFO - VN ctest-vn-26408414 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-01 14:34:52,467 - DEBUG - Verifying the vn in opserver 2026-02-01 14:34:52,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414 virtual network link through opserver 10.0.0.242 2026-02-01 14:34:52,467 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-01 14:34:52,765 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-01 14:34:52,838 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414?flat'} 2026-02-01 14:34:52,838 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414 is found in opserver 2026-02-01 14:34:52,848 - DEBUG - Do not have enough data to verify VN in agent 2026-02-01 14:34:52,854 - DEBUG - VRF ids for VN ctest-vn-26408414: {} 2026-02-01 14:34:52,854 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:34:52,860 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c58131d3-c59d-4462-9600-9ca657ea470c 2026-02-01 14:34:52,874 - DEBUG - Requesting: http://10.0.0.242:8082/project/3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:34:52,947 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:52,962 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:52,973 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9cf7dbb6-3a42-4c9b-9cee-ed8adec4d32e 2026-02-01 14:34:52,981 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9cf7dbb6-3a42-4c9b-9cee-ed8adec4d32e 2026-02-01 14:34:52,988 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8f2563f7-d17c-4815-838e-f3508a767df1 2026-02-01 14:34:52,996 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-01 14:34:52,996 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:53,006 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9cf7dbb6-3a42-4c9b-9cee-ed8adec4d32e 2026-02-01 14:34:53,023 - INFO - Verified VN network id 11 for VN 874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:53,024 - INFO - Verifications in API Server for VN ctest-vn-39049734 passed 2026-02-01 14:34:53,024 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:53,034 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9cf7dbb6-3a42-4c9b-9cee-ed8adec4d32e 2026-02-01 14:34:53,042 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9cf7dbb6-3a42-4c9b-9cee-ed8adec4d32e 2026-02-01 14:34:53,050 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8f2563f7-d17c-4815-838e-f3508a767df1 2026-02-01 14:34:53,063 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-39049734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26981281', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9747026536153304030', 'uuid-lslong': '13304238539206384015'}, 'enable': 'true', 'created': '2026-02-01T14:34:50', 'last-modified': '2026-02-01T14:34:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439742'} 2026-02-01 14:34:53,069 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-01 14:34:53,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39049734 passed 2026-02-01 14:34:53,069 - DEBUG - ====Verifying policy data for ctest-vn-39049734 in API_Server ====== 2026-02-01 14:34:53,070 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:34:53,077 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c58131d3-c59d-4462-9600-9ca657ea470c 2026-02-01 14:34:53,090 - DEBUG - Requesting: http://10.0.0.242:8082/project/3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:34:53,164 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/874464fe-1fb9-4bde-b8a2-26766875598f 2026-02-01 14:34:53,174 - DEBUG - ==>Verifying data for policy with id: 319d301c-6683-455b-8872-1160a37ef7a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-26981281', 'ctest-policy-allow-all-13043118'] 2026-02-01 14:34:53,174 - INFO - VN ctest-vn-39049734 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-01 14:34:53,174 - DEBUG - Verifying the vn in opserver 2026-02-01 14:34:53,174 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-39049734 virtual network link through opserver 10.0.0.242 2026-02-01 14:34:53,174 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-01 14:34:53,186 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-39049734', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-39049734?flat'} 2026-02-01 14:34:53,186 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-39049734 is found in opserver 2026-02-01 14:34:53,197 - DEBUG - Do not have enough data to verify VN in agent 2026-02-01 14:34:53,202 - DEBUG - VRF ids for VN ctest-vn-39049734: {} 2026-02-01 14:34:53,265 - DEBUG - Services list from nova: [, , ] 2026-02-01 14:34:54,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5161-1) 2026-02-01 14:34:55,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5161-1) 2026-02-01 14:34:55,651 - INFO - Waiting for VM ctest-TestBasicPolicy-26981281-13774963 to be up.. 2026-02-01 14:34:55,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-01 14:35:00,833 - DEBUG - VM is in ACTIVE state now 2026-02-01 14:35:00,833 - INFO - VM name : ctest-TestBasicPolicy-26981281-13774963 2026-02-01 14:35:00,920 - DEBUG - VM ctest-TestBasicPolicy-26981281-13774963 ID is 288c11fe-7b25-4e7f-b085-d3f0fc7e0e9f 2026-02-01 14:35:00,942 - DEBUG - VM ctest-TestBasicPolicy-26981281-13774963 launched on Node cn-jenkins-deploy-platform-ansible-os-5161-1 2026-02-01 14:35:01,028 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/288c11fe-7b25-4e7f-b085-d3f0fc7e0e9f 2026-02-01 14:35:01,041 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/cc593192-0583-474b-b29c-b8816fe9c6bb 2026-02-01 14:35:04,313 - 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 1017ms') 2026-02-01 14:35:04,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26981281-13774963 failed! 2026-02-01 14:35:04,370 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26981281:ctest-vn-26408414 is 158.234.251.1 and allocation pool is NOT set 2026-02-01 14:35:06,435 - 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=3.20 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 = 3.197/5.185/7.174/1.988 ms') 2026-02-01 14:35:06,435 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26981281-13774963 passed 2026-02-01 14:35:06,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 14:35:06,598 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26981281-13774963, IP 158.234.251.3, Port 22 2026-02-01 14:35:06,664 - 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-02-01 14:35:06,755 - DEBUG - VM ctest-TestBasicPolicy-26981281-13774963 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-01 14:35:11,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 14:35:11,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26981281-13774963, IP 158.234.251.3, Port 22 2026-02-01 14:35:11,913 - DEBUG - VM ctest-TestBasicPolicy-26981281-13774963 is ready for SSH connections 2026-02-01 14:35:11,913 - INFO - Waiting for VM ctest-TestBasicPolicy-26981281-19772173 to be up.. 2026-02-01 14:35:11,995 - DEBUG - VM is in ACTIVE state now 2026-02-01 14:35:11,995 - INFO - VM name : ctest-TestBasicPolicy-26981281-19772173 2026-02-01 14:35:12,082 - DEBUG - VM ctest-TestBasicPolicy-26981281-19772173 ID is 307f49df-6ffe-4f7b-981f-df72a49a91c8 2026-02-01 14:35:12,082 - DEBUG - VM ctest-TestBasicPolicy-26981281-19772173 launched on Node cn-jenkins-deploy-platform-ansible-os-5161-1 2026-02-01 14:35:12,173 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/307f49df-6ffe-4f7b-981f-df72a49a91c8 2026-02-01 14:35:12,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/64368756-7268-42ba-853e-675d780c4296 2026-02-01 14:35:13,422 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/1.794/3.083/1.289 ms') 2026-02-01 14:35:13,423 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26981281-19772173 passed 2026-02-01 14:35:13,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 14:35:13,578 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26981281-19772173, IP 153.30.177.195, Port 22 2026-02-01 14:35:13,760 - DEBUG - VM ctest-TestBasicPolicy-26981281-19772173 is ready for SSH connections 2026-02-01 14:35:13,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 14:35:13,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.30.177.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-01 14:35:13,761 - DEBUG - ping -s 56 -c 3 -W 1 153.30.177.195 2026-02-01 14:35:17,841 - DEBUG - PING 153.30.177.195 (153.30.177.195): 56 data bytes 64 bytes from 153.30.177.195: seq=0 ttl=63 time=3.382 ms 64 bytes from 153.30.177.195: seq=1 ttl=63 time=1.229 ms 64 bytes from 153.30.177.195: seq=2 ttl=63 time=0.955 ms --- 153.30.177.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/1.855/3.382 ms 2026-02-01 14:35:17,841 - INFO - Ping to IP 153.30.177.195 from VM ctest-TestBasicPolicy-26981281-13774963 passed 2026-02-01 14:35:18,033 - DEBUG - Policy Update Response {"network-policy": {"uuid": "319d301c-6683-455b-8872-1160a37ef7a6", "href": "http://10.0.0.242:8082/network-policy/319d301c-6683-455b-8872-1160a37ef7a6"}} 2026-02-01 14:35:18,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 14:35:18,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.30.177.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-01 14:35:18,034 - DEBUG - ping -s 56 -c 3 -W 1 153.30.177.195 2026-02-01 14:35:21,249 - DEBUG - PING 153.30.177.195 (153.30.177.195): 56 data bytes --- 153.30.177.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-01 14:35:21,249 - WARNING - Ping to IP 153.30.177.195 from VM ctest-TestBasicPolicy-26981281-13774963 failed 2026-02-01 14:35:21,249 - INFO - Deleting VM ctest-TestBasicPolicy-26981281-19772173 2026-02-01 14:35:21,330 - INFO - Deleting VM ctest-TestBasicPolicy-26981281-13774963 2026-02-01 14:35:21,744 - INFO - Deleted policy ctest-policy-allow-all-13043118 2026-02-01 14:35:21,744 - INFO - Deleting VN ctest-vn-39049734 2026-02-01 14:35:21,791 - DEBUG - VN 874464fe-1fb9-4bde-b8a2-26766875598f still in use: Unable to complete operation on network 874464fe-1fb9-4bde-b8a2-26766875598f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3b400b2-6e90-4b6f-8495-17e815405087'] 2026-02-01 14:35:21,791 - WARNING - Deleting VN ctest-vn-39049734 failed..Will retry 2026-02-01 14:35:23,905 - DEBUG - Response for deleting network () 2026-02-01 14:35:23,905 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9cf7dbb6-3a42-4c9b-9cee-ed8adec4d32e 2026-02-01 14:35:23,912 - DEBUG - Response Code: 404 2026-02-01 14:35:23,912 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:35:23,918 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c58131d3-c59d-4462-9600-9ca657ea470c 2026-02-01 14:35:23,971 - DEBUG - Requesting: http://10.0.0.242:8082/project/3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:35:24,047 - INFO - Validated that VN ctest-vn-39049734 is not found in API Server 2026-02-01 14:35:24,060 - DEBUG - VN ctest-vn-39049734 is not present in Agent 10.0.0.242 2026-02-01 14:35:24,060 - INFO - Validated that VN ctest-vn-39049734 is not in any agent 2026-02-01 14:35:24,077 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39049734 info 2026-02-01 14:35:24,077 - INFO - Deleting VN ctest-vn-26408414 2026-02-01 14:35:24,188 - DEBUG - Response for deleting network () 2026-02-01 14:35:24,189 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/83f1ecf2-7176-4050-a969-911a87cb17e4 2026-02-01 14:35:24,196 - DEBUG - Response Code: 404 2026-02-01 14:35:24,197 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-01 14:35:24,202 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c58131d3-c59d-4462-9600-9ca657ea470c 2026-02-01 14:35:24,259 - DEBUG - Requesting: http://10.0.0.242:8082/project/3366138d-9b00-4942-92f5-9f1183de38b8 2026-02-01 14:35:24,327 - INFO - Validated that VN ctest-vn-26408414 is not found in API Server 2026-02-01 14:35:24,339 - DEBUG - VN ctest-vn-26408414 is not present in Agent 10.0.0.242 2026-02-01 14:35:24,339 - INFO - Validated that VN ctest-vn-26408414 is not in any agent 2026-02-01 14:35:24,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26408414 info 2026-02-01 14:35:24,627 - DEBUG - No XMPP flaps were noticed during the test
2026-02-01 14:35:24,627 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-01 14:35:24,627 - INFO - -------------------------------------------------------------------------------- 2026-02-01 14:35:25,320 - INFO - Deleted project: ctest-TestBasicPolicy-26981281, ID : 3366138d-9b00-4942-92f5-9f1183de38b8