2026-03-11 13:25:49,927 - INFO - Domain Default found not creating 2026-03-11 13:25:50,167 - INFO - Project ctest-TestBasicPolicy-37699108 not found, creating it 2026-03-11 13:25:50,721 - INFO - Created Project:ctest-TestBasicPolicy-37699108, ID : 29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:25:52,440 - INFO - ================================================================================ 2026-03-11 13:25:52,440 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-11 13:25:52,440 - 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-11 13:25:52,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-03-11 13:25:52,724 - INFO - Initial checks done. Running the testcase now 2026-03-11 13:25:52,724 - INFO - 2026-03-11 13:25:53,409 - DEBUG - Response for create_network : {'network': {'id': '2d37b8bb-37ab-4c2d-b752-1cbee564f936', 'name': 'ctest-vn-35120611', 'tenant_id': '29233149a02044f59e2102144b21bf8f', 'project_id': '29233149a02044f59e2102144b21bf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-vn-35120611'], 'port_security_enabled': True, 'description': ''}} 2026-03-11 13:25:53,598 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7d69dc5-ca4b-4a01-855b-3e36f98c84ca', 'name': '', 'tenant_id': '29233149a02044f59e2102144b21bf8f', 'network_id': '2d37b8bb-37ab-4c2d-b752-1cbee564f936', 'ip_version': 4, 'cidr': '171.197.74.192/26', 'allocation_pools': [{'start': '171.197.74.194', 'end': '171.197.74.254'}], 'gateway_ip': '171.197.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.197.74.194', 'tags': [], 'project_id': '29233149a02044f59e2102144b21bf8f'}} 2026-03-11 13:25:53,619 - INFO - Created VN ctest-vn-35120611 2026-03-11 13:25:53,674 - DEBUG - VN ctest-vn-35120611 UUID is 2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:54,006 - DEBUG - Response for create_network : {'network': {'id': '47d8be80-e2c3-412c-84db-fbbeb7009d5c', 'name': 'ctest-vn-70600698', 'tenant_id': '29233149a02044f59e2102144b21bf8f', 'project_id': '29233149a02044f59e2102144b21bf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-vn-70600698'], 'port_security_enabled': True, 'description': ''}} 2026-03-11 13:25:54,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d41d3c1-6d81-4192-a36d-6c9326febab3', 'name': '', 'tenant_id': '29233149a02044f59e2102144b21bf8f', 'network_id': '47d8be80-e2c3-412c-84db-fbbeb7009d5c', 'ip_version': 4, 'cidr': '13.134.78.128/26', 'allocation_pools': [{'start': '13.134.78.130', 'end': '13.134.78.190'}], 'gateway_ip': '13.134.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.134.78.130', 'tags': [], 'project_id': '29233149a02044f59e2102144b21bf8f'}} 2026-03-11 13:25:54,277 - INFO - Created VN ctest-vn-70600698 2026-03-11 13:25:54,334 - DEBUG - VN ctest-vn-70600698 UUID is 47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:54,468 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611, 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-37699108:ctest-vn-70600698, 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-11 13:25:54,812 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d37b8bb-37ab-4c2d-b752-1cbee564f936', 'name': 'ctest-vn-35120611', 'tenant_id': '29233149a02044f59e2102144b21bf8f', 'project_id': '29233149a02044f59e2102144b21bf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7d69dc5-ca4b-4a01-855b-3e36f98c84ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-vn-35120611'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-policy-allow-all-80585227']], 'subnet_ipam': [{'subnet_cidr': '171.197.74.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-11 13:25:55,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47d8be80-e2c3-412c-84db-fbbeb7009d5c', 'name': 'ctest-vn-70600698', 'tenant_id': '29233149a02044f59e2102144b21bf8f', 'project_id': '29233149a02044f59e2102144b21bf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d41d3c1-6d81-4192-a36d-6c9326febab3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-vn-70600698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-policy-allow-all-80585227']], 'subnet_ipam': [{'subnet_cidr': '13.134.78.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-11 13:25:55,230 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:25:55,536 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:25:55,585 - DEBUG - Requesting: http://10.0.0.141:8082/domain/23281e85-2983-4f5a-9c1a-6e5a3f55be79 2026-03-11 13:25:55,599 - DEBUG - Requesting: http://10.0.0.141:8082/project/29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:25:55,684 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:55,699 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:55,714 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0d1d1212-f9e8-453b-8084-1e358298bd9c 2026-03-11 13:25:55,726 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0d1d1212-f9e8-453b-8084-1e358298bd9c 2026-03-11 13:25:55,737 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ff7ce236-0d52-424c-b3fc-17cf0d8bbc89 2026-03-11 13:25:55,745 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-11 13:25:55,745 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:55,759 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0d1d1212-f9e8-453b-8084-1e358298bd9c 2026-03-11 13:25:55,786 - INFO - Verified VN network id 12 for VN 2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:55,786 - INFO - Verifications in API Server for VN ctest-vn-35120611 passed 2026-03-11 13:25:55,786 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:55,797 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0d1d1212-f9e8-453b-8084-1e358298bd9c 2026-03-11 13:25:55,807 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0d1d1212-f9e8-453b-8084-1e358298bd9c 2026-03-11 13:25:55,817 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ff7ce236-0d52-424c-b3fc-17cf0d8bbc89 2026-03-11 13:25:55,833 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37699108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3258275969658211373', 'uuid-lslong': '13209652263249049910'}, 'enable': 'true', 'created': '2026-03-11T13:25:53', 'last-modified': '2026-03-11T13:25:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052651'} 2026-03-11 13:25:55,842 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-11 13:25:55,842 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35120611 passed 2026-03-11 13:25:55,842 - DEBUG - ====Verifying policy data for ctest-vn-35120611 in API_Server ====== 2026-03-11 13:25:55,842 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:25:55,850 - DEBUG - Requesting: http://10.0.0.141:8082/domain/23281e85-2983-4f5a-9c1a-6e5a3f55be79 2026-03-11 13:25:55,863 - DEBUG - Requesting: http://10.0.0.141:8082/project/29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:25:55,949 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d37b8bb-37ab-4c2d-b752-1cbee564f936 2026-03-11 13:25:55,961 - DEBUG - ==>Verifying data for policy with id: 9e1c8115-f1eb-4bb2-bb58-08ecf3a51b98, fqn: ['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-policy-allow-all-80585227'] 2026-03-11 13:25:55,961 - INFO - VN ctest-vn-35120611 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-11 13:25:55,961 - DEBUG - Verifying the vn in opserver 2026-03-11 13:25:55,961 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611 virtual network link through opserver 10.0.0.141 2026-03-11 13:25:55,961 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-11 13:25:56,262 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-11 13:25:56,338 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611?flat'} 2026-03-11 13:25:56,339 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611 is found in opserver 2026-03-11 13:25:56,350 - DEBUG - Do not have enough data to verify VN in agent 2026-03-11 13:25:56,356 - DEBUG - VRF ids for VN ctest-vn-35120611: {} 2026-03-11 13:25:56,356 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:25:56,364 - DEBUG - Requesting: http://10.0.0.141:8082/domain/23281e85-2983-4f5a-9c1a-6e5a3f55be79 2026-03-11 13:25:56,378 - DEBUG - Requesting: http://10.0.0.141:8082/project/29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:25:56,454 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:56,471 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:56,484 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6727d593-959a-42bc-8a39-641d4b137756 2026-03-11 13:25:56,493 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6727d593-959a-42bc-8a39-641d4b137756 2026-03-11 13:25:56,501 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/5c5d57d7-502f-4b41-ac14-e9650f45b3bc 2026-03-11 13:25:56,509 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-11 13:25:56,510 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:56,520 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6727d593-959a-42bc-8a39-641d4b137756 2026-03-11 13:25:56,540 - INFO - Verified VN network id 13 for VN 47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:56,540 - INFO - Verifications in API Server for VN ctest-vn-70600698 passed 2026-03-11 13:25:56,540 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:56,552 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6727d593-959a-42bc-8a39-641d4b137756 2026-03-11 13:25:56,563 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6727d593-959a-42bc-8a39-641d4b137756 2026-03-11 13:25:56,571 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/5c5d57d7-502f-4b41-ac14-e9650f45b3bc 2026-03-11 13:25:56,586 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-70600698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37699108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5177097232431923500', 'uuid-lslong': '9573522229438750044'}, 'enable': 'true', 'created': '2026-03-11T13:25:53', 'last-modified': '2026-03-11T13:25:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541070'} 2026-03-11 13:25:56,592 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-11 13:25:56,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70600698 passed 2026-03-11 13:25:56,593 - DEBUG - ====Verifying policy data for ctest-vn-70600698 in API_Server ====== 2026-03-11 13:25:56,593 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:25:56,600 - DEBUG - Requesting: http://10.0.0.141:8082/domain/23281e85-2983-4f5a-9c1a-6e5a3f55be79 2026-03-11 13:25:56,613 - DEBUG - Requesting: http://10.0.0.141:8082/project/29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:25:56,691 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/47d8be80-e2c3-412c-84db-fbbeb7009d5c 2026-03-11 13:25:56,704 - DEBUG - ==>Verifying data for policy with id: 9e1c8115-f1eb-4bb2-bb58-08ecf3a51b98, fqn: ['default-domain', 'ctest-TestBasicPolicy-37699108', 'ctest-policy-allow-all-80585227'] 2026-03-11 13:25:56,704 - INFO - VN ctest-vn-70600698 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-11 13:25:56,704 - DEBUG - Verifying the vn in opserver 2026-03-11 13:25:56,704 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-70600698 virtual network link through opserver 10.0.0.141 2026-03-11 13:25:56,704 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-11 13:25:56,717 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-70600698', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-70600698?flat'} 2026-03-11 13:25:56,717 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-70600698 is found in opserver 2026-03-11 13:25:56,728 - DEBUG - Do not have enough data to verify VN in agent 2026-03-11 13:25:56,735 - DEBUG - VRF ids for VN ctest-vn-70600698: {} 2026-03-11 13:25:56,828 - DEBUG - Services list from nova: [, , ] 2026-03-11 13:25:57,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5458-1) 2026-03-11 13:25:59,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5458-1) 2026-03-11 13:25:59,311 - INFO - Waiting for VM ctest-TestBasicPolicy-37699108-76295791 to be up.. 2026-03-11 13:25:59,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-11 13:26:04,526 - DEBUG - VM is in ACTIVE state now 2026-03-11 13:26:04,526 - INFO - VM name : ctest-TestBasicPolicy-37699108-76295791 2026-03-11 13:26:04,624 - DEBUG - VM ctest-TestBasicPolicy-37699108-76295791 ID is 17d2dc23-bc6c-45fb-9fe4-41fe1759c987 2026-03-11 13:26:04,780 - DEBUG - VM ctest-TestBasicPolicy-37699108-76295791 launched on Node cn-jenkins-deploy-platform-ansible-os-5458-1 2026-03-11 13:26:04,873 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/17d2dc23-bc6c-45fb-9fe4-41fe1759c987 2026-03-11 13:26:04,883 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e918fecb-ce5a-4f16-b2c4-bbb057fcf166 2026-03-11 13:26:08,149 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-03-11 13:26:08,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37699108-76295791 failed! 2026-03-11 13:26:08,205 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37699108:ctest-vn-35120611 is 171.197.74.193 and allocation pool is NOT set 2026-03-11 13:26:10,277 - 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=14.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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 = 2.528/8.382/14.236/5.854 ms') 2026-03-11 13:26:10,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37699108-76295791 passed 2026-03-11 13:26:10,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-11 13:26:10,434 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37699108-76295791, IP 171.197.74.195, Port 22 2026-03-11 13:26:10,501 - 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-11 13:26:10,611 - DEBUG - VM ctest-TestBasicPolicy-37699108-76295791 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-11 13:26:15,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-11 13:26:15,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37699108-76295791, IP 171.197.74.195, Port 22 2026-03-11 13:26:15,783 - DEBUG - VM ctest-TestBasicPolicy-37699108-76295791 is ready for SSH connections 2026-03-11 13:26:15,784 - INFO - Waiting for VM ctest-TestBasicPolicy-37699108-01318649 to be up.. 2026-03-11 13:26:15,907 - DEBUG - VM is in ACTIVE state now 2026-03-11 13:26:15,907 - INFO - VM name : ctest-TestBasicPolicy-37699108-01318649 2026-03-11 13:26:16,029 - DEBUG - VM ctest-TestBasicPolicy-37699108-01318649 ID is 5f96282e-c641-4a4a-a7da-cbbcda301a70 2026-03-11 13:26:16,030 - DEBUG - VM ctest-TestBasicPolicy-37699108-01318649 launched on Node cn-jenkins-deploy-platform-ansible-os-5458-1 2026-03-11 13:26:16,145 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5f96282e-c641-4a4a-a7da-cbbcda301a70 2026-03-11 13:26:16,157 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/316a0637-6b51-4649-9d52-61ef9ec1cf4f 2026-03-11 13:26:17,410 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.634 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.634/2.409/4.184/1.775 ms') 2026-03-11 13:26:17,411 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37699108-01318649 passed 2026-03-11 13:26:17,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-11 13:26:17,570 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37699108-01318649, IP 13.134.78.131, Port 22 2026-03-11 13:26:17,746 - DEBUG - VM ctest-TestBasicPolicy-37699108-01318649 is ready for SSH connections 2026-03-11 13:26:17,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-11 13:26:17,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.134.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-11 13:26:17,747 - DEBUG - ping -s 56 -c 3 -W 1 13.134.78.131 2026-03-11 13:26:21,907 - DEBUG - PING 13.134.78.131 (13.134.78.131): 56 data bytes 64 bytes from 13.134.78.131: seq=0 ttl=63 time=4.636 ms 64 bytes from 13.134.78.131: seq=1 ttl=63 time=1.126 ms 64 bytes from 13.134.78.131: seq=2 ttl=63 time=1.250 ms --- 13.134.78.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.126/2.337/4.636 ms 2026-03-11 13:26:21,907 - INFO - Ping to IP 13.134.78.131 from VM ctest-TestBasicPolicy-37699108-76295791 passed 2026-03-11 13:26:22,097 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9e1c8115-f1eb-4bb2-bb58-08ecf3a51b98", "href": "http://10.0.0.141:8082/network-policy/9e1c8115-f1eb-4bb2-bb58-08ecf3a51b98"}} 2026-03-11 13:26:22,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-11 13:26:22,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.134.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-11 13:26:22,098 - DEBUG - ping -s 56 -c 3 -W 1 13.134.78.131 2026-03-11 13:26:25,326 - DEBUG - PING 13.134.78.131 (13.134.78.131): 56 data bytes --- 13.134.78.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-11 13:26:25,326 - WARNING - Ping to IP 13.134.78.131 from VM ctest-TestBasicPolicy-37699108-76295791 failed 2026-03-11 13:26:25,326 - INFO - Deleting VM ctest-TestBasicPolicy-37699108-01318649 2026-03-11 13:26:25,421 - INFO - Deleting VM ctest-TestBasicPolicy-37699108-76295791 2026-03-11 13:26:25,887 - INFO - Deleted policy ctest-policy-allow-all-80585227 2026-03-11 13:26:25,887 - INFO - Deleting VN ctest-vn-70600698 2026-03-11 13:26:25,935 - DEBUG - VN 47d8be80-e2c3-412c-84db-fbbeb7009d5c still in use: Unable to complete operation on network 47d8be80-e2c3-412c-84db-fbbeb7009d5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20e5553d-a848-4872-ba54-a41df0cd3b22'] 2026-03-11 13:26:25,935 - WARNING - Deleting VN ctest-vn-70600698 failed..Will retry 2026-03-11 13:26:28,078 - DEBUG - Response for deleting network () 2026-03-11 13:26:28,078 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6727d593-959a-42bc-8a39-641d4b137756 2026-03-11 13:26:28,086 - DEBUG - Response Code: 404 2026-03-11 13:26:28,087 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:26:28,096 - DEBUG - Requesting: http://10.0.0.141:8082/domain/23281e85-2983-4f5a-9c1a-6e5a3f55be79 2026-03-11 13:26:28,157 - DEBUG - Requesting: http://10.0.0.141:8082/project/29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:26:28,244 - INFO - Validated that VN ctest-vn-70600698 is not found in API Server 2026-03-11 13:26:28,256 - DEBUG - VN ctest-vn-70600698 is not present in Agent 10.0.0.141 2026-03-11 13:26:28,256 - INFO - Validated that VN ctest-vn-70600698 is not in any agent 2026-03-11 13:26:28,275 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70600698 info 2026-03-11 13:26:28,275 - INFO - Deleting VN ctest-vn-35120611 2026-03-11 13:26:28,450 - DEBUG - Response for deleting network () 2026-03-11 13:26:28,450 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0d1d1212-f9e8-453b-8084-1e358298bd9c 2026-03-11 13:26:28,460 - DEBUG - Response Code: 404 2026-03-11 13:26:28,461 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-11 13:26:28,471 - DEBUG - Requesting: http://10.0.0.141:8082/domain/23281e85-2983-4f5a-9c1a-6e5a3f55be79 2026-03-11 13:26:28,489 - DEBUG - Requesting: http://10.0.0.141:8082/project/29233149-a020-44f5-9e21-02144b21bf8f 2026-03-11 13:26:28,570 - INFO - Validated that VN ctest-vn-35120611 is not found in API Server 2026-03-11 13:26:28,580 - DEBUG - VN ctest-vn-35120611 is not present in Agent 10.0.0.141 2026-03-11 13:26:28,580 - INFO - Validated that VN ctest-vn-35120611 is not in any agent 2026-03-11 13:26:28,595 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35120611 info 2026-03-11 13:26:28,860 - DEBUG - No XMPP flaps were noticed during the test 2026-03-11 13:26:28,860 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-03-11 13:26:28,860 - INFO - -------------------------------------------------------------------------------- 2026-03-11 13:26:29,634 - INFO - Deleted project: ctest-TestBasicPolicy-37699108, ID : 29233149-a020-44f5-9e21-02144b21bf8f