2024-09-02 02:46:07,856 - INFO - Domain Default found not creating 2024-09-02 02:46:08,189 - INFO - Project ctest-TestBasicPolicy-44034373 not found, creating it 2024-09-02 02:46:08,934 - INFO - Created Project:ctest-TestBasicPolicy-44034373, ID : 177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:11,481 - INFO - ================================================================================ 2024-09-02 02:46:11,481 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-02 02:46:11,482 - 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-02 02:46:11,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.39': '0'}} with 2024-09-02 02:46:11,821 - INFO - Initial checks done. Running the testcase now 2024-09-02 02:46:11,822 - INFO - 2024-09-02 02:46:12,738 - DEBUG - Response for create_network : {'network': {'id': 'fbeac7ad-f6b0-48de-9a53-433f7bdaa47e', 'name': 'ctest-vn-03143127', 'tenant_id': '177fae1809ac449bb69e18849742038a', 'project_id': '177fae1809ac449bb69e18849742038a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-vn-03143127'], 'port_security_enabled': True, 'description': ''}} 2024-09-02 02:46:13,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba7efb75-45a7-4278-a750-d6ebd7fedf86', 'name': '', 'tenant_id': '177fae1809ac449bb69e18849742038a', 'network_id': 'fbeac7ad-f6b0-48de-9a53-433f7bdaa47e', 'ip_version': 4, 'cidr': '78.67.84.64/26', 'allocation_pools': [{'start': '78.67.84.66', 'end': '78.67.84.126'}], 'gateway_ip': '78.67.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.67.84.66', 'tags': [], 'project_id': '177fae1809ac449bb69e18849742038a'}} 2024-09-02 02:46:13,131 - INFO - Created VN ctest-vn-03143127 2024-09-02 02:46:13,198 - DEBUG - VN ctest-vn-03143127 UUID is fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:13,780 - DEBUG - Response for create_network : {'network': {'id': '12800076-e93e-4b2d-9d7b-832c2ac7ed3b', 'name': 'ctest-vn-66458258', 'tenant_id': '177fae1809ac449bb69e18849742038a', 'project_id': '177fae1809ac449bb69e18849742038a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-vn-66458258'], 'port_security_enabled': True, 'description': ''}} 2024-09-02 02:46:13,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c516a15c-1f13-47d9-9002-6147e63b4971', 'name': '', 'tenant_id': '177fae1809ac449bb69e18849742038a', 'network_id': '12800076-e93e-4b2d-9d7b-832c2ac7ed3b', 'ip_version': 4, 'cidr': '166.15.133.64/26', 'allocation_pools': [{'start': '166.15.133.66', 'end': '166.15.133.126'}], 'gateway_ip': '166.15.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.15.133.66', 'tags': [], 'project_id': '177fae1809ac449bb69e18849742038a'}} 2024-09-02 02:46:13,990 - INFO - Created VN ctest-vn-66458258 2024-09-02 02:46:14,050 - DEBUG - VN ctest-vn-66458258 UUID is 12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:14,266 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127, 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-44034373:ctest-vn-66458258, 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-02 02:46:14,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbeac7ad-f6b0-48de-9a53-433f7bdaa47e', 'name': 'ctest-vn-03143127', 'tenant_id': '177fae1809ac449bb69e18849742038a', 'project_id': '177fae1809ac449bb69e18849742038a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba7efb75-45a7-4278-a750-d6ebd7fedf86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-vn-03143127'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-policy-allow-all-61385147']], 'subnet_ipam': [{'subnet_cidr': '78.67.84.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-02 02:46:15,188 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '12800076-e93e-4b2d-9d7b-832c2ac7ed3b', 'name': 'ctest-vn-66458258', 'tenant_id': '177fae1809ac449bb69e18849742038a', 'project_id': '177fae1809ac449bb69e18849742038a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c516a15c-1f13-47d9-9002-6147e63b4971'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-vn-66458258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-policy-allow-all-61385147']], 'subnet_ipam': [{'subnet_cidr': '166.15.133.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-02 02:46:15,430 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:15,789 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:15,849 - DEBUG - Requesting: http://10.0.0.33:8082/domain/cbaaadc6-cd05-4f7f-a531-278643746e39 2024-09-02 02:46:15,900 - DEBUG - Requesting: http://10.0.0.33:8082/project/177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:15,960 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:15,982 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:16,001 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1fba7cde-395c-44a1-b8c9-35b550576884 2024-09-02 02:46:16,016 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1fba7cde-395c-44a1-b8c9-35b550576884 2024-09-02 02:46:16,037 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f235881d-a979-4171-8c00-09a15f8c7600 2024-09-02 02:46:16,056 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-02 02:46:16,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:16,073 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1fba7cde-395c-44a1-b8c9-35b550576884 2024-09-02 02:46:16,100 - INFO - Verified VN network id 8 for VN fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:16,100 - INFO - Verifications in API Server for VN ctest-vn-03143127 passed 2024-09-02 02:46:16,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:16,116 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1fba7cde-395c-44a1-b8c9-35b550576884 2024-09-02 02:46:16,132 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1fba7cde-395c-44a1-b8c9-35b550576884 2024-09-02 02:46:16,151 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f235881d-a979-4171-8c00-09a15f8c7600 2024-09-02 02:46:16,179 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44034373', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18152540798052223198', 'uuid-lslong': '11120305844847813758'}, 'enable': 'true', 'created': '2024-09-02T02:46:12', 'last-modified': '2024-09-02T02:46:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454468'} 2024-09-02 02:46:16,203 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-02 02:46:16,203 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03143127 passed 2024-09-02 02:46:16,203 - DEBUG - ====Verifying policy data for ctest-vn-03143127 in API_Server ====== 2024-09-02 02:46:16,204 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:16,215 - DEBUG - Requesting: http://10.0.0.33:8082/domain/cbaaadc6-cd05-4f7f-a531-278643746e39 2024-09-02 02:46:16,239 - DEBUG - Requesting: http://10.0.0.33:8082/project/177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:16,363 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fbeac7ad-f6b0-48de-9a53-433f7bdaa47e 2024-09-02 02:46:16,395 - DEBUG - ==>Verifying data for policy with id: b6d94245-e6d3-430e-a9ad-77573adc5e54, fqn: ['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-policy-allow-all-61385147'] 2024-09-02 02:46:16,396 - INFO - VN ctest-vn-03143127 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-02 02:46:16,396 - DEBUG - Verifying the vn in opserver 2024-09-02 02:46:16,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127 virtual network link through opserver 10.0.0.33 2024-09-02 02:46:16,398 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-09-02 02:46:16,744 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-09-02 02:46:16,943 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127?flat'} 2024-09-02 02:46:16,943 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127 is found in opserver 2024-09-02 02:46:16,980 - DEBUG - Do not have enough data to verify VN in agent 2024-09-02 02:46:17,000 - DEBUG - VRF ids for VN ctest-vn-03143127: {} 2024-09-02 02:46:17,000 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:17,015 - DEBUG - Requesting: http://10.0.0.33:8082/domain/cbaaadc6-cd05-4f7f-a531-278643746e39 2024-09-02 02:46:17,038 - DEBUG - Requesting: http://10.0.0.33:8082/project/177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:17,148 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:17,164 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:17,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7be2bb6d-55be-4bc9-b341-bc8206f45b4c 2024-09-02 02:46:17,188 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7be2bb6d-55be-4bc9-b341-bc8206f45b4c 2024-09-02 02:46:17,197 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7954b633-23d2-426a-ae02-8fb0902cae33 2024-09-02 02:46:17,207 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-02 02:46:17,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:17,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7be2bb6d-55be-4bc9-b341-bc8206f45b4c 2024-09-02 02:46:17,238 - INFO - Verified VN network id 9 for VN 12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:17,238 - INFO - Verifications in API Server for VN ctest-vn-66458258 passed 2024-09-02 02:46:17,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:17,251 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7be2bb6d-55be-4bc9-b341-bc8206f45b4c 2024-09-02 02:46:17,264 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7be2bb6d-55be-4bc9-b341-bc8206f45b4c 2024-09-02 02:46:17,279 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7954b633-23d2-426a-ae02-8fb0902cae33 2024-09-02 02:46:17,309 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-66458258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44034373', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1333066000420981549', 'uuid-lslong': '11347807911809641787'}, 'enable': 'true', 'created': '2024-09-02T02:46:13', 'last-modified': '2024-09-02T02:46:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.183451'} 2024-09-02 02:46:17,323 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-02 02:46:17,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66458258 passed 2024-09-02 02:46:17,323 - DEBUG - ====Verifying policy data for ctest-vn-66458258 in API_Server ====== 2024-09-02 02:46:17,323 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:17,334 - DEBUG - Requesting: http://10.0.0.33:8082/domain/cbaaadc6-cd05-4f7f-a531-278643746e39 2024-09-02 02:46:17,354 - DEBUG - Requesting: http://10.0.0.33:8082/project/177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:17,472 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/12800076-e93e-4b2d-9d7b-832c2ac7ed3b 2024-09-02 02:46:17,496 - DEBUG - ==>Verifying data for policy with id: b6d94245-e6d3-430e-a9ad-77573adc5e54, fqn: ['default-domain', 'ctest-TestBasicPolicy-44034373', 'ctest-policy-allow-all-61385147'] 2024-09-02 02:46:17,496 - INFO - VN ctest-vn-66458258 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-02 02:46:17,496 - DEBUG - Verifying the vn in opserver 2024-09-02 02:46:17,497 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-66458258 virtual network link through opserver 10.0.0.33 2024-09-02 02:46:17,497 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-09-02 02:46:17,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-66458258', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-66458258?flat'} 2024-09-02 02:46:17,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-66458258 is found in opserver 2024-09-02 02:46:17,555 - DEBUG - Do not have enough data to verify VN in agent 2024-09-02 02:46:17,573 - DEBUG - VRF ids for VN ctest-vn-66458258: {} 2024-09-02 02:46:17,703 - DEBUG - Services list from nova: [, , ] 2024-09-02 02:46:19,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1829-1) 2024-09-02 02:46:21,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1829-1) 2024-09-02 02:46:21,286 - INFO - Waiting for VM ctest-TestBasicPolicy-44034373-66070778 to be up.. 2024-09-02 02:46:21,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:46:26,620 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:46:26,620 - INFO - VM name : ctest-TestBasicPolicy-44034373-66070778 2024-09-02 02:46:26,781 - DEBUG - VM ctest-TestBasicPolicy-44034373-66070778 ID is 2cc7f284-605f-4abb-90a0-6dd1973510af 2024-09-02 02:46:26,825 - DEBUG - VM ctest-TestBasicPolicy-44034373-66070778 launched on Node cn-jenkins-deploy-platform-ansible-os-1829-1 2024-09-02 02:46:26,994 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2cc7f284-605f-4abb-90a0-6dd1973510af 2024-09-02 02:46:27,024 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/605de6cd-e026-448a-a49a-f0b869b7f8d6 2024-09-02 02:46:30,365 - 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 1006ms') 2024-09-02 02:46:30,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44034373-66070778 failed! 2024-09-02 02:46:30,425 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44034373:ctest-vn-03143127 is 78.67.84.65 and allocation pool is NOT set 2024-09-02 02:46:32,509 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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.091/3.131/5.171/2.040 ms') 2024-09-02 02:46:32,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44034373-66070778 passed 2024-09-02 02:46:32,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:46:32,662 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44034373-66070778, IP 78.67.84.67, Port 22 2024-09-02 02:46:32,827 - DEBUG - VM ctest-TestBasicPolicy-44034373-66070778 is ready for SSH connections 2024-09-02 02:46:32,828 - INFO - Waiting for VM ctest-TestBasicPolicy-44034373-56317857 to be up.. 2024-09-02 02:46:32,938 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:46:32,938 - INFO - VM name : ctest-TestBasicPolicy-44034373-56317857 2024-09-02 02:46:33,060 - DEBUG - VM ctest-TestBasicPolicy-44034373-56317857 ID is 122fbff4-5239-433a-848d-176881f82fa0 2024-09-02 02:46:33,061 - DEBUG - VM ctest-TestBasicPolicy-44034373-56317857 launched on Node cn-jenkins-deploy-platform-ansible-os-1829-1 2024-09-02 02:46:33,168 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/122fbff4-5239-433a-848d-176881f82fa0 2024-09-02 02:46:33,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d412fa15-93e4-4274-9a21-0428dce018d2 2024-09-02 02:46:34,454 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 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.212/2.835/4.458/1.623 ms') 2024-09-02 02:46:34,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44034373-56317857 passed 2024-09-02 02:46:34,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:46:34,639 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44034373-56317857, IP 166.15.133.67, Port 22 2024-09-02 02:46:34,840 - DEBUG - VM ctest-TestBasicPolicy-44034373-56317857 is ready for SSH connections 2024-09-02 02:46:34,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:46:34,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.15.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-02 02:46:34,841 - DEBUG - ping -s 56 -c 3 -W 1 166.15.133.67 2024-09-02 02:46:39,009 - DEBUG - PING 166.15.133.67 (166.15.133.67): 56 data bytes 64 bytes from 166.15.133.67: seq=0 ttl=63 time=5.005 ms 64 bytes from 166.15.133.67: seq=1 ttl=63 time=1.735 ms 64 bytes from 166.15.133.67: seq=2 ttl=63 time=1.889 ms --- 166.15.133.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.735/2.876/5.005 ms 2024-09-02 02:46:39,009 - INFO - Ping to IP 166.15.133.67 from VM ctest-TestBasicPolicy-44034373-66070778 passed 2024-09-02 02:46:39,266 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6d94245-e6d3-430e-a9ad-77573adc5e54", "href": "http://10.0.0.33:8082/network-policy/b6d94245-e6d3-430e-a9ad-77573adc5e54"}} 2024-09-02 02:46:39,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:46:39,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.15.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-02 02:46:39,267 - DEBUG - ping -s 56 -c 3 -W 1 166.15.133.67 2024-09-02 02:46:42,552 - DEBUG - PING 166.15.133.67 (166.15.133.67): 56 data bytes --- 166.15.133.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-02 02:46:42,552 - WARNING - Ping to IP 166.15.133.67 from VM ctest-TestBasicPolicy-44034373-66070778 failed 2024-09-02 02:46:42,553 - INFO - Deleting VM ctest-TestBasicPolicy-44034373-56317857 2024-09-02 02:46:42,699 - INFO - Deleting VM ctest-TestBasicPolicy-44034373-66070778 2024-09-02 02:46:43,360 - INFO - Deleted policy ctest-policy-allow-all-61385147 2024-09-02 02:46:43,361 - INFO - Deleting VN ctest-vn-66458258 2024-09-02 02:46:43,408 - DEBUG - VN 12800076-e93e-4b2d-9d7b-832c2ac7ed3b still in use: Unable to complete operation on network 12800076-e93e-4b2d-9d7b-832c2ac7ed3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f0ae3fd-1c5d-4a22-81f9-20ba5377f560'] 2024-09-02 02:46:43,408 - WARNING - Deleting VN ctest-vn-66458258 failed..Will retry 2024-09-02 02:46:45,613 - DEBUG - Response for deleting network () 2024-09-02 02:46:45,613 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7be2bb6d-55be-4bc9-b341-bc8206f45b4c 2024-09-02 02:46:45,624 - DEBUG - Response Code: 404 2024-09-02 02:46:45,624 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:45,637 - DEBUG - Requesting: http://10.0.0.33:8082/domain/cbaaadc6-cd05-4f7f-a531-278643746e39 2024-09-02 02:46:45,671 - DEBUG - Requesting: http://10.0.0.33:8082/project/177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:45,796 - INFO - Validated that VN ctest-vn-66458258 is not found in API Server 2024-09-02 02:46:45,832 - DEBUG - VN ctest-vn-66458258 is not present in Agent 10.0.0.33 2024-09-02 02:46:45,832 - INFO - Validated that VN ctest-vn-66458258 is not in any agent 2024-09-02 02:46:45,899 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66458258 info 2024-09-02 02:46:45,900 - INFO - Deleting VN ctest-vn-03143127 2024-09-02 02:46:46,190 - DEBUG - Response for deleting network () 2024-09-02 02:46:46,190 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1fba7cde-395c-44a1-b8c9-35b550576884 2024-09-02 02:46:46,198 - DEBUG - Response Code: 404 2024-09-02 02:46:46,199 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-09-02 02:46:46,207 - DEBUG - Requesting: http://10.0.0.33:8082/domain/cbaaadc6-cd05-4f7f-a531-278643746e39 2024-09-02 02:46:46,269 - DEBUG - Requesting: http://10.0.0.33:8082/project/177fae18-09ac-449b-b69e-18849742038a 2024-09-02 02:46:46,367 - INFO - Validated that VN ctest-vn-03143127 is not found in API Server 2024-09-02 02:46:46,389 - DEBUG - VN ctest-vn-03143127 is not present in Agent 10.0.0.33 2024-09-02 02:46:46,389 - INFO - Validated that VN ctest-vn-03143127 is not in any agent 2024-09-02 02:46:46,420 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03143127 info 2024-09-02 02:46:46,736 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 02:46:46,736 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2024-09-02 02:46:46,737 - INFO - -------------------------------------------------------------------------------- 2024-09-02 02:46:47,720 - INFO - Deleted project: ctest-TestBasicPolicy-44034373, ID : 177fae18-09ac-449b-b69e-18849742038a