2024-10-31 11:36:41,490 - INFO - Domain Default found not creating 2024-10-31 11:36:41,691 - INFO - Project ctest-TestBasicPolicy-71899396 not found, creating it 2024-10-31 11:36:42,225 - INFO - Created Project:ctest-TestBasicPolicy-71899396, ID : 2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:36:44,116 - INFO - ================================================================================ 2024-10-31 11:36:44,116 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-31 11:36:44,116 - 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 2024-10-31 11:36:44,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with 2024-10-31 11:36:44,388 - INFO - Initial checks done. Running the testcase now 2024-10-31 11:36:44,388 - INFO - 2024-10-31 11:36:45,136 - DEBUG - Response for create_network : {'network': {'id': '2150babb-02f0-491d-9cba-a4cda95e08dd', 'name': 'ctest-vn-40025803', 'tenant_id': '2ad12a870fc0496097d02a3fb946b23b', 'project_id': '2ad12a870fc0496097d02a3fb946b23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-vn-40025803'], 'port_security_enabled': True, 'description': ''}} 2024-10-31 11:36:45,369 - DEBUG - Response for create_subnet : {'subnet': {'id': '52466afa-1cce-47bd-902d-802c19dd6b31', 'name': '', 'tenant_id': '2ad12a870fc0496097d02a3fb946b23b', 'network_id': '2150babb-02f0-491d-9cba-a4cda95e08dd', 'ip_version': 4, 'cidr': '13.246.91.0/26', 'allocation_pools': [{'start': '13.246.91.2', 'end': '13.246.91.62'}], 'gateway_ip': '13.246.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.246.91.2', 'tags': [], 'project_id': '2ad12a870fc0496097d02a3fb946b23b'}} 2024-10-31 11:36:45,398 - INFO - Created VN ctest-vn-40025803 2024-10-31 11:36:45,461 - DEBUG - VN ctest-vn-40025803 UUID is 2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:45,875 - DEBUG - Response for create_network : {'network': {'id': 'b1441535-5ea4-4924-b34f-78f97f3c1c2d', 'name': 'ctest-vn-94836904', 'tenant_id': '2ad12a870fc0496097d02a3fb946b23b', 'project_id': '2ad12a870fc0496097d02a3fb946b23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-vn-94836904'], 'port_security_enabled': True, 'description': ''}} 2024-10-31 11:36:46,175 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfd52c3b-1d5e-4625-b118-83b9d63d361e', 'name': '', 'tenant_id': '2ad12a870fc0496097d02a3fb946b23b', 'network_id': 'b1441535-5ea4-4924-b34f-78f97f3c1c2d', 'ip_version': 4, 'cidr': '85.57.0.192/26', 'allocation_pools': [{'start': '85.57.0.194', 'end': '85.57.0.254'}], 'gateway_ip': '85.57.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.57.0.194', 'tags': [], 'project_id': '2ad12a870fc0496097d02a3fb946b23b'}} 2024-10-31 11:36:46,201 - INFO - Created VN ctest-vn-94836904 2024-10-31 11:36:46,264 - DEBUG - VN ctest-vn-94836904 UUID is b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:46,411 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803, 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-71899396:ctest-vn-94836904, 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] 2024-10-31 11:36:46,787 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2150babb-02f0-491d-9cba-a4cda95e08dd', 'name': 'ctest-vn-40025803', 'tenant_id': '2ad12a870fc0496097d02a3fb946b23b', 'project_id': '2ad12a870fc0496097d02a3fb946b23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52466afa-1cce-47bd-902d-802c19dd6b31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-vn-40025803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-policy-allow-all-35073183']], 'subnet_ipam': [{'subnet_cidr': '13.246.91.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-31 11:36:47,071 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1441535-5ea4-4924-b34f-78f97f3c1c2d', 'name': 'ctest-vn-94836904', 'tenant_id': '2ad12a870fc0496097d02a3fb946b23b', 'project_id': '2ad12a870fc0496097d02a3fb946b23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dfd52c3b-1d5e-4625-b118-83b9d63d361e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-vn-94836904'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-policy-allow-all-35073183']], 'subnet_ipam': [{'subnet_cidr': '85.57.0.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-31 11:36:47,265 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:36:47,622 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:36:47,663 - DEBUG - Requesting: http://10.0.0.31:8082/domain/30266941-7870-412d-a94d-a196fb9dcdc6 2024-10-31 11:36:47,683 - DEBUG - Requesting: http://10.0.0.31:8082/project/2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:36:47,788 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:47,808 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:47,826 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e5fbf030-e7cf-4095-843a-355b77dea22a 2024-10-31 11:36:47,838 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e5fbf030-e7cf-4095-843a-355b77dea22a 2024-10-31 11:36:47,850 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/ae404cdb-e5a1-45e2-af1b-8ea5d3fc1e61 2024-10-31 11:36:47,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-31 11:36:47,861 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:47,878 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e5fbf030-e7cf-4095-843a-355b77dea22a 2024-10-31 11:36:47,903 - INFO - Verified VN network id 8 for VN 2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:47,904 - INFO - Verifications in API Server for VN ctest-vn-40025803 passed 2024-10-31 11:36:47,904 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:47,922 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e5fbf030-e7cf-4095-843a-355b77dea22a 2024-10-31 11:36:47,933 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e5fbf030-e7cf-4095-843a-355b77dea22a 2024-10-31 11:36:47,945 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/ae404cdb-e5a1-45e2-af1b-8ea5d3fc1e61 2024-10-31 11:36:47,964 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71899396', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2400623913759426845', 'uuid-lslong': '11293520218801703133'}, 'enable': 'true', 'created': '2024-10-31T11:36:45', 'last-modified': '2024-10-31T11:36:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.220716'} 2024-10-31 11:36:47,973 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-31 11:36:47,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40025803 passed 2024-10-31 11:36:47,973 - DEBUG - ====Verifying policy data for ctest-vn-40025803 in API_Server ====== 2024-10-31 11:36:47,973 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:36:47,981 - DEBUG - Requesting: http://10.0.0.31:8082/domain/30266941-7870-412d-a94d-a196fb9dcdc6 2024-10-31 11:36:47,999 - DEBUG - Requesting: http://10.0.0.31:8082/project/2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:36:48,096 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2150babb-02f0-491d-9cba-a4cda95e08dd 2024-10-31 11:36:48,115 - DEBUG - ==>Verifying data for policy with id: b502308d-77e0-447f-8ef1-bf46beef5177, fqn: ['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-policy-allow-all-35073183'] 2024-10-31 11:36:48,115 - INFO - VN ctest-vn-40025803 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-31 11:36:48,115 - DEBUG - Verifying the vn in opserver 2024-10-31 11:36:48,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803 virtual network link through opserver 10.0.0.31 2024-10-31 11:36:48,116 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2024-10-31 11:36:48,462 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2024-10-31 11:36:48,552 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803?flat'} 2024-10-31 11:36:48,552 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803 is found in opserver 2024-10-31 11:36:48,567 - DEBUG - Do not have enough data to verify VN in agent 2024-10-31 11:36:48,573 - DEBUG - VRF ids for VN ctest-vn-40025803: {} 2024-10-31 11:36:48,574 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:36:48,582 - DEBUG - Requesting: http://10.0.0.31:8082/domain/30266941-7870-412d-a94d-a196fb9dcdc6 2024-10-31 11:36:48,607 - DEBUG - Requesting: http://10.0.0.31:8082/project/2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:36:48,706 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:48,729 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:48,752 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/80cb0b02-9189-4b0f-8648-14db8aa035bd 2024-10-31 11:36:48,769 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/80cb0b02-9189-4b0f-8648-14db8aa035bd 2024-10-31 11:36:48,783 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/5e8b1db7-b8dd-4c7a-adaf-1b249f7292c5 2024-10-31 11:36:48,797 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-31 11:36:48,797 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:48,818 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/80cb0b02-9189-4b0f-8648-14db8aa035bd 2024-10-31 11:36:48,848 - INFO - Verified VN network id 9 for VN b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:48,849 - INFO - Verifications in API Server for VN ctest-vn-94836904 passed 2024-10-31 11:36:48,849 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:48,868 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/80cb0b02-9189-4b0f-8648-14db8aa035bd 2024-10-31 11:36:48,880 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/80cb0b02-9189-4b0f-8648-14db8aa035bd 2024-10-31 11:36:48,893 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/5e8b1db7-b8dd-4c7a-adaf-1b249f7292c5 2024-10-31 11:36:48,912 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-94836904', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71899396', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12773357762094844196', 'uuid-lslong': '12920678868926077997'}, 'enable': 'true', 'created': '2024-10-31T11:36:45', 'last-modified': '2024-10-31T11:36:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.884024'} 2024-10-31 11:36:48,922 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-31 11:36:48,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94836904 passed 2024-10-31 11:36:48,922 - DEBUG - ====Verifying policy data for ctest-vn-94836904 in API_Server ====== 2024-10-31 11:36:48,922 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:36:48,932 - DEBUG - Requesting: http://10.0.0.31:8082/domain/30266941-7870-412d-a94d-a196fb9dcdc6 2024-10-31 11:36:48,952 - DEBUG - Requesting: http://10.0.0.31:8082/project/2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:36:49,045 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b1441535-5ea4-4924-b34f-78f97f3c1c2d 2024-10-31 11:36:49,064 - DEBUG - ==>Verifying data for policy with id: b502308d-77e0-447f-8ef1-bf46beef5177, fqn: ['default-domain', 'ctest-TestBasicPolicy-71899396', 'ctest-policy-allow-all-35073183'] 2024-10-31 11:36:49,064 - INFO - VN ctest-vn-94836904 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-31 11:36:49,064 - DEBUG - Verifying the vn in opserver 2024-10-31 11:36:49,064 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-94836904 virtual network link through opserver 10.0.0.31 2024-10-31 11:36:49,064 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2024-10-31 11:36:49,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-94836904', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-94836904?flat'} 2024-10-31 11:36:49,080 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-94836904 is found in opserver 2024-10-31 11:36:49,092 - DEBUG - Do not have enough data to verify VN in agent 2024-10-31 11:36:49,099 - DEBUG - VRF ids for VN ctest-vn-94836904: {} 2024-10-31 11:36:49,168 - DEBUG - Services list from nova: [, , ] 2024-10-31 11:36:50,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2184-1) 2024-10-31 11:36:51,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2184-1) 2024-10-31 11:36:51,975 - INFO - Waiting for VM ctest-TestBasicPolicy-71899396-13826167 to be up.. 2024-10-31 11:36:52,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-31 11:36:57,218 - DEBUG - VM is in ACTIVE state now 2024-10-31 11:36:57,218 - INFO - VM name : ctest-TestBasicPolicy-71899396-13826167 2024-10-31 11:36:57,335 - DEBUG - VM ctest-TestBasicPolicy-71899396-13826167 ID is 1f53ea01-8ca0-4ccc-8b86-b24c5c5f086b 2024-10-31 11:36:57,365 - DEBUG - VM ctest-TestBasicPolicy-71899396-13826167 launched on Node cn-jenkins-deploy-platform-ansible-os-2184-1 2024-10-31 11:36:57,485 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/1f53ea01-8ca0-4ccc-8b86-b24c5c5f086b 2024-10-31 11:36:57,499 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/43675fc8-b9d4-4ae8-bd40-b5135bbfd6cc 2024-10-31 11:37:00,793 - 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') 2024-10-31 11:37:00,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71899396-13826167 failed! 2024-10-31 11:37:00,872 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71899396:ctest-vn-40025803 is 13.246.91.1 and allocation pool is NOT set 2024-10-31 11:37:04,950 - 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=2 ttl=63 time=7.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 7.383/7.383/7.383/0.000 ms') 2024-10-31 11:37:04,950 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71899396-13826167 passed 2024-10-31 11:37:05,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:37:05,121 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71899396-13826167, IP 13.246.91.3, Port 22 2024-10-31 11:37:05,280 - DEBUG - VM ctest-TestBasicPolicy-71899396-13826167 is ready for SSH connections 2024-10-31 11:37:05,280 - INFO - Waiting for VM ctest-TestBasicPolicy-71899396-48889253 to be up.. 2024-10-31 11:37:05,386 - DEBUG - VM is in ACTIVE state now 2024-10-31 11:37:05,386 - INFO - VM name : ctest-TestBasicPolicy-71899396-48889253 2024-10-31 11:37:05,517 - DEBUG - VM ctest-TestBasicPolicy-71899396-48889253 ID is d7329a7d-3f9a-46d9-a2de-8cb1c06cbb81 2024-10-31 11:37:05,517 - DEBUG - VM ctest-TestBasicPolicy-71899396-48889253 launched on Node cn-jenkins-deploy-platform-ansible-os-2184-1 2024-10-31 11:37:05,620 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d7329a7d-3f9a-46d9-a2de-8cb1c06cbb81 2024-10-31 11:37:05,634 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/d51fe8a7-5cad-44fd-a59f-d03fc0230af3 2024-10-31 11:37:06,898 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 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.558/1.942/3.327/1.384 ms') 2024-10-31 11:37:06,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71899396-48889253 passed 2024-10-31 11:37:07,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:37:07,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71899396-48889253, IP 85.57.0.195, Port 22 2024-10-31 11:37:07,213 - DEBUG - VM ctest-TestBasicPolicy-71899396-48889253 is ready for SSH connections 2024-10-31 11:37:07,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:37:07,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.57.0.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-10-31 11:37:07,213 - DEBUG - ping -s 56 -c 3 -W 1 85.57.0.195 2024-10-31 11:37:11,388 - DEBUG - PING 85.57.0.195 (85.57.0.195): 56 data bytes 64 bytes from 85.57.0.195: seq=0 ttl=63 time=4.360 ms 64 bytes from 85.57.0.195: seq=1 ttl=63 time=0.967 ms 64 bytes from 85.57.0.195: seq=2 ttl=63 time=1.197 ms --- 85.57.0.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/2.174/4.360 ms 2024-10-31 11:37:11,388 - INFO - Ping to IP 85.57.0.195 from VM ctest-TestBasicPolicy-71899396-13826167 passed 2024-10-31 11:37:11,592 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b502308d-77e0-447f-8ef1-bf46beef5177", "href": "http://10.0.0.31:8082/network-policy/b502308d-77e0-447f-8ef1-bf46beef5177"}} 2024-10-31 11:37:11,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:37:11,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.57.0.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-10-31 11:37:11,593 - DEBUG - ping -s 56 -c 3 -W 1 85.57.0.195 2024-10-31 11:37:14,845 - DEBUG - PING 85.57.0.195 (85.57.0.195): 56 data bytes --- 85.57.0.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-10-31 11:37:14,845 - WARNING - Ping to IP 85.57.0.195 from VM ctest-TestBasicPolicy-71899396-13826167 failed 2024-10-31 11:37:14,845 - INFO - Deleting VM ctest-TestBasicPolicy-71899396-48889253 2024-10-31 11:37:14,946 - INFO - Deleting VM ctest-TestBasicPolicy-71899396-13826167 2024-10-31 11:37:15,485 - INFO - Deleted policy ctest-policy-allow-all-35073183 2024-10-31 11:37:15,485 - INFO - Deleting VN ctest-vn-94836904 2024-10-31 11:37:15,542 - DEBUG - VN b1441535-5ea4-4924-b34f-78f97f3c1c2d still in use: Unable to complete operation on network b1441535-5ea4-4924-b34f-78f97f3c1c2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2b322d8-e9f9-482c-b12e-0d50c5ff930d'] 2024-10-31 11:37:15,542 - WARNING - Deleting VN ctest-vn-94836904 failed..Will retry 2024-10-31 11:37:17,702 - DEBUG - Response for deleting network () 2024-10-31 11:37:17,702 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/80cb0b02-9189-4b0f-8648-14db8aa035bd 2024-10-31 11:37:17,712 - DEBUG - Response Code: 404 2024-10-31 11:37:17,712 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:37:17,720 - DEBUG - Requesting: http://10.0.0.31:8082/domain/30266941-7870-412d-a94d-a196fb9dcdc6 2024-10-31 11:37:17,782 - DEBUG - Requesting: http://10.0.0.31:8082/project/2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:37:17,873 - INFO - Validated that VN ctest-vn-94836904 is not found in API Server 2024-10-31 11:37:17,888 - DEBUG - VN ctest-vn-94836904 is not present in Agent 10.0.0.31 2024-10-31 11:37:17,888 - INFO - Validated that VN ctest-vn-94836904 is not in any agent 2024-10-31 11:37:17,913 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94836904 info 2024-10-31 11:37:17,913 - INFO - Deleting VN ctest-vn-40025803 2024-10-31 11:37:18,049 - DEBUG - Response for deleting network () 2024-10-31 11:37:18,049 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e5fbf030-e7cf-4095-843a-355b77dea22a 2024-10-31 11:37:18,057 - DEBUG - Response Code: 404 2024-10-31 11:37:18,057 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-10-31 11:37:18,066 - DEBUG - Requesting: http://10.0.0.31:8082/domain/30266941-7870-412d-a94d-a196fb9dcdc6 2024-10-31 11:37:18,092 - DEBUG - Requesting: http://10.0.0.31:8082/project/2ad12a87-0fc0-4960-97d0-2a3fb946b23b 2024-10-31 11:37:18,197 - INFO - Validated that VN ctest-vn-40025803 is not found in API Server 2024-10-31 11:37:18,212 - DEBUG - VN ctest-vn-40025803 is not present in Agent 10.0.0.31 2024-10-31 11:37:18,212 - INFO - Validated that VN ctest-vn-40025803 is not in any agent 2024-10-31 11:37:18,237 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40025803 info 2024-10-31 11:37:18,499 - DEBUG - No XMPP flaps were noticed during the test 2024-10-31 11:37:18,500 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2024-10-31 11:37:18,500 - INFO - -------------------------------------------------------------------------------- 2024-10-31 11:37:19,341 - INFO - Deleted project: ctest-TestBasicPolicy-71899396, ID : 2ad12a87-0fc0-4960-97d0-2a3fb946b23b