2026-01-15 12:09:40,840 - INFO - Domain Default found not creating 2026-01-15 12:09:41,013 - INFO - Project ctest-TestBasicPolicy-74653500 not found, creating it 2026-01-15 12:09:41,470 - INFO - Created Project:ctest-TestBasicPolicy-74653500, ID : 14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:09:42,968 - INFO - ================================================================================ 2026-01-15 12:09:42,968 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-15 12:09:42,969 - 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-01-15 12:09:43,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-15 12:09:43,233 - INFO - Initial checks done. Running the testcase now 2026-01-15 12:09:43,233 - INFO - 2026-01-15 12:09:43,776 - DEBUG - Response for create_network : {'network': {'id': 'b79bfdc9-df8a-41f9-b97f-580236e08c46', 'name': 'ctest-vn-08290744', 'tenant_id': '1406580336564257bfba3a697371f4c1', 'project_id': '1406580336564257bfba3a697371f4c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-vn-08290744'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 12:09:43,978 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbefbcdf-7bbe-49a0-8b59-c4ad45639b93', 'name': '', 'tenant_id': '1406580336564257bfba3a697371f4c1', 'network_id': 'b79bfdc9-df8a-41f9-b97f-580236e08c46', 'ip_version': 4, 'cidr': '196.244.159.0/26', 'allocation_pools': [{'start': '196.244.159.2', 'end': '196.244.159.62'}], 'gateway_ip': '196.244.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.244.159.2', 'tags': [], 'project_id': '1406580336564257bfba3a697371f4c1'}} 2026-01-15 12:09:43,999 - INFO - Created VN ctest-vn-08290744 2026-01-15 12:09:44,062 - DEBUG - VN ctest-vn-08290744 UUID is b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:44,349 - DEBUG - Response for create_network : {'network': {'id': '7cec3c56-d703-4dd5-b501-7df8427eb6a5', 'name': 'ctest-vn-64475643', 'tenant_id': '1406580336564257bfba3a697371f4c1', 'project_id': '1406580336564257bfba3a697371f4c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-vn-64475643'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 12:09:44,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '21249199-0bff-4990-aaaf-d1e060a4d2a5', 'name': '', 'tenant_id': '1406580336564257bfba3a697371f4c1', 'network_id': '7cec3c56-d703-4dd5-b501-7df8427eb6a5', 'ip_version': 4, 'cidr': '192.151.109.192/26', 'allocation_pools': [{'start': '192.151.109.194', 'end': '192.151.109.254'}], 'gateway_ip': '192.151.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.151.109.194', 'tags': [], 'project_id': '1406580336564257bfba3a697371f4c1'}} 2026-01-15 12:09:44,544 - INFO - Created VN ctest-vn-64475643 2026-01-15 12:09:44,594 - DEBUG - VN ctest-vn-64475643 UUID is 7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:44,746 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744, 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-74653500:ctest-vn-64475643, 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-01-15 12:09:45,044 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b79bfdc9-df8a-41f9-b97f-580236e08c46', 'name': 'ctest-vn-08290744', 'tenant_id': '1406580336564257bfba3a697371f4c1', 'project_id': '1406580336564257bfba3a697371f4c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dbefbcdf-7bbe-49a0-8b59-c4ad45639b93'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-vn-08290744'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-policy-allow-all-59904270']], 'subnet_ipam': [{'subnet_cidr': '196.244.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 12:09:45,283 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cec3c56-d703-4dd5-b501-7df8427eb6a5', 'name': 'ctest-vn-64475643', 'tenant_id': '1406580336564257bfba3a697371f4c1', 'project_id': '1406580336564257bfba3a697371f4c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21249199-0bff-4990-aaaf-d1e060a4d2a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-vn-64475643'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-policy-allow-all-59904270']], 'subnet_ipam': [{'subnet_cidr': '192.151.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 12:09:45,454 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:09:45,756 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:09:45,789 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5c5216-b47f-4fb7-b77d-37287e745205 2026-01-15 12:09:45,802 - DEBUG - Requesting: http://10.0.0.50:8082/project/14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:09:45,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:45,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:45,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7cfd704a-fab4-4cb8-a4b1-2de644c9c14f 2026-01-15 12:09:45,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7cfd704a-fab4-4cb8-a4b1-2de644c9c14f 2026-01-15 12:09:45,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/45eeb561-cc45-432e-9e1b-04481403154b 2026-01-15 12:09:45,913 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 12:09:45,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:45,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7cfd704a-fab4-4cb8-a4b1-2de644c9c14f 2026-01-15 12:09:45,935 - INFO - Verified VN network id 11 for VN b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:45,935 - INFO - Verifications in API Server for VN ctest-vn-08290744 passed 2026-01-15 12:09:45,935 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:45,943 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7cfd704a-fab4-4cb8-a4b1-2de644c9c14f 2026-01-15 12:09:45,950 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7cfd704a-fab4-4cb8-a4b1-2de644c9c14f 2026-01-15 12:09:45,956 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/45eeb561-cc45-432e-9e1b-04481403154b 2026-01-15 12:09:45,967 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74653500', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13230447373811597817', 'uuid-lslong': '13366498985592785990'}, 'enable': 'true', 'created': '2026-01-15T12:09:43', 'last-modified': '2026-01-15T12:09:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.951763'} 2026-01-15 12:09:45,975 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 12:09:45,975 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08290744 passed 2026-01-15 12:09:45,976 - DEBUG - ====Verifying policy data for ctest-vn-08290744 in API_Server ====== 2026-01-15 12:09:45,976 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:09:45,981 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5c5216-b47f-4fb7-b77d-37287e745205 2026-01-15 12:09:45,991 - DEBUG - Requesting: http://10.0.0.50:8082/project/14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:09:46,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b79bfdc9-df8a-41f9-b97f-580236e08c46 2026-01-15 12:09:46,074 - DEBUG - ==>Verifying data for policy with id: 08547617-c870-4a2e-9dae-a6b902b01ce0, fqn: ['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-policy-allow-all-59904270'] 2026-01-15 12:09:46,074 - INFO - VN ctest-vn-08290744 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 12:09:46,074 - DEBUG - Verifying the vn in opserver 2026-01-15 12:09:46,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744 virtual network link through opserver 10.0.0.50 2026-01-15 12:09:46,074 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-15 12:09:46,377 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-15 12:09:46,442 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744?flat'} 2026-01-15 12:09:46,442 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744 is found in opserver 2026-01-15 12:09:46,452 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 12:09:46,457 - DEBUG - VRF ids for VN ctest-vn-08290744: {} 2026-01-15 12:09:46,457 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:09:46,462 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5c5216-b47f-4fb7-b77d-37287e745205 2026-01-15 12:09:46,475 - DEBUG - Requesting: http://10.0.0.50:8082/project/14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:09:46,546 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:46,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:46,566 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e8f505b-e805-409a-91cb-2dc9c90eb75f 2026-01-15 12:09:46,572 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e8f505b-e805-409a-91cb-2dc9c90eb75f 2026-01-15 12:09:46,579 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be0ee521-3679-4934-b2b1-46e9f2dcd054 2026-01-15 12:09:46,584 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 12:09:46,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:46,592 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e8f505b-e805-409a-91cb-2dc9c90eb75f 2026-01-15 12:09:46,606 - INFO - Verified VN network id 12 for VN 7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:46,606 - INFO - Verifications in API Server for VN ctest-vn-64475643 passed 2026-01-15 12:09:46,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:46,615 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e8f505b-e805-409a-91cb-2dc9c90eb75f 2026-01-15 12:09:46,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e8f505b-e805-409a-91cb-2dc9c90eb75f 2026-01-15 12:09:46,627 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be0ee521-3679-4934-b2b1-46e9f2dcd054 2026-01-15 12:09:46,637 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-64475643', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74653500', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9001636098878950869', 'uuid-lslong': '13042844501062629029'}, 'enable': 'true', 'created': '2026-01-15T12:09:44', 'last-modified': '2026-01-15T12:09:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379019'} 2026-01-15 12:09:46,642 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 12:09:46,642 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64475643 passed 2026-01-15 12:09:46,642 - DEBUG - ====Verifying policy data for ctest-vn-64475643 in API_Server ====== 2026-01-15 12:09:46,642 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:09:46,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5c5216-b47f-4fb7-b77d-37287e745205 2026-01-15 12:09:46,658 - DEBUG - Requesting: http://10.0.0.50:8082/project/14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:09:46,727 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cec3c56-d703-4dd5-b501-7df8427eb6a5 2026-01-15 12:09:46,736 - DEBUG - ==>Verifying data for policy with id: 08547617-c870-4a2e-9dae-a6b902b01ce0, fqn: ['default-domain', 'ctest-TestBasicPolicy-74653500', 'ctest-policy-allow-all-59904270'] 2026-01-15 12:09:46,736 - INFO - VN ctest-vn-64475643 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 12:09:46,736 - DEBUG - Verifying the vn in opserver 2026-01-15 12:09:46,736 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-64475643 virtual network link through opserver 10.0.0.50 2026-01-15 12:09:46,736 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-15 12:09:46,748 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-64475643', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-64475643?flat'} 2026-01-15 12:09:46,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-64475643 is found in opserver 2026-01-15 12:09:46,758 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 12:09:46,762 - DEBUG - VRF ids for VN ctest-vn-64475643: {} 2026-01-15 12:09:46,824 - DEBUG - Services list from nova: [, , ] 2026-01-15 12:09:47,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5019-1) 2026-01-15 12:09:48,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5019-1) 2026-01-15 12:09:48,972 - INFO - Waiting for VM ctest-TestBasicPolicy-74653500-85878999 to be up.. 2026-01-15 12:09:49,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 12:09:54,160 - DEBUG - VM is in ACTIVE state now 2026-01-15 12:09:54,160 - INFO - VM name : ctest-TestBasicPolicy-74653500-85878999 2026-01-15 12:09:54,238 - DEBUG - VM ctest-TestBasicPolicy-74653500-85878999 ID is c6167aee-7544-43d6-9098-20a51ac8ff63 2026-01-15 12:09:54,257 - DEBUG - VM ctest-TestBasicPolicy-74653500-85878999 launched on Node cn-jenkins-deploy-platform-ansible-os-5019-1 2026-01-15 12:09:54,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c6167aee-7544-43d6-9098-20a51ac8ff63 2026-01-15 12:09:54,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f185e1a6-835c-47a7-8597-969e8d71c8eb 2026-01-15 12:09:57,579 - 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 1006ms') 2026-01-15 12:09:57,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74653500-85878999 failed! 2026-01-15 12:09:57,634 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74653500:ctest-vn-08290744 is 196.244.159.1 and allocation pool is NOT set 2026-01-15 12:09:59,691 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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 = 0.559/3.064/5.570/2.505 ms') 2026-01-15 12:09:59,691 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74653500-85878999 passed 2026-01-15 12:09:59,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:09:59,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74653500-85878999, IP 196.244.159.3, Port 22 2026-01-15 12:09:59,998 - DEBUG - VM ctest-TestBasicPolicy-74653500-85878999 is ready for SSH connections 2026-01-15 12:09:59,998 - INFO - Waiting for VM ctest-TestBasicPolicy-74653500-90392706 to be up.. 2026-01-15 12:10:00,076 - DEBUG - VM is in ACTIVE state now 2026-01-15 12:10:00,076 - INFO - VM name : ctest-TestBasicPolicy-74653500-90392706 2026-01-15 12:10:00,157 - DEBUG - VM ctest-TestBasicPolicy-74653500-90392706 ID is aa25545d-cb30-4a88-b44c-197e5a6ed032 2026-01-15 12:10:00,157 - DEBUG - VM ctest-TestBasicPolicy-74653500-90392706 launched on Node cn-jenkins-deploy-platform-ansible-os-5019-1 2026-01-15 12:10:00,234 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aa25545d-cb30-4a88-b44c-197e5a6ed032 2026-01-15 12:10:00,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/31f45c54-d436-419b-a142-577b33e1f8d4 2026-01-15 12:10:01,489 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.628 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.628/1.728/2.828/1.100 ms') 2026-01-15 12:10:01,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74653500-90392706 passed 2026-01-15 12:10:01,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:10:01,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74653500-90392706, IP 192.151.109.195, Port 22 2026-01-15 12:10:01,802 - DEBUG - VM ctest-TestBasicPolicy-74653500-90392706 is ready for SSH connections 2026-01-15 12:10:01,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:10:01,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.151.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-15 12:10:01,802 - DEBUG - ping -s 56 -c 3 -W 1 192.151.109.195 2026-01-15 12:10:05,491 - DEBUG - PING 192.151.109.195 (192.151.109.195): 56 data bytes 64 bytes from 192.151.109.195: seq=0 ttl=63 time=3.565 ms 64 bytes from 192.151.109.195: seq=1 ttl=63 time=1.115 ms 64 bytes from 192.151.109.195: seq=2 ttl=63 time=0.865 ms --- 192.151.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.848/3.565 ms 2026-01-15 12:10:05,491 - INFO - Ping to IP 192.151.109.195 from VM ctest-TestBasicPolicy-74653500-85878999 passed 2026-01-15 12:10:05,666 - DEBUG - Policy Update Response {"network-policy": {"uuid": "08547617-c870-4a2e-9dae-a6b902b01ce0", "href": "http://10.0.0.50:8082/network-policy/08547617-c870-4a2e-9dae-a6b902b01ce0"}} 2026-01-15 12:10:05,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:10:05,667 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.151.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-15 12:10:05,667 - DEBUG - ping -s 56 -c 3 -W 1 192.151.109.195 2026-01-15 12:10:08,886 - DEBUG - PING 192.151.109.195 (192.151.109.195): 56 data bytes --- 192.151.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-15 12:10:08,886 - WARNING - Ping to IP 192.151.109.195 from VM ctest-TestBasicPolicy-74653500-85878999 failed 2026-01-15 12:10:08,886 - INFO - Deleting VM ctest-TestBasicPolicy-74653500-90392706 2026-01-15 12:10:08,950 - INFO - Deleting VM ctest-TestBasicPolicy-74653500-85878999 2026-01-15 12:10:09,320 - INFO - Deleted policy ctest-policy-allow-all-59904270 2026-01-15 12:10:09,321 - INFO - Deleting VN ctest-vn-64475643 2026-01-15 12:10:09,360 - DEBUG - VN 7cec3c56-d703-4dd5-b501-7df8427eb6a5 still in use: Unable to complete operation on network 7cec3c56-d703-4dd5-b501-7df8427eb6a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14a926af-3473-4d07-8b72-50a0eb284210'] 2026-01-15 12:10:09,360 - WARNING - Deleting VN ctest-vn-64475643 failed..Will retry 2026-01-15 12:10:11,463 - DEBUG - Response for deleting network () 2026-01-15 12:10:11,463 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e8f505b-e805-409a-91cb-2dc9c90eb75f 2026-01-15 12:10:11,469 - DEBUG - Response Code: 404 2026-01-15 12:10:11,469 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:10:11,474 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5c5216-b47f-4fb7-b77d-37287e745205 2026-01-15 12:10:11,527 - DEBUG - Requesting: http://10.0.0.50:8082/project/14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:10:11,594 - INFO - Validated that VN ctest-vn-64475643 is not found in API Server 2026-01-15 12:10:11,603 - DEBUG - VN ctest-vn-64475643 is not present in Agent 10.0.0.50 2026-01-15 12:10:11,603 - INFO - Validated that VN ctest-vn-64475643 is not in any agent 2026-01-15 12:10:11,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64475643 info 2026-01-15 12:10:11,617 - INFO - Deleting VN ctest-vn-08290744 2026-01-15 12:10:11,721 - DEBUG - Response for deleting network () 2026-01-15 12:10:11,721 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7cfd704a-fab4-4cb8-a4b1-2de644c9c14f 2026-01-15 12:10:11,727 - DEBUG - Response Code: 404 2026-01-15 12:10:11,727 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-15 12:10:11,732 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea5c5216-b47f-4fb7-b77d-37287e745205 2026-01-15 12:10:11,784 - DEBUG - Requesting: http://10.0.0.50:8082/project/14065803-3656-4257-bfba-3a697371f4c1 2026-01-15 12:10:11,853 - INFO - Validated that VN ctest-vn-08290744 is not found in API Server 2026-01-15 12:10:11,862 - DEBUG - VN ctest-vn-08290744 is not present in Agent 10.0.0.50 2026-01-15 12:10:11,862 - INFO - Validated that VN ctest-vn-08290744 is not in any agent 2026-01-15 12:10:11,875 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08290744 info 2026-01-15 12:10:12,132 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 12:10:12,132 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-15 12:10:12,133 - INFO - -------------------------------------------------------------------------------- 2026-01-15 12:10:12,822 - INFO - Deleted project: ctest-TestBasicPolicy-74653500, ID : 14065803-3656-4257-bfba-3a697371f4c1