2025-07-24 02:24:36,193 - INFO - Domain Default found not creating 2025-07-24 02:24:36,347 - INFO - Project ctest-TestBasicPolicy-61741536 not found, creating it 2025-07-24 02:24:36,827 - INFO - Created Project:ctest-TestBasicPolicy-61741536, ID : f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:24:38,896 - INFO - ================================================================================ 2025-07-24 02:24:38,896 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-24 02:24:38,896 - 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-07-24 02:24:39,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-07-24 02:24:39,157 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:24:39,157 - INFO - 2025-07-24 02:24:39,721 - DEBUG - Response for create_network : {'network': {'id': '3983844c-b965-4b48-84eb-8a37be5a7c8d', 'name': 'ctest-vn-66458377', 'tenant_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'project_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-vn-66458377'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:24:39,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '56fddba3-47c3-432d-938f-f147d696ac33', 'name': '', 'tenant_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'network_id': '3983844c-b965-4b48-84eb-8a37be5a7c8d', 'ip_version': 4, 'cidr': '108.129.184.192/26', 'allocation_pools': [{'start': '108.129.184.194', 'end': '108.129.184.254'}], 'gateway_ip': '108.129.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.129.184.194', 'tags': [], 'project_id': 'f01b21012fdb4e1c828fd2a36fa975fb'}} 2025-07-24 02:24:39,905 - INFO - Created VN ctest-vn-66458377 2025-07-24 02:24:39,961 - DEBUG - VN ctest-vn-66458377 UUID is 3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:40,259 - DEBUG - Response for create_network : {'network': {'id': '5dee1ec9-ca94-41f2-852b-a2757931cc23', 'name': 'ctest-vn-48917220', 'tenant_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'project_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-vn-48917220'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:24:40,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '84d35f21-b112-433b-a7d3-38b122227da2', 'name': '', 'tenant_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'network_id': '5dee1ec9-ca94-41f2-852b-a2757931cc23', 'ip_version': 4, 'cidr': '191.47.111.192/26', 'allocation_pools': [{'start': '191.47.111.194', 'end': '191.47.111.254'}], 'gateway_ip': '191.47.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.47.111.194', 'tags': [], 'project_id': 'f01b21012fdb4e1c828fd2a36fa975fb'}} 2025-07-24 02:24:40,437 - INFO - Created VN ctest-vn-48917220 2025-07-24 02:24:40,489 - DEBUG - VN ctest-vn-48917220 UUID is 5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:40,612 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377, 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-61741536:ctest-vn-48917220, 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-07-24 02:24:40,924 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3983844c-b965-4b48-84eb-8a37be5a7c8d', 'name': 'ctest-vn-66458377', 'tenant_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'project_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56fddba3-47c3-432d-938f-f147d696ac33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-vn-66458377'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-policy-allow-all-99184486']], 'subnet_ipam': [{'subnet_cidr': '108.129.184.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:24:41,173 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5dee1ec9-ca94-41f2-852b-a2757931cc23', 'name': 'ctest-vn-48917220', 'tenant_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'project_id': 'f01b21012fdb4e1c828fd2a36fa975fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84d35f21-b112-433b-a7d3-38b122227da2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-vn-48917220'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-policy-allow-all-99184486']], 'subnet_ipam': [{'subnet_cidr': '191.47.111.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:24:41,341 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:24:41,644 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:24:41,676 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9e3d9b4e-b642-4013-986a-3b45792f8414 2025-07-24 02:24:41,690 - DEBUG - Requesting: http://10.0.0.249:8082/project/f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:24:41,770 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:41,783 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:41,793 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/829348cc-898b-4427-8d96-63a4a3e5c265 2025-07-24 02:24:41,801 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/829348cc-898b-4427-8d96-63a4a3e5c265 2025-07-24 02:24:41,808 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/739a3097-e3b3-4f2d-8c61-60167b60164f 2025-07-24 02:24:41,815 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-24 02:24:41,815 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:41,827 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/829348cc-898b-4427-8d96-63a4a3e5c265 2025-07-24 02:24:41,842 - INFO - Verified VN network id 9 for VN 3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:41,842 - INFO - Verifications in API Server for VN ctest-vn-66458377 passed 2025-07-24 02:24:41,842 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:41,853 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/829348cc-898b-4427-8d96-63a4a3e5c265 2025-07-24 02:24:41,861 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/829348cc-898b-4427-8d96-63a4a3e5c265 2025-07-24 02:24:41,870 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/739a3097-e3b3-4f2d-8c61-60167b60164f 2025-07-24 02:24:41,885 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61741536', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4144301547173792584', 'uuid-lslong': '9577901004554927245'}, 'enable': 'true', 'created': '2025-07-24T02:24:39', 'last-modified': '2025-07-24T02:24:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980281'} 2025-07-24 02:24:41,892 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-24 02:24:41,892 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66458377 passed 2025-07-24 02:24:41,892 - DEBUG - ====Verifying policy data for ctest-vn-66458377 in API_Server ====== 2025-07-24 02:24:41,892 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:24:41,898 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9e3d9b4e-b642-4013-986a-3b45792f8414 2025-07-24 02:24:41,910 - DEBUG - Requesting: http://10.0.0.249:8082/project/f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:24:41,986 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3983844c-b965-4b48-84eb-8a37be5a7c8d 2025-07-24 02:24:41,998 - DEBUG - ==>Verifying data for policy with id: 3d765f5e-5a87-46bd-9ffc-1d630e0ff074, fqn: ['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-policy-allow-all-99184486'] 2025-07-24 02:24:41,998 - INFO - VN ctest-vn-66458377 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-24 02:24:41,998 - DEBUG - Verifying the vn in opserver 2025-07-24 02:24:41,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377 virtual network link through opserver 10.0.0.249 2025-07-24 02:24:41,998 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-24 02:24:42,315 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-24 02:24:42,377 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377?flat'} 2025-07-24 02:24:42,377 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377 is found in opserver 2025-07-24 02:24:42,389 - DEBUG - Do not have enough data to verify VN in agent 2025-07-24 02:24:42,394 - DEBUG - VRF ids for VN ctest-vn-66458377: {} 2025-07-24 02:24:42,395 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:24:42,401 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9e3d9b4e-b642-4013-986a-3b45792f8414 2025-07-24 02:24:42,413 - DEBUG - Requesting: http://10.0.0.249:8082/project/f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:24:42,490 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:42,503 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:42,513 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b64eb52f-3f43-4aaf-b11c-9602568db29a 2025-07-24 02:24:42,521 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b64eb52f-3f43-4aaf-b11c-9602568db29a 2025-07-24 02:24:42,529 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7c27c620-ccf4-4065-ae64-8b7a9b3bbe74 2025-07-24 02:24:42,536 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-24 02:24:42,536 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:42,546 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b64eb52f-3f43-4aaf-b11c-9602568db29a 2025-07-24 02:24:42,561 - INFO - Verified VN network id 10 for VN 5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:42,561 - INFO - Verifications in API Server for VN ctest-vn-48917220 passed 2025-07-24 02:24:42,561 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:42,573 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b64eb52f-3f43-4aaf-b11c-9602568db29a 2025-07-24 02:24:42,580 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b64eb52f-3f43-4aaf-b11c-9602568db29a 2025-07-24 02:24:42,587 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7c27c620-ccf4-4065-ae64-8b7a9b3bbe74 2025-07-24 02:24:42,599 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-48917220', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61741536', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6768381142020407794', 'uuid-lslong': '9595942056471153699'}, 'enable': 'true', 'created': '2025-07-24T02:24:40', 'last-modified': '2025-07-24T02:24:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458241'} 2025-07-24 02:24:42,606 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-24 02:24:42,606 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48917220 passed 2025-07-24 02:24:42,606 - DEBUG - ====Verifying policy data for ctest-vn-48917220 in API_Server ====== 2025-07-24 02:24:42,606 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:24:42,614 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9e3d9b4e-b642-4013-986a-3b45792f8414 2025-07-24 02:24:42,629 - DEBUG - Requesting: http://10.0.0.249:8082/project/f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:24:42,704 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5dee1ec9-ca94-41f2-852b-a2757931cc23 2025-07-24 02:24:42,714 - DEBUG - ==>Verifying data for policy with id: 3d765f5e-5a87-46bd-9ffc-1d630e0ff074, fqn: ['default-domain', 'ctest-TestBasicPolicy-61741536', 'ctest-policy-allow-all-99184486'] 2025-07-24 02:24:42,714 - INFO - VN ctest-vn-48917220 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-24 02:24:42,714 - DEBUG - Verifying the vn in opserver 2025-07-24 02:24:42,714 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-48917220 virtual network link through opserver 10.0.0.249 2025-07-24 02:24:42,714 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-24 02:24:42,725 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-48917220', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-48917220?flat'} 2025-07-24 02:24:42,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-48917220 is found in opserver 2025-07-24 02:24:42,737 - DEBUG - Do not have enough data to verify VN in agent 2025-07-24 02:24:42,742 - DEBUG - VRF ids for VN ctest-vn-48917220: {} 2025-07-24 02:24:42,823 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:24:43,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3709-1) 2025-07-24 02:24:45,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3709-1) 2025-07-24 02:24:45,025 - INFO - Waiting for VM ctest-TestBasicPolicy-61741536-26568065 to be up.. 2025-07-24 02:24:45,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:24:50,206 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:24:50,207 - INFO - VM name : ctest-TestBasicPolicy-61741536-26568065 2025-07-24 02:24:50,291 - DEBUG - VM ctest-TestBasicPolicy-61741536-26568065 ID is dd462201-9a40-443d-9da3-448a26590081 2025-07-24 02:24:50,311 - DEBUG - VM ctest-TestBasicPolicy-61741536-26568065 launched on Node cn-jenkins-deploy-platform-ansible-os-3709-1 2025-07-24 02:24:50,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dd462201-9a40-443d-9da3-448a26590081 2025-07-24 02:24:50,403 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9d26cf81-c710-4c77-b41a-1d4f55b8325c 2025-07-24 02:24:53,664 - 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 1015ms') 2025-07-24 02:24:53,664 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61741536-26568065 failed! 2025-07-24 02:24:53,728 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61741536:ctest-vn-66458377 is 108.129.184.193 and allocation pool is NOT set 2025-07-24 02:24:55,797 - 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=8.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/4.322/8.205/3.882 ms') 2025-07-24 02:24:55,797 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61741536-26568065 passed 2025-07-24 02:24:55,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:24:55,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61741536-26568065, IP 108.129.184.195, Port 22 2025-07-24 02:24:56,144 - DEBUG - VM ctest-TestBasicPolicy-61741536-26568065 is ready for SSH connections 2025-07-24 02:24:56,144 - INFO - Waiting for VM ctest-TestBasicPolicy-61741536-93087715 to be up.. 2025-07-24 02:24:56,224 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:24:56,225 - INFO - VM name : ctest-TestBasicPolicy-61741536-93087715 2025-07-24 02:24:56,308 - DEBUG - VM ctest-TestBasicPolicy-61741536-93087715 ID is 11b3889f-c102-474e-8420-1c7bf247c808 2025-07-24 02:24:56,308 - DEBUG - VM ctest-TestBasicPolicy-61741536-93087715 launched on Node cn-jenkins-deploy-platform-ansible-os-3709-1 2025-07-24 02:24:56,399 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/11b3889f-c102-474e-8420-1c7bf247c808 2025-07-24 02:24:56,410 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/76f5920f-b640-4ebb-9055-97352b3a2c8b 2025-07-24 02:24:57,666 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 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 = 1.726/3.293/4.861/1.567 ms') 2025-07-24 02:24:57,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61741536-93087715 passed 2025-07-24 02:24:57,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:24:57,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61741536-93087715, IP 191.47.111.195, Port 22 2025-07-24 02:24:57,976 - DEBUG - VM ctest-TestBasicPolicy-61741536-93087715 is ready for SSH connections 2025-07-24 02:24:57,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:24:57,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.47.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-24 02:24:57,976 - DEBUG - ping -s 56 -c 3 -W 1 191.47.111.195 2025-07-24 02:25:02,018 - DEBUG - PING 191.47.111.195 (191.47.111.195): 56 data bytes 64 bytes from 191.47.111.195: seq=0 ttl=63 time=3.660 ms 64 bytes from 191.47.111.195: seq=1 ttl=63 time=1.553 ms 64 bytes from 191.47.111.195: seq=2 ttl=63 time=0.866 ms --- 191.47.111.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.026/3.660 ms 2025-07-24 02:25:02,018 - INFO - Ping to IP 191.47.111.195 from VM ctest-TestBasicPolicy-61741536-26568065 passed 2025-07-24 02:25:02,200 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d765f5e-5a87-46bd-9ffc-1d630e0ff074", "href": "http://10.0.0.249:8082/network-policy/3d765f5e-5a87-46bd-9ffc-1d630e0ff074"}} 2025-07-24 02:25:02,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:02,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.47.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-24 02:25:02,201 - DEBUG - ping -s 56 -c 3 -W 1 191.47.111.195 2025-07-24 02:25:05,429 - DEBUG - PING 191.47.111.195 (191.47.111.195): 56 data bytes --- 191.47.111.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-24 02:25:05,429 - WARNING - Ping to IP 191.47.111.195 from VM ctest-TestBasicPolicy-61741536-26568065 failed 2025-07-24 02:25:05,429 - INFO - Deleting VM ctest-TestBasicPolicy-61741536-93087715 2025-07-24 02:25:05,510 - INFO - Deleting VM ctest-TestBasicPolicy-61741536-26568065 2025-07-24 02:25:05,913 - INFO - Deleted policy ctest-policy-allow-all-99184486 2025-07-24 02:25:05,913 - INFO - Deleting VN ctest-vn-48917220 2025-07-24 02:25:05,951 - DEBUG - VN 5dee1ec9-ca94-41f2-852b-a2757931cc23 still in use: Unable to complete operation on network 5dee1ec9-ca94-41f2-852b-a2757931cc23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bae79061-c2b8-4f24-92a5-1b4ae96543c1'] 2025-07-24 02:25:05,952 - WARNING - Deleting VN ctest-vn-48917220 failed..Will retry 2025-07-24 02:25:08,065 - DEBUG - Response for deleting network () 2025-07-24 02:25:08,065 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b64eb52f-3f43-4aaf-b11c-9602568db29a 2025-07-24 02:25:08,072 - DEBUG - Response Code: 404 2025-07-24 02:25:08,072 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:25:08,078 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9e3d9b4e-b642-4013-986a-3b45792f8414 2025-07-24 02:25:08,135 - DEBUG - Requesting: http://10.0.0.249:8082/project/f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:25:08,211 - INFO - Validated that VN ctest-vn-48917220 is not found in API Server 2025-07-24 02:25:08,221 - DEBUG - VN ctest-vn-48917220 is not present in Agent 10.0.0.249 2025-07-24 02:25:08,221 - INFO - Validated that VN ctest-vn-48917220 is not in any agent 2025-07-24 02:25:08,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48917220 info 2025-07-24 02:25:08,238 - INFO - Deleting VN ctest-vn-66458377 2025-07-24 02:25:08,342 - DEBUG - Response for deleting network () 2025-07-24 02:25:08,342 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/829348cc-898b-4427-8d96-63a4a3e5c265 2025-07-24 02:25:08,349 - DEBUG - Response Code: 404 2025-07-24 02:25:08,349 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-24 02:25:08,354 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9e3d9b4e-b642-4013-986a-3b45792f8414 2025-07-24 02:25:08,410 - DEBUG - Requesting: http://10.0.0.249:8082/project/f01b2101-2fdb-4e1c-828f-d2a36fa975fb 2025-07-24 02:25:08,489 - INFO - Validated that VN ctest-vn-66458377 is not found in API Server 2025-07-24 02:25:08,500 - DEBUG - VN ctest-vn-66458377 is not present in Agent 10.0.0.249 2025-07-24 02:25:08,500 - INFO - Validated that VN ctest-vn-66458377 is not in any agent 2025-07-24 02:25:08,515 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66458377 info 2025-07-24 02:25:08,785 - DEBUG - No XMPP flaps were noticed during the test 2025-07-24 02:25:08,785 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-24 02:25:08,785 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:25:09,503 - INFO - Deleted project: ctest-TestBasicPolicy-61741536, ID : f01b2101-2fdb-4e1c-828f-d2a36fa975fb