2026-03-09 02:16:05,442 - INFO - Domain Default found not creating 2026-03-09 02:16:05,586 - INFO - Project ctest-TestBasicPolicy-48486443 not found, creating it 2026-03-09 02:16:06,013 - INFO - Created Project:ctest-TestBasicPolicy-48486443, ID : 702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:07,406 - INFO - ================================================================================ 2026-03-09 02:16:07,406 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-09 02:16:07,406 - 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-09 02:16:07,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2026-03-09 02:16:07,658 - INFO - Initial checks done. Running the testcase now 2026-03-09 02:16:07,658 - INFO - 2026-03-09 02:16:08,192 - DEBUG - Response for create_network : {'network': {'id': '8fae675d-a2d3-4abc-ae42-d6e25fb82c8a', 'name': 'ctest-vn-68295506', 'tenant_id': '702bea21ec534faa9e7ade7b188794d6', 'project_id': '702bea21ec534faa9e7ade7b188794d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-vn-68295506'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:08,396 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce431a77-ca1a-4445-805c-b9cfad00fd4e', 'name': '', 'tenant_id': '702bea21ec534faa9e7ade7b188794d6', 'network_id': '8fae675d-a2d3-4abc-ae42-d6e25fb82c8a', 'ip_version': 4, 'cidr': '214.167.17.128/26', 'allocation_pools': [{'start': '214.167.17.130', 'end': '214.167.17.190'}], 'gateway_ip': '214.167.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.167.17.130', 'tags': [], 'project_id': '702bea21ec534faa9e7ade7b188794d6'}} 2026-03-09 02:16:08,424 - INFO - Created VN ctest-vn-68295506 2026-03-09 02:16:08,486 - DEBUG - VN ctest-vn-68295506 UUID is 8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:08,784 - DEBUG - Response for create_network : {'network': {'id': 'e70320a5-8b08-4fa6-9f37-631c9497241d', 'name': 'ctest-vn-42707417', 'tenant_id': '702bea21ec534faa9e7ade7b188794d6', 'project_id': '702bea21ec534faa9e7ade7b188794d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-vn-42707417'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:08,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0639224-fb03-4843-9c01-eb346106abb3', 'name': '', 'tenant_id': '702bea21ec534faa9e7ade7b188794d6', 'network_id': 'e70320a5-8b08-4fa6-9f37-631c9497241d', 'ip_version': 4, 'cidr': '168.132.26.192/26', 'allocation_pools': [{'start': '168.132.26.194', 'end': '168.132.26.254'}], 'gateway_ip': '168.132.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.132.26.194', 'tags': [], 'project_id': '702bea21ec534faa9e7ade7b188794d6'}} 2026-03-09 02:16:09,014 - INFO - Created VN ctest-vn-42707417 2026-03-09 02:16:09,066 - DEBUG - VN ctest-vn-42707417 UUID is e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:09,205 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506, 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-48486443:ctest-vn-42707417, 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-09 02:16:09,494 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fae675d-a2d3-4abc-ae42-d6e25fb82c8a', 'name': 'ctest-vn-68295506', 'tenant_id': '702bea21ec534faa9e7ade7b188794d6', 'project_id': '702bea21ec534faa9e7ade7b188794d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce431a77-ca1a-4445-805c-b9cfad00fd4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-vn-68295506'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-policy-allow-all-34140323']], 'subnet_ipam': [{'subnet_cidr': '214.167.17.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:09,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e70320a5-8b08-4fa6-9f37-631c9497241d', 'name': 'ctest-vn-42707417', 'tenant_id': '702bea21ec534faa9e7ade7b188794d6', 'project_id': '702bea21ec534faa9e7ade7b188794d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0639224-fb03-4843-9c01-eb346106abb3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-vn-42707417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-policy-allow-all-34140323']], 'subnet_ipam': [{'subnet_cidr': '168.132.26.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:09,918 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:10,209 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:10,237 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9adb06a0-ca76-44c0-96f0-25f66874fa5f 2026-03-09 02:16:10,248 - DEBUG - Requesting: http://10.0.0.33:8082/project/702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:10,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:10,327 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:10,336 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/493eedd3-f6dd-4579-9526-1e28a728f62d 2026-03-09 02:16:10,344 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/493eedd3-f6dd-4579-9526-1e28a728f62d 2026-03-09 02:16:10,349 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d3f03cc7-39c0-4983-83ac-820a6f5e4f02 2026-03-09 02:16:10,354 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-09 02:16:10,354 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:10,362 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/493eedd3-f6dd-4579-9526-1e28a728f62d 2026-03-09 02:16:10,374 - INFO - Verified VN network id 12 for VN 8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:10,374 - INFO - Verifications in API Server for VN ctest-vn-68295506 passed 2026-03-09 02:16:10,374 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:10,381 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/493eedd3-f6dd-4579-9526-1e28a728f62d 2026-03-09 02:16:10,386 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/493eedd3-f6dd-4579-9526-1e28a728f62d 2026-03-09 02:16:10,390 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d3f03cc7-39c0-4983-83ac-820a6f5e4f02 2026-03-09 02:16:10,401 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48486443', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10353326245232724668', 'uuid-lslong': '12556834978819222666'}, 'enable': 'true', 'created': '2026-03-09T02:16:08', 'last-modified': '2026-03-09T02:16:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930747'} 2026-03-09 02:16:10,406 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-09 02:16:10,406 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68295506 passed 2026-03-09 02:16:10,406 - DEBUG - ====Verifying policy data for ctest-vn-68295506 in API_Server ====== 2026-03-09 02:16:10,406 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:10,410 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9adb06a0-ca76-44c0-96f0-25f66874fa5f 2026-03-09 02:16:10,421 - DEBUG - Requesting: http://10.0.0.33:8082/project/702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:10,486 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8fae675d-a2d3-4abc-ae42-d6e25fb82c8a 2026-03-09 02:16:10,493 - DEBUG - ==>Verifying data for policy with id: f0a4536e-7022-42dd-b302-0002208f7d74, fqn: ['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-policy-allow-all-34140323'] 2026-03-09 02:16:10,494 - INFO - VN ctest-vn-68295506 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-09 02:16:10,494 - DEBUG - Verifying the vn in opserver 2026-03-09 02:16:10,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506 virtual network link through opserver 10.0.0.33 2026-03-09 02:16:10,494 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-09 02:16:10,793 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-09 02:16:10,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506?flat'} 2026-03-09 02:16:10,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506 is found in opserver 2026-03-09 02:16:10,857 - DEBUG - Do not have enough data to verify VN in agent 2026-03-09 02:16:10,860 - DEBUG - VRF ids for VN ctest-vn-68295506: {} 2026-03-09 02:16:10,860 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:10,865 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9adb06a0-ca76-44c0-96f0-25f66874fa5f 2026-03-09 02:16:10,873 - DEBUG - Requesting: http://10.0.0.33:8082/project/702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:10,942 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:10,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:10,959 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/515ed995-669b-4d83-b1f8-d8658e806166 2026-03-09 02:16:10,964 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/515ed995-669b-4d83-b1f8-d8658e806166 2026-03-09 02:16:10,970 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d65ff9a3-c81b-4969-8df6-c9d75f09dd3c 2026-03-09 02:16:10,975 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-09 02:16:10,975 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:10,982 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/515ed995-669b-4d83-b1f8-d8658e806166 2026-03-09 02:16:10,992 - INFO - Verified VN network id 13 for VN e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:10,992 - INFO - Verifications in API Server for VN ctest-vn-42707417 passed 2026-03-09 02:16:10,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:10,999 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/515ed995-669b-4d83-b1f8-d8658e806166 2026-03-09 02:16:11,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/515ed995-669b-4d83-b1f8-d8658e806166 2026-03-09 02:16:11,009 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d65ff9a3-c81b-4969-8df6-c9d75f09dd3c 2026-03-09 02:16:11,017 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-42707417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48486443', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16646184543065755558', 'uuid-lslong': '11472747550152795165'}, 'enable': 'true', 'created': '2026-03-09T02:16:08', 'last-modified': '2026-03-09T02:16:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325088'} 2026-03-09 02:16:11,022 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-09 02:16:11,023 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42707417 passed 2026-03-09 02:16:11,023 - DEBUG - ====Verifying policy data for ctest-vn-42707417 in API_Server ====== 2026-03-09 02:16:11,023 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:11,027 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9adb06a0-ca76-44c0-96f0-25f66874fa5f 2026-03-09 02:16:11,035 - DEBUG - Requesting: http://10.0.0.33:8082/project/702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:11,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e70320a5-8b08-4fa6-9f37-631c9497241d 2026-03-09 02:16:11,109 - DEBUG - ==>Verifying data for policy with id: f0a4536e-7022-42dd-b302-0002208f7d74, fqn: ['default-domain', 'ctest-TestBasicPolicy-48486443', 'ctest-policy-allow-all-34140323'] 2026-03-09 02:16:11,109 - INFO - VN ctest-vn-42707417 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-09 02:16:11,109 - DEBUG - Verifying the vn in opserver 2026-03-09 02:16:11,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-42707417 virtual network link through opserver 10.0.0.33 2026-03-09 02:16:11,109 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-09 02:16:11,118 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-42707417', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-42707417?flat'} 2026-03-09 02:16:11,118 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-42707417 is found in opserver 2026-03-09 02:16:11,126 - DEBUG - Do not have enough data to verify VN in agent 2026-03-09 02:16:11,130 - DEBUG - VRF ids for VN ctest-vn-42707417: {} 2026-03-09 02:16:11,188 - DEBUG - Services list from nova: [, , ] 2026-03-09 02:16:12,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5451-1) 2026-03-09 02:16:13,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5451-1) 2026-03-09 02:16:13,253 - INFO - Waiting for VM ctest-TestBasicPolicy-48486443-54283840 to be up.. 2026-03-09 02:16:13,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 02:16:18,385 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:16:18,385 - INFO - VM name : ctest-TestBasicPolicy-48486443-54283840 2026-03-09 02:16:18,450 - DEBUG - VM ctest-TestBasicPolicy-48486443-54283840 ID is b732c466-3b47-4d27-ac29-c499b34f7007 2026-03-09 02:16:18,467 - DEBUG - VM ctest-TestBasicPolicy-48486443-54283840 launched on Node cn-jenkins-deploy-platform-ansible-os-5451-1 2026-03-09 02:16:18,533 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b732c466-3b47-4d27-ac29-c499b34f7007 2026-03-09 02:16:18,540 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d0dd5c5d-e6ed-4026-9db7-533d0c82a95b 2026-03-09 02:16:21,778 - 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-09 02:16:21,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48486443-54283840 failed! 2026-03-09 02:16:21,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48486443:ctest-vn-68295506 is 214.167.17.129 and allocation pool is NOT set 2026-03-09 02:16:23,894 - 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=4.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.370/3.008/4.647/1.638 ms') 2026-03-09 02:16:23,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48486443-54283840 passed 2026-03-09 02:16:24,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:24,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48486443-54283840, IP 214.167.17.131, Port 22 2026-03-09 02:16:24,109 - 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-09 02:16:24,185 - DEBUG - VM ctest-TestBasicPolicy-48486443-54283840 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 02:16:29,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:29,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48486443-54283840, IP 214.167.17.131, Port 22 2026-03-09 02:16:29,341 - DEBUG - VM ctest-TestBasicPolicy-48486443-54283840 is ready for SSH connections 2026-03-09 02:16:29,341 - INFO - Waiting for VM ctest-TestBasicPolicy-48486443-13176934 to be up.. 2026-03-09 02:16:29,411 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:16:29,411 - INFO - VM name : ctest-TestBasicPolicy-48486443-13176934 2026-03-09 02:16:29,481 - DEBUG - VM ctest-TestBasicPolicy-48486443-13176934 ID is a0b0b3bb-7c9c-43be-9e84-233c46bc6dc4 2026-03-09 02:16:29,481 - DEBUG - VM ctest-TestBasicPolicy-48486443-13176934 launched on Node cn-jenkins-deploy-platform-ansible-os-5451-1 2026-03-09 02:16:29,555 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a0b0b3bb-7c9c-43be-9e84-233c46bc6dc4 2026-03-09 02:16:29,561 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4e705f5c-b90f-4e51-823b-97b4cf4ef1df 2026-03-09 02:16:30,802 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.423/1.972/3.522/1.549 ms') 2026-03-09 02:16:30,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48486443-13176934 passed 2026-03-09 02:16:30,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:30,950 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48486443-13176934, IP 168.132.26.195, Port 22 2026-03-09 02:16:31,105 - DEBUG - VM ctest-TestBasicPolicy-48486443-13176934 is ready for SSH connections 2026-03-09 02:16:31,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:31,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.132.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-09 02:16:31,106 - DEBUG - ping -s 56 -c 3 -W 1 168.132.26.195 2026-03-09 02:16:34,760 - DEBUG - PING 168.132.26.195 (168.132.26.195): 56 data bytes 64 bytes from 168.132.26.195: seq=0 ttl=63 time=3.949 ms 64 bytes from 168.132.26.195: seq=1 ttl=63 time=0.921 ms 64 bytes from 168.132.26.195: seq=2 ttl=63 time=1.078 ms --- 168.132.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/1.982/3.949 ms 2026-03-09 02:16:34,761 - INFO - Ping to IP 168.132.26.195 from VM ctest-TestBasicPolicy-48486443-54283840 passed 2026-03-09 02:16:34,930 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f0a4536e-7022-42dd-b302-0002208f7d74", "href": "http://10.0.0.33:8082/network-policy/f0a4536e-7022-42dd-b302-0002208f7d74"}} 2026-03-09 02:16:34,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:34,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.132.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-09 02:16:34,930 - DEBUG - ping -s 56 -c 3 -W 1 168.132.26.195 2026-03-09 02:16:38,137 - DEBUG - PING 168.132.26.195 (168.132.26.195): 56 data bytes --- 168.132.26.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-09 02:16:38,137 - WARNING - Ping to IP 168.132.26.195 from VM ctest-TestBasicPolicy-48486443-54283840 failed 2026-03-09 02:16:38,137 - INFO - Deleting VM ctest-TestBasicPolicy-48486443-13176934 2026-03-09 02:16:38,201 - INFO - Deleting VM ctest-TestBasicPolicy-48486443-54283840 2026-03-09 02:16:38,559 - INFO - Deleted policy ctest-policy-allow-all-34140323 2026-03-09 02:16:38,559 - INFO - Deleting VN ctest-vn-42707417 2026-03-09 02:16:38,588 - DEBUG - VN e70320a5-8b08-4fa6-9f37-631c9497241d still in use: Unable to complete operation on network e70320a5-8b08-4fa6-9f37-631c9497241d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77b1d08f-8174-49d5-9c9c-5b2c917ad383'] 2026-03-09 02:16:38,588 - WARNING - Deleting VN ctest-vn-42707417 failed..Will retry 2026-03-09 02:16:40,676 - DEBUG - Response for deleting network () 2026-03-09 02:16:40,676 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/515ed995-669b-4d83-b1f8-d8658e806166 2026-03-09 02:16:40,684 - DEBUG - Response Code: 404 2026-03-09 02:16:40,684 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:40,690 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9adb06a0-ca76-44c0-96f0-25f66874fa5f 2026-03-09 02:16:40,747 - DEBUG - Requesting: http://10.0.0.33:8082/project/702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:40,814 - INFO - Validated that VN ctest-vn-42707417 is not found in API Server 2026-03-09 02:16:40,822 - DEBUG - VN ctest-vn-42707417 is not present in Agent 10.0.0.33 2026-03-09 02:16:40,822 - INFO - Validated that VN ctest-vn-42707417 is not in any agent 2026-03-09 02:16:40,834 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42707417 info 2026-03-09 02:16:40,834 - INFO - Deleting VN ctest-vn-68295506 2026-03-09 02:16:40,917 - DEBUG - Response for deleting network () 2026-03-09 02:16:40,918 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/493eedd3-f6dd-4579-9526-1e28a728f62d 2026-03-09 02:16:40,924 - DEBUG - Response Code: 404 2026-03-09 02:16:40,925 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-09 02:16:40,929 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9adb06a0-ca76-44c0-96f0-25f66874fa5f 2026-03-09 02:16:40,982 - DEBUG - Requesting: http://10.0.0.33:8082/project/702bea21-ec53-4faa-9e7a-de7b188794d6 2026-03-09 02:16:41,052 - INFO - Validated that VN ctest-vn-68295506 is not found in API Server 2026-03-09 02:16:41,061 - DEBUG - VN ctest-vn-68295506 is not present in Agent 10.0.0.33 2026-03-09 02:16:41,061 - INFO - Validated that VN ctest-vn-68295506 is not in any agent 2026-03-09 02:16:41,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68295506 info 2026-03-09 02:16:41,326 - DEBUG - No XMPP flaps were noticed during the test 2026-03-09 02:16:41,326 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-03-09 02:16:41,326 - INFO - -------------------------------------------------------------------------------- 2026-03-09 02:16:41,983 - INFO - Deleted project: ctest-TestBasicPolicy-48486443, ID : 702bea21-ec53-4faa-9e7a-de7b188794d6