2025-01-14 17:47:21,261 - INFO - Domain Default found not creating 2025-01-14 17:47:21,431 - INFO - Project ctest-TestBasicPolicy-83893021 not found, creating it 2025-01-14 17:47:21,916 - INFO - Created Project:ctest-TestBasicPolicy-83893021, ID : 58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:23,491 - INFO - ================================================================================ 2025-01-14 17:47:23,491 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-14 17:47:23,491 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-14 17:47:23,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-14 17:47:23,773 - INFO - Initial checks done. Running the testcase now 2025-01-14 17:47:23,773 - INFO - 2025-01-14 17:47:24,399 - DEBUG - Response for create_network : {'network': {'id': 'ab82984a-2cfb-41fc-ab61-0b2c2fa8546b', 'name': 'ctest-vn-33028996', 'tenant_id': '58b35623b78f406ba0edad7baf52434d', 'project_id': '58b35623b78f406ba0edad7baf52434d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-vn-33028996'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:47:24,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a7938cc-f559-4995-b431-522528e49b6c', 'name': '', 'tenant_id': '58b35623b78f406ba0edad7baf52434d', 'network_id': 'ab82984a-2cfb-41fc-ab61-0b2c2fa8546b', 'ip_version': 4, 'cidr': '164.7.80.64/26', 'allocation_pools': [{'start': '164.7.80.66', 'end': '164.7.80.126'}], 'gateway_ip': '164.7.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.7.80.66', 'tags': [], 'project_id': '58b35623b78f406ba0edad7baf52434d'}} 2025-01-14 17:47:24,617 - INFO - Created VN ctest-vn-33028996 2025-01-14 17:47:24,676 - DEBUG - VN ctest-vn-33028996 UUID is ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:24,989 - DEBUG - Response for create_network : {'network': {'id': 'f590f6fa-36a6-40b0-9b89-799bbe54f753', 'name': 'ctest-vn-50733767', 'tenant_id': '58b35623b78f406ba0edad7baf52434d', 'project_id': '58b35623b78f406ba0edad7baf52434d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-vn-50733767'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:47:25,174 - DEBUG - Response for create_subnet : {'subnet': {'id': '64206fb3-6d35-4c10-87ac-deecbf47ff03', 'name': '', 'tenant_id': '58b35623b78f406ba0edad7baf52434d', 'network_id': 'f590f6fa-36a6-40b0-9b89-799bbe54f753', 'ip_version': 4, 'cidr': '67.106.167.128/26', 'allocation_pools': [{'start': '67.106.167.130', 'end': '67.106.167.190'}], 'gateway_ip': '67.106.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.106.167.130', 'tags': [], 'project_id': '58b35623b78f406ba0edad7baf52434d'}} 2025-01-14 17:47:25,193 - INFO - Created VN ctest-vn-50733767 2025-01-14 17:47:25,248 - DEBUG - VN ctest-vn-50733767 UUID is f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:25,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996, 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-83893021:ctest-vn-50733767, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-01-14 17:47:25,688 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab82984a-2cfb-41fc-ab61-0b2c2fa8546b', 'name': 'ctest-vn-33028996', 'tenant_id': '58b35623b78f406ba0edad7baf52434d', 'project_id': '58b35623b78f406ba0edad7baf52434d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a7938cc-f559-4995-b431-522528e49b6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-vn-33028996'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-policy-allow-all-24700671']], 'subnet_ipam': [{'subnet_cidr': '164.7.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:47:25,925 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f590f6fa-36a6-40b0-9b89-799bbe54f753', 'name': 'ctest-vn-50733767', 'tenant_id': '58b35623b78f406ba0edad7baf52434d', 'project_id': '58b35623b78f406ba0edad7baf52434d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64206fb3-6d35-4c10-87ac-deecbf47ff03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-vn-50733767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-policy-allow-all-24700671']], 'subnet_ipam': [{'subnet_cidr': '67.106.167.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:47:26,100 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:26,403 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:26,435 - DEBUG - Requesting: http://10.0.0.27:8082/domain/20d87dc6-ea57-4117-970a-2d53741e7f67 2025-01-14 17:47:26,451 - DEBUG - Requesting: http://10.0.0.27:8082/project/58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:26,532 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:26,547 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:26,560 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6128450f-a27a-4b66-a26b-f7b6468a2057 2025-01-14 17:47:26,571 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6128450f-a27a-4b66-a26b-f7b6468a2057 2025-01-14 17:47:26,581 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9d501cae-5b7e-4920-8faf-778e2fd3a925 2025-01-14 17:47:26,589 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 17:47:26,589 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:26,601 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6128450f-a27a-4b66-a26b-f7b6468a2057 2025-01-14 17:47:26,619 - INFO - Verified VN network id 8 for VN ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:26,619 - INFO - Verifications in API Server for VN ctest-vn-33028996 passed 2025-01-14 17:47:26,620 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:26,634 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6128450f-a27a-4b66-a26b-f7b6468a2057 2025-01-14 17:47:26,644 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6128450f-a27a-4b66-a26b-f7b6468a2057 2025-01-14 17:47:26,656 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9d501cae-5b7e-4920-8faf-778e2fd3a925 2025-01-14 17:47:26,675 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83893021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12358607771807728124', 'uuid-lslong': '12349163937632638059'}, 'enable': 'true', 'created': '2025-01-14T17:47:24', 'last-modified': '2025-01-14T17:47:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012475'} 2025-01-14 17:47:26,687 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 17:47:26,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33028996 passed 2025-01-14 17:47:26,687 - DEBUG - ====Verifying policy data for ctest-vn-33028996 in API_Server ====== 2025-01-14 17:47:26,687 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:26,694 - DEBUG - Requesting: http://10.0.0.27:8082/domain/20d87dc6-ea57-4117-970a-2d53741e7f67 2025-01-14 17:47:26,709 - DEBUG - Requesting: http://10.0.0.27:8082/project/58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:26,786 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ab82984a-2cfb-41fc-ab61-0b2c2fa8546b 2025-01-14 17:47:26,798 - DEBUG - ==>Verifying data for policy with id: 75cabbc8-b5e9-46a4-95ba-09b438fd9dc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-policy-allow-all-24700671'] 2025-01-14 17:47:26,798 - INFO - VN ctest-vn-33028996 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 17:47:26,798 - DEBUG - Verifying the vn in opserver 2025-01-14 17:47:26,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996 virtual network link through opserver 10.0.0.27 2025-01-14 17:47:26,798 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-14 17:47:27,101 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-14 17:47:27,172 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996?flat'} 2025-01-14 17:47:27,172 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996 is found in opserver 2025-01-14 17:47:27,186 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 17:47:27,193 - DEBUG - VRF ids for VN ctest-vn-33028996: {} 2025-01-14 17:47:27,193 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:27,200 - DEBUG - Requesting: http://10.0.0.27:8082/domain/20d87dc6-ea57-4117-970a-2d53741e7f67 2025-01-14 17:47:27,215 - DEBUG - Requesting: http://10.0.0.27:8082/project/58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:27,308 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:27,322 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:27,335 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0a90110c-8442-44c2-8384-60f61b8b3e6c 2025-01-14 17:47:27,346 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0a90110c-8442-44c2-8384-60f61b8b3e6c 2025-01-14 17:47:27,359 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/17c1aeed-0729-4d8e-a970-db4f0cba1f2c 2025-01-14 17:47:27,368 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 17:47:27,368 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:27,380 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0a90110c-8442-44c2-8384-60f61b8b3e6c 2025-01-14 17:47:27,398 - INFO - Verified VN network id 9 for VN f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:27,399 - INFO - Verifications in API Server for VN ctest-vn-50733767 passed 2025-01-14 17:47:27,399 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:27,414 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0a90110c-8442-44c2-8384-60f61b8b3e6c 2025-01-14 17:47:27,424 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0a90110c-8442-44c2-8384-60f61b8b3e6c 2025-01-14 17:47:27,433 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/17c1aeed-0729-4d8e-a970-db4f0cba1f2c 2025-01-14 17:47:27,449 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-50733767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83893021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17694914490457800880', 'uuid-lslong': '11207622857508321107'}, 'enable': 'true', 'created': '2025-01-14T17:47:24', 'last-modified': '2025-01-14T17:47:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.550035'} 2025-01-14 17:47:27,458 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 17:47:27,458 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50733767 passed 2025-01-14 17:47:27,458 - DEBUG - ====Verifying policy data for ctest-vn-50733767 in API_Server ====== 2025-01-14 17:47:27,458 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:27,468 - DEBUG - Requesting: http://10.0.0.27:8082/domain/20d87dc6-ea57-4117-970a-2d53741e7f67 2025-01-14 17:47:27,483 - DEBUG - Requesting: http://10.0.0.27:8082/project/58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:27,565 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f590f6fa-36a6-40b0-9b89-799bbe54f753 2025-01-14 17:47:27,580 - DEBUG - ==>Verifying data for policy with id: 75cabbc8-b5e9-46a4-95ba-09b438fd9dc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-83893021', 'ctest-policy-allow-all-24700671'] 2025-01-14 17:47:27,580 - INFO - VN ctest-vn-50733767 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 17:47:27,580 - DEBUG - Verifying the vn in opserver 2025-01-14 17:47:27,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-50733767 virtual network link through opserver 10.0.0.27 2025-01-14 17:47:27,580 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-14 17:47:27,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-50733767', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-50733767?flat'} 2025-01-14 17:47:27,594 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-50733767 is found in opserver 2025-01-14 17:47:27,607 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 17:47:27,612 - DEBUG - VRF ids for VN ctest-vn-50733767: {} 2025-01-14 17:47:27,693 - DEBUG - Services list from nova: [, , ] 2025-01-14 17:47:28,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2628-1) 2025-01-14 17:47:30,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2628-1) 2025-01-14 17:47:30,142 - INFO - Waiting for VM ctest-TestBasicPolicy-83893021-19798894 to be up.. 2025-01-14 17:47:30,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 17:47:35,329 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:47:35,329 - INFO - VM name : ctest-TestBasicPolicy-83893021-19798894 2025-01-14 17:47:35,416 - DEBUG - VM ctest-TestBasicPolicy-83893021-19798894 ID is be8dfa08-9784-4a65-bfd5-8083c7a7a8a1 2025-01-14 17:47:35,438 - DEBUG - VM ctest-TestBasicPolicy-83893021-19798894 launched on Node cn-jenkins-deploy-platform-ansible-os-2628-1 2025-01-14 17:47:35,532 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/be8dfa08-9784-4a65-bfd5-8083c7a7a8a1 2025-01-14 17:47:35,547 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9ee7bf46-c741-449d-bab5-4f6af181fb96 2025-01-14 17:47:38,809 - 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 1013ms') 2025-01-14 17:47:38,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83893021-19798894 failed! 2025-01-14 17:47:38,868 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83893021:ctest-vn-33028996 is 164.7.80.65 and allocation pool is NOT set 2025-01-14 17:47:40,929 - 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=3.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/2.192/3.915/1.723 ms') 2025-01-14 17:47:40,929 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83893021-19798894 passed 2025-01-14 17:47:41,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:41,084 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83893021-19798894, IP 164.7.80.67, Port 22 2025-01-14 17:47:41,267 - DEBUG - VM ctest-TestBasicPolicy-83893021-19798894 is ready for SSH connections 2025-01-14 17:47:41,267 - INFO - Waiting for VM ctest-TestBasicPolicy-83893021-19859341 to be up.. 2025-01-14 17:47:41,358 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:47:41,358 - INFO - VM name : ctest-TestBasicPolicy-83893021-19859341 2025-01-14 17:47:41,447 - DEBUG - VM ctest-TestBasicPolicy-83893021-19859341 ID is 2e5ead1f-809b-4441-984e-36288cd8dac7 2025-01-14 17:47:41,447 - DEBUG - VM ctest-TestBasicPolicy-83893021-19859341 launched on Node cn-jenkins-deploy-platform-ansible-os-2628-1 2025-01-14 17:47:41,536 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e5ead1f-809b-4441-984e-36288cd8dac7 2025-01-14 17:47:41,548 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7fb9fbd2-391e-4ae6-bf1e-aa8367f009c0 2025-01-14 17:47:42,812 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.931 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.931/2.372/3.813/1.441 ms') 2025-01-14 17:47:42,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83893021-19859341 passed 2025-01-14 17:47:42,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:42,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83893021-19859341, IP 67.106.167.131, Port 22 2025-01-14 17:47:43,134 - DEBUG - VM ctest-TestBasicPolicy-83893021-19859341 is ready for SSH connections 2025-01-14 17:47:43,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:43,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.106.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-14 17:47:43,134 - DEBUG - ping -s 56 -c 3 -W 1 67.106.167.131 2025-01-14 17:47:46,846 - DEBUG - PING 67.106.167.131 (67.106.167.131): 56 data bytes 64 bytes from 67.106.167.131: seq=0 ttl=63 time=3.645 ms 64 bytes from 67.106.167.131: seq=1 ttl=63 time=1.307 ms 64 bytes from 67.106.167.131: seq=2 ttl=63 time=1.161 ms --- 67.106.167.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.161/2.037/3.645 ms 2025-01-14 17:47:46,846 - INFO - Ping to IP 67.106.167.131 from VM ctest-TestBasicPolicy-83893021-19798894 passed 2025-01-14 17:47:47,039 - DEBUG - Policy Update Response {"network-policy": {"uuid": "75cabbc8-b5e9-46a4-95ba-09b438fd9dc0", "href": "http://10.0.0.27:8082/network-policy/75cabbc8-b5e9-46a4-95ba-09b438fd9dc0"}} 2025-01-14 17:47:47,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:47,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.106.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-14 17:47:47,040 - DEBUG - ping -s 56 -c 3 -W 1 67.106.167.131 2025-01-14 17:47:50,273 - DEBUG - PING 67.106.167.131 (67.106.167.131): 56 data bytes 64 bytes from 67.106.167.131: seq=0 ttl=63 time=1.422 ms --- 67.106.167.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.422/1.422/1.422 ms 2025-01-14 17:47:50,273 - WARNING - Ping to IP 67.106.167.131 from VM ctest-TestBasicPolicy-83893021-19798894 failed 2025-01-14 17:47:50,273 - INFO - Deleting VM ctest-TestBasicPolicy-83893021-19859341 2025-01-14 17:47:50,354 - INFO - Deleting VM ctest-TestBasicPolicy-83893021-19798894 2025-01-14 17:47:50,793 - INFO - Deleted policy ctest-policy-allow-all-24700671 2025-01-14 17:47:50,794 - INFO - Deleting VN ctest-vn-50733767 2025-01-14 17:47:50,835 - DEBUG - VN f590f6fa-36a6-40b0-9b89-799bbe54f753 still in use: Unable to complete operation on network f590f6fa-36a6-40b0-9b89-799bbe54f753. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c602d63d-41ce-4444-8133-29b63b70d7eb'] 2025-01-14 17:47:50,835 - WARNING - Deleting VN ctest-vn-50733767 failed..Will retry 2025-01-14 17:47:52,965 - DEBUG - Response for deleting network () 2025-01-14 17:47:52,965 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0a90110c-8442-44c2-8384-60f61b8b3e6c 2025-01-14 17:47:52,976 - DEBUG - Response Code: 404 2025-01-14 17:47:52,976 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:52,982 - DEBUG - Requesting: http://10.0.0.27:8082/domain/20d87dc6-ea57-4117-970a-2d53741e7f67 2025-01-14 17:47:53,037 - DEBUG - Requesting: http://10.0.0.27:8082/project/58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:53,117 - INFO - Validated that VN ctest-vn-50733767 is not found in API Server 2025-01-14 17:47:53,129 - DEBUG - VN ctest-vn-50733767 is not present in Agent 10.0.0.27 2025-01-14 17:47:53,129 - INFO - Validated that VN ctest-vn-50733767 is not in any agent 2025-01-14 17:47:53,145 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50733767 info 2025-01-14 17:47:53,145 - INFO - Deleting VN ctest-vn-33028996 2025-01-14 17:47:53,240 - DEBUG - Response for deleting network () 2025-01-14 17:47:53,240 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6128450f-a27a-4b66-a26b-f7b6468a2057 2025-01-14 17:47:53,246 - DEBUG - Response Code: 404 2025-01-14 17:47:53,246 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-14 17:47:53,252 - DEBUG - Requesting: http://10.0.0.27:8082/domain/20d87dc6-ea57-4117-970a-2d53741e7f67 2025-01-14 17:47:53,305 - DEBUG - Requesting: http://10.0.0.27:8082/project/58b35623-b78f-406b-a0ed-ad7baf52434d 2025-01-14 17:47:53,383 - INFO - Validated that VN ctest-vn-33028996 is not found in API Server 2025-01-14 17:47:53,394 - DEBUG - VN ctest-vn-33028996 is not present in Agent 10.0.0.27 2025-01-14 17:47:53,394 - INFO - Validated that VN ctest-vn-33028996 is not in any agent 2025-01-14 17:47:53,412 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33028996 info 2025-01-14 17:47:53,669 - DEBUG - No XMPP flaps were noticed during the test 2025-01-14 17:47:53,669 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-14 17:47:53,670 - INFO - -------------------------------------------------------------------------------- 2025-01-14 17:47:54,341 - INFO - Deleted project: ctest-TestBasicPolicy-83893021, ID : 58b35623-b78f-406b-a0ed-ad7baf52434d