2026-04-06 02:03:58,186 - INFO - Domain Default found not creating 2026-04-06 02:03:58,335 - INFO - Project ctest-TestBasicPolicy-40598535 not found, creating it 2026-04-06 02:03:58,764 - INFO - Created Project:ctest-TestBasicPolicy-40598535, ID : c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:00,180 - INFO - ================================================================================ 2026-04-06 02:04:00,180 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-06 02:04:00,180 - 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-04-06 02:04:00,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2026-04-06 02:04:00,443 - INFO - Initial checks done. Running the testcase now 2026-04-06 02:04:00,443 - INFO - 2026-04-06 02:04:00,985 - DEBUG - Response for create_network : {'network': {'id': '658d7233-0a7e-4ae3-8efc-5568af925455', 'name': 'ctest-vn-04954495', 'tenant_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'project_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-vn-04954495'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:04:01,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b36ff06e-df9f-4e4b-8c40-107b48741721', 'name': '', 'tenant_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'network_id': '658d7233-0a7e-4ae3-8efc-5568af925455', 'ip_version': 4, 'cidr': '147.16.110.0/26', 'allocation_pools': [{'start': '147.16.110.2', 'end': '147.16.110.62'}], 'gateway_ip': '147.16.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.16.110.2', 'tags': [], 'project_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a'}} 2026-04-06 02:04:01,165 - INFO - Created VN ctest-vn-04954495 2026-04-06 02:04:01,221 - DEBUG - VN ctest-vn-04954495 UUID is 658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:01,537 - DEBUG - Response for create_network : {'network': {'id': '2b3e2b65-da4f-40fc-9abd-998a84c570ed', 'name': 'ctest-vn-40942687', 'tenant_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'project_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-vn-40942687'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:04:01,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aca4471-afdf-44f0-b09f-ba7cc267cd7d', 'name': '', 'tenant_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'network_id': '2b3e2b65-da4f-40fc-9abd-998a84c570ed', 'ip_version': 4, 'cidr': '66.142.171.0/26', 'allocation_pools': [{'start': '66.142.171.2', 'end': '66.142.171.62'}], 'gateway_ip': '66.142.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.142.171.2', 'tags': [], 'project_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a'}} 2026-04-06 02:04:01,758 - INFO - Created VN ctest-vn-40942687 2026-04-06 02:04:01,809 - DEBUG - VN ctest-vn-40942687 UUID is 2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:01,961 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495, 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-40598535:ctest-vn-40942687, 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-04-06 02:04:02,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '658d7233-0a7e-4ae3-8efc-5568af925455', 'name': 'ctest-vn-04954495', 'tenant_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'project_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b36ff06e-df9f-4e4b-8c40-107b48741721'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-vn-04954495'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-policy-allow-all-01760101']], 'subnet_ipam': [{'subnet_cidr': '147.16.110.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:04:02,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b3e2b65-da4f-40fc-9abd-998a84c570ed', 'name': 'ctest-vn-40942687', 'tenant_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'project_id': 'c11cc8d4e8b640f7a95bd30ef0e58c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8aca4471-afdf-44f0-b09f-ba7cc267cd7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-vn-40942687'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-policy-allow-all-01760101']], 'subnet_ipam': [{'subnet_cidr': '66.142.171.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:04:02,665 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:02,964 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:02,993 - DEBUG - Requesting: http://10.0.0.130:8082/domain/67cebe42-d453-484f-b0c8-017deef30ab7 2026-04-06 02:04:03,003 - DEBUG - Requesting: http://10.0.0.130:8082/project/c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:03,103 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:03,144 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:03,154 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c82b5e2e-fb7a-4c9c-94d8-20a89c5610fd 2026-04-06 02:04:03,169 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c82b5e2e-fb7a-4c9c-94d8-20a89c5610fd 2026-04-06 02:04:03,177 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fac7026b-d12e-4ca4-8647-ba3e72d70639 2026-04-06 02:04:03,204 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 02:04:03,204 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:03,215 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c82b5e2e-fb7a-4c9c-94d8-20a89c5610fd 2026-04-06 02:04:03,228 - INFO - Verified VN network id 12 for VN 658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:03,228 - INFO - Verifications in API Server for VN ctest-vn-04954495 passed 2026-04-06 02:04:03,228 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:03,236 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c82b5e2e-fb7a-4c9c-94d8-20a89c5610fd 2026-04-06 02:04:03,247 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c82b5e2e-fb7a-4c9c-94d8-20a89c5610fd 2026-04-06 02:04:03,260 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fac7026b-d12e-4ca4-8647-ba3e72d70639 2026-04-06 02:04:03,271 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40598535', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7317630533091871459', 'uuid-lslong': '10303203955627414613'}, 'enable': 'true', 'created': '2026-04-06T02:04:00', 'last-modified': '2026-04-06T02:04:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037915'} 2026-04-06 02:04:03,278 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 02:04:03,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04954495 passed 2026-04-06 02:04:03,279 - DEBUG - ====Verifying policy data for ctest-vn-04954495 in API_Server ====== 2026-04-06 02:04:03,279 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:03,288 - DEBUG - Requesting: http://10.0.0.130:8082/domain/67cebe42-d453-484f-b0c8-017deef30ab7 2026-04-06 02:04:03,306 - DEBUG - Requesting: http://10.0.0.130:8082/project/c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:03,408 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/658d7233-0a7e-4ae3-8efc-5568af925455 2026-04-06 02:04:03,421 - DEBUG - ==>Verifying data for policy with id: 68ee9495-25ed-47a7-887e-75cca9d11520, fqn: ['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-policy-allow-all-01760101'] 2026-04-06 02:04:03,421 - INFO - VN ctest-vn-04954495 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 02:04:03,421 - DEBUG - Verifying the vn in opserver 2026-04-06 02:04:03,421 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495 virtual network link through opserver 10.0.0.130 2026-04-06 02:04:03,422 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-06 02:04:03,736 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-06 02:04:03,795 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495?flat'} 2026-04-06 02:04:03,795 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495 is found in opserver 2026-04-06 02:04:03,804 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 02:04:03,808 - DEBUG - VRF ids for VN ctest-vn-04954495: {} 2026-04-06 02:04:03,808 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:03,813 - DEBUG - Requesting: http://10.0.0.130:8082/domain/67cebe42-d453-484f-b0c8-017deef30ab7 2026-04-06 02:04:03,823 - DEBUG - Requesting: http://10.0.0.130:8082/project/c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:03,896 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:03,911 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:03,924 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/0ce036d0-200c-497e-bf8b-adc9ac84e9d2 2026-04-06 02:04:03,930 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/0ce036d0-200c-497e-bf8b-adc9ac84e9d2 2026-04-06 02:04:03,936 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/22d9d4e7-231c-4ef3-9c85-79119e5a229f 2026-04-06 02:04:03,944 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-06 02:04:03,944 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:03,952 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/0ce036d0-200c-497e-bf8b-adc9ac84e9d2 2026-04-06 02:04:03,964 - INFO - Verified VN network id 13 for VN 2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:03,964 - INFO - Verifications in API Server for VN ctest-vn-40942687 passed 2026-04-06 02:04:03,964 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:03,973 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/0ce036d0-200c-497e-bf8b-adc9ac84e9d2 2026-04-06 02:04:03,980 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/0ce036d0-200c-497e-bf8b-adc9ac84e9d2 2026-04-06 02:04:03,987 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/22d9d4e7-231c-4ef3-9c85-79119e5a229f 2026-04-06 02:04:03,999 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-40942687', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40598535', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3115975708641280252', 'uuid-lslong': '11150237072651284717'}, 'enable': 'true', 'created': '2026-04-06T02:04:01', 'last-modified': '2026-04-06T02:04:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.548652'} 2026-04-06 02:04:04,004 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-06 02:04:04,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40942687 passed 2026-04-06 02:04:04,004 - DEBUG - ====Verifying policy data for ctest-vn-40942687 in API_Server ====== 2026-04-06 02:04:04,005 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:04,010 - DEBUG - Requesting: http://10.0.0.130:8082/domain/67cebe42-d453-484f-b0c8-017deef30ab7 2026-04-06 02:04:04,020 - DEBUG - Requesting: http://10.0.0.130:8082/project/c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:04,091 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2b3e2b65-da4f-40fc-9abd-998a84c570ed 2026-04-06 02:04:04,099 - DEBUG - ==>Verifying data for policy with id: 68ee9495-25ed-47a7-887e-75cca9d11520, fqn: ['default-domain', 'ctest-TestBasicPolicy-40598535', 'ctest-policy-allow-all-01760101'] 2026-04-06 02:04:04,099 - INFO - VN ctest-vn-40942687 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 02:04:04,099 - DEBUG - Verifying the vn in opserver 2026-04-06 02:04:04,099 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-40942687 virtual network link through opserver 10.0.0.130 2026-04-06 02:04:04,099 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-06 02:04:04,108 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-40942687', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-40942687?flat'} 2026-04-06 02:04:04,108 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-40942687 is found in opserver 2026-04-06 02:04:04,117 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 02:04:04,121 - DEBUG - VRF ids for VN ctest-vn-40942687: {} 2026-04-06 02:04:04,173 - DEBUG - Services list from nova: [, , ] 2026-04-06 02:04:05,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5593-1) 2026-04-06 02:04:06,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5593-1) 2026-04-06 02:04:06,264 - INFO - Waiting for VM ctest-TestBasicPolicy-40598535-78031066 to be up.. 2026-04-06 02:04:06,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-06 02:04:11,424 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:04:11,424 - INFO - VM name : ctest-TestBasicPolicy-40598535-78031066 2026-04-06 02:04:11,504 - DEBUG - VM ctest-TestBasicPolicy-40598535-78031066 ID is cee6e130-072e-43bb-bc78-10f0ef2c9368 2026-04-06 02:04:11,524 - DEBUG - VM ctest-TestBasicPolicy-40598535-78031066 launched on Node cn-jenkins-deploy-platform-ansible-os-5593-1 2026-04-06 02:04:11,594 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cee6e130-072e-43bb-bc78-10f0ef2c9368 2026-04-06 02:04:11,607 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8e024ff7-763b-4ab5-b518-bad3a1017285 2026-04-06 02:04:14,838 - 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 1003ms') 2026-04-06 02:04:14,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40598535-78031066 failed! 2026-04-06 02:04:14,893 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40598535:ctest-vn-04954495 is 147.16.110.1 and allocation pool is NOT set 2026-04-06 02:04:16,951 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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.111/2.797/4.483/1.686 ms') 2026-04-06 02:04:16,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40598535-78031066 passed 2026-04-06 02:04:17,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:04:17,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40598535-78031066, IP 147.16.110.3, Port 22 2026-04-06 02:04:17,253 - DEBUG - VM ctest-TestBasicPolicy-40598535-78031066 is ready for SSH connections 2026-04-06 02:04:17,253 - INFO - Waiting for VM ctest-TestBasicPolicy-40598535-93314954 to be up.. 2026-04-06 02:04:17,334 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:04:17,334 - INFO - VM name : ctest-TestBasicPolicy-40598535-93314954 2026-04-06 02:04:17,406 - DEBUG - VM ctest-TestBasicPolicy-40598535-93314954 ID is 1e409288-803f-498f-9120-868209c89f63 2026-04-06 02:04:17,407 - DEBUG - VM ctest-TestBasicPolicy-40598535-93314954 launched on Node cn-jenkins-deploy-platform-ansible-os-5593-1 2026-04-06 02:04:17,473 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/1e409288-803f-498f-9120-868209c89f63 2026-04-06 02:04:17,480 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ac3fbd52-8b57-45c2-a34b-381517a7906c 2026-04-06 02:04:18,717 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.831 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.831/2.367/3.904/1.536 ms') 2026-04-06 02:04:18,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40598535-93314954 passed 2026-04-06 02:04:18,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:04:18,865 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40598535-93314954, IP 66.142.171.3, Port 22 2026-04-06 02:04:19,021 - DEBUG - VM ctest-TestBasicPolicy-40598535-93314954 is ready for SSH connections 2026-04-06 02:04:19,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:04:19,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.142.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-06 02:04:19,021 - DEBUG - ping -s 56 -c 3 -W 1 66.142.171.3 2026-04-06 02:04:23,015 - DEBUG - PING 66.142.171.3 (66.142.171.3): 56 data bytes 64 bytes from 66.142.171.3: seq=0 ttl=63 time=3.916 ms 64 bytes from 66.142.171.3: seq=1 ttl=63 time=0.864 ms 64 bytes from 66.142.171.3: seq=2 ttl=63 time=1.104 ms --- 66.142.171.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.961/3.916 ms 2026-04-06 02:04:23,015 - INFO - Ping to IP 66.142.171.3 from VM ctest-TestBasicPolicy-40598535-78031066 passed 2026-04-06 02:04:23,209 - DEBUG - Policy Update Response {"network-policy": {"uuid": "68ee9495-25ed-47a7-887e-75cca9d11520", "href": "http://10.0.0.130:8082/network-policy/68ee9495-25ed-47a7-887e-75cca9d11520"}} 2026-04-06 02:04:23,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:04:23,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.142.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-06 02:04:23,209 - DEBUG - ping -s 56 -c 3 -W 1 66.142.171.3 2026-04-06 02:04:26,409 - DEBUG - PING 66.142.171.3 (66.142.171.3): 56 data bytes --- 66.142.171.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-06 02:04:26,409 - WARNING - Ping to IP 66.142.171.3 from VM ctest-TestBasicPolicy-40598535-78031066 failed 2026-04-06 02:04:26,409 - INFO - Deleting VM ctest-TestBasicPolicy-40598535-93314954 2026-04-06 02:04:26,471 - INFO - Deleting VM ctest-TestBasicPolicy-40598535-78031066 2026-04-06 02:04:26,814 - INFO - Deleted policy ctest-policy-allow-all-01760101 2026-04-06 02:04:26,814 - INFO - Deleting VN ctest-vn-40942687 2026-04-06 02:04:26,848 - DEBUG - VN 2b3e2b65-da4f-40fc-9abd-998a84c570ed still in use: Unable to complete operation on network 2b3e2b65-da4f-40fc-9abd-998a84c570ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c19df5c4-f54a-4943-a62b-35442e200016'] 2026-04-06 02:04:26,848 - WARNING - Deleting VN ctest-vn-40942687 failed..Will retry 2026-04-06 02:04:28,959 - DEBUG - Response for deleting network () 2026-04-06 02:04:28,959 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/0ce036d0-200c-497e-bf8b-adc9ac84e9d2 2026-04-06 02:04:28,965 - DEBUG - Response Code: 404 2026-04-06 02:04:28,965 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:28,971 - DEBUG - Requesting: http://10.0.0.130:8082/domain/67cebe42-d453-484f-b0c8-017deef30ab7 2026-04-06 02:04:29,021 - DEBUG - Requesting: http://10.0.0.130:8082/project/c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:29,090 - INFO - Validated that VN ctest-vn-40942687 is not found in API Server 2026-04-06 02:04:29,099 - DEBUG - VN ctest-vn-40942687 is not present in Agent 10.0.0.130 2026-04-06 02:04:29,099 - INFO - Validated that VN ctest-vn-40942687 is not in any agent 2026-04-06 02:04:29,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40942687 info 2026-04-06 02:04:29,111 - INFO - Deleting VN ctest-vn-04954495 2026-04-06 02:04:29,199 - DEBUG - Response for deleting network () 2026-04-06 02:04:29,200 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c82b5e2e-fb7a-4c9c-94d8-20a89c5610fd 2026-04-06 02:04:29,208 - DEBUG - Response Code: 404 2026-04-06 02:04:29,208 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-06 02:04:29,213 - DEBUG - Requesting: http://10.0.0.130:8082/domain/67cebe42-d453-484f-b0c8-017deef30ab7 2026-04-06 02:04:29,266 - DEBUG - Requesting: http://10.0.0.130:8082/project/c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a 2026-04-06 02:04:29,338 - INFO - Validated that VN ctest-vn-04954495 is not found in API Server 2026-04-06 02:04:29,346 - DEBUG - VN ctest-vn-04954495 is not present in Agent 10.0.0.130 2026-04-06 02:04:29,346 - INFO - Validated that VN ctest-vn-04954495 is not in any agent 2026-04-06 02:04:29,359 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04954495 info 2026-04-06 02:04:29,621 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 02:04:29,621 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-06 02:04:29,621 - INFO - -------------------------------------------------------------------------------- 2026-04-06 02:04:30,293 - INFO - Deleted project: ctest-TestBasicPolicy-40598535, ID : c11cc8d4-e8b6-40f7-a95b-d30ef0e58c1a