2026-09-09 18:25:13,307 - INFO - Domain Default found not creating 2026-09-09 18:25:13,518 - INFO - Project ctest-TestBasicPolicy-59847438 not found, creating it 2026-09-09 18:25:14,052 - INFO - Created Project:ctest-TestBasicPolicy-59847438, ID : 54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:25:15,867 - INFO - ================================================================================ 2026-09-09 18:25:15,867 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-09 18:25:15,867 - 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-09 18:25:16,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-09 18:25:16,142 - INFO - Initial checks done. Running the testcase now 2026-09-09 18:25:16,142 - INFO - 2026-09-09 18:25:16,807 - DEBUG - Response for create_network : {'network': {'id': '34942bfc-45cd-4512-89a1-72d0a2b0ba4e', 'name': 'ctest-vn-59609056', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-59609056'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 18:25:17,012 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db546b04-77c0-4cfb-afb5-4cda3f6e4bc6', 'name': '', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'network_id': '34942bfc-45cd-4512-89a1-72d0a2b0ba4e', 'ip_version': 4, 'cidr': '163.144.225.0/26', 'allocation_pools': [{'start': '163.144.225.2', 'end': '163.144.225.62'}], 'gateway_ip': '163.144.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.144.225.2', 'tags': [], 'project_id': '54886957a67a4815b6b6c52970c6a495'}} 2026-09-09 18:25:17,031 - INFO - Created VN ctest-vn-59609056 2026-09-09 18:25:17,084 - DEBUG - VN ctest-vn-59609056 UUID is 34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:17,421 - DEBUG - Response for create_network : {'network': {'id': 'a3eddc5c-df57-4f95-97d5-dad49c813387', 'name': 'ctest-vn-02233817', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-02233817'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 18:25:17,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb7c022a-ba23-477a-9c49-835df2ccccd0', 'name': '', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'network_id': 'a3eddc5c-df57-4f95-97d5-dad49c813387', 'ip_version': 4, 'cidr': '80.230.113.128/26', 'allocation_pools': [{'start': '80.230.113.130', 'end': '80.230.113.190'}], 'gateway_ip': '80.230.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.230.113.130', 'tags': [], 'project_id': '54886957a67a4815b6b6c52970c6a495'}} 2026-09-09 18:25:17,658 - INFO - Created VN ctest-vn-02233817 2026-09-09 18:25:17,712 - DEBUG - VN ctest-vn-02233817 UUID is a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:17,832 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056, 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-59847438:ctest-vn-02233817, 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-09 18:25:18,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34942bfc-45cd-4512-89a1-72d0a2b0ba4e', 'name': 'ctest-vn-59609056', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['db546b04-77c0-4cfb-afb5-4cda3f6e4bc6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-59609056'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298']], 'subnet_ipam': [{'subnet_cidr': '163.144.225.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 18:25:18,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3eddc5c-df57-4f95-97d5-dad49c813387', 'name': 'ctest-vn-02233817', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['fb7c022a-ba23-477a-9c49-835df2ccccd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-02233817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298']], 'subnet_ipam': [{'subnet_cidr': '80.230.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 18:25:18,592 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:25:18,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:25:19,010 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a 2026-09-09 18:25:19,023 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:25:19,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:19,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:19,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01 2026-09-09 18:25:19,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01 2026-09-09 18:25:19,145 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8b42e24-df66-4ba9-821e-2f062d9f245a 2026-09-09 18:25:19,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 18:25:19,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:19,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01 2026-09-09 18:25:19,184 - INFO - Verified VN network id 11 for VN 34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:19,184 - INFO - Verifications in API Server for VN ctest-vn-59609056 passed 2026-09-09 18:25:19,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:19,195 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01 2026-09-09 18:25:19,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01 2026-09-09 18:25:19,213 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8b42e24-df66-4ba9-821e-2f062d9f245a 2026-09-09 18:25:19,231 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59847438', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3788701549028263186', 'uuid-lslong': '9917334094854797902'}, 'enable': 'true', 'created': '2026-09-09T18:25:16', 'last-modified': '2026-09-09T18:25:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.095237'} 2026-09-09 18:25:19,241 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 18:25:19,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59609056 passed 2026-09-09 18:25:19,241 - DEBUG - ====Verifying policy data for ctest-vn-59609056 in API_Server ====== 2026-09-09 18:25:19,241 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:25:19,248 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a 2026-09-09 18:25:19,262 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:25:19,346 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e 2026-09-09 18:25:19,357 - DEBUG - ==>Verifying data for policy with id: bf78447e-6c81-492a-bfdb-2b4cb3a420b1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298'] 2026-09-09 18:25:19,358 - INFO - VN ctest-vn-59609056 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 18:25:19,358 - DEBUG - Verifying the vn in opserver 2026-09-09 18:25:19,358 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056 virtual network link through opserver 10.0.0.38 2026-09-09 18:25:19,358 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-09 18:25:19,739 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-09 18:25:19,808 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056?flat'} 2026-09-09 18:25:19,808 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056 is found in opserver 2026-09-09 18:25:19,825 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 18:25:19,832 - DEBUG - VRF ids for VN ctest-vn-59609056: {} 2026-09-09 18:25:19,832 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:25:19,839 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a 2026-09-09 18:25:19,853 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:25:19,935 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:19,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:19,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a 2026-09-09 18:25:19,972 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a 2026-09-09 18:25:19,983 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db262260-3a75-4b0e-98d1-ca2ce7f746b3 2026-09-09 18:25:19,992 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 18:25:19,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:20,004 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a 2026-09-09 18:25:20,023 - INFO - Verified VN network id 12 for VN a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:20,023 - INFO - Verifications in API Server for VN ctest-vn-02233817 passed 2026-09-09 18:25:20,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:20,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a 2026-09-09 18:25:20,046 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a 2026-09-09 18:25:20,055 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db262260-3a75-4b0e-98d1-ca2ce7f746b3 2026-09-09 18:25:20,070 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59847438', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11812339689104822165', 'uuid-lslong': '10940891476460123015'}, 'enable': 'true', 'created': '2026-09-09T18:25:17', 'last-modified': '2026-09-09T18:25:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.690240'} 2026-09-09 18:25:20,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 18:25:20,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02233817 passed 2026-09-09 18:25:20,078 - DEBUG - ====Verifying policy data for ctest-vn-02233817 in API_Server ====== 2026-09-09 18:25:20,078 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:25:20,084 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a 2026-09-09 18:25:20,098 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:25:20,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387 2026-09-09 18:25:20,192 - DEBUG - ==>Verifying data for policy with id: bf78447e-6c81-492a-bfdb-2b4cb3a420b1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298'] 2026-09-09 18:25:20,192 - INFO - VN ctest-vn-02233817 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 18:25:20,193 - DEBUG - Verifying the vn in opserver 2026-09-09 18:25:20,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817 virtual network link through opserver 10.0.0.38 2026-09-09 18:25:20,193 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-09 18:25:20,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817?flat'} 2026-09-09 18:25:20,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817 is found in opserver 2026-09-09 18:25:20,219 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 18:25:20,225 - DEBUG - VRF ids for VN ctest-vn-02233817: {} 2026-09-09 18:25:20,296 - DEBUG - Services list from nova: [, , ] 2026-09-09 18:25:20,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6271-1) 2026-09-09 18:25:21,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6271-1) 2026-09-09 18:25:21,124 - INFO - Waiting for VM ctest-TestBasicPolicy-59847438-74574068 to be up.. 2026-09-09 18:25:21,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:26,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:31,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:36,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:41,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:46,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:51,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:25:56,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:26:01,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 18:26:07,022 - DEBUG - VM is in ACTIVE state now 2026-09-09 18:26:07,022 - INFO - VM name : ctest-TestBasicPolicy-59847438-74574068 2026-09-09 18:26:07,122 - DEBUG - VM ctest-TestBasicPolicy-59847438-74574068 ID is 1954f1ea-1831-496c-83b0-80287c89a622 2026-09-09 18:26:07,153 - DEBUG - VM ctest-TestBasicPolicy-59847438-74574068 launched on Node cn-jenkins-deploy-platform-ansible-os-6271-1 2026-09-09 18:26:07,268 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1954f1ea-1831-496c-83b0-80287c89a622 2026-09-09 18:26:07,283 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/afd6dcb4-5078-4804-875c-7d3cad48a6de 2026-09-09 18:26:10,555 - 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 1012ms') 2026-09-09 18:26:10,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59847438-74574068 failed! 2026-09-09 18:26:10,617 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056 is 163.144.225.1 and allocation pool is NOT set 2026-09-09 18:26:12,682 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.676 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 = 0.676/2.881/5.086/2.205 ms') 2026-09-09 18:26:12,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59847438-74574068 passed 2026-09-09 18:26:12,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 18:26:12,840 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59847438-74574068, IP 163.144.225.3, Port 22 2026-09-09 18:26:13,010 - DEBUG - VM ctest-TestBasicPolicy-59847438-74574068 is ready for SSH connections 2026-09-09 18:26:13,010 - INFO - Waiting for VM ctest-TestBasicPolicy-59847438-76819887 to be up.. 2026-09-09 18:26:13,108 - DEBUG - VM is in ACTIVE state now 2026-09-09 18:26:13,108 - INFO - VM name : ctest-TestBasicPolicy-59847438-76819887 2026-09-09 18:26:13,202 - DEBUG - VM ctest-TestBasicPolicy-59847438-76819887 ID is f1b3898b-d7cb-4672-a2a0-614162dee60f 2026-09-09 18:26:13,202 - DEBUG - VM ctest-TestBasicPolicy-59847438-76819887 launched on Node cn-jenkins-deploy-platform-ansible-os-6271-1 2026-09-09 18:26:13,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1b3898b-d7cb-4672-a2a0-614162dee60f 2026-09-09 18:26:13,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9f37977e-e956-41e8-8c73-bedadcf05716 2026-09-09 18:26:14,572 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.613 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.613/2.677/4.742/2.064 ms') 2026-09-09 18:26:14,572 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59847438-76819887 passed 2026-09-09 18:26:14,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 18:26:14,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59847438-76819887, IP 80.230.113.131, Port 22 2026-09-09 18:26:14,899 - DEBUG - VM ctest-TestBasicPolicy-59847438-76819887 is ready for SSH connections 2026-09-09 18:26:14,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 18:26:14,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.230.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-09 18:26:14,900 - DEBUG - ping -s 56 -c 3 -W 1 80.230.113.131 2026-09-09 18:26:18,992 - DEBUG - PING 80.230.113.131 (80.230.113.131): 56 data bytes 64 bytes from 80.230.113.131: seq=0 ttl=63 time=4.780 ms 64 bytes from 80.230.113.131: seq=1 ttl=63 time=1.215 ms 64 bytes from 80.230.113.131: seq=2 ttl=63 time=1.041 ms --- 80.230.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/2.345/4.780 ms 2026-09-09 18:26:18,992 - INFO - Ping to IP 80.230.113.131 from VM ctest-TestBasicPolicy-59847438-74574068 passed 2026-09-09 18:26:19,196 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bf78447e-6c81-492a-bfdb-2b4cb3a420b1", "href": "http://10.0.0.38:8082/network-policy/bf78447e-6c81-492a-bfdb-2b4cb3a420b1"}} 2026-09-09 18:26:19,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 18:26:19,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.230.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-09 18:26:19,196 - DEBUG - ping -s 56 -c 3 -W 1 80.230.113.131 2026-09-09 18:26:22,367 - DEBUG - PING 80.230.113.131 (80.230.113.131): 56 data bytes 64 bytes from 80.230.113.131: seq=0 ttl=63 time=2.011 ms --- 80.230.113.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.011/2.011/2.011 ms 2026-09-09 18:26:22,367 - WARNING - Ping to IP 80.230.113.131 from VM ctest-TestBasicPolicy-59847438-74574068 failed 2026-09-09 18:26:22,367 - INFO - Deleting VM ctest-TestBasicPolicy-59847438-76819887 2026-09-09 18:26:22,469 - INFO - Deleting VM ctest-TestBasicPolicy-59847438-74574068 2026-09-09 18:26:22,902 - INFO - Deleted policy ctest-policy-allow-all-64863298 2026-09-09 18:26:22,902 - INFO - Deleting VN ctest-vn-02233817 2026-09-09 18:26:22,938 - DEBUG - VN a3eddc5c-df57-4f95-97d5-dad49c813387 still in use: Unable to complete operation on network a3eddc5c-df57-4f95-97d5-dad49c813387. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58e2eefd-3e9c-4623-bee1-2835ae0ba6cd'] 2026-09-09 18:26:22,939 - WARNING - Deleting VN ctest-vn-02233817 failed..Will retry 2026-09-09 18:26:25,073 - DEBUG - Response for deleting network () 2026-09-09 18:26:25,073 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a 2026-09-09 18:26:25,082 - DEBUG - Response Code: 404 2026-09-09 18:26:25,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:26:25,091 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a 2026-09-09 18:26:25,152 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:26:25,239 - INFO - Validated that VN ctest-vn-02233817 is not found in API Server 2026-09-09 18:26:25,253 - DEBUG - VN ctest-vn-02233817 is not present in Agent 10.0.0.38 2026-09-09 18:26:25,253 - INFO - Validated that VN ctest-vn-02233817 is not in any agent 2026-09-09 18:26:25,275 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02233817 info 2026-09-09 18:26:25,275 - INFO - Deleting VN ctest-vn-59609056 2026-09-09 18:26:25,419 - DEBUG - Response for deleting network () 2026-09-09 18:26:25,419 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01 2026-09-09 18:26:25,425 - DEBUG - Response Code: 404 2026-09-09 18:26:25,425 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 18:26:25,430 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a 2026-09-09 18:26:25,490 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495 2026-09-09 18:26:25,575 - INFO - Validated that VN ctest-vn-59609056 is not found in API Server 2026-09-09 18:26:25,588 - DEBUG - VN ctest-vn-59609056 is not present in Agent 10.0.0.38 2026-09-09 18:26:25,588 - INFO - Validated that VN ctest-vn-59609056 is not in any agent 2026-09-09 18:26:25,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59609056 info 2026-09-09 18:26:25,885 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 18:26:25,885 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-09-09 18:26:25,885 - INFO - -------------------------------------------------------------------------------- 2026-09-09 18:26:26,703 - INFO - Deleted project: ctest-TestBasicPolicy-59847438, ID : 54886957-a67a-4815-b6b6-c52970c6a495