2025-12-08 02:13:51,752 - INFO - Domain Default found not creating 2025-12-08 02:13:51,906 - INFO - Project ctest-TestBasicPolicy-20005284 not found, creating it 2025-12-08 02:13:52,360 - INFO - Created Project:ctest-TestBasicPolicy-20005284, ID : a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:13:53,802 - INFO - ================================================================================ 2025-12-08 02:13:53,802 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 02:13:53,802 - 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 2025-12-08 02:13:54,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.241': '0'}} with 2025-12-08 02:13:54,078 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:13:54,078 - INFO - 2025-12-08 02:13:54,639 - DEBUG - Response for create_network : {'network': {'id': '8689f228-d6b9-429f-831d-3b204a302e74', 'name': 'ctest-vn-34645107', 'tenant_id': 'a7fd918cdaf345d8a123cc915b705baf', 'project_id': 'a7fd918cdaf345d8a123cc915b705baf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-vn-34645107'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:13:54,845 - DEBUG - Response for create_subnet : {'subnet': {'id': '922d3024-945c-4166-89a7-0d0c5152ff28', 'name': '', 'tenant_id': 'a7fd918cdaf345d8a123cc915b705baf', 'network_id': '8689f228-d6b9-429f-831d-3b204a302e74', 'ip_version': 4, 'cidr': '168.143.193.0/26', 'allocation_pools': [{'start': '168.143.193.2', 'end': '168.143.193.62'}], 'gateway_ip': '168.143.193.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.143.193.2', 'tags': [], 'project_id': 'a7fd918cdaf345d8a123cc915b705baf'}} 2025-12-08 02:13:54,861 - INFO - Created VN ctest-vn-34645107 2025-12-08 02:13:54,911 - DEBUG - VN ctest-vn-34645107 UUID is 8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:55,224 - DEBUG - Response for create_network : {'network': {'id': '152ecf46-04e6-4451-9d62-dd5ac6b9ac99', 'name': 'ctest-vn-99198174', 'tenant_id': 'a7fd918cdaf345d8a123cc915b705baf', 'project_id': 'a7fd918cdaf345d8a123cc915b705baf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-vn-99198174'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:13:55,393 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb9aebc7-acff-4d7b-9677-01f8ceaf9016', 'name': '', 'tenant_id': 'a7fd918cdaf345d8a123cc915b705baf', 'network_id': '152ecf46-04e6-4451-9d62-dd5ac6b9ac99', 'ip_version': 4, 'cidr': '157.60.77.128/26', 'allocation_pools': [{'start': '157.60.77.130', 'end': '157.60.77.190'}], 'gateway_ip': '157.60.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.60.77.130', 'tags': [], 'project_id': 'a7fd918cdaf345d8a123cc915b705baf'}} 2025-12-08 02:13:55,408 - INFO - Created VN ctest-vn-99198174 2025-12-08 02:13:55,459 - DEBUG - VN ctest-vn-99198174 UUID is 152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:55,599 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107, 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-20005284:ctest-vn-99198174, 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] 2025-12-08 02:13:55,876 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8689f228-d6b9-429f-831d-3b204a302e74', 'name': 'ctest-vn-34645107', 'tenant_id': 'a7fd918cdaf345d8a123cc915b705baf', 'project_id': 'a7fd918cdaf345d8a123cc915b705baf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['922d3024-945c-4166-89a7-0d0c5152ff28'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-vn-34645107'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-policy-allow-all-10909940']], 'subnet_ipam': [{'subnet_cidr': '168.143.193.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:13:56,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '152ecf46-04e6-4451-9d62-dd5ac6b9ac99', 'name': 'ctest-vn-99198174', 'tenant_id': 'a7fd918cdaf345d8a123cc915b705baf', 'project_id': 'a7fd918cdaf345d8a123cc915b705baf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb9aebc7-acff-4d7b-9677-01f8ceaf9016'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-vn-99198174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-policy-allow-all-10909940']], 'subnet_ipam': [{'subnet_cidr': '157.60.77.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:13:56,291 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:13:56,587 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:13:56,615 - DEBUG - Requesting: http://10.0.0.130:8082/domain/89255e1c-530c-49a5-b275-cafa7847f34c 2025-12-08 02:13:56,625 - DEBUG - Requesting: http://10.0.0.130:8082/project/a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:13:56,703 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:56,711 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:56,720 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/23adc2b6-67b1-4abb-9aac-2387587d2bca 2025-12-08 02:13:56,727 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/23adc2b6-67b1-4abb-9aac-2387587d2bca 2025-12-08 02:13:56,734 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/257714d9-8089-4b4a-964c-e35c6c906b68 2025-12-08 02:13:56,740 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 02:13:56,740 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:56,747 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/23adc2b6-67b1-4abb-9aac-2387587d2bca 2025-12-08 02:13:56,760 - INFO - Verified VN network id 11 for VN 8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:56,760 - INFO - Verifications in API Server for VN ctest-vn-34645107 passed 2025-12-08 02:13:56,760 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:56,768 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/23adc2b6-67b1-4abb-9aac-2387587d2bca 2025-12-08 02:13:56,775 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/23adc2b6-67b1-4abb-9aac-2387587d2bca 2025-12-08 02:13:56,782 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/257714d9-8089-4b4a-964c-e35c6c906b68 2025-12-08 02:13:56,795 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20005284', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9694545930106782367', 'uuid-lslong': '9447772603162832500'}, 'enable': 'true', 'created': '2025-12-08T02:13:54', 'last-modified': '2025-12-08T02:13:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932518'} 2025-12-08 02:13:56,801 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 02:13:56,801 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34645107 passed 2025-12-08 02:13:56,801 - DEBUG - ====Verifying policy data for ctest-vn-34645107 in API_Server ====== 2025-12-08 02:13:56,801 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:13:56,807 - DEBUG - Requesting: http://10.0.0.130:8082/domain/89255e1c-530c-49a5-b275-cafa7847f34c 2025-12-08 02:13:56,817 - DEBUG - Requesting: http://10.0.0.130:8082/project/a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:13:56,891 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8689f228-d6b9-429f-831d-3b204a302e74 2025-12-08 02:13:56,899 - DEBUG - ==>Verifying data for policy with id: 3a9b6540-6db8-4d41-949b-d65aefe354de, fqn: ['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-policy-allow-all-10909940'] 2025-12-08 02:13:56,899 - INFO - VN ctest-vn-34645107 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 02:13:56,899 - DEBUG - Verifying the vn in opserver 2025-12-08 02:13:56,899 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107 virtual network link through opserver 10.0.0.130 2025-12-08 02:13:56,900 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-12-08 02:13:57,196 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-12-08 02:13:57,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107?flat'} 2025-12-08 02:13:57,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107 is found in opserver 2025-12-08 02:13:57,271 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 02:13:57,276 - DEBUG - VRF ids for VN ctest-vn-34645107: {} 2025-12-08 02:13:57,276 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:13:57,280 - DEBUG - Requesting: http://10.0.0.130:8082/domain/89255e1c-530c-49a5-b275-cafa7847f34c 2025-12-08 02:13:57,290 - DEBUG - Requesting: http://10.0.0.130:8082/project/a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:13:57,354 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:57,364 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:57,372 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/820d16e8-1705-420e-a6ca-31d7648d196b 2025-12-08 02:13:57,378 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/820d16e8-1705-420e-a6ca-31d7648d196b 2025-12-08 02:13:57,384 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/7d432d4e-f11b-445a-a555-be453f9868b8 2025-12-08 02:13:57,390 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 02:13:57,390 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:57,398 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/820d16e8-1705-420e-a6ca-31d7648d196b 2025-12-08 02:13:57,409 - INFO - Verified VN network id 12 for VN 152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:57,409 - INFO - Verifications in API Server for VN ctest-vn-99198174 passed 2025-12-08 02:13:57,409 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:57,417 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/820d16e8-1705-420e-a6ca-31d7648d196b 2025-12-08 02:13:57,422 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/820d16e8-1705-420e-a6ca-31d7648d196b 2025-12-08 02:13:57,427 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/7d432d4e-f11b-445a-a555-be453f9868b8 2025-12-08 02:13:57,437 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-99198174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20005284', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1526385223362036817', 'uuid-lslong': '11340870193623182489'}, 'enable': 'true', 'created': '2025-12-08T02:13:55', 'last-modified': '2025-12-08T02:13:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355214'} 2025-12-08 02:13:57,442 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 02:13:57,442 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99198174 passed 2025-12-08 02:13:57,443 - DEBUG - ====Verifying policy data for ctest-vn-99198174 in API_Server ====== 2025-12-08 02:13:57,443 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:13:57,448 - DEBUG - Requesting: http://10.0.0.130:8082/domain/89255e1c-530c-49a5-b275-cafa7847f34c 2025-12-08 02:13:57,457 - DEBUG - Requesting: http://10.0.0.130:8082/project/a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:13:57,532 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/152ecf46-04e6-4451-9d62-dd5ac6b9ac99 2025-12-08 02:13:57,539 - DEBUG - ==>Verifying data for policy with id: 3a9b6540-6db8-4d41-949b-d65aefe354de, fqn: ['default-domain', 'ctest-TestBasicPolicy-20005284', 'ctest-policy-allow-all-10909940'] 2025-12-08 02:13:57,539 - INFO - VN ctest-vn-99198174 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 02:13:57,540 - DEBUG - Verifying the vn in opserver 2025-12-08 02:13:57,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-99198174 virtual network link through opserver 10.0.0.130 2025-12-08 02:13:57,540 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-12-08 02:13:57,549 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-99198174', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-99198174?flat'} 2025-12-08 02:13:57,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-99198174 is found in opserver 2025-12-08 02:13:57,557 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 02:13:57,561 - DEBUG - VRF ids for VN ctest-vn-99198174: {} 2025-12-08 02:13:57,613 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:13:58,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4851-1) 2025-12-08 02:13:59,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4851-1) 2025-12-08 02:13:59,971 - INFO - Waiting for VM ctest-TestBasicPolicy-20005284-36487268 to be up.. 2025-12-08 02:14:00,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:14:05,124 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:14:05,124 - INFO - VM name : ctest-TestBasicPolicy-20005284-36487268 2025-12-08 02:14:05,188 - DEBUG - VM ctest-TestBasicPolicy-20005284-36487268 ID is 547a9457-26fa-4184-8142-0de3567b1a4a 2025-12-08 02:14:05,211 - DEBUG - VM ctest-TestBasicPolicy-20005284-36487268 launched on Node cn-jenkins-deploy-platform-ansible-os-4851-1 2025-12-08 02:14:05,275 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/547a9457-26fa-4184-8142-0de3567b1a4a 2025-12-08 02:14:05,283 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ca215db7-508b-4f9a-b12a-21f216441bac 2025-12-08 02:14:08,526 - 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') 2025-12-08 02:14:08,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20005284-36487268 failed! 2025-12-08 02:14:08,579 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20005284:ctest-vn-34645107 is 168.143.193.1 and allocation pool is NOT set 2025-12-08 02:14:10,635 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.484/2.568/1.084 ms') 2025-12-08 02:14:10,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20005284-36487268 passed 2025-12-08 02:14:10,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:14:10,783 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20005284-36487268, IP 168.143.193.3, Port 22 2025-12-08 02:14:10,938 - DEBUG - VM ctest-TestBasicPolicy-20005284-36487268 is ready for SSH connections 2025-12-08 02:14:10,938 - INFO - Waiting for VM ctest-TestBasicPolicy-20005284-06211958 to be up.. 2025-12-08 02:14:11,030 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:14:11,030 - INFO - VM name : ctest-TestBasicPolicy-20005284-06211958 2025-12-08 02:14:11,120 - DEBUG - VM ctest-TestBasicPolicy-20005284-06211958 ID is 9c484152-40fd-49f7-ad8f-646e51dba33a 2025-12-08 02:14:11,120 - DEBUG - VM ctest-TestBasicPolicy-20005284-06211958 launched on Node cn-jenkins-deploy-platform-ansible-os-4851-1 2025-12-08 02:14:11,189 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9c484152-40fd-49f7-ad8f-646e51dba33a 2025-12-08 02:14:11,197 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/00470bce-66b1-402d-bd0c-5ac6dad2d58e 2025-12-08 02:14:12,436 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.800/3.102/1.302 ms') 2025-12-08 02:14:12,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20005284-06211958 passed 2025-12-08 02:14:12,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:14:12,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20005284-06211958, IP 157.60.77.131, Port 22 2025-12-08 02:14:12,738 - DEBUG - VM ctest-TestBasicPolicy-20005284-06211958 is ready for SSH connections 2025-12-08 02:14:12,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:14:12,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.60.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-08 02:14:12,738 - DEBUG - ping -s 56 -c 3 -W 1 157.60.77.131 2025-12-08 02:14:16,401 - DEBUG - PING 157.60.77.131 (157.60.77.131): 56 data bytes 64 bytes from 157.60.77.131: seq=0 ttl=63 time=3.192 ms 64 bytes from 157.60.77.131: seq=1 ttl=63 time=1.063 ms 64 bytes from 157.60.77.131: seq=2 ttl=63 time=1.083 ms --- 157.60.77.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/1.779/3.192 ms 2025-12-08 02:14:16,401 - INFO - Ping to IP 157.60.77.131 from VM ctest-TestBasicPolicy-20005284-36487268 passed 2025-12-08 02:14:16,570 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3a9b6540-6db8-4d41-949b-d65aefe354de", "href": "http://10.0.0.130:8082/network-policy/3a9b6540-6db8-4d41-949b-d65aefe354de"}} 2025-12-08 02:14:16,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:14:16,571 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.60.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-08 02:14:16,571 - DEBUG - ping -s 56 -c 3 -W 1 157.60.77.131 2025-12-08 02:14:19,766 - DEBUG - PING 157.60.77.131 (157.60.77.131): 56 data bytes --- 157.60.77.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:14:19,767 - WARNING - Ping to IP 157.60.77.131 from VM ctest-TestBasicPolicy-20005284-36487268 failed 2025-12-08 02:14:19,767 - INFO - Deleting VM ctest-TestBasicPolicy-20005284-06211958 2025-12-08 02:14:19,836 - INFO - Deleting VM ctest-TestBasicPolicy-20005284-36487268 2025-12-08 02:14:20,202 - INFO - Deleted policy ctest-policy-allow-all-10909940 2025-12-08 02:14:20,203 - INFO - Deleting VN ctest-vn-99198174 2025-12-08 02:14:20,232 - DEBUG - VN 152ecf46-04e6-4451-9d62-dd5ac6b9ac99 still in use: Unable to complete operation on network 152ecf46-04e6-4451-9d62-dd5ac6b9ac99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-515f152e-3edf-4f0f-8162-d59e75cd6e42'] 2025-12-08 02:14:20,232 - WARNING - Deleting VN ctest-vn-99198174 failed..Will retry 2025-12-08 02:14:22,331 - DEBUG - Response for deleting network () 2025-12-08 02:14:22,331 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/820d16e8-1705-420e-a6ca-31d7648d196b 2025-12-08 02:14:22,335 - DEBUG - Response Code: 404 2025-12-08 02:14:22,335 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:14:22,343 - DEBUG - Requesting: http://10.0.0.130:8082/domain/89255e1c-530c-49a5-b275-cafa7847f34c 2025-12-08 02:14:22,395 - DEBUG - Requesting: http://10.0.0.130:8082/project/a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:14:22,464 - INFO - Validated that VN ctest-vn-99198174 is not found in API Server 2025-12-08 02:14:22,473 - DEBUG - VN ctest-vn-99198174 is not present in Agent 10.0.0.130 2025-12-08 02:14:22,473 - INFO - Validated that VN ctest-vn-99198174 is not in any agent 2025-12-08 02:14:22,494 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99198174 info 2025-12-08 02:14:22,494 - INFO - Deleting VN ctest-vn-34645107 2025-12-08 02:14:22,584 - DEBUG - Response for deleting network () 2025-12-08 02:14:22,584 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/23adc2b6-67b1-4abb-9aac-2387587d2bca 2025-12-08 02:14:22,591 - DEBUG - Response Code: 404 2025-12-08 02:14:22,591 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-12-08 02:14:22,595 - DEBUG - Requesting: http://10.0.0.130:8082/domain/89255e1c-530c-49a5-b275-cafa7847f34c 2025-12-08 02:14:22,647 - DEBUG - Requesting: http://10.0.0.130:8082/project/a7fd918c-daf3-45d8-a123-cc915b705baf 2025-12-08 02:14:22,712 - INFO - Validated that VN ctest-vn-34645107 is not found in API Server 2025-12-08 02:14:22,720 - DEBUG - VN ctest-vn-34645107 is not present in Agent 10.0.0.130 2025-12-08 02:14:22,720 - INFO - Validated that VN ctest-vn-34645107 is not in any agent 2025-12-08 02:14:22,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34645107 info 2025-12-08 02:14:22,988 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:14:22,988 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-08 02:14:22,988 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:14:23,650 - INFO - Deleted project: ctest-TestBasicPolicy-20005284, ID : a7fd918c-daf3-45d8-a123-cc915b705baf