2025-01-02 21:55:09,610 - INFO - Domain Default found not creating 2025-01-02 21:55:09,777 - INFO - Project ctest-TestBasicPolicy-09098227 not found, creating it 2025-01-02 21:55:10,251 - INFO - Created Project:ctest-TestBasicPolicy-09098227, ID : e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:11,739 - INFO - ================================================================================ 2025-01-02 21:55:11,739 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-02 21:55:11,739 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-02 21:55:12,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with 2025-01-02 21:55:12,000 - INFO - Initial checks done. Running the testcase now 2025-01-02 21:55:12,000 - INFO - 2025-01-02 21:55:12,570 - DEBUG - Response for create_network : {'network': {'id': '9b533900-7f69-4a78-9704-0f8af3db76f3', 'name': 'ctest-vn-57730006', 'tenant_id': 'e7348dbe6683499aac3ac4333a8c837c', 'project_id': 'e7348dbe6683499aac3ac4333a8c837c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-vn-57730006'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:55:12,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed8d3e25-6666-403f-b175-c59f30819648', 'name': '', 'tenant_id': 'e7348dbe6683499aac3ac4333a8c837c', 'network_id': '9b533900-7f69-4a78-9704-0f8af3db76f3', 'ip_version': 4, 'cidr': '146.18.167.64/26', 'allocation_pools': [{'start': '146.18.167.66', 'end': '146.18.167.126'}], 'gateway_ip': '146.18.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.18.167.66', 'tags': [], 'project_id': 'e7348dbe6683499aac3ac4333a8c837c'}} 2025-01-02 21:55:12,744 - INFO - Created VN ctest-vn-57730006 2025-01-02 21:55:12,797 - DEBUG - VN ctest-vn-57730006 UUID is 9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:13,149 - DEBUG - Response for create_network : {'network': {'id': 'd3db2c09-a821-4654-b096-9e63dc729ff6', 'name': 'ctest-vn-12594851', 'tenant_id': 'e7348dbe6683499aac3ac4333a8c837c', 'project_id': 'e7348dbe6683499aac3ac4333a8c837c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-vn-12594851'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:55:13,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd01100e-6037-4702-bbee-ba5df6b80158', 'name': '', 'tenant_id': 'e7348dbe6683499aac3ac4333a8c837c', 'network_id': 'd3db2c09-a821-4654-b096-9e63dc729ff6', 'ip_version': 4, 'cidr': '29.158.201.128/26', 'allocation_pools': [{'start': '29.158.201.130', 'end': '29.158.201.190'}], 'gateway_ip': '29.158.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.158.201.130', 'tags': [], 'project_id': 'e7348dbe6683499aac3ac4333a8c837c'}} 2025-01-02 21:55:13,371 - INFO - Created VN ctest-vn-12594851 2025-01-02 21:55:13,429 - DEBUG - VN ctest-vn-12594851 UUID is d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:13,547 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006, 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-09098227:ctest-vn-12594851, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-01-02 21:55:13,851 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b533900-7f69-4a78-9704-0f8af3db76f3', 'name': 'ctest-vn-57730006', 'tenant_id': 'e7348dbe6683499aac3ac4333a8c837c', 'project_id': 'e7348dbe6683499aac3ac4333a8c837c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ed8d3e25-6666-403f-b175-c59f30819648'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-vn-57730006'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-policy-allow-all-25046765']], 'subnet_ipam': [{'subnet_cidr': '146.18.167.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:55:14,090 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3db2c09-a821-4654-b096-9e63dc729ff6', 'name': 'ctest-vn-12594851', 'tenant_id': 'e7348dbe6683499aac3ac4333a8c837c', 'project_id': 'e7348dbe6683499aac3ac4333a8c837c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd01100e-6037-4702-bbee-ba5df6b80158'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-vn-12594851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-policy-allow-all-25046765']], 'subnet_ipam': [{'subnet_cidr': '29.158.201.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:55:14,273 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:14,571 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:14,599 - DEBUG - Requesting: http://10.0.0.28:8082/domain/76b34895-45f5-43dd-b4ad-553e438ecf2a 2025-01-02 21:55:14,613 - DEBUG - Requesting: http://10.0.0.28:8082/project/e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:14,685 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:14,698 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:14,710 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/8383ad86-6931-4121-a4cc-32ce48b5a199 2025-01-02 21:55:14,719 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/8383ad86-6931-4121-a4cc-32ce48b5a199 2025-01-02 21:55:14,727 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/3ad7c500-b64d-4508-9bf5-d85cc63338c1 2025-01-02 21:55:14,735 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 21:55:14,735 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:14,745 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/8383ad86-6931-4121-a4cc-32ce48b5a199 2025-01-02 21:55:14,759 - INFO - Verified VN network id 7 for VN 9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:14,759 - INFO - Verifications in API Server for VN ctest-vn-57730006 passed 2025-01-02 21:55:14,759 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:14,771 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/8383ad86-6931-4121-a4cc-32ce48b5a199 2025-01-02 21:55:14,778 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/8383ad86-6931-4121-a4cc-32ce48b5a199 2025-01-02 21:55:14,787 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/3ad7c500-b64d-4508-9bf5-d85cc63338c1 2025-01-02 21:55:14,800 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09098227', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11192352173246204536', 'uuid-lslong': '10881839689105110771'}, 'enable': 'true', 'created': '2025-01-02T21:55:12', 'last-modified': '2025-01-02T21:55:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973761'} 2025-01-02 21:55:14,807 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 21:55:14,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57730006 passed 2025-01-02 21:55:14,807 - DEBUG - ====Verifying policy data for ctest-vn-57730006 in API_Server ====== 2025-01-02 21:55:14,807 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:14,814 - DEBUG - Requesting: http://10.0.0.28:8082/domain/76b34895-45f5-43dd-b4ad-553e438ecf2a 2025-01-02 21:55:14,826 - DEBUG - Requesting: http://10.0.0.28:8082/project/e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:14,902 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b533900-7f69-4a78-9704-0f8af3db76f3 2025-01-02 21:55:14,915 - DEBUG - ==>Verifying data for policy with id: d4eec6fa-704b-4592-ae86-526bc98f88bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-policy-allow-all-25046765'] 2025-01-02 21:55:14,915 - INFO - VN ctest-vn-57730006 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 21:55:14,915 - DEBUG - Verifying the vn in opserver 2025-01-02 21:55:14,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006 virtual network link through opserver 10.0.0.28 2025-01-02 21:55:14,915 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-02 21:55:15,206 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-02 21:55:15,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006?flat'} 2025-01-02 21:55:15,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006 is found in opserver 2025-01-02 21:55:15,275 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 21:55:15,280 - DEBUG - VRF ids for VN ctest-vn-57730006: {} 2025-01-02 21:55:15,281 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:15,287 - DEBUG - Requesting: http://10.0.0.28:8082/domain/76b34895-45f5-43dd-b4ad-553e438ecf2a 2025-01-02 21:55:15,299 - DEBUG - Requesting: http://10.0.0.28:8082/project/e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:15,376 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:15,389 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:15,401 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1e019c21-e6e1-4fad-a24f-8f10091e3ce6 2025-01-02 21:55:15,409 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1e019c21-e6e1-4fad-a24f-8f10091e3ce6 2025-01-02 21:55:15,416 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/6a880fb0-4869-458a-ad62-7967ecfb4d2f 2025-01-02 21:55:15,423 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 21:55:15,423 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:15,433 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1e019c21-e6e1-4fad-a24f-8f10091e3ce6 2025-01-02 21:55:15,448 - INFO - Verified VN network id 8 for VN d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:15,448 - INFO - Verifications in API Server for VN ctest-vn-12594851 passed 2025-01-02 21:55:15,449 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:15,459 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1e019c21-e6e1-4fad-a24f-8f10091e3ce6 2025-01-02 21:55:15,467 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1e019c21-e6e1-4fad-a24f-8f10091e3ce6 2025-01-02 21:55:15,475 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/6a880fb0-4869-458a-ad62-7967ecfb4d2f 2025-01-02 21:55:15,488 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-12594851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09098227', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15265843781889508948', 'uuid-lslong': '12724531948919365622'}, 'enable': 'true', 'created': '2025-01-02T21:55:13', 'last-modified': '2025-01-02T21:55:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.425953'} 2025-01-02 21:55:15,494 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 21:55:15,494 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12594851 passed 2025-01-02 21:55:15,494 - DEBUG - ====Verifying policy data for ctest-vn-12594851 in API_Server ====== 2025-01-02 21:55:15,494 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:15,500 - DEBUG - Requesting: http://10.0.0.28:8082/domain/76b34895-45f5-43dd-b4ad-553e438ecf2a 2025-01-02 21:55:15,512 - DEBUG - Requesting: http://10.0.0.28:8082/project/e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:15,582 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d3db2c09-a821-4654-b096-9e63dc729ff6 2025-01-02 21:55:15,592 - DEBUG - ==>Verifying data for policy with id: d4eec6fa-704b-4592-ae86-526bc98f88bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-09098227', 'ctest-policy-allow-all-25046765'] 2025-01-02 21:55:15,592 - INFO - VN ctest-vn-12594851 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 21:55:15,593 - DEBUG - Verifying the vn in opserver 2025-01-02 21:55:15,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-12594851 virtual network link through opserver 10.0.0.28 2025-01-02 21:55:15,593 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-02 21:55:15,603 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-12594851', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-12594851?flat'} 2025-01-02 21:55:15,603 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-12594851 is found in opserver 2025-01-02 21:55:15,614 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 21:55:15,619 - DEBUG - VRF ids for VN ctest-vn-12594851: {} 2025-01-02 21:55:15,675 - DEBUG - Services list from nova: [, , ] 2025-01-02 21:55:16,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2513-1) 2025-01-02 21:55:17,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2513-1) 2025-01-02 21:55:17,898 - INFO - Waiting for VM ctest-TestBasicPolicy-09098227-88326086 to be up.. 2025-01-02 21:55:17,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 21:55:23,054 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:55:23,054 - INFO - VM name : ctest-TestBasicPolicy-09098227-88326086 2025-01-02 21:55:23,133 - DEBUG - VM ctest-TestBasicPolicy-09098227-88326086 ID is 6ef276b1-dc5c-40a2-a047-0798a1f2bb08 2025-01-02 21:55:23,152 - DEBUG - VM ctest-TestBasicPolicy-09098227-88326086 launched on Node cn-jenkins-deploy-platform-ansible-os-2513-1 2025-01-02 21:55:23,232 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6ef276b1-dc5c-40a2-a047-0798a1f2bb08 2025-01-02 21:55:23,242 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/9123ece9-9762-481c-89ce-ab92080f1e4f 2025-01-02 21:55:26,505 - 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 1023ms') 2025-01-02 21:55:26,505 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09098227-88326086 failed! 2025-01-02 21:55:26,561 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09098227:ctest-vn-57730006 is 146.18.167.65 and allocation pool is NOT set 2025-01-02 21:55:28,624 - 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=9.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.394/5.274/9.154/3.880 ms') 2025-01-02 21:55:28,624 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09098227-88326086 passed 2025-01-02 21:55:28,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:55:28,777 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09098227-88326086, IP 146.18.167.67, Port 22 2025-01-02 21:55:28,940 - DEBUG - VM ctest-TestBasicPolicy-09098227-88326086 is ready for SSH connections 2025-01-02 21:55:28,941 - INFO - Waiting for VM ctest-TestBasicPolicy-09098227-50916700 to be up.. 2025-01-02 21:55:29,023 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:55:29,023 - INFO - VM name : ctest-TestBasicPolicy-09098227-50916700 2025-01-02 21:55:29,096 - DEBUG - VM ctest-TestBasicPolicy-09098227-50916700 ID is 7d702104-1962-4d3b-bb6f-1f8dc6d3a94c 2025-01-02 21:55:29,096 - DEBUG - VM ctest-TestBasicPolicy-09098227-50916700 launched on Node cn-jenkins-deploy-platform-ansible-os-2513-1 2025-01-02 21:55:29,170 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/7d702104-1962-4d3b-bb6f-1f8dc6d3a94c 2025-01-02 21:55:29,179 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/bf1152ae-338f-47c5-871d-0a1622546efd 2025-01-02 21:55:30,417 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/1.709/2.962/1.252 ms') 2025-01-02 21:55:30,417 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09098227-50916700 passed 2025-01-02 21:55:30,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:55:30,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09098227-50916700, IP 29.158.201.131, Port 22 2025-01-02 21:55:30,724 - DEBUG - VM ctest-TestBasicPolicy-09098227-50916700 is ready for SSH connections 2025-01-02 21:55:30,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:55:30,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.158.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-02 21:55:30,724 - DEBUG - ping -s 56 -c 3 -W 1 29.158.201.131 2025-01-02 21:55:34,438 - DEBUG - PING 29.158.201.131 (29.158.201.131): 56 data bytes 64 bytes from 29.158.201.131: seq=0 ttl=63 time=5.177 ms 64 bytes from 29.158.201.131: seq=1 ttl=63 time=0.828 ms 64 bytes from 29.158.201.131: seq=2 ttl=63 time=0.796 ms --- 29.158.201.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/2.267/5.177 ms 2025-01-02 21:55:34,438 - INFO - Ping to IP 29.158.201.131 from VM ctest-TestBasicPolicy-09098227-88326086 passed 2025-01-02 21:55:34,621 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d4eec6fa-704b-4592-ae86-526bc98f88bd", "href": "http://10.0.0.28:8082/network-policy/d4eec6fa-704b-4592-ae86-526bc98f88bd"}} 2025-01-02 21:55:34,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:55:34,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.158.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-02 21:55:34,621 - DEBUG - ping -s 56 -c 3 -W 1 29.158.201.131 2025-01-02 21:55:37,825 - DEBUG - PING 29.158.201.131 (29.158.201.131): 56 data bytes --- 29.158.201.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-02 21:55:37,825 - WARNING - Ping to IP 29.158.201.131 from VM ctest-TestBasicPolicy-09098227-88326086 failed 2025-01-02 21:55:37,825 - INFO - Deleting VM ctest-TestBasicPolicy-09098227-50916700 2025-01-02 21:55:37,898 - INFO - Deleting VM ctest-TestBasicPolicy-09098227-88326086 2025-01-02 21:55:38,310 - INFO - Deleted policy ctest-policy-allow-all-25046765 2025-01-02 21:55:38,311 - INFO - Deleting VN ctest-vn-12594851 2025-01-02 21:55:38,347 - DEBUG - VN d3db2c09-a821-4654-b096-9e63dc729ff6 still in use: Unable to complete operation on network d3db2c09-a821-4654-b096-9e63dc729ff6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a4d466e-65d6-4036-bfb7-d44dcb0c54e5'] 2025-01-02 21:55:38,347 - WARNING - Deleting VN ctest-vn-12594851 failed..Will retry 2025-01-02 21:55:40,453 - DEBUG - Response for deleting network () 2025-01-02 21:55:40,453 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1e019c21-e6e1-4fad-a24f-8f10091e3ce6 2025-01-02 21:55:40,459 - DEBUG - Response Code: 404 2025-01-02 21:55:40,459 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:40,465 - DEBUG - Requesting: http://10.0.0.28:8082/domain/76b34895-45f5-43dd-b4ad-553e438ecf2a 2025-01-02 21:55:40,518 - DEBUG - Requesting: http://10.0.0.28:8082/project/e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:40,594 - INFO - Validated that VN ctest-vn-12594851 is not found in API Server 2025-01-02 21:55:40,606 - DEBUG - VN ctest-vn-12594851 is not present in Agent 10.0.0.28 2025-01-02 21:55:40,606 - INFO - Validated that VN ctest-vn-12594851 is not in any agent 2025-01-02 21:55:40,621 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12594851 info 2025-01-02 21:55:40,622 - INFO - Deleting VN ctest-vn-57730006 2025-01-02 21:55:40,719 - DEBUG - Response for deleting network () 2025-01-02 21:55:40,719 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/8383ad86-6931-4121-a4cc-32ce48b5a199 2025-01-02 21:55:40,724 - DEBUG - Response Code: 404 2025-01-02 21:55:40,725 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-02 21:55:40,732 - DEBUG - Requesting: http://10.0.0.28:8082/domain/76b34895-45f5-43dd-b4ad-553e438ecf2a 2025-01-02 21:55:40,788 - DEBUG - Requesting: http://10.0.0.28:8082/project/e7348dbe-6683-499a-ac3a-c4333a8c837c 2025-01-02 21:55:40,860 - INFO - Validated that VN ctest-vn-57730006 is not found in API Server 2025-01-02 21:55:40,871 - DEBUG - VN ctest-vn-57730006 is not present in Agent 10.0.0.28 2025-01-02 21:55:40,871 - INFO - Validated that VN ctest-vn-57730006 is not in any agent 2025-01-02 21:55:40,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57730006 info 2025-01-02 21:55:41,142 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 21:55:41,142 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-02 21:55:41,142 - INFO - -------------------------------------------------------------------------------- 2025-01-02 21:55:41,824 - INFO - Deleted project: ctest-TestBasicPolicy-09098227, ID : e7348dbe-6683-499a-ac3a-c4333a8c837c