2024-09-16 02:18:04,170 - INFO - Domain Default found not creating 2024-09-16 02:18:04,349 - INFO - Project ctest-TestBasicPolicy-44059135 not found, creating it 2024-09-16 02:18:04,835 - INFO - Created Project:ctest-TestBasicPolicy-44059135, ID : 70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:06,293 - INFO - ================================================================================ 2024-09-16 02:18:06,293 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-16 02:18:06,293 - 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-09-16 02:18:06,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.18': '0'}} with 2024-09-16 02:18:06,551 - INFO - Initial checks done. Running the testcase now 2024-09-16 02:18:06,551 - INFO - 2024-09-16 02:18:07,119 - DEBUG - Response for create_network : {'network': {'id': 'b4529505-f027-4094-9a0e-9cf67655fe20', 'name': 'ctest-vn-62115427', 'tenant_id': '70790ced15c8436ab5c5acfa465b059d', 'project_id': '70790ced15c8436ab5c5acfa465b059d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-vn-62115427'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 02:18:07,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a06f0c8-7cb0-4475-970c-0d9a4f784249', 'name': '', 'tenant_id': '70790ced15c8436ab5c5acfa465b059d', 'network_id': 'b4529505-f027-4094-9a0e-9cf67655fe20', 'ip_version': 4, 'cidr': '81.213.163.64/26', 'allocation_pools': [{'start': '81.213.163.66', 'end': '81.213.163.126'}], 'gateway_ip': '81.213.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.213.163.66', 'tags': [], 'project_id': '70790ced15c8436ab5c5acfa465b059d'}} 2024-09-16 02:18:07,363 - INFO - Created VN ctest-vn-62115427 2024-09-16 02:18:07,422 - DEBUG - VN ctest-vn-62115427 UUID is b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:07,720 - DEBUG - Response for create_network : {'network': {'id': 'f5fb66d5-1974-4921-852b-fd5887584224', 'name': 'ctest-vn-86079863', 'tenant_id': '70790ced15c8436ab5c5acfa465b059d', 'project_id': '70790ced15c8436ab5c5acfa465b059d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-vn-86079863'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 02:18:07,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '60fc6213-e490-43bd-bf2a-6f77b48bbf01', 'name': '', 'tenant_id': '70790ced15c8436ab5c5acfa465b059d', 'network_id': 'f5fb66d5-1974-4921-852b-fd5887584224', 'ip_version': 4, 'cidr': '26.187.201.64/26', 'allocation_pools': [{'start': '26.187.201.66', 'end': '26.187.201.126'}], 'gateway_ip': '26.187.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.187.201.66', 'tags': [], 'project_id': '70790ced15c8436ab5c5acfa465b059d'}} 2024-09-16 02:18:07,906 - INFO - Created VN ctest-vn-86079863 2024-09-16 02:18:07,962 - DEBUG - VN ctest-vn-86079863 UUID is f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:08,118 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427, 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-44059135:ctest-vn-86079863, 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-09-16 02:18:08,428 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4529505-f027-4094-9a0e-9cf67655fe20', 'name': 'ctest-vn-62115427', 'tenant_id': '70790ced15c8436ab5c5acfa465b059d', 'project_id': '70790ced15c8436ab5c5acfa465b059d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a06f0c8-7cb0-4475-970c-0d9a4f784249'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-vn-62115427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-policy-allow-all-37407450']], 'subnet_ipam': [{'subnet_cidr': '81.213.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-16 02:18:08,674 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5fb66d5-1974-4921-852b-fd5887584224', 'name': 'ctest-vn-86079863', 'tenant_id': '70790ced15c8436ab5c5acfa465b059d', 'project_id': '70790ced15c8436ab5c5acfa465b059d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60fc6213-e490-43bd-bf2a-6f77b48bbf01'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-vn-86079863'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-policy-allow-all-37407450']], 'subnet_ipam': [{'subnet_cidr': '26.187.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-16 02:18:08,858 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:09,160 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:09,200 - DEBUG - Requesting: http://10.0.0.17:8082/domain/373645a6-40c1-41f7-af2f-e489b0f1b81f 2024-09-16 02:18:09,214 - DEBUG - Requesting: http://10.0.0.17:8082/project/70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:09,293 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:09,310 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:09,323 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f8cab689-0148-4e26-b6eb-d7dcf5ea3c12 2024-09-16 02:18:09,332 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f8cab689-0148-4e26-b6eb-d7dcf5ea3c12 2024-09-16 02:18:09,341 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/67a31620-57fd-4629-b105-6a7c549bac09 2024-09-16 02:18:09,350 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-16 02:18:09,350 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:09,362 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f8cab689-0148-4e26-b6eb-d7dcf5ea3c12 2024-09-16 02:18:09,380 - INFO - Verified VN network id 8 for VN b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:09,381 - INFO - Verifications in API Server for VN ctest-vn-62115427 passed 2024-09-16 02:18:09,381 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:09,393 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f8cab689-0148-4e26-b6eb-d7dcf5ea3c12 2024-09-16 02:18:09,401 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f8cab689-0148-4e26-b6eb-d7dcf5ea3c12 2024-09-16 02:18:09,410 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/67a31620-57fd-4629-b105-6a7c549bac09 2024-09-16 02:18:09,424 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44059135', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12993611727653781652', 'uuid-lslong': '11100982713876086304'}, 'enable': 'true', 'created': '2024-09-16T02:18:07', 'last-modified': '2024-09-16T02:18:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021229'} 2024-09-16 02:18:09,431 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-16 02:18:09,431 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62115427 passed 2024-09-16 02:18:09,431 - DEBUG - ====Verifying policy data for ctest-vn-62115427 in API_Server ====== 2024-09-16 02:18:09,431 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:09,438 - DEBUG - Requesting: http://10.0.0.17:8082/domain/373645a6-40c1-41f7-af2f-e489b0f1b81f 2024-09-16 02:18:09,452 - DEBUG - Requesting: http://10.0.0.17:8082/project/70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:09,541 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b4529505-f027-4094-9a0e-9cf67655fe20 2024-09-16 02:18:09,560 - DEBUG - ==>Verifying data for policy with id: f2fa8f89-a4d6-4c2c-a830-8f024e56d14d, fqn: ['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-policy-allow-all-37407450'] 2024-09-16 02:18:09,560 - INFO - VN ctest-vn-62115427 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-16 02:18:09,560 - DEBUG - Verifying the vn in opserver 2024-09-16 02:18:09,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427 virtual network link through opserver 10.0.0.17 2024-09-16 02:18:09,561 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-16 02:18:09,853 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-16 02:18:09,912 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427?flat'} 2024-09-16 02:18:09,912 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427 is found in opserver 2024-09-16 02:18:09,923 - DEBUG - Do not have enough data to verify VN in agent 2024-09-16 02:18:09,928 - DEBUG - VRF ids for VN ctest-vn-62115427: {} 2024-09-16 02:18:09,928 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:09,934 - DEBUG - Requesting: http://10.0.0.17:8082/domain/373645a6-40c1-41f7-af2f-e489b0f1b81f 2024-09-16 02:18:09,946 - DEBUG - Requesting: http://10.0.0.17:8082/project/70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:10,024 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:10,040 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:10,055 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5c8a6115-262a-4907-abe9-90d68c458fb0 2024-09-16 02:18:10,064 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5c8a6115-262a-4907-abe9-90d68c458fb0 2024-09-16 02:18:10,073 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/750367ae-5fe8-4ce3-997d-bb5902a68e67 2024-09-16 02:18:10,080 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-16 02:18:10,080 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:10,094 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5c8a6115-262a-4907-abe9-90d68c458fb0 2024-09-16 02:18:10,114 - INFO - Verified VN network id 9 for VN f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:10,114 - INFO - Verifications in API Server for VN ctest-vn-86079863 passed 2024-09-16 02:18:10,114 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:10,127 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5c8a6115-262a-4907-abe9-90d68c458fb0 2024-09-16 02:18:10,135 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5c8a6115-262a-4907-abe9-90d68c458fb0 2024-09-16 02:18:10,143 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/750367ae-5fe8-4ce3-997d-bb5902a68e67 2024-09-16 02:18:10,156 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-86079863', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44059135', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17724873823887837473', 'uuid-lslong': '9596041987712631332'}, 'enable': 'true', 'created': '2024-09-16T02:18:07', 'last-modified': '2024-09-16T02:18:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510958'} 2024-09-16 02:18:10,163 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-16 02:18:10,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86079863 passed 2024-09-16 02:18:10,163 - DEBUG - ====Verifying policy data for ctest-vn-86079863 in API_Server ====== 2024-09-16 02:18:10,163 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:10,169 - DEBUG - Requesting: http://10.0.0.17:8082/domain/373645a6-40c1-41f7-af2f-e489b0f1b81f 2024-09-16 02:18:10,182 - DEBUG - Requesting: http://10.0.0.17:8082/project/70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:10,266 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f5fb66d5-1974-4921-852b-fd5887584224 2024-09-16 02:18:10,281 - DEBUG - ==>Verifying data for policy with id: f2fa8f89-a4d6-4c2c-a830-8f024e56d14d, fqn: ['default-domain', 'ctest-TestBasicPolicy-44059135', 'ctest-policy-allow-all-37407450'] 2024-09-16 02:18:10,281 - INFO - VN ctest-vn-86079863 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-16 02:18:10,281 - DEBUG - Verifying the vn in opserver 2024-09-16 02:18:10,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-86079863 virtual network link through opserver 10.0.0.17 2024-09-16 02:18:10,281 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-16 02:18:10,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-86079863', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-86079863?flat'} 2024-09-16 02:18:10,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-86079863 is found in opserver 2024-09-16 02:18:10,302 - DEBUG - Do not have enough data to verify VN in agent 2024-09-16 02:18:10,307 - DEBUG - VRF ids for VN ctest-vn-86079863: {} 2024-09-16 02:18:10,360 - DEBUG - Services list from nova: [, , ] 2024-09-16 02:18:11,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1944-1) 2024-09-16 02:18:12,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1944-1) 2024-09-16 02:18:12,585 - INFO - Waiting for VM ctest-TestBasicPolicy-44059135-96413351 to be up.. 2024-09-16 02:18:12,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-16 02:18:17,736 - DEBUG - VM is in ACTIVE state now 2024-09-16 02:18:17,737 - INFO - VM name : ctest-TestBasicPolicy-44059135-96413351 2024-09-16 02:18:17,809 - DEBUG - VM ctest-TestBasicPolicy-44059135-96413351 ID is 1a3b1ec1-18d7-4482-beb7-987b9fc79da0 2024-09-16 02:18:17,827 - DEBUG - VM ctest-TestBasicPolicy-44059135-96413351 launched on Node cn-jenkins-deploy-platform-ansible-os-1944-1 2024-09-16 02:18:17,902 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/1a3b1ec1-18d7-4482-beb7-987b9fc79da0 2024-09-16 02:18:17,912 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/2627becc-6ed5-4f33-9c06-c60db4979b69 2024-09-16 02:18:21,183 - 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 1024ms') 2024-09-16 02:18:21,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44059135-96413351 failed! 2024-09-16 02:18:21,246 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44059135:ctest-vn-62115427 is 81.213.163.65 and allocation pool is NOT set 2024-09-16 02:18:23,308 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.602/2.811/1.208 ms') 2024-09-16 02:18:23,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44059135-96413351 passed 2024-09-16 02:18:23,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:18:23,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44059135-96413351, IP 81.213.163.67, Port 22 2024-09-16 02:18:23,622 - DEBUG - VM ctest-TestBasicPolicy-44059135-96413351 is ready for SSH connections 2024-09-16 02:18:23,622 - INFO - Waiting for VM ctest-TestBasicPolicy-44059135-73757298 to be up.. 2024-09-16 02:18:23,707 - DEBUG - VM is in ACTIVE state now 2024-09-16 02:18:23,707 - INFO - VM name : ctest-TestBasicPolicy-44059135-73757298 2024-09-16 02:18:23,787 - DEBUG - VM ctest-TestBasicPolicy-44059135-73757298 ID is 1567a09b-7b8e-4c0d-afb6-da4b6634ba28 2024-09-16 02:18:23,787 - DEBUG - VM ctest-TestBasicPolicy-44059135-73757298 launched on Node cn-jenkins-deploy-platform-ansible-os-1944-1 2024-09-16 02:18:23,865 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/1567a09b-7b8e-4c0d-afb6-da4b6634ba28 2024-09-16 02:18:23,875 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/8158060b-1cee-479a-b07c-2ecd4d262676 2024-09-16 02:18:25,137 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.566/2.762/1.196 ms') 2024-09-16 02:18:25,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44059135-73757298 passed 2024-09-16 02:18:25,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:18:25,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44059135-73757298, IP 26.187.201.67, Port 22 2024-09-16 02:18:25,470 - DEBUG - VM ctest-TestBasicPolicy-44059135-73757298 is ready for SSH connections 2024-09-16 02:18:25,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:18:25,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.187.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-16 02:18:25,471 - DEBUG - ping -s 56 -c 3 -W 1 26.187.201.67 2024-09-16 02:18:29,412 - DEBUG - PING 26.187.201.67 (26.187.201.67): 56 data bytes 64 bytes from 26.187.201.67: seq=0 ttl=63 time=3.167 ms 64 bytes from 26.187.201.67: seq=1 ttl=63 time=0.759 ms 64 bytes from 26.187.201.67: seq=2 ttl=63 time=0.728 ms --- 26.187.201.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.551/3.167 ms 2024-09-16 02:18:29,412 - INFO - Ping to IP 26.187.201.67 from VM ctest-TestBasicPolicy-44059135-96413351 passed 2024-09-16 02:18:29,602 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2fa8f89-a4d6-4c2c-a830-8f024e56d14d", "href": "http://10.0.0.17:8082/network-policy/f2fa8f89-a4d6-4c2c-a830-8f024e56d14d"}} 2024-09-16 02:18:29,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:18:29,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.187.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-16 02:18:29,602 - DEBUG - ping -s 56 -c 3 -W 1 26.187.201.67 2024-09-16 02:18:32,802 - DEBUG - PING 26.187.201.67 (26.187.201.67): 56 data bytes --- 26.187.201.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-16 02:18:32,802 - WARNING - Ping to IP 26.187.201.67 from VM ctest-TestBasicPolicy-44059135-96413351 failed 2024-09-16 02:18:32,802 - INFO - Deleting VM ctest-TestBasicPolicy-44059135-73757298 2024-09-16 02:18:32,859 - INFO - Deleting VM ctest-TestBasicPolicy-44059135-96413351 2024-09-16 02:18:33,269 - INFO - Deleted policy ctest-policy-allow-all-37407450 2024-09-16 02:18:33,269 - INFO - Deleting VN ctest-vn-86079863 2024-09-16 02:18:33,304 - DEBUG - VN f5fb66d5-1974-4921-852b-fd5887584224 still in use: Unable to complete operation on network f5fb66d5-1974-4921-852b-fd5887584224. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ba81069-e966-4f15-9c83-0ae845e1db0d'] 2024-09-16 02:18:33,304 - WARNING - Deleting VN ctest-vn-86079863 failed..Will retry 2024-09-16 02:18:35,408 - DEBUG - Response for deleting network () 2024-09-16 02:18:35,408 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5c8a6115-262a-4907-abe9-90d68c458fb0 2024-09-16 02:18:35,418 - DEBUG - Response Code: 404 2024-09-16 02:18:35,418 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:35,425 - DEBUG - Requesting: http://10.0.0.17:8082/domain/373645a6-40c1-41f7-af2f-e489b0f1b81f 2024-09-16 02:18:35,480 - DEBUG - Requesting: http://10.0.0.17:8082/project/70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:35,567 - INFO - Validated that VN ctest-vn-86079863 is not found in API Server 2024-09-16 02:18:35,578 - DEBUG - VN ctest-vn-86079863 is not present in Agent 10.0.0.17 2024-09-16 02:18:35,578 - INFO - Validated that VN ctest-vn-86079863 is not in any agent 2024-09-16 02:18:35,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86079863 info 2024-09-16 02:18:35,594 - INFO - Deleting VN ctest-vn-62115427 2024-09-16 02:18:35,715 - DEBUG - Response for deleting network () 2024-09-16 02:18:35,715 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f8cab689-0148-4e26-b6eb-d7dcf5ea3c12 2024-09-16 02:18:35,725 - DEBUG - Response Code: 404 2024-09-16 02:18:35,725 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-16 02:18:35,731 - DEBUG - Requesting: http://10.0.0.17:8082/domain/373645a6-40c1-41f7-af2f-e489b0f1b81f 2024-09-16 02:18:35,789 - DEBUG - Requesting: http://10.0.0.17:8082/project/70790ced-15c8-436a-b5c5-acfa465b059d 2024-09-16 02:18:35,880 - INFO - Validated that VN ctest-vn-62115427 is not found in API Server 2024-09-16 02:18:35,892 - DEBUG - VN ctest-vn-62115427 is not present in Agent 10.0.0.17 2024-09-16 02:18:35,892 - INFO - Validated that VN ctest-vn-62115427 is not in any agent 2024-09-16 02:18:35,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62115427 info 2024-09-16 02:18:36,159 - DEBUG - No XMPP flaps were noticed during the test 2024-09-16 02:18:36,159 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-16 02:18:36,160 - INFO - -------------------------------------------------------------------------------- 2024-09-16 02:18:36,871 - INFO - Deleted project: ctest-TestBasicPolicy-44059135, ID : 70790ced-15c8-436a-b5c5-acfa465b059d