2024-08-29 11:21:48,937 - INFO - Domain Default found not creating 2024-08-29 11:21:49,127 - INFO - Project ctest-TestBasicPolicy-15400405 not found, creating it 2024-08-29 11:21:49,626 - INFO - Created Project:ctest-TestBasicPolicy-15400405, ID : 3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:21:51,856 - INFO - ================================================================================ 2024-08-29 11:21:51,856 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-29 11:21:51,856 - 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-08-29 11:21:52,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.8': '0'}} with 2024-08-29 11:21:52,114 - INFO - Initial checks done. Running the testcase now 2024-08-29 11:21:52,114 - INFO - 2024-08-29 11:21:52,689 - DEBUG - Response for create_network : {'network': {'id': '18c9f720-0867-41f3-908a-b7f9552c6810', 'name': 'ctest-vn-31049613', 'tenant_id': '3d8926b917d944c3886daea7430e0df6', 'project_id': '3d8926b917d944c3886daea7430e0df6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-vn-31049613'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:21:52,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a822e2e9-6948-4880-846d-7295171cb18d', 'name': '', 'tenant_id': '3d8926b917d944c3886daea7430e0df6', 'network_id': '18c9f720-0867-41f3-908a-b7f9552c6810', 'ip_version': 4, 'cidr': '79.6.73.192/26', 'allocation_pools': [{'start': '79.6.73.194', 'end': '79.6.73.254'}], 'gateway_ip': '79.6.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.6.73.194', 'tags': [], 'project_id': '3d8926b917d944c3886daea7430e0df6'}} 2024-08-29 11:21:52,929 - INFO - Created VN ctest-vn-31049613 2024-08-29 11:21:52,980 - DEBUG - VN ctest-vn-31049613 UUID is 18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:53,284 - DEBUG - Response for create_network : {'network': {'id': '9baceba2-e42f-4098-980b-edcae87f8fe9', 'name': 'ctest-vn-57819299', 'tenant_id': '3d8926b917d944c3886daea7430e0df6', 'project_id': '3d8926b917d944c3886daea7430e0df6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-vn-57819299'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:21:53,506 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b76e803b-531c-47d6-ad48-f3d5f665e409', 'name': '', 'tenant_id': '3d8926b917d944c3886daea7430e0df6', 'network_id': '9baceba2-e42f-4098-980b-edcae87f8fe9', 'ip_version': 4, 'cidr': '44.57.85.64/26', 'allocation_pools': [{'start': '44.57.85.66', 'end': '44.57.85.126'}], 'gateway_ip': '44.57.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.57.85.66', 'tags': [], 'project_id': '3d8926b917d944c3886daea7430e0df6'}} 2024-08-29 11:21:53,530 - INFO - Created VN ctest-vn-57819299 2024-08-29 11:21:53,584 - DEBUG - VN ctest-vn-57819299 UUID is 9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:53,708 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613, 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-15400405:ctest-vn-57819299, 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-08-29 11:21:54,052 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18c9f720-0867-41f3-908a-b7f9552c6810', 'name': 'ctest-vn-31049613', 'tenant_id': '3d8926b917d944c3886daea7430e0df6', 'project_id': '3d8926b917d944c3886daea7430e0df6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a822e2e9-6948-4880-846d-7295171cb18d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-vn-31049613'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-policy-allow-all-14708556']], 'subnet_ipam': [{'subnet_cidr': '79.6.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:21:54,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9baceba2-e42f-4098-980b-edcae87f8fe9', 'name': 'ctest-vn-57819299', 'tenant_id': '3d8926b917d944c3886daea7430e0df6', 'project_id': '3d8926b917d944c3886daea7430e0df6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b76e803b-531c-47d6-ad48-f3d5f665e409'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-vn-57819299'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-policy-allow-all-14708556']], 'subnet_ipam': [{'subnet_cidr': '44.57.85.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:21:54,467 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:21:54,763 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:21:54,797 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf16093-709e-414f-a1d4-cff525204678 2024-08-29 11:21:54,811 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:21:54,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:54,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:54,903 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49aba87b-49a5-434e-b41f-c12a1f4a8a5f 2024-08-29 11:21:54,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49aba87b-49a5-434e-b41f-c12a1f4a8a5f 2024-08-29 11:21:54,919 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22abbf77-7f9d-427f-bb52-9801abf59f91 2024-08-29 11:21:54,928 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-29 11:21:54,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:54,937 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49aba87b-49a5-434e-b41f-c12a1f4a8a5f 2024-08-29 11:21:54,953 - INFO - Verified VN network id 8 for VN 18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:54,953 - INFO - Verifications in API Server for VN ctest-vn-31049613 passed 2024-08-29 11:21:54,953 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:54,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49aba87b-49a5-434e-b41f-c12a1f4a8a5f 2024-08-29 11:21:54,971 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49aba87b-49a5-434e-b41f-c12a1f4a8a5f 2024-08-29 11:21:54,981 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22abbf77-7f9d-427f-bb52-9801abf59f91 2024-08-29 11:21:54,996 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15400405', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1786230444181111283', 'uuid-lslong': '10415339369751406608'}, 'enable': 'true', 'created': '2024-08-29T11:21:52', 'last-modified': '2024-08-29T11:21:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977777'} 2024-08-29 11:21:55,004 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-29 11:21:55,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31049613 passed 2024-08-29 11:21:55,004 - DEBUG - ====Verifying policy data for ctest-vn-31049613 in API_Server ====== 2024-08-29 11:21:55,005 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:21:55,012 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf16093-709e-414f-a1d4-cff525204678 2024-08-29 11:21:55,024 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:21:55,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18c9f720-0867-41f3-908a-b7f9552c6810 2024-08-29 11:21:55,103 - DEBUG - ==>Verifying data for policy with id: d736f3c0-a6f0-410c-a813-b972731a2ae0, fqn: ['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-policy-allow-all-14708556'] 2024-08-29 11:21:55,103 - INFO - VN ctest-vn-31049613 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-29 11:21:55,103 - DEBUG - Verifying the vn in opserver 2024-08-29 11:21:55,103 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613 virtual network link through opserver 10.0.0.38 2024-08-29 11:21:55,103 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-08-29 11:21:55,413 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-08-29 11:21:55,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613?flat'} 2024-08-29 11:21:55,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613 is found in opserver 2024-08-29 11:21:55,497 - DEBUG - Do not have enough data to verify VN in agent 2024-08-29 11:21:55,503 - DEBUG - VRF ids for VN ctest-vn-31049613: {} 2024-08-29 11:21:55,503 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:21:55,513 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf16093-709e-414f-a1d4-cff525204678 2024-08-29 11:21:55,526 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:21:55,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:55,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:55,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96030cab-0f35-4f2d-b2f7-33378f318a83 2024-08-29 11:21:55,634 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96030cab-0f35-4f2d-b2f7-33378f318a83 2024-08-29 11:21:55,642 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/537e46d2-dc05-499d-981d-931c704ba415 2024-08-29 11:21:55,649 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-29 11:21:55,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:55,657 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96030cab-0f35-4f2d-b2f7-33378f318a83 2024-08-29 11:21:55,670 - INFO - Verified VN network id 9 for VN 9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:55,670 - INFO - Verifications in API Server for VN ctest-vn-57819299 passed 2024-08-29 11:21:55,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:55,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96030cab-0f35-4f2d-b2f7-33378f318a83 2024-08-29 11:21:55,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96030cab-0f35-4f2d-b2f7-33378f318a83 2024-08-29 11:21:55,693 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/537e46d2-dc05-499d-981d-931c704ba415 2024-08-29 11:21:55,706 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-57819299', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15400405', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11217599856718594200', 'uuid-lslong': '10956111974248714217'}, 'enable': 'true', 'created': '2024-08-29T11:21:53', 'last-modified': '2024-08-29T11:21:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437965'} 2024-08-29 11:21:55,716 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-29 11:21:55,716 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57819299 passed 2024-08-29 11:21:55,716 - DEBUG - ====Verifying policy data for ctest-vn-57819299 in API_Server ====== 2024-08-29 11:21:55,716 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:21:55,723 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf16093-709e-414f-a1d4-cff525204678 2024-08-29 11:21:55,737 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:21:55,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9baceba2-e42f-4098-980b-edcae87f8fe9 2024-08-29 11:21:55,820 - DEBUG - ==>Verifying data for policy with id: d736f3c0-a6f0-410c-a813-b972731a2ae0, fqn: ['default-domain', 'ctest-TestBasicPolicy-15400405', 'ctest-policy-allow-all-14708556'] 2024-08-29 11:21:55,820 - INFO - VN ctest-vn-57819299 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-29 11:21:55,820 - DEBUG - Verifying the vn in opserver 2024-08-29 11:21:55,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-57819299 virtual network link through opserver 10.0.0.38 2024-08-29 11:21:55,820 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-08-29 11:21:55,834 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-57819299', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-57819299?flat'} 2024-08-29 11:21:55,834 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-57819299 is found in opserver 2024-08-29 11:21:55,846 - DEBUG - Do not have enough data to verify VN in agent 2024-08-29 11:21:55,851 - DEBUG - VRF ids for VN ctest-vn-57819299: {} 2024-08-29 11:21:55,919 - DEBUG - Services list from nova: [, , ] 2024-08-29 11:21:56,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1806-1) 2024-08-29 11:21:58,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1806-1) 2024-08-29 11:21:58,275 - INFO - Waiting for VM ctest-TestBasicPolicy-15400405-83168829 to be up.. 2024-08-29 11:21:58,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 11:22:03,460 - DEBUG - VM is in ACTIVE state now 2024-08-29 11:22:03,461 - INFO - VM name : ctest-TestBasicPolicy-15400405-83168829 2024-08-29 11:22:03,558 - DEBUG - VM ctest-TestBasicPolicy-15400405-83168829 ID is 7e1d1832-3402-4283-be1d-b9c68aea40d7 2024-08-29 11:22:03,582 - DEBUG - VM ctest-TestBasicPolicy-15400405-83168829 launched on Node cn-jenkins-deploy-platform-ansible-os-1806-1 2024-08-29 11:22:03,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7e1d1832-3402-4283-be1d-b9c68aea40d7 2024-08-29 11:22:03,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a576b82c-6da1-41b1-ae04-9ad191fb7dca 2024-08-29 11:22:06,986 - 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 1027ms') 2024-08-29 11:22:06,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15400405-83168829 failed! 2024-08-29 11:22:07,044 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15400405:ctest-vn-31049613 is 79.6.73.193 and allocation pool is NOT set 2024-08-29 11:22:09,109 - 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=7.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.649 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.649/3.988/7.328/3.339 ms') 2024-08-29 11:22:09,109 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15400405-83168829 passed 2024-08-29 11:22:09,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:22:09,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15400405-83168829, IP 79.6.73.195, Port 22 2024-08-29 11:22:09,441 - DEBUG - VM ctest-TestBasicPolicy-15400405-83168829 is ready for SSH connections 2024-08-29 11:22:09,441 - INFO - Waiting for VM ctest-TestBasicPolicy-15400405-48220072 to be up.. 2024-08-29 11:22:09,532 - DEBUG - VM is in ACTIVE state now 2024-08-29 11:22:09,532 - INFO - VM name : ctest-TestBasicPolicy-15400405-48220072 2024-08-29 11:22:09,637 - DEBUG - VM ctest-TestBasicPolicy-15400405-48220072 ID is f4f4bcd8-f635-44b8-a459-a00ab8a0761f 2024-08-29 11:22:09,637 - DEBUG - VM ctest-TestBasicPolicy-15400405-48220072 launched on Node cn-jenkins-deploy-platform-ansible-os-1806-1 2024-08-29 11:22:09,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f4f4bcd8-f635-44b8-a459-a00ab8a0761f 2024-08-29 11:22:09,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0db13420-dfc4-43e3-9b45-ebaf3c186d50 2024-08-29 11:22:10,979 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.70 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.699/3.054/4.410/1.355 ms') 2024-08-29 11:22:10,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15400405-48220072 passed 2024-08-29 11:22:11,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:22:11,132 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15400405-48220072, IP 44.57.85.67, Port 22 2024-08-29 11:22:11,288 - DEBUG - VM ctest-TestBasicPolicy-15400405-48220072 is ready for SSH connections 2024-08-29 11:22:11,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:22:11,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.57.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-29 11:22:11,288 - DEBUG - ping -s 56 -c 3 -W 1 44.57.85.67 2024-08-29 11:22:15,338 - DEBUG - PING 44.57.85.67 (44.57.85.67): 56 data bytes 64 bytes from 44.57.85.67: seq=0 ttl=63 time=5.209 ms 64 bytes from 44.57.85.67: seq=1 ttl=63 time=1.087 ms 64 bytes from 44.57.85.67: seq=2 ttl=63 time=0.889 ms --- 44.57.85.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/2.395/5.209 ms 2024-08-29 11:22:15,338 - INFO - Ping to IP 44.57.85.67 from VM ctest-TestBasicPolicy-15400405-83168829 passed 2024-08-29 11:22:15,515 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d736f3c0-a6f0-410c-a813-b972731a2ae0", "href": "http://10.0.0.38:8082/network-policy/d736f3c0-a6f0-410c-a813-b972731a2ae0"}} 2024-08-29 11:22:15,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:22:15,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.57.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-29 11:22:15,516 - DEBUG - ping -s 56 -c 3 -W 1 44.57.85.67 2024-08-29 11:22:18,731 - DEBUG - PING 44.57.85.67 (44.57.85.67): 56 data bytes 64 bytes from 44.57.85.67: seq=0 ttl=63 time=2.259 ms --- 44.57.85.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.259/2.259/2.259 ms 2024-08-29 11:22:18,732 - WARNING - Ping to IP 44.57.85.67 from VM ctest-TestBasicPolicy-15400405-83168829 failed 2024-08-29 11:22:18,732 - INFO - Deleting VM ctest-TestBasicPolicy-15400405-48220072 2024-08-29 11:22:18,803 - INFO - Deleting VM ctest-TestBasicPolicy-15400405-83168829 2024-08-29 11:22:19,226 - INFO - Deleted policy ctest-policy-allow-all-14708556 2024-08-29 11:22:19,227 - INFO - Deleting VN ctest-vn-57819299 2024-08-29 11:22:19,267 - DEBUG - VN 9baceba2-e42f-4098-980b-edcae87f8fe9 still in use: Unable to complete operation on network 9baceba2-e42f-4098-980b-edcae87f8fe9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b41eb4f4-bf2b-41bc-b02c-bf355c7c98fe'] 2024-08-29 11:22:19,267 - WARNING - Deleting VN ctest-vn-57819299 failed..Will retry 2024-08-29 11:22:21,380 - DEBUG - Response for deleting network () 2024-08-29 11:22:21,380 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96030cab-0f35-4f2d-b2f7-33378f318a83 2024-08-29 11:22:21,386 - DEBUG - Response Code: 404 2024-08-29 11:22:21,386 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:22:21,394 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf16093-709e-414f-a1d4-cff525204678 2024-08-29 11:22:21,453 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:22:21,530 - INFO - Validated that VN ctest-vn-57819299 is not found in API Server 2024-08-29 11:22:21,545 - DEBUG - VN ctest-vn-57819299 is not present in Agent 10.0.0.38 2024-08-29 11:22:21,545 - INFO - Validated that VN ctest-vn-57819299 is not in any agent 2024-08-29 11:22:21,564 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57819299 info 2024-08-29 11:22:21,564 - INFO - Deleting VN ctest-vn-31049613 2024-08-29 11:22:21,692 - DEBUG - Response for deleting network () 2024-08-29 11:22:21,692 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49aba87b-49a5-434e-b41f-c12a1f4a8a5f 2024-08-29 11:22:21,703 - DEBUG - Response Code: 404 2024-08-29 11:22:21,703 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-29 11:22:21,716 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf16093-709e-414f-a1d4-cff525204678 2024-08-29 11:22:21,733 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d8926b9-17d9-44c3-886d-aea7430e0df6 2024-08-29 11:22:21,820 - INFO - Validated that VN ctest-vn-31049613 is not found in API Server 2024-08-29 11:22:21,838 - DEBUG - VN ctest-vn-31049613 is not present in Agent 10.0.0.38 2024-08-29 11:22:21,838 - INFO - Validated that VN ctest-vn-31049613 is not in any agent 2024-08-29 11:22:21,867 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31049613 info 2024-08-29 11:22:22,123 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 11:22:22,123 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-08-29 11:22:22,123 - INFO - -------------------------------------------------------------------------------- 2024-08-29 11:22:22,826 - INFO - Deleted project: ctest-TestBasicPolicy-15400405, ID : 3d8926b9-17d9-44c3-886d-aea7430e0df6