2025-01-15 00:46:48,507 - INFO - Domain Default found not creating 2025-01-15 00:46:48,642 - INFO - Project ctest-TestBasicPolicy-22072498 not found, creating it 2025-01-15 00:46:49,082 - INFO - Created Project:ctest-TestBasicPolicy-22072498, ID : cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:46:50,484 - INFO - ================================================================================ 2025-01-15 00:46:50,484 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 00:46:50,485 - 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-01-15 00:46:50,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.29': '0'}} with 2025-01-15 00:46:50,739 - INFO - Initial checks done. Running the testcase now 2025-01-15 00:46:50,739 - INFO - 2025-01-15 00:46:51,315 - DEBUG - Response for create_network : {'network': {'id': '5fe933d3-f065-45bc-93a0-0861646d83b9', 'name': 'ctest-vn-93633641', 'tenant_id': 'cf8ef954d355404d81795454e3dcd894', 'project_id': 'cf8ef954d355404d81795454e3dcd894', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-vn-93633641'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 00:46:51,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '53e6ea47-6599-4f42-adf5-0ffa30c1040f', 'name': '', 'tenant_id': 'cf8ef954d355404d81795454e3dcd894', 'network_id': '5fe933d3-f065-45bc-93a0-0861646d83b9', 'ip_version': 4, 'cidr': '124.61.255.0/26', 'allocation_pools': [{'start': '124.61.255.2', 'end': '124.61.255.62'}], 'gateway_ip': '124.61.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.61.255.2', 'tags': [], 'project_id': 'cf8ef954d355404d81795454e3dcd894'}} 2025-01-15 00:46:51,491 - INFO - Created VN ctest-vn-93633641 2025-01-15 00:46:51,544 - DEBUG - VN ctest-vn-93633641 UUID is 5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:51,854 - DEBUG - Response for create_network : {'network': {'id': 'afbcde34-2018-4a56-b07d-c64fbea26b51', 'name': 'ctest-vn-62121925', 'tenant_id': 'cf8ef954d355404d81795454e3dcd894', 'project_id': 'cf8ef954d355404d81795454e3dcd894', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-vn-62121925'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 00:46:52,026 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b71953ab-39d6-4ac0-be56-bc6c8c63a9dc', 'name': '', 'tenant_id': 'cf8ef954d355404d81795454e3dcd894', 'network_id': 'afbcde34-2018-4a56-b07d-c64fbea26b51', 'ip_version': 4, 'cidr': '117.240.210.0/26', 'allocation_pools': [{'start': '117.240.210.2', 'end': '117.240.210.62'}], 'gateway_ip': '117.240.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.240.210.2', 'tags': [], 'project_id': 'cf8ef954d355404d81795454e3dcd894'}} 2025-01-15 00:46:52,042 - INFO - Created VN ctest-vn-62121925 2025-01-15 00:46:52,092 - DEBUG - VN ctest-vn-62121925 UUID is afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:52,205 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641, 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-22072498:ctest-vn-62121925, 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-01-15 00:46:52,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fe933d3-f065-45bc-93a0-0861646d83b9', 'name': 'ctest-vn-93633641', 'tenant_id': 'cf8ef954d355404d81795454e3dcd894', 'project_id': 'cf8ef954d355404d81795454e3dcd894', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53e6ea47-6599-4f42-adf5-0ffa30c1040f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-vn-93633641'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-policy-allow-all-48047600']], 'subnet_ipam': [{'subnet_cidr': '124.61.255.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 00:46:52,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afbcde34-2018-4a56-b07d-c64fbea26b51', 'name': 'ctest-vn-62121925', 'tenant_id': 'cf8ef954d355404d81795454e3dcd894', 'project_id': 'cf8ef954d355404d81795454e3dcd894', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b71953ab-39d6-4ac0-be56-bc6c8c63a9dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-vn-62121925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-policy-allow-all-48047600']], 'subnet_ipam': [{'subnet_cidr': '117.240.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 00:46:53,041 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:46:53,339 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:46:53,369 - DEBUG - Requesting: http://10.0.0.29:8082/domain/a2a437ee-c9d8-4377-9096-e1962b0bc558 2025-01-15 00:46:53,385 - DEBUG - Requesting: http://10.0.0.29:8082/project/cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:46:53,463 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:53,474 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:53,484 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/0a6247a6-b93c-4f77-b3e4-22cf63c0759c 2025-01-15 00:46:53,491 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/0a6247a6-b93c-4f77-b3e4-22cf63c0759c 2025-01-15 00:46:53,499 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/f0433195-3d82-45bc-90ad-af8a7f8aa161 2025-01-15 00:46:53,505 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 00:46:53,505 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:53,514 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/0a6247a6-b93c-4f77-b3e4-22cf63c0759c 2025-01-15 00:46:53,527 - INFO - Verified VN network id 9 for VN 5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:53,527 - INFO - Verifications in API Server for VN ctest-vn-93633641 passed 2025-01-15 00:46:53,527 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:53,536 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/0a6247a6-b93c-4f77-b3e4-22cf63c0759c 2025-01-15 00:46:53,542 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/0a6247a6-b93c-4f77-b3e4-22cf63c0759c 2025-01-15 00:46:53,550 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/f0433195-3d82-45bc-90ad-af8a7f8aa161 2025-01-15 00:46:53,561 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22072498', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6911112088541021628', 'uuid-lslong': '10637511534238860217'}, 'enable': 'true', 'created': '2025-01-15T00:46:51', 'last-modified': '2025-01-15T00:46:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.086374'} 2025-01-15 00:46:53,567 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 00:46:53,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93633641 passed 2025-01-15 00:46:53,568 - DEBUG - ====Verifying policy data for ctest-vn-93633641 in API_Server ====== 2025-01-15 00:46:53,568 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:46:53,572 - DEBUG - Requesting: http://10.0.0.29:8082/domain/a2a437ee-c9d8-4377-9096-e1962b0bc558 2025-01-15 00:46:53,582 - DEBUG - Requesting: http://10.0.0.29:8082/project/cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:46:53,649 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5fe933d3-f065-45bc-93a0-0861646d83b9 2025-01-15 00:46:53,659 - DEBUG - ==>Verifying data for policy with id: 749a19d6-2cd6-47fb-aff1-a8cfc587b7b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-policy-allow-all-48047600'] 2025-01-15 00:46:53,659 - INFO - VN ctest-vn-93633641 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 00:46:53,659 - DEBUG - Verifying the vn in opserver 2025-01-15 00:46:53,659 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641 virtual network link through opserver 10.0.0.29 2025-01-15 00:46:53,659 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-01-15 00:46:53,950 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-01-15 00:46:54,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641?flat'} 2025-01-15 00:46:54,001 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641 is found in opserver 2025-01-15 00:46:54,012 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 00:46:54,017 - DEBUG - VRF ids for VN ctest-vn-93633641: {} 2025-01-15 00:46:54,017 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:46:54,022 - DEBUG - Requesting: http://10.0.0.29:8082/domain/a2a437ee-c9d8-4377-9096-e1962b0bc558 2025-01-15 00:46:54,032 - DEBUG - Requesting: http://10.0.0.29:8082/project/cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:46:54,103 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:54,115 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:54,124 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a4a5644-834a-4e6f-9f50-db7bec053527 2025-01-15 00:46:54,131 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a4a5644-834a-4e6f-9f50-db7bec053527 2025-01-15 00:46:54,137 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/8b6e5927-20da-4a43-908d-119ee5aa6b44 2025-01-15 00:46:54,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 00:46:54,143 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:54,153 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a4a5644-834a-4e6f-9f50-db7bec053527 2025-01-15 00:46:54,165 - INFO - Verified VN network id 10 for VN afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:54,166 - INFO - Verifications in API Server for VN ctest-vn-62121925 passed 2025-01-15 00:46:54,166 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:54,174 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a4a5644-834a-4e6f-9f50-db7bec053527 2025-01-15 00:46:54,181 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a4a5644-834a-4e6f-9f50-db7bec053527 2025-01-15 00:46:54,187 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/8b6e5927-20da-4a43-908d-119ee5aa6b44 2025-01-15 00:46:54,199 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-62121925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22072498', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12663240567717120598', 'uuid-lslong': '12717538968567180113'}, 'enable': 'true', 'created': '2025-01-15T00:46:51', 'last-modified': '2025-01-15T00:46:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360167'} 2025-01-15 00:46:54,205 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 00:46:54,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62121925 passed 2025-01-15 00:46:54,205 - DEBUG - ====Verifying policy data for ctest-vn-62121925 in API_Server ====== 2025-01-15 00:46:54,205 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:46:54,210 - DEBUG - Requesting: http://10.0.0.29:8082/domain/a2a437ee-c9d8-4377-9096-e1962b0bc558 2025-01-15 00:46:54,220 - DEBUG - Requesting: http://10.0.0.29:8082/project/cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:46:54,290 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/afbcde34-2018-4a56-b07d-c64fbea26b51 2025-01-15 00:46:54,299 - DEBUG - ==>Verifying data for policy with id: 749a19d6-2cd6-47fb-aff1-a8cfc587b7b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-22072498', 'ctest-policy-allow-all-48047600'] 2025-01-15 00:46:54,299 - INFO - VN ctest-vn-62121925 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 00:46:54,299 - DEBUG - Verifying the vn in opserver 2025-01-15 00:46:54,299 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-62121925 virtual network link through opserver 10.0.0.29 2025-01-15 00:46:54,299 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-01-15 00:46:54,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-62121925', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-62121925?flat'} 2025-01-15 00:46:54,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-62121925 is found in opserver 2025-01-15 00:46:54,319 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 00:46:54,324 - DEBUG - VRF ids for VN ctest-vn-62121925: {} 2025-01-15 00:46:54,377 - DEBUG - Services list from nova: [, , ] 2025-01-15 00:46:55,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2632-1) 2025-01-15 00:46:56,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2632-1) 2025-01-15 00:46:56,543 - INFO - Waiting for VM ctest-TestBasicPolicy-22072498-21807951 to be up.. 2025-01-15 00:46:56,625 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 00:47:01,702 - DEBUG - VM is in ACTIVE state now 2025-01-15 00:47:01,702 - INFO - VM name : ctest-TestBasicPolicy-22072498-21807951 2025-01-15 00:47:01,775 - DEBUG - VM ctest-TestBasicPolicy-22072498-21807951 ID is ba0d95a7-2aa9-4700-abee-cfbb71a67204 2025-01-15 00:47:01,793 - DEBUG - VM ctest-TestBasicPolicy-22072498-21807951 launched on Node cn-jenkins-deploy-platform-ansible-os-2632-1 2025-01-15 00:47:01,873 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/ba0d95a7-2aa9-4700-abee-cfbb71a67204 2025-01-15 00:47:01,881 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/f7a5b4a3-a30f-4b3a-8b17-e805b6f5785b 2025-01-15 00:47:05,146 - 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 1031ms') 2025-01-15 00:47:05,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22072498-21807951 failed! 2025-01-15 00:47:05,200 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22072498:ctest-vn-93633641 is 124.61.255.1 and allocation pool is NOT set 2025-01-15 00:47:07,261 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 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.377/1.620/2.864/1.243 ms') 2025-01-15 00:47:07,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22072498-21807951 passed 2025-01-15 00:47:07,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:47:07,409 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22072498-21807951, IP 124.61.255.3, Port 22 2025-01-15 00:47:07,560 - DEBUG - VM ctest-TestBasicPolicy-22072498-21807951 is ready for SSH connections 2025-01-15 00:47:07,560 - INFO - Waiting for VM ctest-TestBasicPolicy-22072498-32783161 to be up.. 2025-01-15 00:47:07,648 - DEBUG - VM is in ACTIVE state now 2025-01-15 00:47:07,648 - INFO - VM name : ctest-TestBasicPolicy-22072498-32783161 2025-01-15 00:47:07,720 - DEBUG - VM ctest-TestBasicPolicy-22072498-32783161 ID is 0a34e90d-b8b3-441d-9e81-d13bd220100b 2025-01-15 00:47:07,720 - DEBUG - VM ctest-TestBasicPolicy-22072498-32783161 launched on Node cn-jenkins-deploy-platform-ansible-os-2632-1 2025-01-15 00:47:07,793 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/0a34e90d-b8b3-441d-9e81-d13bd220100b 2025-01-15 00:47:07,802 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/8896528d-1522-47ae-a93e-609625035d0a 2025-01-15 00:47:09,052 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.534/2.615/1.080 ms') 2025-01-15 00:47:09,052 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22072498-32783161 passed 2025-01-15 00:47:09,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:47:09,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22072498-32783161, IP 117.240.210.3, Port 22 2025-01-15 00:47:09,379 - DEBUG - VM ctest-TestBasicPolicy-22072498-32783161 is ready for SSH connections 2025-01-15 00:47:09,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:47:09,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.240.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-01-15 00:47:09,379 - DEBUG - ping -s 56 -c 3 -W 1 117.240.210.3 2025-01-15 00:47:13,035 - DEBUG - PING 117.240.210.3 (117.240.210.3): 56 data bytes 64 bytes from 117.240.210.3: seq=0 ttl=63 time=4.065 ms 64 bytes from 117.240.210.3: seq=1 ttl=63 time=0.929 ms 64 bytes from 117.240.210.3: seq=2 ttl=63 time=0.981 ms --- 117.240.210.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/1.991/4.065 ms 2025-01-15 00:47:13,035 - INFO - Ping to IP 117.240.210.3 from VM ctest-TestBasicPolicy-22072498-21807951 passed 2025-01-15 00:47:13,216 - DEBUG - Policy Update Response {"network-policy": {"uuid": "749a19d6-2cd6-47fb-aff1-a8cfc587b7b7", "href": "http://10.0.0.29:8082/network-policy/749a19d6-2cd6-47fb-aff1-a8cfc587b7b7"}} 2025-01-15 00:47:13,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:47:13,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.240.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-01-15 00:47:13,217 - DEBUG - ping -s 56 -c 3 -W 1 117.240.210.3 2025-01-15 00:47:16,420 - DEBUG - PING 117.240.210.3 (117.240.210.3): 56 data bytes --- 117.240.210.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-15 00:47:16,420 - WARNING - Ping to IP 117.240.210.3 from VM ctest-TestBasicPolicy-22072498-21807951 failed 2025-01-15 00:47:16,420 - INFO - Deleting VM ctest-TestBasicPolicy-22072498-32783161 2025-01-15 00:47:16,488 - INFO - Deleting VM ctest-TestBasicPolicy-22072498-21807951 2025-01-15 00:47:16,833 - INFO - Deleted policy ctest-policy-allow-all-48047600 2025-01-15 00:47:16,833 - INFO - Deleting VN ctest-vn-62121925 2025-01-15 00:47:16,866 - DEBUG - VN afbcde34-2018-4a56-b07d-c64fbea26b51 still in use: Unable to complete operation on network afbcde34-2018-4a56-b07d-c64fbea26b51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c25e1a5-5f84-4f17-bdce-c661bff0347f'] 2025-01-15 00:47:16,866 - WARNING - Deleting VN ctest-vn-62121925 failed..Will retry 2025-01-15 00:47:18,966 - DEBUG - Response for deleting network () 2025-01-15 00:47:18,966 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a4a5644-834a-4e6f-9f50-db7bec053527 2025-01-15 00:47:18,974 - DEBUG - Response Code: 404 2025-01-15 00:47:18,974 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:47:18,981 - DEBUG - Requesting: http://10.0.0.29:8082/domain/a2a437ee-c9d8-4377-9096-e1962b0bc558 2025-01-15 00:47:19,034 - DEBUG - Requesting: http://10.0.0.29:8082/project/cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:47:19,107 - INFO - Validated that VN ctest-vn-62121925 is not found in API Server 2025-01-15 00:47:19,117 - DEBUG - VN ctest-vn-62121925 is not present in Agent 10.0.0.29 2025-01-15 00:47:19,117 - INFO - Validated that VN ctest-vn-62121925 is not in any agent 2025-01-15 00:47:19,132 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62121925 info 2025-01-15 00:47:19,132 - INFO - Deleting VN ctest-vn-93633641 2025-01-15 00:47:19,234 - DEBUG - Response for deleting network () 2025-01-15 00:47:19,234 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/0a6247a6-b93c-4f77-b3e4-22cf63c0759c 2025-01-15 00:47:19,241 - DEBUG - Response Code: 404 2025-01-15 00:47:19,241 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-01-15 00:47:19,246 - DEBUG - Requesting: http://10.0.0.29:8082/domain/a2a437ee-c9d8-4377-9096-e1962b0bc558 2025-01-15 00:47:19,297 - DEBUG - Requesting: http://10.0.0.29:8082/project/cf8ef954-d355-404d-8179-5454e3dcd894 2025-01-15 00:47:19,373 - INFO - Validated that VN ctest-vn-93633641 is not found in API Server 2025-01-15 00:47:19,386 - DEBUG - VN ctest-vn-93633641 is not present in Agent 10.0.0.29 2025-01-15 00:47:19,386 - INFO - Validated that VN ctest-vn-93633641 is not in any agent 2025-01-15 00:47:19,403 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93633641 info 2025-01-15 00:47:19,658 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 00:47:19,658 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-01-15 00:47:19,658 - INFO - -------------------------------------------------------------------------------- 2025-01-15 00:47:20,352 - INFO - Deleted project: ctest-TestBasicPolicy-22072498, ID : cf8ef954-d355-404d-8179-5454e3dcd894