2024-08-23 23:17:01,158 - INFO - Domain Default found not creating 2024-08-23 23:17:02,901 - INFO - Project ctest-TestBasicPolicy-49168949 not found, creating it 2024-08-23 23:17:03,359 - INFO - Created Project:ctest-TestBasicPolicy-49168949, ID : d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:07,119 - INFO - ================================================================================ 2024-08-23 23:17:07,119 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-23 23:17:07,119 - 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-23 23:17:07,382 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-08-23 23:17:07,382 - INFO - Initial checks done. Running the testcase now 2024-08-23 23:17:07,382 - INFO - 2024-08-23 23:17:07,910 - DEBUG - Response for create_network : {'network': {'id': '131ff407-b3d1-4ea1-810e-0b4038a6de2b', 'name': 'ctest-vn-99993216', 'tenant_id': 'd4f993723f3c421794c3a99e1c044407', 'project_id': 'd4f993723f3c421794c3a99e1c044407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-vn-99993216'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:17:08,055 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1780f11-ec92-4b86-ba6c-0e39b837b3f0', 'name': '', 'tenant_id': 'd4f993723f3c421794c3a99e1c044407', 'network_id': '131ff407-b3d1-4ea1-810e-0b4038a6de2b', 'ip_version': 4, 'cidr': '105.199.116.192/26', 'allocation_pools': [{'start': '105.199.116.194', 'end': '105.199.116.254'}], 'gateway_ip': '105.199.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.199.116.194', 'tags': [], 'project_id': 'd4f993723f3c421794c3a99e1c044407'}} 2024-08-23 23:17:08,076 - INFO - Created VN ctest-vn-99993216 2024-08-23 23:17:08,128 - DEBUG - VN ctest-vn-99993216 UUID is 131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:08,410 - DEBUG - Response for create_network : {'network': {'id': 'f9e5c03d-a9e7-450b-8497-9f68907b3210', 'name': 'ctest-vn-36632581', 'tenant_id': 'd4f993723f3c421794c3a99e1c044407', 'project_id': 'd4f993723f3c421794c3a99e1c044407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-vn-36632581'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:17:08,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c5c384c-d3a8-46ab-8698-c63476249f69', 'name': '', 'tenant_id': 'd4f993723f3c421794c3a99e1c044407', 'network_id': 'f9e5c03d-a9e7-450b-8497-9f68907b3210', 'ip_version': 4, 'cidr': '194.69.137.64/26', 'allocation_pools': [{'start': '194.69.137.66', 'end': '194.69.137.126'}], 'gateway_ip': '194.69.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.69.137.66', 'tags': [], 'project_id': 'd4f993723f3c421794c3a99e1c044407'}} 2024-08-23 23:17:08,617 - INFO - Created VN ctest-vn-36632581 2024-08-23 23:17:08,668 - DEBUG - VN ctest-vn-36632581 UUID is f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:08,781 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216, 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-49168949:ctest-vn-36632581, 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-23 23:17:09,066 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '131ff407-b3d1-4ea1-810e-0b4038a6de2b', 'name': 'ctest-vn-99993216', 'tenant_id': 'd4f993723f3c421794c3a99e1c044407', 'project_id': 'd4f993723f3c421794c3a99e1c044407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1780f11-ec92-4b86-ba6c-0e39b837b3f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-vn-99993216'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-policy-allow-all-51478279']], 'subnet_ipam': [{'subnet_cidr': '105.199.116.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:17:09,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9e5c03d-a9e7-450b-8497-9f68907b3210', 'name': 'ctest-vn-36632581', 'tenant_id': 'd4f993723f3c421794c3a99e1c044407', 'project_id': 'd4f993723f3c421794c3a99e1c044407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c5c384c-d3a8-46ab-8698-c63476249f69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-vn-36632581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-policy-allow-all-51478279']], 'subnet_ipam': [{'subnet_cidr': '194.69.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:17:09,476 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:09,767 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:09,798 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7fddaabd-f23e-4a64-be53-340d83dcb47b 2024-08-23 23:17:09,815 - DEBUG - Requesting: http://10.0.0.38:8082/project/d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:09,891 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:09,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:09,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7eae25c-755c-4202-9d68-a7c6af73b574 2024-08-23 23:17:09,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7eae25c-755c-4202-9d68-a7c6af73b574 2024-08-23 23:17:09,921 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4282b56a-12d8-4317-92ba-8dc370d3a4b8 2024-08-23 23:17:09,927 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-23 23:17:09,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:09,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7eae25c-755c-4202-9d68-a7c6af73b574 2024-08-23 23:17:09,948 - INFO - Verified VN network id 7 for VN 131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:09,948 - INFO - Verifications in API Server for VN ctest-vn-99993216 passed 2024-08-23 23:17:09,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:09,957 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7eae25c-755c-4202-9d68-a7c6af73b574 2024-08-23 23:17:09,964 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7eae25c-755c-4202-9d68-a7c6af73b574 2024-08-23 23:17:09,971 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4282b56a-12d8-4317-92ba-8dc370d3a4b8 2024-08-23 23:17:09,985 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49168949', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1378088324917448353', 'uuid-lslong': '9299382651022925355'}, 'enable': 'true', 'created': '2024-08-23T23:17:07', 'last-modified': '2024-08-23T23:17:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943257'} 2024-08-23 23:17:09,992 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-23 23:17:09,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99993216 passed 2024-08-23 23:17:09,992 - DEBUG - ====Verifying policy data for ctest-vn-99993216 in API_Server ====== 2024-08-23 23:17:09,992 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:09,999 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7fddaabd-f23e-4a64-be53-340d83dcb47b 2024-08-23 23:17:10,011 - DEBUG - Requesting: http://10.0.0.38:8082/project/d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:10,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/131ff407-b3d1-4ea1-810e-0b4038a6de2b 2024-08-23 23:17:10,085 - DEBUG - ==>Verifying data for policy with id: bbd10079-5f8c-4f51-86dc-24bf9fa91030, fqn: ['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-policy-allow-all-51478279'] 2024-08-23 23:17:10,085 - INFO - VN ctest-vn-99993216 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-23 23:17:10,085 - DEBUG - Verifying the vn in opserver 2024-08-23 23:17:10,085 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216 virtual network link through opserver 10.0.0.38 2024-08-23 23:17:10,085 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-08-23 23:17:10,376 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-08-23 23:17:10,434 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216?flat'} 2024-08-23 23:17:10,434 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216 is found in opserver 2024-08-23 23:17:10,445 - DEBUG - Do not have enough data to verify VN in agent 2024-08-23 23:17:10,449 - DEBUG - VRF ids for VN ctest-vn-99993216: {} 2024-08-23 23:17:10,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:10,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7fddaabd-f23e-4a64-be53-340d83dcb47b 2024-08-23 23:17:10,467 - DEBUG - Requesting: http://10.0.0.38:8082/project/d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:10,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:10,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:10,551 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/545a9148-b73d-4fc7-9e8a-0a5d68d232f7 2024-08-23 23:17:10,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/545a9148-b73d-4fc7-9e8a-0a5d68d232f7 2024-08-23 23:17:10,563 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a774729-27ab-48be-ac6b-33559229c6b0 2024-08-23 23:17:10,568 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-23 23:17:10,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:10,575 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/545a9148-b73d-4fc7-9e8a-0a5d68d232f7 2024-08-23 23:17:10,586 - INFO - Verified VN network id 8 for VN f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:10,586 - INFO - Verifications in API Server for VN ctest-vn-36632581 passed 2024-08-23 23:17:10,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:10,593 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/545a9148-b73d-4fc7-9e8a-0a5d68d232f7 2024-08-23 23:17:10,599 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/545a9148-b73d-4fc7-9e8a-0a5d68d232f7 2024-08-23 23:17:10,605 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a774729-27ab-48be-ac6b-33559229c6b0 2024-08-23 23:17:10,616 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-36632581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49168949', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18007010056186840331', 'uuid-lslong': '9554280405939204624'}, 'enable': 'true', 'created': '2024-08-23T23:17:08', 'last-modified': '2024-08-23T23:17:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.336779'} 2024-08-23 23:17:10,622 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-23 23:17:10,622 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36632581 passed 2024-08-23 23:17:10,622 - DEBUG - ====Verifying policy data for ctest-vn-36632581 in API_Server ====== 2024-08-23 23:17:10,623 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:10,627 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7fddaabd-f23e-4a64-be53-340d83dcb47b 2024-08-23 23:17:10,638 - DEBUG - Requesting: http://10.0.0.38:8082/project/d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:10,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9e5c03d-a9e7-450b-8497-9f68907b3210 2024-08-23 23:17:10,716 - DEBUG - ==>Verifying data for policy with id: bbd10079-5f8c-4f51-86dc-24bf9fa91030, fqn: ['default-domain', 'ctest-TestBasicPolicy-49168949', 'ctest-policy-allow-all-51478279'] 2024-08-23 23:17:10,716 - INFO - VN ctest-vn-36632581 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-23 23:17:10,716 - DEBUG - Verifying the vn in opserver 2024-08-23 23:17:10,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-36632581 virtual network link through opserver 10.0.0.38 2024-08-23 23:17:10,716 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-08-23 23:17:10,727 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-36632581', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-36632581?flat'} 2024-08-23 23:17:10,727 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-36632581 is found in opserver 2024-08-23 23:17:10,737 - DEBUG - Do not have enough data to verify VN in agent 2024-08-23 23:17:10,742 - DEBUG - VRF ids for VN ctest-vn-36632581: {} 2024-08-23 23:17:10,794 - DEBUG - Services list from nova: [, , ] 2024-08-23 23:17:11,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1735-1) 2024-08-23 23:17:13,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1735-1) 2024-08-23 23:17:13,008 - INFO - Waiting for VM ctest-TestBasicPolicy-49168949-96740709 to be up.. 2024-08-23 23:17:13,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 23:17:18,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 23:17:23,239 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:17:23,239 - INFO - VM name : ctest-TestBasicPolicy-49168949-96740709 2024-08-23 23:17:23,311 - DEBUG - VM ctest-TestBasicPolicy-49168949-96740709 ID is d4d3e6d5-d1ef-4493-adff-b0d578c16175 2024-08-23 23:17:23,328 - DEBUG - VM ctest-TestBasicPolicy-49168949-96740709 launched on Node cn-jenkins-deploy-platform-ansible-os-1735-1 2024-08-23 23:17:23,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d4d3e6d5-d1ef-4493-adff-b0d578c16175 2024-08-23 23:17:23,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b8865479-2147-4066-830a-460719bcdd80 2024-08-23 23:17:26,649 - 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 1008ms') 2024-08-23 23:17:26,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49168949-96740709 failed! 2024-08-23 23:17:26,700 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49168949:ctest-vn-99993216 is 105.199.116.193 and allocation pool is NOT set 2024-08-23 23:17:28,761 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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 = 2.127/3.130/4.134/1.003 ms') 2024-08-23 23:17:28,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49168949-96740709 passed 2024-08-23 23:17:28,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:17:28,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49168949-96740709, IP 105.199.116.195, Port 22 2024-08-23 23:17:29,063 - DEBUG - VM ctest-TestBasicPolicy-49168949-96740709 is ready for SSH connections 2024-08-23 23:17:29,063 - INFO - Waiting for VM ctest-TestBasicPolicy-49168949-37216559 to be up.. 2024-08-23 23:17:29,142 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:17:29,142 - INFO - VM name : ctest-TestBasicPolicy-49168949-37216559 2024-08-23 23:17:29,213 - DEBUG - VM ctest-TestBasicPolicy-49168949-37216559 ID is 89246a58-5c7f-4b71-a6d3-21aef30c1e66 2024-08-23 23:17:29,214 - DEBUG - VM ctest-TestBasicPolicy-49168949-37216559 launched on Node cn-jenkins-deploy-platform-ansible-os-1735-1 2024-08-23 23:17:29,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/89246a58-5c7f-4b71-a6d3-21aef30c1e66 2024-08-23 23:17:29,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1819b41e-4c80-428a-9d71-b05301352ed6 2024-08-23 23:17:33,068 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.890 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.890/2.392/3.894/1.502 ms') 2024-08-23 23:17:33,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49168949-37216559 passed 2024-08-23 23:17:33,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:17:33,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49168949-37216559, IP 194.69.137.67, Port 22 2024-08-23 23:17:33,372 - DEBUG - VM ctest-TestBasicPolicy-49168949-37216559 is ready for SSH connections 2024-08-23 23:17:33,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:17:33,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.69.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-23 23:17:33,372 - DEBUG - ping -s 56 -c 3 -W 1 194.69.137.67 2024-08-23 23:17:37,345 - DEBUG - PING 194.69.137.67 (194.69.137.67): 56 data bytes 64 bytes from 194.69.137.67: seq=0 ttl=63 time=6.734 ms 64 bytes from 194.69.137.67: seq=1 ttl=63 time=0.775 ms 64 bytes from 194.69.137.67: seq=2 ttl=63 time=0.889 ms --- 194.69.137.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/2.799/6.734 ms 2024-08-23 23:17:37,345 - INFO - Ping to IP 194.69.137.67 from VM ctest-TestBasicPolicy-49168949-96740709 passed 2024-08-23 23:17:37,524 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bbd10079-5f8c-4f51-86dc-24bf9fa91030", "href": "http://10.0.0.38:8082/network-policy/bbd10079-5f8c-4f51-86dc-24bf9fa91030"}} 2024-08-23 23:17:37,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:17:37,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.69.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-23 23:17:37,524 - DEBUG - ping -s 56 -c 3 -W 1 194.69.137.67 2024-08-23 23:17:40,728 - DEBUG - PING 194.69.137.67 (194.69.137.67): 56 data bytes --- 194.69.137.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-23 23:17:40,729 - WARNING - Ping to IP 194.69.137.67 from VM ctest-TestBasicPolicy-49168949-96740709 failed 2024-08-23 23:17:40,729 - INFO - Deleting VM ctest-TestBasicPolicy-49168949-37216559 2024-08-23 23:17:40,798 - INFO - Deleting VM ctest-TestBasicPolicy-49168949-96740709 2024-08-23 23:17:41,229 - INFO - Deleted policy ctest-policy-allow-all-51478279 2024-08-23 23:17:41,229 - INFO - Deleting VN ctest-vn-36632581 2024-08-23 23:17:41,271 - DEBUG - VN f9e5c03d-a9e7-450b-8497-9f68907b3210 still in use: Unable to complete operation on network f9e5c03d-a9e7-450b-8497-9f68907b3210. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41f964e2-bd3c-4bec-aadb-b2121ca004ed'] 2024-08-23 23:17:41,271 - WARNING - Deleting VN ctest-vn-36632581 failed..Will retry 2024-08-23 23:17:43,372 - DEBUG - Response for deleting network () 2024-08-23 23:17:43,372 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/545a9148-b73d-4fc7-9e8a-0a5d68d232f7 2024-08-23 23:17:43,378 - DEBUG - Response Code: 404 2024-08-23 23:17:43,379 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:43,384 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7fddaabd-f23e-4a64-be53-340d83dcb47b 2024-08-23 23:17:43,442 - DEBUG - Requesting: http://10.0.0.38:8082/project/d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:43,510 - INFO - Validated that VN ctest-vn-36632581 is not found in API Server 2024-08-23 23:17:43,520 - DEBUG - VN ctest-vn-36632581 is not present in Agent 10.0.0.38 2024-08-23 23:17:43,520 - INFO - Validated that VN ctest-vn-36632581 is not in any agent 2024-08-23 23:17:43,535 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36632581 info 2024-08-23 23:17:43,535 - INFO - Deleting VN ctest-vn-99993216 2024-08-23 23:17:43,643 - DEBUG - Response for deleting network () 2024-08-23 23:17:43,644 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7eae25c-755c-4202-9d68-a7c6af73b574 2024-08-23 23:17:43,649 - DEBUG - Response Code: 404 2024-08-23 23:17:43,649 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-08-23 23:17:43,658 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7fddaabd-f23e-4a64-be53-340d83dcb47b 2024-08-23 23:17:43,713 - DEBUG - Requesting: http://10.0.0.38:8082/project/d4f99372-3f3c-4217-94c3-a99e1c044407 2024-08-23 23:17:43,777 - INFO - Validated that VN ctest-vn-99993216 is not found in API Server 2024-08-23 23:17:43,787 - DEBUG - VN ctest-vn-99993216 is not present in Agent 10.0.0.38 2024-08-23 23:17:43,787 - INFO - Validated that VN ctest-vn-99993216 is not in any agent 2024-08-23 23:17:43,802 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99993216 info 2024-08-23 23:17:44,059 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 23:17:44,059 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2024-08-23 23:17:44,059 - INFO - -------------------------------------------------------------------------------- 2024-08-23 23:17:44,712 - INFO - Deleted project: ctest-TestBasicPolicy-49168949, ID : d4f99372-3f3c-4217-94c3-a99e1c044407