2026-09-04 17:12:23,848 - INFO - Domain Default found not creating 2026-09-04 17:12:24,013 - INFO - Project ctest-TestBasicPolicy-69668846 not found, creating it 2026-09-04 17:12:24,494 - INFO - Created Project:ctest-TestBasicPolicy-69668846, ID : 4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:12:26,044 - INFO - ================================================================================ 2026-09-04 17:12:26,044 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-04 17:12:26,044 - 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-09-04 17:12:26,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-09-04 17:12:26,311 - INFO - Initial checks done. Running the testcase now 2026-09-04 17:12:26,311 - INFO - 2026-09-04 17:12:26,921 - DEBUG - Response for create_network : {'network': {'id': 'd87b2c01-dee3-40f4-973c-6eda5bbbf7e5', 'name': 'ctest-vn-02329784', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-02329784'], 'port_security_enabled': True, 'description': ''}} 2026-09-04 17:12:27,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ded11b6-dcae-4b82-9821-1a02f31ff0cc', 'name': '', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'network_id': 'd87b2c01-dee3-40f4-973c-6eda5bbbf7e5', 'ip_version': 4, 'cidr': '21.90.163.64/26', 'allocation_pools': [{'start': '21.90.163.66', 'end': '21.90.163.126'}], 'gateway_ip': '21.90.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.90.163.66', 'tags': [], 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97'}} 2026-09-04 17:12:27,125 - INFO - Created VN ctest-vn-02329784 2026-09-04 17:12:27,177 - DEBUG - VN ctest-vn-02329784 UUID is d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:27,523 - DEBUG - Response for create_network : {'network': {'id': 'c54ae023-0e5e-456f-b621-e08e04cafc18', 'name': 'ctest-vn-77613511', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-77613511'], 'port_security_enabled': True, 'description': ''}} 2026-09-04 17:12:27,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '0466b253-cc33-408f-abb2-1acf6dd579ba', 'name': '', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'network_id': 'c54ae023-0e5e-456f-b621-e08e04cafc18', 'ip_version': 4, 'cidr': '39.234.174.192/26', 'allocation_pools': [{'start': '39.234.174.194', 'end': '39.234.174.254'}], 'gateway_ip': '39.234.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.234.174.194', 'tags': [], 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97'}} 2026-09-04 17:12:27,714 - INFO - Created VN ctest-vn-77613511 2026-09-04 17:12:27,768 - DEBUG - VN ctest-vn-77613511 UUID is c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:27,882 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784, 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-69668846:ctest-vn-77613511, 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-09-04 17:12:28,207 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd87b2c01-dee3-40f4-973c-6eda5bbbf7e5', 'name': 'ctest-vn-02329784', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5ded11b6-dcae-4b82-9821-1a02f31ff0cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-02329784'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255']], 'subnet_ipam': [{'subnet_cidr': '21.90.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-04 17:12:28,445 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c54ae023-0e5e-456f-b621-e08e04cafc18', 'name': 'ctest-vn-77613511', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0466b253-cc33-408f-abb2-1acf6dd579ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-77613511'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255']], 'subnet_ipam': [{'subnet_cidr': '39.234.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-04 17:12:28,612 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:12:28,941 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:12:28,971 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69 2026-09-04 17:12:28,985 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:12:29,062 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:29,075 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:29,086 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f 2026-09-04 17:12:29,095 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f 2026-09-04 17:12:29,102 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/23c198f0-85eb-4a15-b89f-6acaaf918de3 2026-09-04 17:12:29,108 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-04 17:12:29,109 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:29,118 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f 2026-09-04 17:12:29,134 - INFO - Verified VN network id 12 for VN d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:29,134 - INFO - Verifications in API Server for VN ctest-vn-02329784 passed 2026-09-04 17:12:29,134 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:29,144 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f 2026-09-04 17:12:29,152 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f 2026-09-04 17:12:29,161 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/23c198f0-85eb-4a15-b89f-6acaaf918de3 2026-09-04 17:12:29,175 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69668846', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15599110120873869556', 'uuid-lslong': '10897707082450728933'}, 'enable': 'true', 'created': '2026-09-04T17:12:26', 'last-modified': '2026-09-04T17:12:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007071'} 2026-09-04 17:12:29,182 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-04 17:12:29,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02329784 passed 2026-09-04 17:12:29,182 - DEBUG - ====Verifying policy data for ctest-vn-02329784 in API_Server ====== 2026-09-04 17:12:29,182 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:12:29,188 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69 2026-09-04 17:12:29,199 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:12:29,278 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5 2026-09-04 17:12:29,289 - DEBUG - ==>Verifying data for policy with id: da92015f-5e84-45b6-8aca-d2cb0fd280c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255'] 2026-09-04 17:12:29,289 - INFO - VN ctest-vn-02329784 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-04 17:12:29,289 - DEBUG - Verifying the vn in opserver 2026-09-04 17:12:29,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784 virtual network link through opserver 10.0.0.177 2026-09-04 17:12:29,290 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-04 17:12:29,609 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-04 17:12:29,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784?flat'} 2026-09-04 17:12:29,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784 is found in opserver 2026-09-04 17:12:29,672 - DEBUG - Do not have enough data to verify VN in agent 2026-09-04 17:12:29,677 - DEBUG - VRF ids for VN ctest-vn-02329784: {} 2026-09-04 17:12:29,677 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:12:29,683 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69 2026-09-04 17:12:29,693 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:12:29,769 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:29,779 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:29,787 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62 2026-09-04 17:12:29,793 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62 2026-09-04 17:12:29,799 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b3f14b7-f6f7-45c1-872f-aa47b6a64cb2 2026-09-04 17:12:29,805 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-04 17:12:29,805 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:29,814 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62 2026-09-04 17:12:29,830 - INFO - Verified VN network id 13 for VN c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:29,830 - INFO - Verifications in API Server for VN ctest-vn-77613511 passed 2026-09-04 17:12:29,830 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:29,840 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62 2026-09-04 17:12:29,849 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62 2026-09-04 17:12:29,856 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b3f14b7-f6f7-45c1-872f-aa47b6a64cb2 2026-09-04 17:12:29,872 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69668846', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14216421614917928303', 'uuid-lslong': '13124017689704725528'}, 'enable': 'true', 'created': '2026-09-04T17:12:27', 'last-modified': '2026-09-04T17:12:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456314'} 2026-09-04 17:12:29,879 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-04 17:12:29,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77613511 passed 2026-09-04 17:12:29,880 - DEBUG - ====Verifying policy data for ctest-vn-77613511 in API_Server ====== 2026-09-04 17:12:29,880 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:12:29,886 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69 2026-09-04 17:12:29,897 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:12:29,977 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18 2026-09-04 17:12:29,989 - DEBUG - ==>Verifying data for policy with id: da92015f-5e84-45b6-8aca-d2cb0fd280c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255'] 2026-09-04 17:12:29,990 - INFO - VN ctest-vn-77613511 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-04 17:12:29,990 - DEBUG - Verifying the vn in opserver 2026-09-04 17:12:29,990 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511 virtual network link through opserver 10.0.0.177 2026-09-04 17:12:29,990 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-04 17:12:30,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511?flat'} 2026-09-04 17:12:30,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511 is found in opserver 2026-09-04 17:12:30,013 - DEBUG - Do not have enough data to verify VN in agent 2026-09-04 17:12:30,019 - DEBUG - VRF ids for VN ctest-vn-77613511: {} 2026-09-04 17:12:30,081 - DEBUG - Services list from nova: [, , ] 2026-09-04 17:12:30,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6255-1) 2026-09-04 17:12:30,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6255-1) 2026-09-04 17:12:30,902 - INFO - Waiting for VM ctest-TestBasicPolicy-69668846-33073389 to be up.. 2026-09-04 17:12:30,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:12:36,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:12:41,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:12:46,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:12:51,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:12:56,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:13:01,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 17:13:06,506 - DEBUG - VM is in ACTIVE state now 2026-09-04 17:13:06,506 - INFO - VM name : ctest-TestBasicPolicy-69668846-33073389 2026-09-04 17:13:06,590 - DEBUG - VM ctest-TestBasicPolicy-69668846-33073389 ID is 981fe9a0-d44b-46e6-9dfb-8b0d41dd3588 2026-09-04 17:13:06,611 - DEBUG - VM ctest-TestBasicPolicy-69668846-33073389 launched on Node cn-jenkins-deploy-platform-ansible-os-6255-1 2026-09-04 17:13:06,685 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/981fe9a0-d44b-46e6-9dfb-8b0d41dd3588 2026-09-04 17:13:06,701 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/33479404-a1e0-430e-8bb8-f291ceffbd59 2026-09-04 17:13:10,013 - 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 1031ms') 2026-09-04 17:13:10,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69668846-33073389 failed! 2026-09-04 17:13:10,069 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784 is 21.90.163.65 and allocation pool is NOT set 2026-09-04 17:13:12,138 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 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.442/6.469/10.496/4.027 ms') 2026-09-04 17:13:12,138 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69668846-33073389 passed 2026-09-04 17:13:12,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 17:13:12,293 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69668846-33073389, IP 21.90.163.67, Port 22 2026-09-04 17:13:12,463 - DEBUG - VM ctest-TestBasicPolicy-69668846-33073389 is ready for SSH connections 2026-09-04 17:13:12,463 - INFO - Waiting for VM ctest-TestBasicPolicy-69668846-31742844 to be up.. 2026-09-04 17:13:12,547 - DEBUG - VM is in ACTIVE state now 2026-09-04 17:13:12,547 - INFO - VM name : ctest-TestBasicPolicy-69668846-31742844 2026-09-04 17:13:12,633 - DEBUG - VM ctest-TestBasicPolicy-69668846-31742844 ID is cbb3b387-e622-4329-8d67-faffa3fb6264 2026-09-04 17:13:12,633 - DEBUG - VM ctest-TestBasicPolicy-69668846-31742844 launched on Node cn-jenkins-deploy-platform-ansible-os-6255-1 2026-09-04 17:13:12,716 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/cbb3b387-e622-4329-8d67-faffa3fb6264 2026-09-04 17:13:12,725 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/e52ec909-1cb6-4fe2-97a2-1c2f61181d97 2026-09-04 17:13:15,993 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-09-04 17:13:15,993 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69668846-31742844 failed! 2026-09-04 17:13:16,052 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511 is 39.234.174.193 and allocation pool is NOT set 2026-09-04 17:13:18,120 - 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=12.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.83 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 = 2.827/7.742/12.658/4.915 ms') 2026-09-04 17:13:18,120 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69668846-31742844 passed 2026-09-04 17:13:18,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 17:13:18,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69668846-31742844, IP 39.234.174.195, Port 22 2026-09-04 17:13:18,342 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-04 17:13:18,417 - DEBUG - VM ctest-TestBasicPolicy-69668846-31742844 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-04 17:13:23,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 17:13:23,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69668846-31742844, IP 39.234.174.195, Port 22 2026-09-04 17:13:23,591 - DEBUG - VM ctest-TestBasicPolicy-69668846-31742844 is ready for SSH connections 2026-09-04 17:13:23,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 17:13:23,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.234.174.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-04 17:13:23,592 - DEBUG - ping -s 56 -c 3 -W 1 39.234.174.195 2026-09-04 17:13:27,529 - DEBUG - PING 39.234.174.195 (39.234.174.195): 56 data bytes 64 bytes from 39.234.174.195: seq=0 ttl=63 time=4.566 ms 64 bytes from 39.234.174.195: seq=1 ttl=63 time=0.840 ms 64 bytes from 39.234.174.195: seq=2 ttl=63 time=0.982 ms --- 39.234.174.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/2.129/4.566 ms 2026-09-04 17:13:27,529 - INFO - Ping to IP 39.234.174.195 from VM ctest-TestBasicPolicy-69668846-33073389 passed 2026-09-04 17:13:27,712 - DEBUG - Policy Update Response {"network-policy": {"uuid": "da92015f-5e84-45b6-8aca-d2cb0fd280c7", "href": "http://10.0.0.177:8082/network-policy/da92015f-5e84-45b6-8aca-d2cb0fd280c7"}} 2026-09-04 17:13:27,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 17:13:27,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.234.174.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-04 17:13:27,712 - DEBUG - ping -s 56 -c 3 -W 1 39.234.174.195 2026-09-04 17:13:30,840 - DEBUG - PING 39.234.174.195 (39.234.174.195): 56 data bytes 64 bytes from 39.234.174.195: seq=0 ttl=63 time=1.603 ms --- 39.234.174.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.603/1.603/1.603 ms 2026-09-04 17:13:30,841 - WARNING - Ping to IP 39.234.174.195 from VM ctest-TestBasicPolicy-69668846-33073389 failed 2026-09-04 17:13:30,841 - INFO - Deleting VM ctest-TestBasicPolicy-69668846-31742844 2026-09-04 17:13:30,918 - INFO - Deleting VM ctest-TestBasicPolicy-69668846-33073389 2026-09-04 17:13:31,280 - INFO - Deleted policy ctest-policy-allow-all-65680255 2026-09-04 17:13:31,280 - INFO - Deleting VN ctest-vn-77613511 2026-09-04 17:13:31,313 - DEBUG - VN c54ae023-0e5e-456f-b621-e08e04cafc18 still in use: Unable to complete operation on network c54ae023-0e5e-456f-b621-e08e04cafc18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4925afde-9816-449d-88ca-e5da852b19bd'] 2026-09-04 17:13:31,313 - WARNING - Deleting VN ctest-vn-77613511 failed..Will retry 2026-09-04 17:13:33,432 - DEBUG - Response for deleting network () 2026-09-04 17:13:33,432 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62 2026-09-04 17:13:33,438 - DEBUG - Response Code: 404 2026-09-04 17:13:33,438 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:13:33,447 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69 2026-09-04 17:13:33,503 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:13:33,577 - INFO - Validated that VN ctest-vn-77613511 is not found in API Server 2026-09-04 17:13:33,588 - DEBUG - VN ctest-vn-77613511 is not present in Agent 10.0.0.177 2026-09-04 17:13:33,588 - INFO - Validated that VN ctest-vn-77613511 is not in any agent 2026-09-04 17:13:33,603 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77613511 info 2026-09-04 17:13:33,603 - INFO - Deleting VN ctest-vn-02329784 2026-09-04 17:13:33,726 - DEBUG - Response for deleting network () 2026-09-04 17:13:33,726 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f 2026-09-04 17:13:33,735 - DEBUG - Response Code: 404 2026-09-04 17:13:33,735 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-09-04 17:13:33,740 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69 2026-09-04 17:13:33,794 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97 2026-09-04 17:13:33,868 - INFO - Validated that VN ctest-vn-02329784 is not found in API Server 2026-09-04 17:13:33,881 - DEBUG - VN ctest-vn-02329784 is not present in Agent 10.0.0.177 2026-09-04 17:13:33,881 - INFO - Validated that VN ctest-vn-02329784 is not in any agent 2026-09-04 17:13:33,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02329784 info 2026-09-04 17:13:34,155 - DEBUG - No XMPP flaps were noticed during the test 2026-09-04 17:13:34,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08] 2026-09-04 17:13:34,155 - INFO - -------------------------------------------------------------------------------- 2026-09-04 17:13:34,878 - INFO - Deleted project: ctest-TestBasicPolicy-69668846, ID : 4a70538c-4df8-4fe9-a3f2-1b13c0d2af97