2024-12-30 20:33:21,658 - INFO - Domain Default found not creating 2024-12-30 20:33:21,815 - INFO - Project ctest-TestBasicPolicy-32186916 not found, creating it 2024-12-30 20:33:22,288 - INFO - Created Project:ctest-TestBasicPolicy-32186916, ID : 5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:23,861 - INFO - ================================================================================ 2024-12-30 20:33:23,861 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-30 20:33:23,861 - 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-12-30 20:33:24,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.5': '0'}} with 2024-12-30 20:33:24,125 - INFO - Initial checks done. Running the testcase now 2024-12-30 20:33:24,125 - INFO - 2024-12-30 20:33:24,657 - DEBUG - Response for create_network : {'network': {'id': 'c77afb9c-35f5-4d72-a839-48d9495ab097', 'name': 'ctest-vn-90930172', 'tenant_id': '5a082304302a4cd69b35439932984cac', 'project_id': '5a082304302a4cd69b35439932984cac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-vn-90930172'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 20:33:24,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cee81dc1-4bd5-4054-9886-f07e5b058e51', 'name': '', 'tenant_id': '5a082304302a4cd69b35439932984cac', 'network_id': 'c77afb9c-35f5-4d72-a839-48d9495ab097', 'ip_version': 4, 'cidr': '138.168.154.192/26', 'allocation_pools': [{'start': '138.168.154.194', 'end': '138.168.154.254'}], 'gateway_ip': '138.168.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.168.154.194', 'tags': [], 'project_id': '5a082304302a4cd69b35439932984cac'}} 2024-12-30 20:33:24,856 - INFO - Created VN ctest-vn-90930172 2024-12-30 20:33:24,911 - DEBUG - VN ctest-vn-90930172 UUID is c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:25,240 - DEBUG - Response for create_network : {'network': {'id': 'a285818d-cba5-4756-93bb-a44d39246083', 'name': 'ctest-vn-76538867', 'tenant_id': '5a082304302a4cd69b35439932984cac', 'project_id': '5a082304302a4cd69b35439932984cac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-vn-76538867'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 20:33:25,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b5d9803-dfbe-4497-a645-d38912a1d269', 'name': '', 'tenant_id': '5a082304302a4cd69b35439932984cac', 'network_id': 'a285818d-cba5-4756-93bb-a44d39246083', 'ip_version': 4, 'cidr': '109.170.117.64/26', 'allocation_pools': [{'start': '109.170.117.66', 'end': '109.170.117.126'}], 'gateway_ip': '109.170.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.170.117.66', 'tags': [], 'project_id': '5a082304302a4cd69b35439932984cac'}} 2024-12-30 20:33:25,418 - INFO - Created VN ctest-vn-76538867 2024-12-30 20:33:25,471 - DEBUG - VN ctest-vn-76538867 UUID is a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:25,584 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172, 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-32186916:ctest-vn-76538867, 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-12-30 20:33:25,891 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c77afb9c-35f5-4d72-a839-48d9495ab097', 'name': 'ctest-vn-90930172', 'tenant_id': '5a082304302a4cd69b35439932984cac', 'project_id': '5a082304302a4cd69b35439932984cac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cee81dc1-4bd5-4054-9886-f07e5b058e51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-vn-90930172'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-policy-allow-all-55485000']], 'subnet_ipam': [{'subnet_cidr': '138.168.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 20:33:26,177 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a285818d-cba5-4756-93bb-a44d39246083', 'name': 'ctest-vn-76538867', 'tenant_id': '5a082304302a4cd69b35439932984cac', 'project_id': '5a082304302a4cd69b35439932984cac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b5d9803-dfbe-4497-a645-d38912a1d269'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-vn-76538867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-policy-allow-all-55485000']], 'subnet_ipam': [{'subnet_cidr': '109.170.117.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 20:33:26,331 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:26,625 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:26,653 - DEBUG - Requesting: http://10.0.0.24:8082/domain/80a65b5b-b66e-4839-be6b-4444be76624c 2024-12-30 20:33:26,666 - DEBUG - Requesting: http://10.0.0.24:8082/project/5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:26,743 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:26,755 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:26,765 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/07f879ed-4ef3-45a1-83b9-9712f8474055 2024-12-30 20:33:26,774 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/07f879ed-4ef3-45a1-83b9-9712f8474055 2024-12-30 20:33:26,783 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/bafb5020-7119-4dee-8b2c-da5c978c456f 2024-12-30 20:33:26,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 20:33:26,790 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:26,800 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/07f879ed-4ef3-45a1-83b9-9712f8474055 2024-12-30 20:33:26,817 - INFO - Verified VN network id 9 for VN c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:26,817 - INFO - Verifications in API Server for VN ctest-vn-90930172 passed 2024-12-30 20:33:26,817 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:26,831 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/07f879ed-4ef3-45a1-83b9-9712f8474055 2024-12-30 20:33:26,840 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/07f879ed-4ef3-45a1-83b9-9712f8474055 2024-12-30 20:33:26,848 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/bafb5020-7119-4dee-8b2c-da5c978c456f 2024-12-30 20:33:26,861 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32186916', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14374077809045097842', 'uuid-lslong': '12121799970120183959'}, 'enable': 'true', 'created': '2024-12-30T20:33:24', 'last-modified': '2024-12-30T20:33:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998291'} 2024-12-30 20:33:26,867 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 20:33:26,867 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90930172 passed 2024-12-30 20:33:26,868 - DEBUG - ====Verifying policy data for ctest-vn-90930172 in API_Server ====== 2024-12-30 20:33:26,868 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:26,874 - DEBUG - Requesting: http://10.0.0.24:8082/domain/80a65b5b-b66e-4839-be6b-4444be76624c 2024-12-30 20:33:26,885 - DEBUG - Requesting: http://10.0.0.24:8082/project/5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:26,957 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c77afb9c-35f5-4d72-a839-48d9495ab097 2024-12-30 20:33:26,967 - DEBUG - ==>Verifying data for policy with id: 2919f675-ee99-4ce6-b6bd-f64480297c1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-policy-allow-all-55485000'] 2024-12-30 20:33:26,967 - INFO - VN ctest-vn-90930172 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 20:33:26,967 - DEBUG - Verifying the vn in opserver 2024-12-30 20:33:26,967 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172 virtual network link through opserver 10.0.0.24 2024-12-30 20:33:26,967 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-12-30 20:33:27,257 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-12-30 20:33:27,315 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172?flat'} 2024-12-30 20:33:27,315 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172 is found in opserver 2024-12-30 20:33:27,327 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 20:33:27,333 - DEBUG - VRF ids for VN ctest-vn-90930172: {} 2024-12-30 20:33:27,333 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:27,341 - DEBUG - Requesting: http://10.0.0.24:8082/domain/80a65b5b-b66e-4839-be6b-4444be76624c 2024-12-30 20:33:27,357 - DEBUG - Requesting: http://10.0.0.24:8082/project/5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:27,432 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:27,445 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:27,455 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/133b0239-6a19-4582-b79d-c6d80868e506 2024-12-30 20:33:27,463 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/133b0239-6a19-4582-b79d-c6d80868e506 2024-12-30 20:33:27,471 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/352657a3-d43b-457d-be2b-76c6bdb6cf41 2024-12-30 20:33:27,478 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 20:33:27,478 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:27,487 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/133b0239-6a19-4582-b79d-c6d80868e506 2024-12-30 20:33:27,501 - INFO - Verified VN network id 10 for VN a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:27,501 - INFO - Verifications in API Server for VN ctest-vn-76538867 passed 2024-12-30 20:33:27,501 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:27,512 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/133b0239-6a19-4582-b79d-c6d80868e506 2024-12-30 20:33:27,519 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/133b0239-6a19-4582-b79d-c6d80868e506 2024-12-30 20:33:27,526 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/352657a3-d43b-457d-be2b-76c6bdb6cf41 2024-12-30 20:33:27,538 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-76538867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32186916', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11710908852053821270', 'uuid-lslong': '10645282795798421635'}, 'enable': 'true', 'created': '2024-12-30T20:33:25', 'last-modified': '2024-12-30T20:33:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.424340'} 2024-12-30 20:33:27,544 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 20:33:27,544 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76538867 passed 2024-12-30 20:33:27,545 - DEBUG - ====Verifying policy data for ctest-vn-76538867 in API_Server ====== 2024-12-30 20:33:27,545 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:27,551 - DEBUG - Requesting: http://10.0.0.24:8082/domain/80a65b5b-b66e-4839-be6b-4444be76624c 2024-12-30 20:33:27,566 - DEBUG - Requesting: http://10.0.0.24:8082/project/5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:27,639 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a285818d-cba5-4756-93bb-a44d39246083 2024-12-30 20:33:27,649 - DEBUG - ==>Verifying data for policy with id: 2919f675-ee99-4ce6-b6bd-f64480297c1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-32186916', 'ctest-policy-allow-all-55485000'] 2024-12-30 20:33:27,650 - INFO - VN ctest-vn-76538867 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 20:33:27,650 - DEBUG - Verifying the vn in opserver 2024-12-30 20:33:27,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-76538867 virtual network link through opserver 10.0.0.24 2024-12-30 20:33:27,650 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-12-30 20:33:27,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-76538867', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-76538867?flat'} 2024-12-30 20:33:27,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-76538867 is found in opserver 2024-12-30 20:33:27,672 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 20:33:27,677 - DEBUG - VRF ids for VN ctest-vn-76538867: {} 2024-12-30 20:33:27,733 - DEBUG - Services list from nova: [, , ] 2024-12-30 20:33:28,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2503-1) 2024-12-30 20:33:30,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2503-1) 2024-12-30 20:33:30,016 - INFO - Waiting for VM ctest-TestBasicPolicy-32186916-28282756 to be up.. 2024-12-30 20:33:30,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 20:33:35,168 - DEBUG - VM is in ACTIVE state now 2024-12-30 20:33:35,168 - INFO - VM name : ctest-TestBasicPolicy-32186916-28282756 2024-12-30 20:33:35,241 - DEBUG - VM ctest-TestBasicPolicy-32186916-28282756 ID is 47777fe8-2a46-4804-bda0-d948b8cf15d8 2024-12-30 20:33:35,259 - DEBUG - VM ctest-TestBasicPolicy-32186916-28282756 launched on Node cn-jenkins-deploy-platform-ansible-os-2503-1 2024-12-30 20:33:35,331 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/47777fe8-2a46-4804-bda0-d948b8cf15d8 2024-12-30 20:33:35,341 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/89946878-d099-41a0-8f35-3733f23f69f7 2024-12-30 20:33:38,597 - 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 1015ms') 2024-12-30 20:33:38,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32186916-28282756 failed! 2024-12-30 20:33:38,656 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32186916:ctest-vn-90930172 is 138.168.154.193 and allocation pool is NOT set 2024-12-30 20:33:40,714 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.923 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.923/1.983/3.043/1.060 ms') 2024-12-30 20:33:40,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32186916-28282756 passed 2024-12-30 20:33:40,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:40,867 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32186916-28282756, IP 138.168.154.195, Port 22 2024-12-30 20:33:41,022 - DEBUG - VM ctest-TestBasicPolicy-32186916-28282756 is ready for SSH connections 2024-12-30 20:33:41,023 - INFO - Waiting for VM ctest-TestBasicPolicy-32186916-83761666 to be up.. 2024-12-30 20:33:41,099 - DEBUG - VM is in ACTIVE state now 2024-12-30 20:33:41,099 - INFO - VM name : ctest-TestBasicPolicy-32186916-83761666 2024-12-30 20:33:41,180 - DEBUG - VM ctest-TestBasicPolicy-32186916-83761666 ID is 2bfad990-4cd0-49da-84c6-8f752fa35b0a 2024-12-30 20:33:41,180 - DEBUG - VM ctest-TestBasicPolicy-32186916-83761666 launched on Node cn-jenkins-deploy-platform-ansible-os-2503-1 2024-12-30 20:33:41,275 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/2bfad990-4cd0-49da-84c6-8f752fa35b0a 2024-12-30 20:33:41,285 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/8a5dce3a-d674-4ee2-b498-f49453d7da40 2024-12-30 20:33:42,522 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.769/3.141/1.371 ms') 2024-12-30 20:33:42,523 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32186916-83761666 passed 2024-12-30 20:33:42,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:42,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32186916-83761666, IP 109.170.117.67, Port 22 2024-12-30 20:33:42,835 - DEBUG - VM ctest-TestBasicPolicy-32186916-83761666 is ready for SSH connections 2024-12-30 20:33:42,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:42,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.170.117.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-12-30 20:33:42,836 - DEBUG - ping -s 56 -c 3 -W 1 109.170.117.67 2024-12-30 20:33:46,837 - DEBUG - PING 109.170.117.67 (109.170.117.67): 56 data bytes 64 bytes from 109.170.117.67: seq=0 ttl=63 time=3.550 ms 64 bytes from 109.170.117.67: seq=1 ttl=63 time=0.934 ms 64 bytes from 109.170.117.67: seq=2 ttl=63 time=0.907 ms --- 109.170.117.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/1.797/3.550 ms 2024-12-30 20:33:46,837 - INFO - Ping to IP 109.170.117.67 from VM ctest-TestBasicPolicy-32186916-28282756 passed 2024-12-30 20:33:47,031 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2919f675-ee99-4ce6-b6bd-f64480297c1a", "href": "http://10.0.0.24:8082/network-policy/2919f675-ee99-4ce6-b6bd-f64480297c1a"}} 2024-12-30 20:33:47,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:47,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.170.117.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-12-30 20:33:47,032 - DEBUG - ping -s 56 -c 3 -W 1 109.170.117.67 2024-12-30 20:33:50,242 - DEBUG - PING 109.170.117.67 (109.170.117.67): 56 data bytes --- 109.170.117.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-12-30 20:33:50,242 - WARNING - Ping to IP 109.170.117.67 from VM ctest-TestBasicPolicy-32186916-28282756 failed 2024-12-30 20:33:50,242 - INFO - Deleting VM ctest-TestBasicPolicy-32186916-83761666 2024-12-30 20:33:50,304 - INFO - Deleting VM ctest-TestBasicPolicy-32186916-28282756 2024-12-30 20:33:50,634 - INFO - Deleted policy ctest-policy-allow-all-55485000 2024-12-30 20:33:50,635 - INFO - Deleting VN ctest-vn-76538867 2024-12-30 20:33:50,673 - DEBUG - VN a285818d-cba5-4756-93bb-a44d39246083 still in use: Unable to complete operation on network a285818d-cba5-4756-93bb-a44d39246083. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1619f555-b1c4-4cfe-b2f0-d1a9abb89c06'] 2024-12-30 20:33:50,674 - WARNING - Deleting VN ctest-vn-76538867 failed..Will retry 2024-12-30 20:33:52,788 - DEBUG - Response for deleting network () 2024-12-30 20:33:52,788 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/133b0239-6a19-4582-b79d-c6d80868e506 2024-12-30 20:33:52,800 - DEBUG - Response Code: 404 2024-12-30 20:33:52,800 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:52,805 - DEBUG - Requesting: http://10.0.0.24:8082/domain/80a65b5b-b66e-4839-be6b-4444be76624c 2024-12-30 20:33:52,861 - DEBUG - Requesting: http://10.0.0.24:8082/project/5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:52,936 - INFO - Validated that VN ctest-vn-76538867 is not found in API Server 2024-12-30 20:33:52,948 - DEBUG - VN ctest-vn-76538867 is not present in Agent 10.0.0.24 2024-12-30 20:33:52,948 - INFO - Validated that VN ctest-vn-76538867 is not in any agent 2024-12-30 20:33:52,964 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76538867 info 2024-12-30 20:33:52,964 - INFO - Deleting VN ctest-vn-90930172 2024-12-30 20:33:53,074 - DEBUG - Response for deleting network () 2024-12-30 20:33:53,074 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/07f879ed-4ef3-45a1-83b9-9712f8474055 2024-12-30 20:33:53,081 - DEBUG - Response Code: 404 2024-12-30 20:33:53,081 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-30 20:33:53,089 - DEBUG - Requesting: http://10.0.0.24:8082/domain/80a65b5b-b66e-4839-be6b-4444be76624c 2024-12-30 20:33:53,145 - DEBUG - Requesting: http://10.0.0.24:8082/project/5a082304-302a-4cd6-9b35-439932984cac 2024-12-30 20:33:53,216 - INFO - Validated that VN ctest-vn-90930172 is not found in API Server 2024-12-30 20:33:53,227 - DEBUG - VN ctest-vn-90930172 is not present in Agent 10.0.0.24 2024-12-30 20:33:53,227 - INFO - Validated that VN ctest-vn-90930172 is not in any agent 2024-12-30 20:33:53,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90930172 info 2024-12-30 20:33:53,497 - DEBUG - No XMPP flaps were noticed during the test 2024-12-30 20:33:53,497 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-12-30 20:33:53,497 - INFO - -------------------------------------------------------------------------------- 2024-12-30 20:33:54,151 - INFO - Deleted project: ctest-TestBasicPolicy-32186916, ID : 5a082304-302a-4cd6-9b35-439932984cac