2026-09-15 11:15:38,308 - INFO - Domain Default found not creating 2026-09-15 11:15:38,523 - INFO - Project ctest-TestBasicPolicy-78417995 not found, creating it 2026-09-15 11:15:39,066 - INFO - Created Project:ctest-TestBasicPolicy-78417995, ID : a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:15:40,924 - INFO - ================================================================================ 2026-09-15 11:15:40,925 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-15 11:15:40,925 - 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-15 11:15:41,210 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-09-15 11:15:41,210 - INFO - Initial checks done. Running the testcase now 2026-09-15 11:15:41,210 - INFO - 2026-09-15 11:15:41,878 - DEBUG - Response for create_network : {'network': {'id': '9bab3b00-1a3f-4025-92bc-efb402df325f', 'name': 'ctest-vn-55744188', 'tenant_id': 'a167224143004a7fab32d46a73e8f73f', 'project_id': 'a167224143004a7fab32d46a73e8f73f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-vn-55744188'], 'port_security_enabled': True, 'description': ''}} 2026-09-15 11:15:42,080 - DEBUG - Response for create_subnet : {'subnet': {'id': '48201562-9d1b-43a0-925b-a53154723e3c', 'name': '', 'tenant_id': 'a167224143004a7fab32d46a73e8f73f', 'network_id': '9bab3b00-1a3f-4025-92bc-efb402df325f', 'ip_version': 4, 'cidr': '54.255.255.192/26', 'allocation_pools': [{'start': '54.255.255.194', 'end': '54.255.255.254'}], 'gateway_ip': '54.255.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.255.255.194', 'tags': [], 'project_id': 'a167224143004a7fab32d46a73e8f73f'}} 2026-09-15 11:15:42,100 - INFO - Created VN ctest-vn-55744188 2026-09-15 11:15:42,153 - DEBUG - VN ctest-vn-55744188 UUID is 9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:42,473 - DEBUG - Response for create_network : {'network': {'id': '8e6e3ec4-58fb-4815-b0d8-6994684799b4', 'name': 'ctest-vn-04971300', 'tenant_id': 'a167224143004a7fab32d46a73e8f73f', 'project_id': 'a167224143004a7fab32d46a73e8f73f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-vn-04971300'], 'port_security_enabled': True, 'description': ''}} 2026-09-15 11:15:42,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9eba163-fb03-4f36-876c-3879bcfe4787', 'name': '', 'tenant_id': 'a167224143004a7fab32d46a73e8f73f', 'network_id': '8e6e3ec4-58fb-4815-b0d8-6994684799b4', 'ip_version': 4, 'cidr': '102.0.236.192/26', 'allocation_pools': [{'start': '102.0.236.194', 'end': '102.0.236.254'}], 'gateway_ip': '102.0.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.0.236.194', 'tags': [], 'project_id': 'a167224143004a7fab32d46a73e8f73f'}} 2026-09-15 11:15:42,669 - INFO - Created VN ctest-vn-04971300 2026-09-15 11:15:42,725 - DEBUG - VN ctest-vn-04971300 UUID is 8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:42,837 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188, 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-78417995:ctest-vn-04971300, 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-15 11:15:43,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bab3b00-1a3f-4025-92bc-efb402df325f', 'name': 'ctest-vn-55744188', 'tenant_id': 'a167224143004a7fab32d46a73e8f73f', 'project_id': 'a167224143004a7fab32d46a73e8f73f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['48201562-9d1b-43a0-925b-a53154723e3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-vn-55744188'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-policy-allow-all-50071317']], 'subnet_ipam': [{'subnet_cidr': '54.255.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-15 11:15:43,407 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e6e3ec4-58fb-4815-b0d8-6994684799b4', 'name': 'ctest-vn-04971300', 'tenant_id': 'a167224143004a7fab32d46a73e8f73f', 'project_id': 'a167224143004a7fab32d46a73e8f73f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c9eba163-fb03-4f36-876c-3879bcfe4787'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-vn-04971300'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-policy-allow-all-50071317']], 'subnet_ipam': [{'subnet_cidr': '102.0.236.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-15 11:15:43,585 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:15:43,947 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:15:43,979 - DEBUG - Requesting: http://10.0.0.163:8082/domain/0678f5e7-3a63-4b53-aa60-c1f845d5d3b7 2026-09-15 11:15:43,992 - DEBUG - Requesting: http://10.0.0.163:8082/project/a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:15:44,073 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:44,087 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:44,099 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8aed9d6b-a729-4caf-8323-c6a09df5e534 2026-09-15 11:15:44,109 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8aed9d6b-a729-4caf-8323-c6a09df5e534 2026-09-15 11:15:44,118 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c4bea21f-1b21-44cb-8a38-a3b0b299fddd 2026-09-15 11:15:44,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-15 11:15:44,125 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:44,137 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8aed9d6b-a729-4caf-8323-c6a09df5e534 2026-09-15 11:15:44,153 - INFO - Verified VN network id 10 for VN 9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:44,153 - INFO - Verifications in API Server for VN ctest-vn-55744188 passed 2026-09-15 11:15:44,153 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:44,164 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8aed9d6b-a729-4caf-8323-c6a09df5e534 2026-09-15 11:15:44,172 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8aed9d6b-a729-4caf-8323-c6a09df5e534 2026-09-15 11:15:44,181 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c4bea21f-1b21-44cb-8a38-a3b0b299fddd 2026-09-15 11:15:44,198 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78417995', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11217124168522743845', 'uuid-lslong': '10573589581580415583'}, 'enable': 'true', 'created': '2026-09-15T11:15:41', 'last-modified': '2026-09-15T11:15:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062795'} 2026-09-15 11:15:44,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-15 11:15:44,206 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55744188 passed 2026-09-15 11:15:44,206 - DEBUG - ====Verifying policy data for ctest-vn-55744188 in API_Server ====== 2026-09-15 11:15:44,206 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:15:44,214 - DEBUG - Requesting: http://10.0.0.163:8082/domain/0678f5e7-3a63-4b53-aa60-c1f845d5d3b7 2026-09-15 11:15:44,227 - DEBUG - Requesting: http://10.0.0.163:8082/project/a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:15:44,315 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/9bab3b00-1a3f-4025-92bc-efb402df325f 2026-09-15 11:15:44,326 - DEBUG - ==>Verifying data for policy with id: 88f6b766-0e1d-4650-a573-51ea14f0b89d, fqn: ['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-policy-allow-all-50071317'] 2026-09-15 11:15:44,326 - INFO - VN ctest-vn-55744188 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-15 11:15:44,326 - DEBUG - Verifying the vn in opserver 2026-09-15 11:15:44,326 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188 virtual network link through opserver 10.0.0.163 2026-09-15 11:15:44,326 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-15 11:15:44,699 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-15 11:15:44,769 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188?flat'} 2026-09-15 11:15:44,770 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188 is found in opserver 2026-09-15 11:15:44,782 - DEBUG - Do not have enough data to verify VN in agent 2026-09-15 11:15:44,789 - DEBUG - VRF ids for VN ctest-vn-55744188: {} 2026-09-15 11:15:44,789 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:15:44,796 - DEBUG - Requesting: http://10.0.0.163:8082/domain/0678f5e7-3a63-4b53-aa60-c1f845d5d3b7 2026-09-15 11:15:44,808 - DEBUG - Requesting: http://10.0.0.163:8082/project/a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:15:44,892 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:44,907 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:44,919 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9973e8b2-7d85-41a8-afc4-8dea475175cd 2026-09-15 11:15:44,928 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9973e8b2-7d85-41a8-afc4-8dea475175cd 2026-09-15 11:15:44,937 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/fa02af5b-0890-4a9a-98e6-5ea9e24cd740 2026-09-15 11:15:44,945 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-15 11:15:44,945 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:44,955 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9973e8b2-7d85-41a8-afc4-8dea475175cd 2026-09-15 11:15:44,969 - INFO - Verified VN network id 11 for VN 8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:44,969 - INFO - Verifications in API Server for VN ctest-vn-04971300 passed 2026-09-15 11:15:44,969 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:44,979 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9973e8b2-7d85-41a8-afc4-8dea475175cd 2026-09-15 11:15:44,987 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9973e8b2-7d85-41a8-afc4-8dea475175cd 2026-09-15 11:15:44,994 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/fa02af5b-0890-4a9a-98e6-5ea9e24cd740 2026-09-15 11:15:45,008 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-04971300', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78417995', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10263209613851314197', 'uuid-lslong': '12743051231770417588'}, 'enable': 'true', 'created': '2026-09-15T11:15:42', 'last-modified': '2026-09-15T11:15:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.623870'} 2026-09-15 11:15:45,015 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-15 11:15:45,015 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04971300 passed 2026-09-15 11:15:45,015 - DEBUG - ====Verifying policy data for ctest-vn-04971300 in API_Server ====== 2026-09-15 11:15:45,015 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:15:45,021 - DEBUG - Requesting: http://10.0.0.163:8082/domain/0678f5e7-3a63-4b53-aa60-c1f845d5d3b7 2026-09-15 11:15:45,033 - DEBUG - Requesting: http://10.0.0.163:8082/project/a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:15:45,115 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8e6e3ec4-58fb-4815-b0d8-6994684799b4 2026-09-15 11:15:45,127 - DEBUG - ==>Verifying data for policy with id: 88f6b766-0e1d-4650-a573-51ea14f0b89d, fqn: ['default-domain', 'ctest-TestBasicPolicy-78417995', 'ctest-policy-allow-all-50071317'] 2026-09-15 11:15:45,127 - INFO - VN ctest-vn-04971300 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-15 11:15:45,127 - DEBUG - Verifying the vn in opserver 2026-09-15 11:15:45,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-04971300 virtual network link through opserver 10.0.0.163 2026-09-15 11:15:45,127 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-15 11:15:45,139 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-04971300', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-04971300?flat'} 2026-09-15 11:15:45,139 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-04971300 is found in opserver 2026-09-15 11:15:45,151 - DEBUG - Do not have enough data to verify VN in agent 2026-09-15 11:15:45,157 - DEBUG - VRF ids for VN ctest-vn-04971300: {} 2026-09-15 11:15:45,236 - DEBUG - Services list from nova: [, , ] 2026-09-15 11:15:45,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6286-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6286-1) 2026-09-15 11:15:46,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6286-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6286-1) 2026-09-15 11:15:46,000 - INFO - Waiting for VM ctest-TestBasicPolicy-78417995-19115886 to be up.. 2026-09-15 11:15:46,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:15:51,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:15:56,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:16:01,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:16:06,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:16:11,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:16:16,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:16:21,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-15 11:16:26,809 - DEBUG - VM is in ACTIVE state now 2026-09-15 11:16:26,809 - INFO - VM name : ctest-TestBasicPolicy-78417995-19115886 2026-09-15 11:16:26,895 - DEBUG - VM ctest-TestBasicPolicy-78417995-19115886 ID is 1535d605-9e38-41b2-9119-732f31697d25 2026-09-15 11:16:26,920 - DEBUG - VM ctest-TestBasicPolicy-78417995-19115886 launched on Node cn-jenkins-deploy-platform-ansible-os-6286-1 2026-09-15 11:16:27,000 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/1535d605-9e38-41b2-9119-732f31697d25 2026-09-15 11:16:27,012 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/1edb3637-e10a-4f4a-b983-a73d8ca76c48 2026-09-15 11:16:30,291 - 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 1019ms') 2026-09-15 11:16:30,292 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78417995-19115886 failed! 2026-09-15 11:16:30,349 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78417995:ctest-vn-55744188 is 54.255.255.193 and allocation pool is NOT set 2026-09-15 11:16:34,416 - 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=2 ttl=63 time=3.50 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 3.495/3.495/3.495/0.000 ms') 2026-09-15 11:16:34,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78417995-19115886 passed 2026-09-15 11:16:34,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 11:16:34,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78417995-19115886, IP 54.255.255.195, Port 22 2026-09-15 11:16:34,751 - DEBUG - VM ctest-TestBasicPolicy-78417995-19115886 is ready for SSH connections 2026-09-15 11:16:34,751 - INFO - Waiting for VM ctest-TestBasicPolicy-78417995-95338262 to be up.. 2026-09-15 11:16:34,840 - DEBUG - VM is in ACTIVE state now 2026-09-15 11:16:34,840 - INFO - VM name : ctest-TestBasicPolicy-78417995-95338262 2026-09-15 11:16:34,934 - DEBUG - VM ctest-TestBasicPolicy-78417995-95338262 ID is 0ac92bda-e230-4d64-a61c-d539b53c593b 2026-09-15 11:16:34,935 - DEBUG - VM ctest-TestBasicPolicy-78417995-95338262 launched on Node cn-jenkins-deploy-platform-ansible-os-6286-1 2026-09-15 11:16:35,026 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/0ac92bda-e230-4d64-a61c-d539b53c593b 2026-09-15 11:16:35,037 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/1d52332f-9b53-4657-a4f2-15c761bbf73c 2026-09-15 11:16:36,305 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.801 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.801/2.584/4.368/1.783 ms') 2026-09-15 11:16:36,305 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78417995-95338262 passed 2026-09-15 11:16:36,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 11:16:36,469 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78417995-95338262, IP 102.0.236.195, Port 22 2026-09-15 11:16:36,639 - DEBUG - VM ctest-TestBasicPolicy-78417995-95338262 is ready for SSH connections 2026-09-15 11:16:36,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 11:16:36,639 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.0.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-15 11:16:36,639 - DEBUG - ping -s 56 -c 3 -W 1 102.0.236.195 2026-09-15 11:16:40,790 - DEBUG - PING 102.0.236.195 (102.0.236.195): 56 data bytes 64 bytes from 102.0.236.195: seq=0 ttl=63 time=4.452 ms 64 bytes from 102.0.236.195: seq=1 ttl=63 time=1.224 ms 64 bytes from 102.0.236.195: seq=2 ttl=63 time=0.987 ms --- 102.0.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/2.221/4.452 ms 2026-09-15 11:16:40,790 - INFO - Ping to IP 102.0.236.195 from VM ctest-TestBasicPolicy-78417995-19115886 passed 2026-09-15 11:16:40,976 - DEBUG - Policy Update Response {"network-policy": {"uuid": "88f6b766-0e1d-4650-a573-51ea14f0b89d", "href": "http://10.0.0.163:8082/network-policy/88f6b766-0e1d-4650-a573-51ea14f0b89d"}} 2026-09-15 11:16:40,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-15 11:16:40,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.0.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-15 11:16:40,977 - DEBUG - ping -s 56 -c 3 -W 1 102.0.236.195 2026-09-15 11:16:44,118 - DEBUG - PING 102.0.236.195 (102.0.236.195): 56 data bytes 64 bytes from 102.0.236.195: seq=0 ttl=63 time=1.742 ms --- 102.0.236.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.742/1.742/1.742 ms 2026-09-15 11:16:44,118 - WARNING - Ping to IP 102.0.236.195 from VM ctest-TestBasicPolicy-78417995-19115886 failed 2026-09-15 11:16:44,118 - INFO - Deleting VM ctest-TestBasicPolicy-78417995-95338262 2026-09-15 11:16:44,194 - INFO - Deleting VM ctest-TestBasicPolicy-78417995-19115886 2026-09-15 11:16:44,605 - INFO - Deleted policy ctest-policy-allow-all-50071317 2026-09-15 11:16:44,605 - INFO - Deleting VN ctest-vn-04971300 2026-09-15 11:16:44,642 - DEBUG - VN 8e6e3ec4-58fb-4815-b0d8-6994684799b4 still in use: Unable to complete operation on network 8e6e3ec4-58fb-4815-b0d8-6994684799b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d404746-0e65-4582-b680-cecb44bcdfdf'] 2026-09-15 11:16:44,642 - WARNING - Deleting VN ctest-vn-04971300 failed..Will retry 2026-09-15 11:16:46,787 - DEBUG - Response for deleting network () 2026-09-15 11:16:46,787 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9973e8b2-7d85-41a8-afc4-8dea475175cd 2026-09-15 11:16:46,793 - DEBUG - Response Code: 404 2026-09-15 11:16:46,794 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:16:46,805 - DEBUG - Requesting: http://10.0.0.163:8082/domain/0678f5e7-3a63-4b53-aa60-c1f845d5d3b7 2026-09-15 11:16:46,865 - DEBUG - Requesting: http://10.0.0.163:8082/project/a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:16:46,956 - INFO - Validated that VN ctest-vn-04971300 is not found in API Server 2026-09-15 11:16:46,969 - DEBUG - VN ctest-vn-04971300 is not present in Agent 10.0.0.163 2026-09-15 11:16:46,969 - INFO - Validated that VN ctest-vn-04971300 is not in any agent 2026-09-15 11:16:46,988 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04971300 info 2026-09-15 11:16:46,989 - INFO - Deleting VN ctest-vn-55744188 2026-09-15 11:16:47,138 - DEBUG - Response for deleting network () 2026-09-15 11:16:47,138 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8aed9d6b-a729-4caf-8323-c6a09df5e534 2026-09-15 11:16:47,149 - DEBUG - Response Code: 404 2026-09-15 11:16:47,149 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-15 11:16:47,156 - DEBUG - Requesting: http://10.0.0.163:8082/domain/0678f5e7-3a63-4b53-aa60-c1f845d5d3b7 2026-09-15 11:16:47,211 - DEBUG - Requesting: http://10.0.0.163:8082/project/a1672241-4300-4a7f-ab32-d46a73e8f73f 2026-09-15 11:16:47,292 - INFO - Validated that VN ctest-vn-55744188 is not found in API Server 2026-09-15 11:16:47,306 - DEBUG - VN ctest-vn-55744188 is not present in Agent 10.0.0.163 2026-09-15 11:16:47,306 - INFO - Validated that VN ctest-vn-55744188 is not in any agent 2026-09-15 11:16:47,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55744188 info 2026-09-15 11:16:47,603 - DEBUG - No XMPP flaps were noticed during the test
2026-09-15 11:16:47,603 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-09-15 11:16:47,603 - INFO - -------------------------------------------------------------------------------- 2026-09-15 11:16:48,421 - INFO - Deleted project: ctest-TestBasicPolicy-78417995, ID : a1672241-4300-4a7f-ab32-d46a73e8f73f