2024-08-24 01:53:24,278 - INFO - Domain Default found not creating 2024-08-24 01:53:24,438 - INFO - Project ctest-TestBasicPolicy-91620916 not found, creating it 2024-08-24 01:53:24,901 - INFO - Created Project:ctest-TestBasicPolicy-91620916, ID : 863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:53:26,399 - INFO - ================================================================================ 2024-08-24 01:53:26,399 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-24 01:53:26,399 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2024-08-24 01:53:26,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.20': '0'}} with 2024-08-24 01:53:26,677 - INFO - Initial checks done. Running the testcase now 2024-08-24 01:53:26,678 - INFO - 2024-08-24 01:53:27,252 - DEBUG - Response for create_network : {'network': {'id': 'd97e3e3d-3275-4a3c-aae6-ff433da45767', 'name': 'ctest-vn-88727286', 'tenant_id': '863a634ca6c44accb09516b355e50499', 'project_id': '863a634ca6c44accb09516b355e50499', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-vn-88727286'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:53:27,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fc2e247-f43a-44e8-a1ef-1f0e223ef081', 'name': '', 'tenant_id': '863a634ca6c44accb09516b355e50499', 'network_id': 'd97e3e3d-3275-4a3c-aae6-ff433da45767', 'ip_version': 4, 'cidr': '3.148.183.0/26', 'allocation_pools': [{'start': '3.148.183.2', 'end': '3.148.183.62'}], 'gateway_ip': '3.148.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.148.183.2', 'tags': [], 'project_id': '863a634ca6c44accb09516b355e50499'}} 2024-08-24 01:53:27,432 - INFO - Created VN ctest-vn-88727286 2024-08-24 01:53:27,486 - DEBUG - VN ctest-vn-88727286 UUID is d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:27,761 - DEBUG - Response for create_network : {'network': {'id': 'a8f01eb5-909b-46db-95f9-6f9ea088deef', 'name': 'ctest-vn-67224406', 'tenant_id': '863a634ca6c44accb09516b355e50499', 'project_id': '863a634ca6c44accb09516b355e50499', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-vn-67224406'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:53:27,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e944ce18-8602-46fa-bfc1-9e9343e0344c', 'name': '', 'tenant_id': '863a634ca6c44accb09516b355e50499', 'network_id': 'a8f01eb5-909b-46db-95f9-6f9ea088deef', 'ip_version': 4, 'cidr': '208.31.191.192/26', 'allocation_pools': [{'start': '208.31.191.194', 'end': '208.31.191.254'}], 'gateway_ip': '208.31.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.31.191.194', 'tags': [], 'project_id': '863a634ca6c44accb09516b355e50499'}} 2024-08-24 01:53:27,970 - INFO - Created VN ctest-vn-67224406 2024-08-24 01:53:28,026 - DEBUG - VN ctest-vn-67224406 UUID is a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:28,140 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286, 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-91620916:ctest-vn-67224406, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2024-08-24 01:53:28,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd97e3e3d-3275-4a3c-aae6-ff433da45767', 'name': 'ctest-vn-88727286', 'tenant_id': '863a634ca6c44accb09516b355e50499', 'project_id': '863a634ca6c44accb09516b355e50499', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3fc2e247-f43a-44e8-a1ef-1f0e223ef081'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-vn-88727286'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-policy-allow-all-77670955']], 'subnet_ipam': [{'subnet_cidr': '3.148.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:53:28,672 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8f01eb5-909b-46db-95f9-6f9ea088deef', 'name': 'ctest-vn-67224406', 'tenant_id': '863a634ca6c44accb09516b355e50499', 'project_id': '863a634ca6c44accb09516b355e50499', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e944ce18-8602-46fa-bfc1-9e9343e0344c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-vn-67224406'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-policy-allow-all-77670955']], 'subnet_ipam': [{'subnet_cidr': '208.31.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:53:28,850 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:53:29,141 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:53:29,170 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:53:29,183 - DEBUG - Requesting: http://10.0.0.41:8082/project/863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:53:29,253 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:29,262 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:29,270 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07237273-69be-4263-b761-0ef04591543a 2024-08-24 01:53:29,277 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07237273-69be-4263-b761-0ef04591543a 2024-08-24 01:53:29,284 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/eabc1b93-bda4-4d5a-9701-4f6f8ebc75d8 2024-08-24 01:53:29,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 01:53:29,290 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:29,298 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07237273-69be-4263-b761-0ef04591543a 2024-08-24 01:53:29,310 - INFO - Verified VN network id 8 for VN d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:29,310 - INFO - Verifications in API Server for VN ctest-vn-88727286 passed 2024-08-24 01:53:29,310 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:29,318 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07237273-69be-4263-b761-0ef04591543a 2024-08-24 01:53:29,324 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07237273-69be-4263-b761-0ef04591543a 2024-08-24 01:53:29,330 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/eabc1b93-bda4-4d5a-9701-4f6f8ebc75d8 2024-08-24 01:53:29,341 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91620916', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15672032185856379452', 'uuid-lslong': '12314810895353272167'}, 'enable': 'true', 'created': '2024-08-24T01:53:27', 'last-modified': '2024-08-24T01:53:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927626'} 2024-08-24 01:53:29,347 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 01:53:29,347 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88727286 passed 2024-08-24 01:53:29,348 - DEBUG - ====Verifying policy data for ctest-vn-88727286 in API_Server ====== 2024-08-24 01:53:29,348 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:53:29,353 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:53:29,364 - DEBUG - Requesting: http://10.0.0.41:8082/project/863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:53:29,434 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d97e3e3d-3275-4a3c-aae6-ff433da45767 2024-08-24 01:53:29,442 - DEBUG - ==>Verifying data for policy with id: c7c92e24-0a27-41ba-b503-e84e53689468, fqn: ['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-policy-allow-all-77670955'] 2024-08-24 01:53:29,442 - INFO - VN ctest-vn-88727286 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-24 01:53:29,442 - DEBUG - Verifying the vn in opserver 2024-08-24 01:53:29,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286 virtual network link through opserver 10.0.0.41 2024-08-24 01:53:29,442 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-24 01:53:29,733 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-24 01:53:29,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286?flat'} 2024-08-24 01:53:29,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286 is found in opserver 2024-08-24 01:53:29,802 - DEBUG - Do not have enough data to verify VN in agent 2024-08-24 01:53:29,807 - DEBUG - VRF ids for VN ctest-vn-88727286: {} 2024-08-24 01:53:29,807 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:53:29,813 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:53:29,824 - DEBUG - Requesting: http://10.0.0.41:8082/project/863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:53:29,899 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:29,910 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:29,918 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5a064191-f905-4f0d-8b19-ed648d03552b 2024-08-24 01:53:29,925 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5a064191-f905-4f0d-8b19-ed648d03552b 2024-08-24 01:53:29,934 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/512ad937-12f6-4db6-bae8-04974ac71b50 2024-08-24 01:53:29,941 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-24 01:53:29,942 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:29,950 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5a064191-f905-4f0d-8b19-ed648d03552b 2024-08-24 01:53:29,964 - INFO - Verified VN network id 9 for VN a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:29,964 - INFO - Verifications in API Server for VN ctest-vn-67224406 passed 2024-08-24 01:53:29,964 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:29,972 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5a064191-f905-4f0d-8b19-ed648d03552b 2024-08-24 01:53:29,978 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5a064191-f905-4f0d-8b19-ed648d03552b 2024-08-24 01:53:29,984 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/512ad937-12f6-4db6-bae8-04974ac71b50 2024-08-24 01:53:29,996 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-67224406', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91620916', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12173263557946459867', 'uuid-lslong': '10806791507941056239'}, 'enable': 'true', 'created': '2024-08-24T01:53:27', 'last-modified': '2024-08-24T01:53:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344335'} 2024-08-24 01:53:30,002 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-24 01:53:30,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67224406 passed 2024-08-24 01:53:30,002 - DEBUG - ====Verifying policy data for ctest-vn-67224406 in API_Server ====== 2024-08-24 01:53:30,002 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:53:30,008 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:53:30,019 - DEBUG - Requesting: http://10.0.0.41:8082/project/863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:53:30,088 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a8f01eb5-909b-46db-95f9-6f9ea088deef 2024-08-24 01:53:30,097 - DEBUG - ==>Verifying data for policy with id: c7c92e24-0a27-41ba-b503-e84e53689468, fqn: ['default-domain', 'ctest-TestBasicPolicy-91620916', 'ctest-policy-allow-all-77670955'] 2024-08-24 01:53:30,097 - INFO - VN ctest-vn-67224406 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-24 01:53:30,097 - DEBUG - Verifying the vn in opserver 2024-08-24 01:53:30,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-67224406 virtual network link through opserver 10.0.0.41 2024-08-24 01:53:30,097 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-24 01:53:30,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-67224406', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-67224406?flat'} 2024-08-24 01:53:30,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-67224406 is found in opserver 2024-08-24 01:53:30,119 - DEBUG - Do not have enough data to verify VN in agent 2024-08-24 01:53:30,124 - DEBUG - VRF ids for VN ctest-vn-67224406: {} 2024-08-24 01:53:30,175 - DEBUG - Services list from nova: [, , ] 2024-08-24 01:53:39,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:53:42,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:53:42,916 - INFO - Waiting for VM ctest-TestBasicPolicy-91620916-45317576 to be up.. 2024-08-24 01:53:42,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 01:53:51,185 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:53:51,185 - INFO - VM name : ctest-TestBasicPolicy-91620916-45317576 2024-08-24 01:53:51,259 - DEBUG - VM ctest-TestBasicPolicy-91620916-45317576 ID is 96f53fb6-efdf-45f4-a9a2-341e3a149ab7 2024-08-24 01:53:51,276 - DEBUG - VM ctest-TestBasicPolicy-91620916-45317576 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:53:51,350 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/96f53fb6-efdf-45f4-a9a2-341e3a149ab7 2024-08-24 01:53:51,358 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b314f5a9-a268-4b52-a6d8-03c8df6465c7 2024-08-24 01:53:54,627 - 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 1031ms') 2024-08-24 01:53:54,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91620916-45317576 failed! 2024-08-24 01:53:54,686 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91620916:ctest-vn-88727286 is 3.148.183.1 and allocation pool is NOT set 2024-08-24 01:53:56,748 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/4.049/7.681/3.632 ms') 2024-08-24 01:53:56,748 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91620916-45317576 passed 2024-08-24 01:53:56,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:53:56,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91620916-45317576, IP 3.148.183.3, Port 22 2024-08-24 01:53:57,064 - DEBUG - VM ctest-TestBasicPolicy-91620916-45317576 is ready for SSH connections 2024-08-24 01:53:57,064 - INFO - Waiting for VM ctest-TestBasicPolicy-91620916-20077139 to be up.. 2024-08-24 01:53:57,156 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:53:57,156 - INFO - VM name : ctest-TestBasicPolicy-91620916-20077139 2024-08-24 01:53:57,248 - DEBUG - VM ctest-TestBasicPolicy-91620916-20077139 ID is 1857d288-ab51-4a35-b6ce-0a9f2e38ae02 2024-08-24 01:53:57,248 - DEBUG - VM ctest-TestBasicPolicy-91620916-20077139 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:53:57,328 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1857d288-ab51-4a35-b6ce-0a9f2e38ae02 2024-08-24 01:53:57,338 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/21d399ad-5650-4e8a-8bc2-14c0486e754e 2024-08-24 01:53:58,573 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 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 = 0.342/1.707/3.072/1.365 ms') 2024-08-24 01:53:58,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91620916-20077139 passed 2024-08-24 01:53:58,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:53:58,726 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91620916-20077139, IP 208.31.191.195, Port 22 2024-08-24 01:53:58,882 - DEBUG - VM ctest-TestBasicPolicy-91620916-20077139 is ready for SSH connections 2024-08-24 01:53:58,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:53:58,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.31.191.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:53:58,882 - DEBUG - ping -s 56 -c 3 -W 1 208.31.191.195 2024-08-24 01:54:02,887 - DEBUG - PING 208.31.191.195 (208.31.191.195): 56 data bytes 64 bytes from 208.31.191.195: seq=0 ttl=63 time=3.171 ms 64 bytes from 208.31.191.195: seq=1 ttl=63 time=0.764 ms 64 bytes from 208.31.191.195: seq=2 ttl=63 time=0.782 ms --- 208.31.191.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.572/3.171 ms 2024-08-24 01:54:02,887 - INFO - Ping to IP 208.31.191.195 from VM ctest-TestBasicPolicy-91620916-45317576 passed 2024-08-24 01:54:03,077 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c7c92e24-0a27-41ba-b503-e84e53689468", "href": "http://10.0.0.41:8082/network-policy/c7c92e24-0a27-41ba-b503-e84e53689468"}} 2024-08-24 01:54:03,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:54:03,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.31.191.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:54:03,078 - DEBUG - ping -s 56 -c 3 -W 1 208.31.191.195 2024-08-24 01:54:06,289 - DEBUG - PING 208.31.191.195 (208.31.191.195): 56 data bytes --- 208.31.191.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-24 01:54:06,290 - WARNING - Ping to IP 208.31.191.195 from VM ctest-TestBasicPolicy-91620916-45317576 failed 2024-08-24 01:54:06,290 - INFO - Deleting VM ctest-TestBasicPolicy-91620916-20077139 2024-08-24 01:54:06,350 - INFO - Deleting VM ctest-TestBasicPolicy-91620916-45317576 2024-08-24 01:54:06,705 - INFO - Deleted policy ctest-policy-allow-all-77670955 2024-08-24 01:54:06,705 - INFO - Deleting VN ctest-vn-67224406 2024-08-24 01:54:06,741 - DEBUG - VN a8f01eb5-909b-46db-95f9-6f9ea088deef still in use: Unable to complete operation on network a8f01eb5-909b-46db-95f9-6f9ea088deef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0ff10ae-b301-4bbb-b248-7481f0b95273'] 2024-08-24 01:54:06,742 - WARNING - Deleting VN ctest-vn-67224406 failed..Will retry 2024-08-24 01:54:08,842 - DEBUG - Response for deleting network () 2024-08-24 01:54:08,842 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5a064191-f905-4f0d-8b19-ed648d03552b 2024-08-24 01:54:08,848 - DEBUG - Response Code: 404 2024-08-24 01:54:08,848 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:54:08,855 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:54:08,912 - DEBUG - Requesting: http://10.0.0.41:8082/project/863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:54:08,979 - INFO - Validated that VN ctest-vn-67224406 is not found in API Server 2024-08-24 01:54:08,989 - DEBUG - VN ctest-vn-67224406 is not present in Agent 10.0.0.41 2024-08-24 01:54:08,989 - INFO - Validated that VN ctest-vn-67224406 is not in any agent 2024-08-24 01:54:09,005 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67224406 info 2024-08-24 01:54:09,005 - INFO - Deleting VN ctest-vn-88727286 2024-08-24 01:54:09,104 - DEBUG - Response for deleting network () 2024-08-24 01:54:09,104 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07237273-69be-4263-b761-0ef04591543a 2024-08-24 01:54:09,113 - DEBUG - Response Code: 404 2024-08-24 01:54:09,114 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:54:09,119 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:54:09,175 - DEBUG - Requesting: http://10.0.0.41:8082/project/863a634c-a6c4-4acc-b095-16b355e50499 2024-08-24 01:54:09,246 - INFO - Validated that VN ctest-vn-88727286 is not found in API Server 2024-08-24 01:54:09,260 - DEBUG - VN ctest-vn-88727286 is not present in Agent 10.0.0.41 2024-08-24 01:54:09,260 - INFO - Validated that VN ctest-vn-88727286 is not in any agent 2024-08-24 01:54:09,276 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88727286 info 2024-08-24 01:54:09,532 - DEBUG - No XMPP flaps were noticed during the test 2024-08-24 01:54:09,532 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:43] 2024-08-24 01:54:09,532 - INFO - -------------------------------------------------------------------------------- 2024-08-24 01:54:12,215 - INFO - Deleted project: ctest-TestBasicPolicy-91620916, ID : 863a634c-a6c4-4acc-b095-16b355e50499