2026-03-17 12:53:16,175 - INFO - Domain Default found not creating 2026-03-17 12:53:16,366 - INFO - Project ctest-TestBasicPolicy-49236246 not found, creating it 2026-03-17 12:53:16,870 - INFO - Created Project:ctest-TestBasicPolicy-49236246, ID : 0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:18,367 - INFO - ================================================================================ 2026-03-17 12:53:18,367 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-17 12:53:18,367 - 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 12:53:18,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-03-17 12:53:18,630 - INFO - Initial checks done. Running the testcase now 2026-03-17 12:53:18,630 - INFO - 2026-03-17 12:53:19,191 - DEBUG - Response for create_network : {'network': {'id': '3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b', 'name': 'ctest-vn-25077404', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-25077404'], 'port_security_enabled': True, 'description': ''}} 2026-03-17 12:53:19,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '377f4638-02fb-4c76-9a46-402100a0ada0', 'name': '', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'network_id': '3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b', 'ip_version': 4, 'cidr': '93.0.226.192/26', 'allocation_pools': [{'start': '93.0.226.194', 'end': '93.0.226.254'}], 'gateway_ip': '93.0.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.0.226.194', 'tags': [], 'project_id': '0aef448a1f1d4df79ead8d9348da58d2'}} 2026-03-17 12:53:19,412 - INFO - Created VN ctest-vn-25077404 2026-03-17 12:53:19,465 - DEBUG - VN ctest-vn-25077404 UUID is 3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:19,765 - DEBUG - Response for create_network : {'network': {'id': '1af598f5-61c5-4630-87b4-03dd257a2e94', 'name': 'ctest-vn-72764767', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-72764767'], 'port_security_enabled': True, 'description': ''}} 2026-03-17 12:53:19,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '23760663-4400-42ea-8d3e-bd88fe55f92c', 'name': '', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'network_id': '1af598f5-61c5-4630-87b4-03dd257a2e94', 'ip_version': 4, 'cidr': '4.20.199.128/26', 'allocation_pools': [{'start': '4.20.199.130', 'end': '4.20.199.190'}], 'gateway_ip': '4.20.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.20.199.130', 'tags': [], 'project_id': '0aef448a1f1d4df79ead8d9348da58d2'}} 2026-03-17 12:53:19,934 - INFO - Created VN ctest-vn-72764767 2026-03-17 12:53:19,984 - DEBUG - VN ctest-vn-72764767 UUID is 1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:20,100 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404, 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-49236246:ctest-vn-72764767, 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 12:53:20,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b', 'name': 'ctest-vn-25077404', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['377f4638-02fb-4c76-9a46-402100a0ada0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-25077404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812']], 'subnet_ipam': [{'subnet_cidr': '93.0.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-17 12:53:20,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1af598f5-61c5-4630-87b4-03dd257a2e94', 'name': 'ctest-vn-72764767', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23760663-4400-42ea-8d3e-bd88fe55f92c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-72764767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812']], 'subnet_ipam': [{'subnet_cidr': '4.20.199.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-17 12:53:20,841 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:21,116 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:21,155 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b 2026-03-17 12:53:21,168 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:21,244 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:21,256 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:21,266 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6 2026-03-17 12:53:21,273 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6 2026-03-17 12:53:21,280 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0d1aef4-2895-4b75-910d-4e8cd90c8f09 2026-03-17 12:53:21,288 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-17 12:53:21,288 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:21,299 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6 2026-03-17 12:53:21,317 - INFO - Verified VN network id 11 for VN 3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:21,317 - INFO - Verifications in API Server for VN ctest-vn-25077404 passed 2026-03-17 12:53:21,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:21,331 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6 2026-03-17 12:53:21,340 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6 2026-03-17 12:53:21,348 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0d1aef4-2895-4b75-910d-4e8cd90c8f09 2026-03-17 12:53:21,361 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49236246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4411334090767549379', 'uuid-lslong': '9696103430991903499'}, 'enable': 'true', 'created': '2026-03-17T12:53:19', 'last-modified': '2026-03-17T12:53:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989396'} 2026-03-17 12:53:21,367 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-17 12:53:21,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25077404 passed 2026-03-17 12:53:21,368 - DEBUG - ====Verifying policy data for ctest-vn-25077404 in API_Server ====== 2026-03-17 12:53:21,368 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:21,374 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b 2026-03-17 12:53:21,385 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:21,456 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b 2026-03-17 12:53:21,466 - DEBUG - ==>Verifying data for policy with id: f243c87b-c46d-4aeb-b44a-7d9dd314c835, fqn: ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812'] 2026-03-17 12:53:21,466 - INFO - VN ctest-vn-25077404 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-17 12:53:21,466 - DEBUG - Verifying the vn in opserver 2026-03-17 12:53:21,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404 virtual network link through opserver 10.0.0.22 2026-03-17 12:53:21,467 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-17 12:53:21,742 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-17 12:53:21,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404?flat'} 2026-03-17 12:53:21,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404 is found in opserver 2026-03-17 12:53:21,844 - DEBUG - Do not have enough data to verify VN in agent 2026-03-17 12:53:21,849 - DEBUG - VRF ids for VN ctest-vn-25077404: {} 2026-03-17 12:53:21,849 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:21,856 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b 2026-03-17 12:53:21,868 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:21,948 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:21,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:21,971 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211 2026-03-17 12:53:21,979 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211 2026-03-17 12:53:21,987 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/43f9bcdd-8e74-4617-8a0b-f669dda3f8ef 2026-03-17 12:53:21,995 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-17 12:53:21,995 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:22,006 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211 2026-03-17 12:53:22,023 - INFO - Verified VN network id 12 for VN 1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:22,023 - INFO - Verifications in API Server for VN ctest-vn-72764767 passed 2026-03-17 12:53:22,023 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:22,034 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211 2026-03-17 12:53:22,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211 2026-03-17 12:53:22,050 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/43f9bcdd-8e74-4617-8a0b-f669dda3f8ef 2026-03-17 12:53:22,063 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49236246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1942626993954965040', 'uuid-lslong': '9778444939279609492'}, 'enable': 'true', 'created': '2026-03-17T12:53:19', 'last-modified': '2026-03-17T12:53:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453511'} 2026-03-17 12:53:22,068 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-17 12:53:22,068 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72764767 passed 2026-03-17 12:53:22,068 - DEBUG - ====Verifying policy data for ctest-vn-72764767 in API_Server ====== 2026-03-17 12:53:22,068 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:22,074 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b 2026-03-17 12:53:22,086 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:22,159 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94 2026-03-17 12:53:22,169 - DEBUG - ==>Verifying data for policy with id: f243c87b-c46d-4aeb-b44a-7d9dd314c835, fqn: ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812'] 2026-03-17 12:53:22,169 - INFO - VN ctest-vn-72764767 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-17 12:53:22,169 - DEBUG - Verifying the vn in opserver 2026-03-17 12:53:22,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767 virtual network link through opserver 10.0.0.22 2026-03-17 12:53:22,169 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-17 12:53:22,181 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767?flat'} 2026-03-17 12:53:22,181 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767 is found in opserver 2026-03-17 12:53:22,191 - DEBUG - Do not have enough data to verify VN in agent 2026-03-17 12:53:22,196 - DEBUG - VRF ids for VN ctest-vn-72764767: {} 2026-03-17 12:53:22,260 - DEBUG - Services list from nova: [, , ] 2026-03-17 12:53:23,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5479-1) 2026-03-17 12:53:24,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5479-1) 2026-03-17 12:53:24,487 - INFO - Waiting for VM ctest-TestBasicPolicy-49236246-41903579 to be up.. 2026-03-17 12:53:24,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-17 12:53:29,680 - DEBUG - VM is in ACTIVE state now 2026-03-17 12:53:29,681 - INFO - VM name : ctest-TestBasicPolicy-49236246-41903579 2026-03-17 12:53:29,772 - DEBUG - VM ctest-TestBasicPolicy-49236246-41903579 ID is 0dbe2013-31a0-4658-b336-2cb7b8ef83a4 2026-03-17 12:53:29,797 - DEBUG - VM ctest-TestBasicPolicy-49236246-41903579 launched on Node cn-jenkins-deploy-platform-ansible-os-5479-1 2026-03-17 12:53:29,885 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0dbe2013-31a0-4658-b336-2cb7b8ef83a4 2026-03-17 12:53:29,895 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/13252b97-d819-4082-8cec-4b5b63019f36 2026-03-17 12:53:33,143 - 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 1006ms') 2026-03-17 12:53:33,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49236246-41903579 failed! 2026-03-17 12:53:33,201 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404 is 93.0.226.193 and allocation pool is NOT set 2026-03-17 12:53:35,260 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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.304/4.784/8.264/3.480 ms') 2026-03-17 12:53:35,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49236246-41903579 passed 2026-03-17 12:53:35,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 12:53:35,417 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49236246-41903579, IP 93.0.226.195, Port 22 2026-03-17 12:53:35,483 - 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 12:53:35,573 - DEBUG - VM ctest-TestBasicPolicy-49236246-41903579 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-17 12:53:40,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 12:53:40,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49236246-41903579, IP 93.0.226.195, Port 22 2026-03-17 12:53:40,733 - DEBUG - VM ctest-TestBasicPolicy-49236246-41903579 is ready for SSH connections 2026-03-17 12:53:40,733 - INFO - Waiting for VM ctest-TestBasicPolicy-49236246-67135475 to be up.. 2026-03-17 12:53:40,817 - DEBUG - VM is in ACTIVE state now 2026-03-17 12:53:40,817 - INFO - VM name : ctest-TestBasicPolicy-49236246-67135475 2026-03-17 12:53:40,904 - DEBUG - VM ctest-TestBasicPolicy-49236246-67135475 ID is 2b666d81-a601-4fd3-8326-5f33135a4a6a 2026-03-17 12:53:40,904 - DEBUG - VM ctest-TestBasicPolicy-49236246-67135475 launched on Node cn-jenkins-deploy-platform-ansible-os-5479-1 2026-03-17 12:53:40,984 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2b666d81-a601-4fd3-8326-5f33135a4a6a 2026-03-17 12:53:40,994 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/911e60d2-465f-44c1-8f8d-9a38a3449e1f 2026-03-17 12:53:42,242 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 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.548/2.073/3.599/1.525 ms') 2026-03-17 12:53:42,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49236246-67135475 passed 2026-03-17 12:53:42,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 12:53:42,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49236246-67135475, IP 4.20.199.131, Port 22 2026-03-17 12:53:42,557 - DEBUG - VM ctest-TestBasicPolicy-49236246-67135475 is ready for SSH connections 2026-03-17 12:53:42,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 12:53:42,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.20.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-17 12:53:42,557 - DEBUG - ping -s 56 -c 3 -W 1 4.20.199.131 2026-03-17 12:53:46,682 - DEBUG - PING 4.20.199.131 (4.20.199.131): 56 data bytes 64 bytes from 4.20.199.131: seq=0 ttl=63 time=3.987 ms 64 bytes from 4.20.199.131: seq=1 ttl=63 time=1.120 ms 64 bytes from 4.20.199.131: seq=2 ttl=63 time=1.083 ms --- 4.20.199.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.083/2.063/3.987 ms 2026-03-17 12:53:46,683 - INFO - Ping to IP 4.20.199.131 from VM ctest-TestBasicPolicy-49236246-41903579 passed 2026-03-17 12:53:46,856 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f243c87b-c46d-4aeb-b44a-7d9dd314c835", "href": "http://10.0.0.22:8082/network-policy/f243c87b-c46d-4aeb-b44a-7d9dd314c835"}} 2026-03-17 12:53:46,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 12:53:46,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.20.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-17 12:53:46,857 - DEBUG - ping -s 56 -c 3 -W 1 4.20.199.131 2026-03-17 12:53:50,084 - DEBUG - PING 4.20.199.131 (4.20.199.131): 56 data bytes --- 4.20.199.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-17 12:53:50,084 - WARNING - Ping to IP 4.20.199.131 from VM ctest-TestBasicPolicy-49236246-41903579 failed 2026-03-17 12:53:50,084 - INFO - Deleting VM ctest-TestBasicPolicy-49236246-67135475 2026-03-17 12:53:50,170 - INFO - Deleting VM ctest-TestBasicPolicy-49236246-41903579 2026-03-17 12:53:50,577 - INFO - Deleted policy ctest-policy-allow-all-08207812 2026-03-17 12:53:50,577 - INFO - Deleting VN ctest-vn-72764767 2026-03-17 12:53:50,620 - DEBUG - VN 1af598f5-61c5-4630-87b4-03dd257a2e94 still in use: Unable to complete operation on network 1af598f5-61c5-4630-87b4-03dd257a2e94. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1cb6eb0c-e70a-4547-b9d9-c945b62dd47c'] 2026-03-17 12:53:50,620 - WARNING - Deleting VN ctest-vn-72764767 failed..Will retry 2026-03-17 12:53:52,725 - DEBUG - Response for deleting network () 2026-03-17 12:53:52,725 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211 2026-03-17 12:53:52,731 - DEBUG - Response Code: 404 2026-03-17 12:53:52,731 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:52,737 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b 2026-03-17 12:53:52,794 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:52,868 - INFO - Validated that VN ctest-vn-72764767 is not found in API Server 2026-03-17 12:53:52,881 - DEBUG - VN ctest-vn-72764767 is not present in Agent 10.0.0.22 2026-03-17 12:53:52,881 - INFO - Validated that VN ctest-vn-72764767 is not in any agent 2026-03-17 12:53:52,897 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72764767 info 2026-03-17 12:53:52,897 - INFO - Deleting VN ctest-vn-25077404 2026-03-17 12:53:53,044 - DEBUG - Response for deleting network () 2026-03-17 12:53:53,044 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6 2026-03-17 12:53:53,049 - DEBUG - Response Code: 404 2026-03-17 12:53:53,049 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-17 12:53:53,067 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b 2026-03-17 12:53:53,083 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2 2026-03-17 12:53:53,158 - INFO - Validated that VN ctest-vn-25077404 is not found in API Server 2026-03-17 12:53:53,169 - DEBUG - VN ctest-vn-25077404 is not present in Agent 10.0.0.22 2026-03-17 12:53:53,169 - INFO - Validated that VN ctest-vn-25077404 is not in any agent 2026-03-17 12:53:53,184 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25077404 info 2026-03-17 12:53:53,438 - DEBUG - No XMPP flaps were noticed during the test 2026-03-17 12:53:53,438 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-17 12:53:53,439 - INFO - -------------------------------------------------------------------------------- 2026-03-17 12:53:54,085 - INFO - Deleted project: ctest-TestBasicPolicy-49236246, ID : 0aef448a-1f1d-4df7-9ead-8d9348da58d2