2026-03-24 14:38:57,772 - INFO - Domain Default found not creating 2026-03-24 14:38:57,936 - INFO - Project ctest-TestBasicPolicy-52005541 not found, creating it 2026-03-24 14:38:58,429 - INFO - Created Project:ctest-TestBasicPolicy-52005541, ID : 2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:38:59,936 - INFO - ================================================================================ 2026-03-24 14:38:59,936 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-24 14:38:59,936 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-03-24 14:39:00,193 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-03-24 14:39:00,193 - INFO - Initial checks done. Running the testcase now 2026-03-24 14:39:00,193 - INFO - 2026-03-24 14:39:00,722 - DEBUG - Response for create_network : {'network': {'id': 'fcb4174e-5e4f-4b8c-924b-007c3829f0be', 'name': 'ctest-vn-81262821', 'tenant_id': '2956b0db1d004096a059fbad37f43eda', 'project_id': '2956b0db1d004096a059fbad37f43eda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-vn-81262821'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 14:39:00,925 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3e7d9a0-b7a4-46a3-a0dc-9b3aeb00e36a', 'name': '', 'tenant_id': '2956b0db1d004096a059fbad37f43eda', 'network_id': 'fcb4174e-5e4f-4b8c-924b-007c3829f0be', 'ip_version': 4, 'cidr': '103.219.46.192/26', 'allocation_pools': [{'start': '103.219.46.194', 'end': '103.219.46.254'}], 'gateway_ip': '103.219.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.219.46.194', 'tags': [], 'project_id': '2956b0db1d004096a059fbad37f43eda'}} 2026-03-24 14:39:00,941 - INFO - Created VN ctest-vn-81262821 2026-03-24 14:39:00,990 - DEBUG - VN ctest-vn-81262821 UUID is fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:01,295 - DEBUG - Response for create_network : {'network': {'id': '14efae18-6f6f-4aa5-b066-3755b34dc1d4', 'name': 'ctest-vn-16798556', 'tenant_id': '2956b0db1d004096a059fbad37f43eda', 'project_id': '2956b0db1d004096a059fbad37f43eda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-vn-16798556'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 14:39:01,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '18f8c496-d19a-4a1e-82ac-c75a2d39d348', 'name': '', 'tenant_id': '2956b0db1d004096a059fbad37f43eda', 'network_id': '14efae18-6f6f-4aa5-b066-3755b34dc1d4', 'ip_version': 4, 'cidr': '149.168.241.64/26', 'allocation_pools': [{'start': '149.168.241.66', 'end': '149.168.241.126'}], 'gateway_ip': '149.168.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.168.241.66', 'tags': [], 'project_id': '2956b0db1d004096a059fbad37f43eda'}} 2026-03-24 14:39:01,467 - INFO - Created VN ctest-vn-16798556 2026-03-24 14:39:01,518 - DEBUG - VN ctest-vn-16798556 UUID is 14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:01,666 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821, 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-52005541:ctest-vn-16798556, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-03-24 14:39:01,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcb4174e-5e4f-4b8c-924b-007c3829f0be', 'name': 'ctest-vn-81262821', 'tenant_id': '2956b0db1d004096a059fbad37f43eda', 'project_id': '2956b0db1d004096a059fbad37f43eda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3e7d9a0-b7a4-46a3-a0dc-9b3aeb00e36a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-vn-81262821'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-policy-allow-all-05872319']], 'subnet_ipam': [{'subnet_cidr': '103.219.46.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 14:39:02,171 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14efae18-6f6f-4aa5-b066-3755b34dc1d4', 'name': 'ctest-vn-16798556', 'tenant_id': '2956b0db1d004096a059fbad37f43eda', 'project_id': '2956b0db1d004096a059fbad37f43eda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18f8c496-d19a-4a1e-82ac-c75a2d39d348'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-vn-16798556'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-policy-allow-all-05872319']], 'subnet_ipam': [{'subnet_cidr': '149.168.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 14:39:02,330 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:02,625 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:02,654 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a8453274-36c8-4c17-b371-2378d7f97245 2026-03-24 14:39:02,666 - DEBUG - Requesting: http://10.0.0.22:8082/project/2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:39:02,738 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:02,747 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:02,754 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8e4b73fe-1666-4ad2-9377-2c00e65da7d9 2026-03-24 14:39:02,760 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8e4b73fe-1666-4ad2-9377-2c00e65da7d9 2026-03-24 14:39:02,765 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0dc4e2ac-6811-4a11-b0af-c7322e7c9945 2026-03-24 14:39:02,769 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 14:39:02,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:02,777 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8e4b73fe-1666-4ad2-9377-2c00e65da7d9 2026-03-24 14:39:02,788 - INFO - Verified VN network id 10 for VN fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:02,788 - INFO - Verifications in API Server for VN ctest-vn-81262821 passed 2026-03-24 14:39:02,788 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:02,797 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8e4b73fe-1666-4ad2-9377-2c00e65da7d9 2026-03-24 14:39:02,803 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8e4b73fe-1666-4ad2-9377-2c00e65da7d9 2026-03-24 14:39:02,810 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0dc4e2ac-6811-4a11-b0af-c7322e7c9945 2026-03-24 14:39:02,820 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52005541', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18209204818722900876', 'uuid-lslong': '10541519886308995262'}, 'enable': 'true', 'created': '2026-03-24T14:39:00', 'last-modified': '2026-03-24T14:39:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887570'} 2026-03-24 14:39:02,825 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 14:39:02,825 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81262821 passed 2026-03-24 14:39:02,826 - DEBUG - ====Verifying policy data for ctest-vn-81262821 in API_Server ====== 2026-03-24 14:39:02,826 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:02,830 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a8453274-36c8-4c17-b371-2378d7f97245 2026-03-24 14:39:02,840 - DEBUG - Requesting: http://10.0.0.22:8082/project/2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:39:02,912 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fcb4174e-5e4f-4b8c-924b-007c3829f0be 2026-03-24 14:39:02,921 - DEBUG - ==>Verifying data for policy with id: 89274b47-a80e-42cb-b45c-70c00626e356, fqn: ['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-policy-allow-all-05872319'] 2026-03-24 14:39:02,921 - INFO - VN ctest-vn-81262821 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 14:39:02,921 - DEBUG - Verifying the vn in opserver 2026-03-24 14:39:02,921 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821 virtual network link through opserver 10.0.0.22 2026-03-24 14:39:02,921 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-24 14:39:03,220 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-24 14:39:03,285 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821?flat'} 2026-03-24 14:39:03,285 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821 is found in opserver 2026-03-24 14:39:03,295 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 14:39:03,301 - DEBUG - VRF ids for VN ctest-vn-81262821: {} 2026-03-24 14:39:03,301 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:03,306 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a8453274-36c8-4c17-b371-2378d7f97245 2026-03-24 14:39:03,317 - DEBUG - Requesting: http://10.0.0.22:8082/project/2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:39:03,386 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:03,396 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:03,406 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13889934-5a52-4ec3-9dfb-9341d56ffb2f 2026-03-24 14:39:03,412 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13889934-5a52-4ec3-9dfb-9341d56ffb2f 2026-03-24 14:39:03,419 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/08eab082-ce5d-4025-b056-561429eb6677 2026-03-24 14:39:03,427 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 14:39:03,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:03,437 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13889934-5a52-4ec3-9dfb-9341d56ffb2f 2026-03-24 14:39:03,450 - INFO - Verified VN network id 11 for VN 14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:03,450 - INFO - Verifications in API Server for VN ctest-vn-16798556 passed 2026-03-24 14:39:03,450 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:03,458 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13889934-5a52-4ec3-9dfb-9341d56ffb2f 2026-03-24 14:39:03,465 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13889934-5a52-4ec3-9dfb-9341d56ffb2f 2026-03-24 14:39:03,471 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/08eab082-ce5d-4025-b056-561429eb6677 2026-03-24 14:39:03,480 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-16798556', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52005541', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1508615820164418213', 'uuid-lslong': '12710907839519769044'}, 'enable': 'true', 'created': '2026-03-24T14:39:01', 'last-modified': '2026-03-24T14:39:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328329'} 2026-03-24 14:39:03,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 14:39:03,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16798556 passed 2026-03-24 14:39:03,487 - DEBUG - ====Verifying policy data for ctest-vn-16798556 in API_Server ====== 2026-03-24 14:39:03,487 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:03,494 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a8453274-36c8-4c17-b371-2378d7f97245 2026-03-24 14:39:03,504 - DEBUG - Requesting: http://10.0.0.22:8082/project/2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:39:03,581 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/14efae18-6f6f-4aa5-b066-3755b34dc1d4 2026-03-24 14:39:03,595 - DEBUG - ==>Verifying data for policy with id: 89274b47-a80e-42cb-b45c-70c00626e356, fqn: ['default-domain', 'ctest-TestBasicPolicy-52005541', 'ctest-policy-allow-all-05872319'] 2026-03-24 14:39:03,595 - INFO - VN ctest-vn-16798556 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 14:39:03,595 - DEBUG - Verifying the vn in opserver 2026-03-24 14:39:03,595 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-16798556 virtual network link through opserver 10.0.0.22 2026-03-24 14:39:03,595 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-24 14:39:03,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-16798556', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-16798556?flat'} 2026-03-24 14:39:03,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-16798556 is found in opserver 2026-03-24 14:39:03,623 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 14:39:03,628 - DEBUG - VRF ids for VN ctest-vn-16798556: {} 2026-03-24 14:39:03,686 - DEBUG - Services list from nova: [, , ] 2026-03-24 14:39:04,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5532-1) 2026-03-24 14:39:05,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5532-1) 2026-03-24 14:39:05,904 - INFO - Waiting for VM ctest-TestBasicPolicy-52005541-32427299 to be up.. 2026-03-24 14:39:05,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 14:39:11,073 - DEBUG - VM is in ACTIVE state now 2026-03-24 14:39:11,073 - INFO - VM name : ctest-TestBasicPolicy-52005541-32427299 2026-03-24 14:39:11,166 - DEBUG - VM ctest-TestBasicPolicy-52005541-32427299 ID is 2ca6793c-5aff-4594-b4a4-d304220e1e84 2026-03-24 14:39:11,185 - DEBUG - VM ctest-TestBasicPolicy-52005541-32427299 launched on Node cn-jenkins-deploy-platform-ansible-os-5532-1 2026-03-24 14:39:11,259 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2ca6793c-5aff-4594-b4a4-d304220e1e84 2026-03-24 14:39:11,268 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1bf61488-5066-475c-bc99-013be6d8fb22 2026-03-24 14:39:14,531 - 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 1024ms') 2026-03-24 14:39:14,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52005541-32427299 failed! 2026-03-24 14:39:14,586 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52005541:ctest-vn-81262821 is 103.219.46.193 and allocation pool is NOT set 2026-03-24 14:39:16,652 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.609 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.609/1.779/2.949/1.170 ms') 2026-03-24 14:39:16,653 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52005541-32427299 passed 2026-03-24 14:39:16,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 14:39:16,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52005541-32427299, IP 103.219.46.195, Port 22 2026-03-24 14:39:16,957 - DEBUG - VM ctest-TestBasicPolicy-52005541-32427299 is ready for SSH connections 2026-03-24 14:39:16,957 - INFO - Waiting for VM ctest-TestBasicPolicy-52005541-42191003 to be up.. 2026-03-24 14:39:17,025 - DEBUG - VM is in ACTIVE state now 2026-03-24 14:39:17,026 - INFO - VM name : ctest-TestBasicPolicy-52005541-42191003 2026-03-24 14:39:17,095 - DEBUG - VM ctest-TestBasicPolicy-52005541-42191003 ID is fcb448c6-9d13-4557-9d8f-0354f3ae094a 2026-03-24 14:39:17,095 - DEBUG - VM ctest-TestBasicPolicy-52005541-42191003 launched on Node cn-jenkins-deploy-platform-ansible-os-5532-1 2026-03-24 14:39:17,165 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fcb448c6-9d13-4557-9d8f-0354f3ae094a 2026-03-24 14:39:17,172 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bc9dc102-172b-4f19-bc5f-88005f238eff 2026-03-24 14:39:18,410 - 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=5.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.890 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.890/3.023/5.156/2.133 ms') 2026-03-24 14:39:18,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52005541-42191003 passed 2026-03-24 14:39:18,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 14:39:18,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52005541-42191003, IP 149.168.241.67, Port 22 2026-03-24 14:39:18,714 - DEBUG - VM ctest-TestBasicPolicy-52005541-42191003 is ready for SSH connections 2026-03-24 14:39:18,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 14:39:18,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.168.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-24 14:39:18,715 - DEBUG - ping -s 56 -c 3 -W 1 149.168.241.67 2026-03-24 14:39:22,735 - DEBUG - PING 149.168.241.67 (149.168.241.67): 56 data bytes 64 bytes from 149.168.241.67: seq=0 ttl=63 time=4.567 ms 64 bytes from 149.168.241.67: seq=1 ttl=63 time=0.994 ms 64 bytes from 149.168.241.67: seq=2 ttl=63 time=2.360 ms --- 149.168.241.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.994/2.640/4.567 ms 2026-03-24 14:39:22,735 - INFO - Ping to IP 149.168.241.67 from VM ctest-TestBasicPolicy-52005541-32427299 passed 2026-03-24 14:39:22,902 - DEBUG - Policy Update Response {"network-policy": {"uuid": "89274b47-a80e-42cb-b45c-70c00626e356", "href": "http://10.0.0.22:8082/network-policy/89274b47-a80e-42cb-b45c-70c00626e356"}} 2026-03-24 14:39:22,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 14:39:22,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.168.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-24 14:39:22,903 - DEBUG - ping -s 56 -c 3 -W 1 149.168.241.67 2026-03-24 14:39:26,107 - DEBUG - PING 149.168.241.67 (149.168.241.67): 56 data bytes --- 149.168.241.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 14:39:26,107 - WARNING - Ping to IP 149.168.241.67 from VM ctest-TestBasicPolicy-52005541-32427299 failed 2026-03-24 14:39:26,107 - INFO - Deleting VM ctest-TestBasicPolicy-52005541-42191003 2026-03-24 14:39:26,210 - INFO - Deleting VM ctest-TestBasicPolicy-52005541-32427299 2026-03-24 14:39:26,609 - INFO - Deleted policy ctest-policy-allow-all-05872319 2026-03-24 14:39:26,609 - INFO - Deleting VN ctest-vn-16798556 2026-03-24 14:39:26,663 - DEBUG - VN 14efae18-6f6f-4aa5-b066-3755b34dc1d4 still in use: Unable to complete operation on network 14efae18-6f6f-4aa5-b066-3755b34dc1d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d86665e-bf46-4821-81bc-313dfb29f8b0'] 2026-03-24 14:39:26,663 - WARNING - Deleting VN ctest-vn-16798556 failed..Will retry 2026-03-24 14:39:28,760 - DEBUG - Response for deleting network () 2026-03-24 14:39:28,760 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13889934-5a52-4ec3-9dfb-9341d56ffb2f 2026-03-24 14:39:28,766 - DEBUG - Response Code: 404 2026-03-24 14:39:28,766 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:28,771 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a8453274-36c8-4c17-b371-2378d7f97245 2026-03-24 14:39:28,823 - DEBUG - Requesting: http://10.0.0.22:8082/project/2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:39:28,897 - INFO - Validated that VN ctest-vn-16798556 is not found in API Server 2026-03-24 14:39:28,907 - DEBUG - VN ctest-vn-16798556 is not present in Agent 10.0.0.22 2026-03-24 14:39:28,907 - INFO - Validated that VN ctest-vn-16798556 is not in any agent 2026-03-24 14:39:28,919 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16798556 info 2026-03-24 14:39:28,919 - INFO - Deleting VN ctest-vn-81262821 2026-03-24 14:39:29,022 - DEBUG - Response for deleting network () 2026-03-24 14:39:29,023 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8e4b73fe-1666-4ad2-9377-2c00e65da7d9 2026-03-24 14:39:29,030 - DEBUG - Response Code: 404 2026-03-24 14:39:29,030 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-24 14:39:29,035 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a8453274-36c8-4c17-b371-2378d7f97245 2026-03-24 14:39:29,087 - DEBUG - Requesting: http://10.0.0.22:8082/project/2956b0db-1d00-4096-a059-fbad37f43eda 2026-03-24 14:39:29,160 - INFO - Validated that VN ctest-vn-81262821 is not found in API Server 2026-03-24 14:39:29,169 - DEBUG - VN ctest-vn-81262821 is not present in Agent 10.0.0.22 2026-03-24 14:39:29,169 - INFO - Validated that VN ctest-vn-81262821 is not in any agent 2026-03-24 14:39:29,181 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81262821 info 2026-03-24 14:39:29,435 - DEBUG - No XMPP flaps were noticed during the test
2026-03-24 14:39:29,435 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-24 14:39:29,435 - INFO - -------------------------------------------------------------------------------- 2026-03-24 14:39:30,116 - INFO - Deleted project: ctest-TestBasicPolicy-52005541, ID : 2956b0db-1d00-4096-a059-fbad37f43eda