2025-07-24 02:37:16,597 - INFO - Domain Default found not creating 2025-07-24 02:37:16,733 - INFO - Project ctest-TestBasicPolicy-96269702 not found, creating it 2025-07-24 02:37:17,167 - INFO - Created Project:ctest-TestBasicPolicy-96269702, ID : 4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:18,528 - INFO - ================================================================================ 2025-07-24 02:37:18,528 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-24 02:37:18,528 - 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:37:18,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.241': '0'}} with 2025-07-24 02:37:18,782 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:37:18,782 - INFO - 2025-07-24 02:37:19,308 - DEBUG - Response for create_network : {'network': {'id': '637c796f-f0cf-41ab-967f-a6cf633c21eb', 'name': 'ctest-vn-48157322', 'tenant_id': '4af03d294d8644fb8ae158c494c1e73e', 'project_id': '4af03d294d8644fb8ae158c494c1e73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-vn-48157322'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:37:19,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '105fe82a-7f7f-415b-9b34-aaa501f991cd', 'name': '', 'tenant_id': '4af03d294d8644fb8ae158c494c1e73e', 'network_id': '637c796f-f0cf-41ab-967f-a6cf633c21eb', 'ip_version': 4, 'cidr': '156.113.147.0/26', 'allocation_pools': [{'start': '156.113.147.2', 'end': '156.113.147.62'}], 'gateway_ip': '156.113.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.113.147.2', 'tags': [], 'project_id': '4af03d294d8644fb8ae158c494c1e73e'}} 2025-07-24 02:37:19,472 - INFO - Created VN ctest-vn-48157322 2025-07-24 02:37:19,527 - DEBUG - VN ctest-vn-48157322 UUID is 637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:19,853 - DEBUG - Response for create_network : {'network': {'id': 'b855482f-1126-4ae1-b317-bd7f35244ec0', 'name': 'ctest-vn-31767429', 'tenant_id': '4af03d294d8644fb8ae158c494c1e73e', 'project_id': '4af03d294d8644fb8ae158c494c1e73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-vn-31767429'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:37:20,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '12e287d5-a05c-4651-9992-513fb900bd04', 'name': '', 'tenant_id': '4af03d294d8644fb8ae158c494c1e73e', 'network_id': 'b855482f-1126-4ae1-b317-bd7f35244ec0', 'ip_version': 4, 'cidr': '66.156.120.128/26', 'allocation_pools': [{'start': '66.156.120.130', 'end': '66.156.120.190'}], 'gateway_ip': '66.156.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.156.120.130', 'tags': [], 'project_id': '4af03d294d8644fb8ae158c494c1e73e'}} 2025-07-24 02:37:20,080 - INFO - Created VN ctest-vn-31767429 2025-07-24 02:37:20,131 - DEBUG - VN ctest-vn-31767429 UUID is b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:20,279 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322, 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-96269702:ctest-vn-31767429, 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:37:20,566 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '637c796f-f0cf-41ab-967f-a6cf633c21eb', 'name': 'ctest-vn-48157322', 'tenant_id': '4af03d294d8644fb8ae158c494c1e73e', 'project_id': '4af03d294d8644fb8ae158c494c1e73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['105fe82a-7f7f-415b-9b34-aaa501f991cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-vn-48157322'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-policy-allow-all-23270051']], 'subnet_ipam': [{'subnet_cidr': '156.113.147.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:37:20,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b855482f-1126-4ae1-b317-bd7f35244ec0', 'name': 'ctest-vn-31767429', 'tenant_id': '4af03d294d8644fb8ae158c494c1e73e', 'project_id': '4af03d294d8644fb8ae158c494c1e73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12e287d5-a05c-4651-9992-513fb900bd04'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-vn-31767429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-policy-allow-all-23270051']], 'subnet_ipam': [{'subnet_cidr': '66.156.120.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:37:20,979 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:21,270 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:21,295 - DEBUG - Requesting: http://10.0.0.27:8082/domain/46efb883-2df5-47ea-8c88-1a68427bfb38 2025-07-24 02:37:21,307 - DEBUG - Requesting: http://10.0.0.27:8082/project/4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:21,378 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:21,390 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:21,399 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/53c20e17-eee6-4005-bd39-ee5f1005c440 2025-07-24 02:37:21,406 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/53c20e17-eee6-4005-bd39-ee5f1005c440 2025-07-24 02:37:21,413 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9ff41475-6c19-4258-b683-ce842504ab81 2025-07-24 02:37:21,419 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-24 02:37:21,419 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:21,428 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/53c20e17-eee6-4005-bd39-ee5f1005c440 2025-07-24 02:37:21,440 - INFO - Verified VN network id 12 for VN 637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:21,440 - INFO - Verifications in API Server for VN ctest-vn-48157322 passed 2025-07-24 02:37:21,440 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:21,448 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/53c20e17-eee6-4005-bd39-ee5f1005c440 2025-07-24 02:37:21,455 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/53c20e17-eee6-4005-bd39-ee5f1005c440 2025-07-24 02:37:21,462 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9ff41475-6c19-4258-b683-ce842504ab81 2025-07-24 02:37:21,474 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96269702', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7168738228555432363', 'uuid-lslong': '10844569837384770027'}, 'enable': 'true', 'created': '2025-07-24T02:37:19', 'last-modified': '2025-07-24T02:37:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931616'} 2025-07-24 02:37:21,480 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-24 02:37:21,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48157322 passed 2025-07-24 02:37:21,481 - DEBUG - ====Verifying policy data for ctest-vn-48157322 in API_Server ====== 2025-07-24 02:37:21,481 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:21,486 - DEBUG - Requesting: http://10.0.0.27:8082/domain/46efb883-2df5-47ea-8c88-1a68427bfb38 2025-07-24 02:37:21,497 - DEBUG - Requesting: http://10.0.0.27:8082/project/4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:21,564 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/637c796f-f0cf-41ab-967f-a6cf633c21eb 2025-07-24 02:37:21,573 - DEBUG - ==>Verifying data for policy with id: b5f23b29-c685-404a-83d0-d896962a5826, fqn: ['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-policy-allow-all-23270051'] 2025-07-24 02:37:21,573 - INFO - VN ctest-vn-48157322 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-24 02:37:21,573 - DEBUG - Verifying the vn in opserver 2025-07-24 02:37:21,573 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322 virtual network link through opserver 10.0.0.27 2025-07-24 02:37:21,574 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-24 02:37:21,863 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-24 02:37:21,911 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322?flat'} 2025-07-24 02:37:21,911 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322 is found in opserver 2025-07-24 02:37:21,922 - DEBUG - Do not have enough data to verify VN in agent 2025-07-24 02:37:21,926 - DEBUG - VRF ids for VN ctest-vn-48157322: {} 2025-07-24 02:37:21,926 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:21,931 - DEBUG - Requesting: http://10.0.0.27:8082/domain/46efb883-2df5-47ea-8c88-1a68427bfb38 2025-07-24 02:37:21,942 - DEBUG - Requesting: http://10.0.0.27:8082/project/4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:22,013 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:22,024 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:22,032 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8b1fb921-b239-4e4c-ba76-d220a63351e3 2025-07-24 02:37:22,039 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8b1fb921-b239-4e4c-ba76-d220a63351e3 2025-07-24 02:37:22,044 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b7808cda-e7f8-49f6-8156-7a6cd0313629 2025-07-24 02:37:22,050 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-24 02:37:22,050 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:22,058 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8b1fb921-b239-4e4c-ba76-d220a63351e3 2025-07-24 02:37:22,071 - INFO - Verified VN network id 13 for VN b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:22,071 - INFO - Verifications in API Server for VN ctest-vn-31767429 passed 2025-07-24 02:37:22,071 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:22,080 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8b1fb921-b239-4e4c-ba76-d220a63351e3 2025-07-24 02:37:22,086 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8b1fb921-b239-4e4c-ba76-d220a63351e3 2025-07-24 02:37:22,092 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b7808cda-e7f8-49f6-8156-7a6cd0313629 2025-07-24 02:37:22,103 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-31767429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96269702', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13282602042987530977', 'uuid-lslong': '12904991611303513792'}, 'enable': 'true', 'created': '2025-07-24T02:37:19', 'last-modified': '2025-07-24T02:37:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317572'} 2025-07-24 02:37:22,109 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-24 02:37:22,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31767429 passed 2025-07-24 02:37:22,110 - DEBUG - ====Verifying policy data for ctest-vn-31767429 in API_Server ====== 2025-07-24 02:37:22,110 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:22,115 - DEBUG - Requesting: http://10.0.0.27:8082/domain/46efb883-2df5-47ea-8c88-1a68427bfb38 2025-07-24 02:37:22,125 - DEBUG - Requesting: http://10.0.0.27:8082/project/4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:22,196 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b855482f-1126-4ae1-b317-bd7f35244ec0 2025-07-24 02:37:22,205 - DEBUG - ==>Verifying data for policy with id: b5f23b29-c685-404a-83d0-d896962a5826, fqn: ['default-domain', 'ctest-TestBasicPolicy-96269702', 'ctest-policy-allow-all-23270051'] 2025-07-24 02:37:22,205 - INFO - VN ctest-vn-31767429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-24 02:37:22,205 - DEBUG - Verifying the vn in opserver 2025-07-24 02:37:22,205 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-31767429 virtual network link through opserver 10.0.0.27 2025-07-24 02:37:22,205 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-24 02:37:22,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-31767429', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-31767429?flat'} 2025-07-24 02:37:22,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-31767429 is found in opserver 2025-07-24 02:37:22,225 - DEBUG - Do not have enough data to verify VN in agent 2025-07-24 02:37:22,230 - DEBUG - VRF ids for VN ctest-vn-31767429: {} 2025-07-24 02:37:22,282 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:37:23,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3713-1) 2025-07-24 02:37:24,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3713-1) 2025-07-24 02:37:24,314 - INFO - Waiting for VM ctest-TestBasicPolicy-96269702-76649568 to be up.. 2025-07-24 02:37:24,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:37:29,457 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:37:29,457 - INFO - VM name : ctest-TestBasicPolicy-96269702-76649568 2025-07-24 02:37:29,520 - DEBUG - VM ctest-TestBasicPolicy-96269702-76649568 ID is c780f969-fe84-42b3-b1fb-1fad2dbcc296 2025-07-24 02:37:29,539 - DEBUG - VM ctest-TestBasicPolicy-96269702-76649568 launched on Node cn-jenkins-deploy-platform-ansible-os-3713-1 2025-07-24 02:37:29,610 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c780f969-fe84-42b3-b1fb-1fad2dbcc296 2025-07-24 02:37:29,618 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b58b87b9-e17b-43cd-bb49-3b9f8e7d8ff3 2025-07-24 02:37:32,880 - 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 1023ms') 2025-07-24 02:37:32,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96269702-76649568 failed! 2025-07-24 02:37:32,947 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96269702:ctest-vn-48157322 is 156.113.147.1 and allocation pool is NOT set 2025-07-24 02:37:35,009 - 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=3.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.871/3.327/1.456 ms') 2025-07-24 02:37:35,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96269702-76649568 passed 2025-07-24 02:37:35,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:37:35,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96269702-76649568, IP 156.113.147.3, Port 22 2025-07-24 02:37:35,323 - DEBUG - VM ctest-TestBasicPolicy-96269702-76649568 is ready for SSH connections 2025-07-24 02:37:35,323 - INFO - Waiting for VM ctest-TestBasicPolicy-96269702-29477699 to be up.. 2025-07-24 02:37:35,393 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:37:35,393 - INFO - VM name : ctest-TestBasicPolicy-96269702-29477699 2025-07-24 02:37:35,461 - DEBUG - VM ctest-TestBasicPolicy-96269702-29477699 ID is e75be562-3ccf-4cb8-a2c7-bced449a8740 2025-07-24 02:37:35,461 - DEBUG - VM ctest-TestBasicPolicy-96269702-29477699 launched on Node cn-jenkins-deploy-platform-ansible-os-3713-1 2025-07-24 02:37:35,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e75be562-3ccf-4cb8-a2c7-bced449a8740 2025-07-24 02:37:35,536 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cad9a9e6-c98a-4137-a4c4-22ec14b6417d 2025-07-24 02:37:36,770 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.634/2.821/1.187 ms') 2025-07-24 02:37:36,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96269702-29477699 passed 2025-07-24 02:37:36,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:37:36,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96269702-29477699, IP 66.156.120.131, Port 22 2025-07-24 02:37:37,085 - DEBUG - VM ctest-TestBasicPolicy-96269702-29477699 is ready for SSH connections 2025-07-24 02:37:37,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:37:37,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.156.120.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-24 02:37:37,085 - DEBUG - ping -s 56 -c 3 -W 1 66.156.120.131 2025-07-24 02:37:41,046 - DEBUG - PING 66.156.120.131 (66.156.120.131): 56 data bytes 64 bytes from 66.156.120.131: seq=0 ttl=63 time=3.795 ms 64 bytes from 66.156.120.131: seq=1 ttl=63 time=0.743 ms 64 bytes from 66.156.120.131: seq=2 ttl=63 time=1.125 ms --- 66.156.120.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/1.887/3.795 ms 2025-07-24 02:37:41,046 - INFO - Ping to IP 66.156.120.131 from VM ctest-TestBasicPolicy-96269702-76649568 passed 2025-07-24 02:37:41,227 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b5f23b29-c685-404a-83d0-d896962a5826", "href": "http://10.0.0.27:8082/network-policy/b5f23b29-c685-404a-83d0-d896962a5826"}} 2025-07-24 02:37:41,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:37:41,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.156.120.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-24 02:37:41,227 - DEBUG - ping -s 56 -c 3 -W 1 66.156.120.131 2025-07-24 02:37:44,422 - DEBUG - PING 66.156.120.131 (66.156.120.131): 56 data bytes --- 66.156.120.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-24 02:37:44,422 - WARNING - Ping to IP 66.156.120.131 from VM ctest-TestBasicPolicy-96269702-76649568 failed 2025-07-24 02:37:44,422 - INFO - Deleting VM ctest-TestBasicPolicy-96269702-29477699 2025-07-24 02:37:44,484 - INFO - Deleting VM ctest-TestBasicPolicy-96269702-76649568 2025-07-24 02:37:44,852 - INFO - Deleted policy ctest-policy-allow-all-23270051 2025-07-24 02:37:44,852 - INFO - Deleting VN ctest-vn-31767429 2025-07-24 02:37:44,885 - DEBUG - VN b855482f-1126-4ae1-b317-bd7f35244ec0 still in use: Unable to complete operation on network b855482f-1126-4ae1-b317-bd7f35244ec0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-045cc67c-4da4-4f24-8f31-112df899a179'] 2025-07-24 02:37:44,885 - WARNING - Deleting VN ctest-vn-31767429 failed..Will retry 2025-07-24 02:37:46,989 - DEBUG - Response for deleting network () 2025-07-24 02:37:46,989 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/8b1fb921-b239-4e4c-ba76-d220a63351e3 2025-07-24 02:37:46,994 - DEBUG - Response Code: 404 2025-07-24 02:37:46,994 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:46,999 - DEBUG - Requesting: http://10.0.0.27:8082/domain/46efb883-2df5-47ea-8c88-1a68427bfb38 2025-07-24 02:37:47,053 - DEBUG - Requesting: http://10.0.0.27:8082/project/4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:47,123 - INFO - Validated that VN ctest-vn-31767429 is not found in API Server 2025-07-24 02:37:47,135 - DEBUG - VN ctest-vn-31767429 is not present in Agent 10.0.0.27 2025-07-24 02:37:47,135 - INFO - Validated that VN ctest-vn-31767429 is not in any agent 2025-07-24 02:37:47,149 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31767429 info 2025-07-24 02:37:47,150 - INFO - Deleting VN ctest-vn-48157322 2025-07-24 02:37:47,245 - DEBUG - Response for deleting network () 2025-07-24 02:37:47,245 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/53c20e17-eee6-4005-bd39-ee5f1005c440 2025-07-24 02:37:47,251 - DEBUG - Response Code: 404 2025-07-24 02:37:47,251 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-24 02:37:47,256 - DEBUG - Requesting: http://10.0.0.27:8082/domain/46efb883-2df5-47ea-8c88-1a68427bfb38 2025-07-24 02:37:47,310 - DEBUG - Requesting: http://10.0.0.27:8082/project/4af03d29-4d86-44fb-8ae1-58c494c1e73e 2025-07-24 02:37:47,380 - INFO - Validated that VN ctest-vn-48157322 is not found in API Server 2025-07-24 02:37:47,390 - DEBUG - VN ctest-vn-48157322 is not present in Agent 10.0.0.27 2025-07-24 02:37:47,390 - INFO - Validated that VN ctest-vn-48157322 is not in any agent 2025-07-24 02:37:47,407 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48157322 info 2025-07-24 02:37:47,660 - DEBUG - No XMPP flaps were noticed during the test 2025-07-24 02:37:47,660 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-24 02:37:47,660 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:37:48,317 - INFO - Deleted project: ctest-TestBasicPolicy-96269702, ID : 4af03d29-4d86-44fb-8ae1-58c494c1e73e