2026-03-17 15:13:38,943 - INFO - Domain Default found not creating 2026-03-17 15:13:39,124 - INFO - Project ctest-TestBasicPolicy-28914453 not found, creating it 2026-03-17 15:13:39,629 - INFO - Created Project:ctest-TestBasicPolicy-28914453, ID : 8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:13:41,196 - INFO - ================================================================================ 2026-03-17 15:13:41,196 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-17 15:13:41,196 - 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-03-17 15:13:41,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.249': '0'}} with 2026-03-17 15:13:41,454 - INFO - Initial checks done. Running the testcase now 2026-03-17 15:13:41,454 - INFO - 2026-03-17 15:13:42,057 - DEBUG - Response for create_network : {'network': {'id': '97a2556b-e0f9-4578-897b-b56b52a6f1d8', 'name': 'ctest-vn-67761719', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-67761719'], 'port_security_enabled': True, 'description': ''}} 2026-03-17 15:13:42,222 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec66a47-9596-4002-b80e-b73da2392cdc', 'name': '', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'network_id': '97a2556b-e0f9-4578-897b-b56b52a6f1d8', 'ip_version': 4, 'cidr': '36.89.191.192/26', 'allocation_pools': [{'start': '36.89.191.194', 'end': '36.89.191.254'}], 'gateway_ip': '36.89.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.89.191.194', 'tags': [], 'project_id': '8ecbcd42096145cb835c4e161967800e'}} 2026-03-17 15:13:42,241 - INFO - Created VN ctest-vn-67761719 2026-03-17 15:13:42,294 - DEBUG - VN ctest-vn-67761719 UUID is 97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:42,613 - DEBUG - Response for create_network : {'network': {'id': 'd47fa9be-6665-4c13-a479-9d9fccd1b5e6', 'name': 'ctest-vn-96909161', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-96909161'], 'port_security_enabled': True, 'description': ''}} 2026-03-17 15:13:42,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fe21215-38f5-459b-afcd-ae1d5b5c1b3a', 'name': '', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'network_id': 'd47fa9be-6665-4c13-a479-9d9fccd1b5e6', 'ip_version': 4, 'cidr': '29.167.120.128/26', 'allocation_pools': [{'start': '29.167.120.130', 'end': '29.167.120.190'}], 'gateway_ip': '29.167.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.167.120.130', 'tags': [], 'project_id': '8ecbcd42096145cb835c4e161967800e'}} 2026-03-17 15:13:42,830 - INFO - Created VN ctest-vn-96909161 2026-03-17 15:13:42,882 - DEBUG - VN ctest-vn-96909161 UUID is d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:43,038 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719, 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-28914453:ctest-vn-96909161, 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-03-17 15:13:43,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97a2556b-e0f9-4578-897b-b56b52a6f1d8', 'name': 'ctest-vn-67761719', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dec66a47-9596-4002-b80e-b73da2392cdc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-67761719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460']], 'subnet_ipam': [{'subnet_cidr': '36.89.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-17 15:13:43,617 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd47fa9be-6665-4c13-a479-9d9fccd1b5e6', 'name': 'ctest-vn-96909161', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fe21215-38f5-459b-afcd-ae1d5b5c1b3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-96909161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460']], 'subnet_ipam': [{'subnet_cidr': '29.167.120.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-17 15:13:43,770 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:13:44,077 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:13:44,107 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e 2026-03-17 15:13:44,122 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:13:44,198 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:44,208 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:44,216 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f 2026-03-17 15:13:44,224 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f 2026-03-17 15:13:44,232 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/aab085f5-aea7-4a89-8a89-96eee895869b 2026-03-17 15:13:44,239 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-17 15:13:44,239 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:44,250 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f 2026-03-17 15:13:44,265 - INFO - Verified VN network id 11 for VN 97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:44,265 - INFO - Verifications in API Server for VN ctest-vn-67761719 passed 2026-03-17 15:13:44,265 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:44,275 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f 2026-03-17 15:13:44,282 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f 2026-03-17 15:13:44,291 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/aab085f5-aea7-4a89-8a89-96eee895869b 2026-03-17 15:13:44,302 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28914453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10926389567778538872', 'uuid-lslong': '9906711277884338648'}, 'enable': 'true', 'created': '2026-03-17T15:13:42', 'last-modified': '2026-03-17T15:13:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992410'} 2026-03-17 15:13:44,309 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-17 15:13:44,310 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67761719 passed 2026-03-17 15:13:44,310 - DEBUG - ====Verifying policy data for ctest-vn-67761719 in API_Server ====== 2026-03-17 15:13:44,310 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:13:44,315 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e 2026-03-17 15:13:44,326 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:13:44,404 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8 2026-03-17 15:13:44,415 - DEBUG - ==>Verifying data for policy with id: e7a39d04-e8f2-4502-8eb2-ef8888198a54, fqn: ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460'] 2026-03-17 15:13:44,415 - INFO - VN ctest-vn-67761719 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-17 15:13:44,416 - DEBUG - Verifying the vn in opserver 2026-03-17 15:13:44,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719 virtual network link through opserver 10.0.0.131 2026-03-17 15:13:44,416 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-03-17 15:13:44,720 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-03-17 15:13:44,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719?flat'} 2026-03-17 15:13:44,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719 is found in opserver 2026-03-17 15:13:44,792 - DEBUG - Do not have enough data to verify VN in agent 2026-03-17 15:13:44,797 - DEBUG - VRF ids for VN ctest-vn-67761719: {} 2026-03-17 15:13:44,797 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:13:44,803 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e 2026-03-17 15:13:44,814 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:13:44,887 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:44,898 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:44,907 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012 2026-03-17 15:13:44,914 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012 2026-03-17 15:13:44,920 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/e9348b89-9f4f-40f2-85fe-eb0326caeb9e 2026-03-17 15:13:44,927 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-17 15:13:44,927 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:44,937 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012 2026-03-17 15:13:44,950 - INFO - Verified VN network id 12 for VN d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:44,951 - INFO - Verifications in API Server for VN ctest-vn-96909161 passed 2026-03-17 15:13:44,951 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:44,960 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012 2026-03-17 15:13:44,967 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012 2026-03-17 15:13:44,974 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/e9348b89-9f4f-40f2-85fe-eb0326caeb9e 2026-03-17 15:13:44,986 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28914453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15312143893309770771', 'uuid-lslong': '11851677204063827430'}, 'enable': 'true', 'created': '2026-03-17T15:13:42', 'last-modified': '2026-03-17T15:13:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442097'} 2026-03-17 15:13:44,992 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-17 15:13:44,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96909161 passed 2026-03-17 15:13:44,993 - DEBUG - ====Verifying policy data for ctest-vn-96909161 in API_Server ====== 2026-03-17 15:13:44,993 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:13:44,999 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e 2026-03-17 15:13:45,011 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:13:45,084 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6 2026-03-17 15:13:45,094 - DEBUG - ==>Verifying data for policy with id: e7a39d04-e8f2-4502-8eb2-ef8888198a54, fqn: ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460'] 2026-03-17 15:13:45,094 - INFO - VN ctest-vn-96909161 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-17 15:13:45,095 - DEBUG - Verifying the vn in opserver 2026-03-17 15:13:45,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161 virtual network link through opserver 10.0.0.131 2026-03-17 15:13:45,095 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-03-17 15:13:45,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161?flat'} 2026-03-17 15:13:45,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161 is found in opserver 2026-03-17 15:13:45,116 - DEBUG - Do not have enough data to verify VN in agent 2026-03-17 15:13:45,121 - DEBUG - VRF ids for VN ctest-vn-96909161: {} 2026-03-17 15:13:45,190 - DEBUG - Services list from nova: [, , ] 2026-03-17 15:13:46,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5483-1) 2026-03-17 15:13:47,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5483-1) 2026-03-17 15:13:47,441 - INFO - Waiting for VM ctest-TestBasicPolicy-28914453-65617396 to be up.. 2026-03-17 15:13:47,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-17 15:13:52,613 - DEBUG - VM is in ACTIVE state now 2026-03-17 15:13:52,613 - INFO - VM name : ctest-TestBasicPolicy-28914453-65617396 2026-03-17 15:13:52,700 - DEBUG - VM ctest-TestBasicPolicy-28914453-65617396 ID is ae56ef4d-0ec4-46f8-b760-510ce8e29bd3 2026-03-17 15:13:52,720 - DEBUG - VM ctest-TestBasicPolicy-28914453-65617396 launched on Node cn-jenkins-deploy-platform-ansible-os-5483-1 2026-03-17 15:13:52,796 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ae56ef4d-0ec4-46f8-b760-510ce8e29bd3 2026-03-17 15:13:52,805 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/69e6718a-8149-4a05-8b4d-f93da893278f 2026-03-17 15:13:56,055 - 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 1010ms') 2026-03-17 15:13:56,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28914453-65617396 failed! 2026-03-17 15:13:56,110 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719 is 36.89.191.193 and allocation pool is NOT set 2026-03-17 15:13:58,170 - 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=8.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.344/5.635/8.927/3.291 ms') 2026-03-17 15:13:58,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28914453-65617396 passed 2026-03-17 15:13:58,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:13:58,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28914453-65617396, IP 36.89.191.195, Port 22 2026-03-17 15:13:58,384 - 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-03-17 15:13:58,471 - DEBUG - VM ctest-TestBasicPolicy-28914453-65617396 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-17 15:14:03,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:14:03,472 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28914453-65617396, IP 36.89.191.195, Port 22 2026-03-17 15:14:03,629 - DEBUG - VM ctest-TestBasicPolicy-28914453-65617396 is ready for SSH connections 2026-03-17 15:14:03,630 - INFO - Waiting for VM ctest-TestBasicPolicy-28914453-34864832 to be up.. 2026-03-17 15:14:03,708 - DEBUG - VM is in ACTIVE state now 2026-03-17 15:14:03,708 - INFO - VM name : ctest-TestBasicPolicy-28914453-34864832 2026-03-17 15:14:03,785 - DEBUG - VM ctest-TestBasicPolicy-28914453-34864832 ID is cccde3e4-5c79-4ebf-8225-acb2ef3f4323 2026-03-17 15:14:03,785 - DEBUG - VM ctest-TestBasicPolicy-28914453-34864832 launched on Node cn-jenkins-deploy-platform-ansible-os-5483-1 2026-03-17 15:14:03,861 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cccde3e4-5c79-4ebf-8225-acb2ef3f4323 2026-03-17 15:14:03,869 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8da93140-80c2-42af-80cd-47f2e8fa81b7 2026-03-17 15:14:05,103 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.976/3.549/1.572 ms') 2026-03-17 15:14:05,103 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28914453-34864832 passed 2026-03-17 15:14:05,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:14:05,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28914453-34864832, IP 29.167.120.131, Port 22 2026-03-17 15:14:05,409 - DEBUG - VM ctest-TestBasicPolicy-28914453-34864832 is ready for SSH connections 2026-03-17 15:14:05,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:14:05,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.167.120.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-03-17 15:14:05,410 - DEBUG - ping -s 56 -c 3 -W 1 29.167.120.131 2026-03-17 15:14:09,458 - DEBUG - PING 29.167.120.131 (29.167.120.131): 56 data bytes 64 bytes from 29.167.120.131: seq=0 ttl=63 time=3.579 ms 64 bytes from 29.167.120.131: seq=1 ttl=63 time=1.058 ms 64 bytes from 29.167.120.131: seq=2 ttl=63 time=0.951 ms --- 29.167.120.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.862/3.579 ms 2026-03-17 15:14:09,458 - INFO - Ping to IP 29.167.120.131 from VM ctest-TestBasicPolicy-28914453-65617396 passed 2026-03-17 15:14:09,638 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e7a39d04-e8f2-4502-8eb2-ef8888198a54", "href": "http://10.0.0.131:8082/network-policy/e7a39d04-e8f2-4502-8eb2-ef8888198a54"}} 2026-03-17 15:14:09,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:14:09,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.167.120.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-03-17 15:14:09,638 - DEBUG - ping -s 56 -c 3 -W 1 29.167.120.131 2026-03-17 15:14:12,859 - DEBUG - PING 29.167.120.131 (29.167.120.131): 56 data bytes --- 29.167.120.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-17 15:14:12,859 - WARNING - Ping to IP 29.167.120.131 from VM ctest-TestBasicPolicy-28914453-65617396 failed 2026-03-17 15:14:12,860 - INFO - Deleting VM ctest-TestBasicPolicy-28914453-34864832 2026-03-17 15:14:12,933 - INFO - Deleting VM ctest-TestBasicPolicy-28914453-65617396 2026-03-17 15:14:13,336 - INFO - Deleted policy ctest-policy-allow-all-10614460 2026-03-17 15:14:13,336 - INFO - Deleting VN ctest-vn-96909161 2026-03-17 15:14:13,373 - DEBUG - VN d47fa9be-6665-4c13-a479-9d9fccd1b5e6 still in use: Unable to complete operation on network d47fa9be-6665-4c13-a479-9d9fccd1b5e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf1b7af7-abb9-4d22-b24f-7b9421c5ae20'] 2026-03-17 15:14:13,373 - WARNING - Deleting VN ctest-vn-96909161 failed..Will retry 2026-03-17 15:14:15,467 - DEBUG - Response for deleting network () 2026-03-17 15:14:15,468 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012 2026-03-17 15:14:15,473 - DEBUG - Response Code: 404 2026-03-17 15:14:15,473 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:14:15,482 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e 2026-03-17 15:14:15,536 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:14:15,605 - INFO - Validated that VN ctest-vn-96909161 is not found in API Server 2026-03-17 15:14:15,615 - DEBUG - VN ctest-vn-96909161 is not present in Agent 10.0.0.131 2026-03-17 15:14:15,615 - INFO - Validated that VN ctest-vn-96909161 is not in any agent 2026-03-17 15:14:15,629 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96909161 info 2026-03-17 15:14:15,629 - INFO - Deleting VN ctest-vn-67761719 2026-03-17 15:14:15,724 - DEBUG - Response for deleting network () 2026-03-17 15:14:15,724 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f 2026-03-17 15:14:15,731 - DEBUG - Response Code: 404 2026-03-17 15:14:15,731 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2026-03-17 15:14:15,738 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e 2026-03-17 15:14:15,790 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e 2026-03-17 15:14:15,865 - INFO - Validated that VN ctest-vn-67761719 is not found in API Server 2026-03-17 15:14:15,874 - DEBUG - VN ctest-vn-67761719 is not present in Agent 10.0.0.131 2026-03-17 15:14:15,874 - INFO - Validated that VN ctest-vn-67761719 is not in any agent 2026-03-17 15:14:15,887 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67761719 info 2026-03-17 15:14:16,146 - DEBUG - No XMPP flaps were noticed during the test
2026-03-17 15:14:16,146 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-03-17 15:14:16,147 - INFO - -------------------------------------------------------------------------------- 2026-03-17 15:14:16,824 - INFO - Deleted project: ctest-TestBasicPolicy-28914453, ID : 8ecbcd42-0961-45cb-835c-4e161967800e