2024-09-18 06:48:25,292 - INFO - Domain Default found not creating 2024-09-18 06:48:25,472 - INFO - Project ctest-TestBasicPolicy-41093118 not found, creating it 2024-09-18 06:48:25,982 - INFO - Created Project:ctest-TestBasicPolicy-41093118, ID : 244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:27,619 - INFO - ================================================================================ 2024-09-18 06:48:27,620 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-18 06:48:27,620 - 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-18 06:48:27,878 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.27': '0'}} with 2024-09-18 06:48:27,878 - INFO - Initial checks done. Running the testcase now 2024-09-18 06:48:27,878 - INFO - 2024-09-18 06:48:28,470 - DEBUG - Response for create_network : {'network': {'id': '7765f74d-36c3-4456-8c77-149fa3ca6a96', 'name': 'ctest-vn-36340291', 'tenant_id': '244a174ecb184b95b5e7cfd837509d7c', 'project_id': '244a174ecb184b95b5e7cfd837509d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-vn-36340291'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 06:48:28,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '20c1088f-b178-4f77-abfa-9e2a06773bdd', 'name': '', 'tenant_id': '244a174ecb184b95b5e7cfd837509d7c', 'network_id': '7765f74d-36c3-4456-8c77-149fa3ca6a96', 'ip_version': 4, 'cidr': '47.143.60.192/26', 'allocation_pools': [{'start': '47.143.60.194', 'end': '47.143.60.254'}], 'gateway_ip': '47.143.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.143.60.194', 'tags': [], 'project_id': '244a174ecb184b95b5e7cfd837509d7c'}} 2024-09-18 06:48:28,719 - INFO - Created VN ctest-vn-36340291 2024-09-18 06:48:28,777 - DEBUG - VN ctest-vn-36340291 UUID is 7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:29,102 - DEBUG - Response for create_network : {'network': {'id': '81ab387a-5194-4963-af73-04a3b030a53d', 'name': 'ctest-vn-62232604', 'tenant_id': '244a174ecb184b95b5e7cfd837509d7c', 'project_id': '244a174ecb184b95b5e7cfd837509d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-vn-62232604'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 06:48:29,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '999ed65c-2227-4e3c-b62a-5724452b4fe7', 'name': '', 'tenant_id': '244a174ecb184b95b5e7cfd837509d7c', 'network_id': '81ab387a-5194-4963-af73-04a3b030a53d', 'ip_version': 4, 'cidr': '25.58.199.0/26', 'allocation_pools': [{'start': '25.58.199.2', 'end': '25.58.199.62'}], 'gateway_ip': '25.58.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.58.199.2', 'tags': [], 'project_id': '244a174ecb184b95b5e7cfd837509d7c'}} 2024-09-18 06:48:29,325 - INFO - Created VN ctest-vn-62232604 2024-09-18 06:48:29,385 - DEBUG - VN ctest-vn-62232604 UUID is 81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:29,511 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291, 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-41093118:ctest-vn-62232604, 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-18 06:48:29,827 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7765f74d-36c3-4456-8c77-149fa3ca6a96', 'name': 'ctest-vn-36340291', 'tenant_id': '244a174ecb184b95b5e7cfd837509d7c', 'project_id': '244a174ecb184b95b5e7cfd837509d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20c1088f-b178-4f77-abfa-9e2a06773bdd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-vn-36340291'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-policy-allow-all-97905664']], 'subnet_ipam': [{'subnet_cidr': '47.143.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-18 06:48:30,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81ab387a-5194-4963-af73-04a3b030a53d', 'name': 'ctest-vn-62232604', 'tenant_id': '244a174ecb184b95b5e7cfd837509d7c', 'project_id': '244a174ecb184b95b5e7cfd837509d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['999ed65c-2227-4e3c-b62a-5724452b4fe7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-vn-62232604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-policy-allow-all-97905664']], 'subnet_ipam': [{'subnet_cidr': '25.58.199.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-18 06:48:30,265 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:30,561 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:30,593 - DEBUG - Requesting: http://10.0.0.54:8082/domain/978df1e7-1ede-4101-8f66-c6056aa8f6a1 2024-09-18 06:48:30,611 - DEBUG - Requesting: http://10.0.0.54:8082/project/244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:30,702 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:30,718 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:30,732 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f3bcb9c1-4f18-4e24-b529-132cecb0ad99 2024-09-18 06:48:30,741 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f3bcb9c1-4f18-4e24-b529-132cecb0ad99 2024-09-18 06:48:30,752 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/65c72a66-0a4f-4a21-b4e1-649066ed3fa8 2024-09-18 06:48:30,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-18 06:48:30,760 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:30,776 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f3bcb9c1-4f18-4e24-b529-132cecb0ad99 2024-09-18 06:48:30,797 - INFO - Verified VN network id 8 for VN 7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:30,797 - INFO - Verifications in API Server for VN ctest-vn-36340291 passed 2024-09-18 06:48:30,797 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:30,812 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f3bcb9c1-4f18-4e24-b529-132cecb0ad99 2024-09-18 06:48:30,821 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f3bcb9c1-4f18-4e24-b529-132cecb0ad99 2024-09-18 06:48:30,830 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/65c72a66-0a4f-4a21-b4e1-649066ed3fa8 2024-09-18 06:48:30,842 - DEBUG - Control-node 10.0.0.54 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41093118', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8603554574164509782', 'uuid-lslong': '10121581363418786454'}, 'enable': 'true', 'created': '2024-09-18T06:48:28', 'last-modified': '2024-09-18T06:48:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040929'} 2024-09-18 06:48:30,849 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-18 06:48:30,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36340291 passed 2024-09-18 06:48:30,850 - DEBUG - ====Verifying policy data for ctest-vn-36340291 in API_Server ====== 2024-09-18 06:48:30,850 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:30,856 - DEBUG - Requesting: http://10.0.0.54:8082/domain/978df1e7-1ede-4101-8f66-c6056aa8f6a1 2024-09-18 06:48:30,872 - DEBUG - Requesting: http://10.0.0.54:8082/project/244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:30,968 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/7765f74d-36c3-4456-8c77-149fa3ca6a96 2024-09-18 06:48:30,982 - DEBUG - ==>Verifying data for policy with id: 2836b0d0-2045-4f0e-adef-db2601333732, fqn: ['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-policy-allow-all-97905664'] 2024-09-18 06:48:30,982 - INFO - VN ctest-vn-36340291 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-18 06:48:30,983 - DEBUG - Verifying the vn in opserver 2024-09-18 06:48:30,983 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291 virtual network link through opserver 10.0.0.54 2024-09-18 06:48:30,983 - DEBUG - Requesting: http://10.0.0.54:8081/analytics/uves/virtual-networks 2024-09-18 06:48:31,277 - DEBUG - Requesting: http://10.0.0.54:8081/analytics/uves/virtual-networks 2024-09-18 06:48:31,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291', 'href': 'http://10.0.0.54:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291?flat'} 2024-09-18 06:48:31,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291 is found in opserver 2024-09-18 06:48:31,351 - DEBUG - Do not have enough data to verify VN in agent 2024-09-18 06:48:31,356 - DEBUG - VRF ids for VN ctest-vn-36340291: {} 2024-09-18 06:48:31,356 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:31,362 - DEBUG - Requesting: http://10.0.0.54:8082/domain/978df1e7-1ede-4101-8f66-c6056aa8f6a1 2024-09-18 06:48:31,377 - DEBUG - Requesting: http://10.0.0.54:8082/project/244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:31,458 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:31,478 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:31,492 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f80042c4-2ebd-49e6-850a-88268208ffd3 2024-09-18 06:48:31,502 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f80042c4-2ebd-49e6-850a-88268208ffd3 2024-09-18 06:48:31,511 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/b0b76fae-27d0-4fdb-8ae7-410da3934b10 2024-09-18 06:48:31,520 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-18 06:48:31,520 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:31,533 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f80042c4-2ebd-49e6-850a-88268208ffd3 2024-09-18 06:48:31,556 - INFO - Verified VN network id 9 for VN 81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:31,557 - INFO - Verifications in API Server for VN ctest-vn-62232604 passed 2024-09-18 06:48:31,557 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:31,574 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f80042c4-2ebd-49e6-850a-88268208ffd3 2024-09-18 06:48:31,583 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f80042c4-2ebd-49e6-850a-88268208ffd3 2024-09-18 06:48:31,592 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/b0b76fae-27d0-4fdb-8ae7-410da3934b10 2024-09-18 06:48:31,605 - DEBUG - Control-node 10.0.0.54 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-62232604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41093118', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9343623949916064099', 'uuid-lslong': '12642453680041272637'}, 'enable': 'true', 'created': '2024-09-18T06:48:29', 'last-modified': '2024-09-18T06:48:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.548134'} 2024-09-18 06:48:31,612 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-18 06:48:31,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62232604 passed 2024-09-18 06:48:31,613 - DEBUG - ====Verifying policy data for ctest-vn-62232604 in API_Server ====== 2024-09-18 06:48:31,613 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:31,619 - DEBUG - Requesting: http://10.0.0.54:8082/domain/978df1e7-1ede-4101-8f66-c6056aa8f6a1 2024-09-18 06:48:31,631 - DEBUG - Requesting: http://10.0.0.54:8082/project/244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:31,712 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/81ab387a-5194-4963-af73-04a3b030a53d 2024-09-18 06:48:31,727 - DEBUG - ==>Verifying data for policy with id: 2836b0d0-2045-4f0e-adef-db2601333732, fqn: ['default-domain', 'ctest-TestBasicPolicy-41093118', 'ctest-policy-allow-all-97905664'] 2024-09-18 06:48:31,727 - INFO - VN ctest-vn-62232604 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-18 06:48:31,727 - DEBUG - Verifying the vn in opserver 2024-09-18 06:48:31,727 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-62232604 virtual network link through opserver 10.0.0.54 2024-09-18 06:48:31,727 - DEBUG - Requesting: http://10.0.0.54:8081/analytics/uves/virtual-networks 2024-09-18 06:48:31,739 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-62232604', 'href': 'http://10.0.0.54:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-62232604?flat'} 2024-09-18 06:48:31,739 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-62232604 is found in opserver 2024-09-18 06:48:31,750 - DEBUG - Do not have enough data to verify VN in agent 2024-09-18 06:48:31,755 - DEBUG - VRF ids for VN ctest-vn-62232604: {} 2024-09-18 06:48:31,813 - DEBUG - Services list from nova: [, , ] 2024-09-18 06:48:33,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1985-1) 2024-09-18 06:48:34,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1985-1) 2024-09-18 06:48:34,188 - INFO - Waiting for VM ctest-TestBasicPolicy-41093118-87469555 to be up.. 2024-09-18 06:48:34,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 06:48:39,392 - DEBUG - VM is in ACTIVE state now 2024-09-18 06:48:39,392 - INFO - VM name : ctest-TestBasicPolicy-41093118-87469555 2024-09-18 06:48:39,482 - DEBUG - VM ctest-TestBasicPolicy-41093118-87469555 ID is d32ebcc8-ed0b-4e0d-83a2-9435aa52f0fc 2024-09-18 06:48:39,503 - DEBUG - VM ctest-TestBasicPolicy-41093118-87469555 launched on Node cn-jenkins-deploy-platform-ansible-os-1985-1 2024-09-18 06:48:39,591 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/d32ebcc8-ed0b-4e0d-83a2-9435aa52f0fc 2024-09-18 06:48:39,603 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/8a5fcab9-7bd8-40fe-a0d7-f81a2e4cb01d 2024-09-18 06:48:42,859 - 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 1003ms') 2024-09-18 06:48:42,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41093118-87469555 failed! 2024-09-18 06:48:42,921 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41093118:ctest-vn-36340291 is 47.143.60.193 and allocation pool is NOT set 2024-09-18 06:48:44,981 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.221/3.219/5.218/1.998 ms') 2024-09-18 06:48:44,981 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41093118-87469555 passed 2024-09-18 06:48:45,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:48:45,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41093118-87469555, IP 47.143.60.195, Port 22 2024-09-18 06:48:45,324 - DEBUG - VM ctest-TestBasicPolicy-41093118-87469555 is ready for SSH connections 2024-09-18 06:48:45,324 - INFO - Waiting for VM ctest-TestBasicPolicy-41093118-39134629 to be up.. 2024-09-18 06:48:45,437 - DEBUG - VM is in ACTIVE state now 2024-09-18 06:48:45,438 - INFO - VM name : ctest-TestBasicPolicy-41093118-39134629 2024-09-18 06:48:45,526 - DEBUG - VM ctest-TestBasicPolicy-41093118-39134629 ID is d4538348-f4e3-4dd6-ae06-38f3bb0c2cc1 2024-09-18 06:48:45,526 - DEBUG - VM ctest-TestBasicPolicy-41093118-39134629 launched on Node cn-jenkins-deploy-platform-ansible-os-1985-1 2024-09-18 06:48:45,616 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/d4538348-f4e3-4dd6-ae06-38f3bb0c2cc1 2024-09-18 06:48:45,627 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/f1a0b7ab-4e7e-485e-8d38-9128eddbb790 2024-09-18 06:48:46,895 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.102/2.038/2.975/0.936 ms') 2024-09-18 06:48:46,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41093118-39134629 passed 2024-09-18 06:48:47,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:48:47,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41093118-39134629, IP 25.58.199.3, Port 22 2024-09-18 06:48:47,219 - DEBUG - VM ctest-TestBasicPolicy-41093118-39134629 is ready for SSH connections 2024-09-18 06:48:47,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:48:47,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.58.199.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2024-09-18 06:48:47,220 - DEBUG - ping -s 56 -c 3 -W 1 25.58.199.3 2024-09-18 06:48:51,093 - DEBUG - PING 25.58.199.3 (25.58.199.3): 56 data bytes 64 bytes from 25.58.199.3: seq=0 ttl=63 time=3.873 ms 64 bytes from 25.58.199.3: seq=1 ttl=63 time=1.441 ms 64 bytes from 25.58.199.3: seq=2 ttl=63 time=0.999 ms --- 25.58.199.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.999/2.104/3.873 ms 2024-09-18 06:48:51,093 - INFO - Ping to IP 25.58.199.3 from VM ctest-TestBasicPolicy-41093118-87469555 passed 2024-09-18 06:48:51,289 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2836b0d0-2045-4f0e-adef-db2601333732", "href": "http://10.0.0.54:8082/network-policy/2836b0d0-2045-4f0e-adef-db2601333732"}} 2024-09-18 06:48:51,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:48:51,289 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.58.199.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2024-09-18 06:48:51,289 - DEBUG - ping -s 56 -c 3 -W 1 25.58.199.3 2024-09-18 06:48:54,499 - DEBUG - PING 25.58.199.3 (25.58.199.3): 56 data bytes 64 bytes from 25.58.199.3: seq=0 ttl=63 time=1.448 ms --- 25.58.199.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.448/1.448/1.448 ms 2024-09-18 06:48:54,499 - WARNING - Ping to IP 25.58.199.3 from VM ctest-TestBasicPolicy-41093118-87469555 failed 2024-09-18 06:48:54,499 - INFO - Deleting VM ctest-TestBasicPolicy-41093118-39134629 2024-09-18 06:48:54,567 - INFO - Deleting VM ctest-TestBasicPolicy-41093118-87469555 2024-09-18 06:48:55,003 - INFO - Deleted policy ctest-policy-allow-all-97905664 2024-09-18 06:48:55,003 - INFO - Deleting VN ctest-vn-62232604 2024-09-18 06:48:55,050 - DEBUG - VN 81ab387a-5194-4963-af73-04a3b030a53d still in use: Unable to complete operation on network 81ab387a-5194-4963-af73-04a3b030a53d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8d9a817-8450-4460-a38c-36388846de09'] 2024-09-18 06:48:55,050 - WARNING - Deleting VN ctest-vn-62232604 failed..Will retry 2024-09-18 06:48:57,163 - DEBUG - Response for deleting network () 2024-09-18 06:48:57,163 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f80042c4-2ebd-49e6-850a-88268208ffd3 2024-09-18 06:48:57,173 - DEBUG - Response Code: 404 2024-09-18 06:48:57,173 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:57,180 - DEBUG - Requesting: http://10.0.0.54:8082/domain/978df1e7-1ede-4101-8f66-c6056aa8f6a1 2024-09-18 06:48:57,237 - DEBUG - Requesting: http://10.0.0.54:8082/project/244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:57,317 - INFO - Validated that VN ctest-vn-62232604 is not found in API Server 2024-09-18 06:48:57,330 - DEBUG - VN ctest-vn-62232604 is not present in Agent 10.0.0.54 2024-09-18 06:48:57,330 - INFO - Validated that VN ctest-vn-62232604 is not in any agent 2024-09-18 06:48:57,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62232604 info 2024-09-18 06:48:57,347 - INFO - Deleting VN ctest-vn-36340291 2024-09-18 06:48:57,492 - DEBUG - Response for deleting network () 2024-09-18 06:48:57,492 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/f3bcb9c1-4f18-4e24-b529-132cecb0ad99 2024-09-18 06:48:57,499 - DEBUG - Response Code: 404 2024-09-18 06:48:57,500 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2024-09-18 06:48:57,507 - DEBUG - Requesting: http://10.0.0.54:8082/domain/978df1e7-1ede-4101-8f66-c6056aa8f6a1 2024-09-18 06:48:57,563 - DEBUG - Requesting: http://10.0.0.54:8082/project/244a174e-cb18-4b95-b5e7-cfd837509d7c 2024-09-18 06:48:57,642 - INFO - Validated that VN ctest-vn-36340291 is not found in API Server 2024-09-18 06:48:57,653 - DEBUG - VN ctest-vn-36340291 is not present in Agent 10.0.0.54 2024-09-18 06:48:57,653 - INFO - Validated that VN ctest-vn-36340291 is not in any agent 2024-09-18 06:48:57,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36340291 info 2024-09-18 06:48:57,927 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 06:48:57,927 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-09-18 06:48:57,927 - INFO - -------------------------------------------------------------------------------- 2024-09-18 06:48:58,637 - INFO - Deleted project: ctest-TestBasicPolicy-41093118, ID : 244a174e-cb18-4b95-b5e7-cfd837509d7c