2024-11-10 11:10:00,104 - INFO - Domain Default found not creating 2024-11-10 11:10:00,319 - INFO - Project ctest-TestBasicPolicy-07991010 not found, creating it 2024-11-10 11:10:00,880 - INFO - Created Project:ctest-TestBasicPolicy-07991010, ID : 53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:02,571 - INFO - ================================================================================ 2024-11-10 11:10:02,571 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-10 11:10:02,571 - 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-11-10 11:10:02,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2024-11-10 11:10:02,834 - INFO - Initial checks done. Running the testcase now 2024-11-10 11:10:02,834 - INFO - 2024-11-10 11:10:03,648 - DEBUG - Response for create_network : {'network': {'id': 'b04ab01c-6b46-41aa-9195-b1335a4f3dfe', 'name': 'ctest-vn-35757082', 'tenant_id': '53e58c81099449988118ce2a49dd8d48', 'project_id': '53e58c81099449988118ce2a49dd8d48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-vn-35757082'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 11:10:03,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '1536afdc-bec3-4bb5-9417-e497f37121cc', 'name': '', 'tenant_id': '53e58c81099449988118ce2a49dd8d48', 'network_id': 'b04ab01c-6b46-41aa-9195-b1335a4f3dfe', 'ip_version': 4, 'cidr': '143.229.147.128/26', 'allocation_pools': [{'start': '143.229.147.130', 'end': '143.229.147.190'}], 'gateway_ip': '143.229.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.229.147.130', 'tags': [], 'project_id': '53e58c81099449988118ce2a49dd8d48'}} 2024-11-10 11:10:03,856 - INFO - Created VN ctest-vn-35757082 2024-11-10 11:10:03,914 - DEBUG - VN ctest-vn-35757082 UUID is b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:04,291 - DEBUG - Response for create_network : {'network': {'id': '07afc4ec-145b-466c-85b8-b46935fbac85', 'name': 'ctest-vn-69045836', 'tenant_id': '53e58c81099449988118ce2a49dd8d48', 'project_id': '53e58c81099449988118ce2a49dd8d48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-vn-69045836'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 11:10:04,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe59cf0a-ce5c-40c9-8ea3-c20683841a0a', 'name': '', 'tenant_id': '53e58c81099449988118ce2a49dd8d48', 'network_id': '07afc4ec-145b-466c-85b8-b46935fbac85', 'ip_version': 4, 'cidr': '148.234.143.128/26', 'allocation_pools': [{'start': '148.234.143.130', 'end': '148.234.143.190'}], 'gateway_ip': '148.234.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.234.143.130', 'tags': [], 'project_id': '53e58c81099449988118ce2a49dd8d48'}} 2024-11-10 11:10:04,533 - INFO - Created VN ctest-vn-69045836 2024-11-10 11:10:04,594 - DEBUG - VN ctest-vn-69045836 UUID is 07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:04,732 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082, 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-07991010:ctest-vn-69045836, 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-11-10 11:10:05,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b04ab01c-6b46-41aa-9195-b1335a4f3dfe', 'name': 'ctest-vn-35757082', 'tenant_id': '53e58c81099449988118ce2a49dd8d48', 'project_id': '53e58c81099449988118ce2a49dd8d48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1536afdc-bec3-4bb5-9417-e497f37121cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-vn-35757082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-policy-allow-all-66117846']], 'subnet_ipam': [{'subnet_cidr': '143.229.147.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 11:10:05,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07afc4ec-145b-466c-85b8-b46935fbac85', 'name': 'ctest-vn-69045836', 'tenant_id': '53e58c81099449988118ce2a49dd8d48', 'project_id': '53e58c81099449988118ce2a49dd8d48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe59cf0a-ce5c-40c9-8ea3-c20683841a0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-vn-69045836'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-policy-allow-all-66117846']], 'subnet_ipam': [{'subnet_cidr': '148.234.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 11:10:05,575 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:05,883 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:05,925 - DEBUG - Requesting: http://10.0.0.27:8082/domain/67394b07-c747-49f1-89cd-fa2831cdc06c 2024-11-10 11:10:05,944 - DEBUG - Requesting: http://10.0.0.27:8082/project/53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:06,037 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:06,055 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:06,076 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d1bb56f3-1554-4197-96c1-3e3fa4a97dc3 2024-11-10 11:10:06,089 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d1bb56f3-1554-4197-96c1-3e3fa4a97dc3 2024-11-10 11:10:06,103 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c2263a89-4f88-45ea-8741-4fdc119834b6 2024-11-10 11:10:06,114 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 11:10:06,114 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:06,133 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d1bb56f3-1554-4197-96c1-3e3fa4a97dc3 2024-11-10 11:10:06,158 - INFO - Verified VN network id 8 for VN b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:06,158 - INFO - Verifications in API Server for VN ctest-vn-35757082 passed 2024-11-10 11:10:06,159 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:06,176 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d1bb56f3-1554-4197-96c1-3e3fa4a97dc3 2024-11-10 11:10:06,187 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d1bb56f3-1554-4197-96c1-3e3fa4a97dc3 2024-11-10 11:10:06,198 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c2263a89-4f88-45ea-8741-4fdc119834b6 2024-11-10 11:10:06,215 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07991010', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12703159335057244586', 'uuid-lslong': '10490485741146029566'}, 'enable': 'true', 'created': '2024-11-10T11:10:03', 'last-modified': '2024-11-10T11:10:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.158903'} 2024-11-10 11:10:06,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 11:10:06,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35757082 passed 2024-11-10 11:10:06,223 - DEBUG - ====Verifying policy data for ctest-vn-35757082 in API_Server ====== 2024-11-10 11:10:06,223 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:06,230 - DEBUG - Requesting: http://10.0.0.27:8082/domain/67394b07-c747-49f1-89cd-fa2831cdc06c 2024-11-10 11:10:06,246 - DEBUG - Requesting: http://10.0.0.27:8082/project/53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:06,342 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b04ab01c-6b46-41aa-9195-b1335a4f3dfe 2024-11-10 11:10:06,361 - DEBUG - ==>Verifying data for policy with id: c95a44d8-bc7f-4e4f-82e1-149fc9024ef4, fqn: ['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-policy-allow-all-66117846'] 2024-11-10 11:10:06,361 - INFO - VN ctest-vn-35757082 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 11:10:06,361 - DEBUG - Verifying the vn in opserver 2024-11-10 11:10:06,362 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082 virtual network link through opserver 10.0.0.27 2024-11-10 11:10:06,362 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-11-10 11:10:06,668 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-11-10 11:10:06,745 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082?flat'} 2024-11-10 11:10:06,745 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082 is found in opserver 2024-11-10 11:10:06,758 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 11:10:06,765 - DEBUG - VRF ids for VN ctest-vn-35757082: {} 2024-11-10 11:10:06,765 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:06,772 - DEBUG - Requesting: http://10.0.0.27:8082/domain/67394b07-c747-49f1-89cd-fa2831cdc06c 2024-11-10 11:10:06,788 - DEBUG - Requesting: http://10.0.0.27:8082/project/53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:06,878 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:06,898 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:06,914 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af518deb-bd58-4db4-a12b-c0406eca429d 2024-11-10 11:10:06,925 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af518deb-bd58-4db4-a12b-c0406eca429d 2024-11-10 11:10:06,935 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/592749ae-d90d-44d1-8ff0-9380918b2bc7 2024-11-10 11:10:06,943 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 11:10:06,943 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:06,958 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af518deb-bd58-4db4-a12b-c0406eca429d 2024-11-10 11:10:06,985 - INFO - Verified VN network id 9 for VN 07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:06,985 - INFO - Verifications in API Server for VN ctest-vn-69045836 passed 2024-11-10 11:10:06,985 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:07,001 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af518deb-bd58-4db4-a12b-c0406eca429d 2024-11-10 11:10:07,011 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af518deb-bd58-4db4-a12b-c0406eca429d 2024-11-10 11:10:07,022 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/592749ae-d90d-44d1-8ff0-9380918b2bc7 2024-11-10 11:10:07,037 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-69045836', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07991010', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '553877797422712428', 'uuid-lslong': '9635649766729428101'}, 'enable': 'true', 'created': '2024-11-10T11:10:04', 'last-modified': '2024-11-10T11:10:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.701420'} 2024-11-10 11:10:07,044 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 11:10:07,044 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69045836 passed 2024-11-10 11:10:07,045 - DEBUG - ====Verifying policy data for ctest-vn-69045836 in API_Server ====== 2024-11-10 11:10:07,045 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:07,052 - DEBUG - Requesting: http://10.0.0.27:8082/domain/67394b07-c747-49f1-89cd-fa2831cdc06c 2024-11-10 11:10:07,067 - DEBUG - Requesting: http://10.0.0.27:8082/project/53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:07,152 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/07afc4ec-145b-466c-85b8-b46935fbac85 2024-11-10 11:10:07,168 - DEBUG - ==>Verifying data for policy with id: c95a44d8-bc7f-4e4f-82e1-149fc9024ef4, fqn: ['default-domain', 'ctest-TestBasicPolicy-07991010', 'ctest-policy-allow-all-66117846'] 2024-11-10 11:10:07,168 - INFO - VN ctest-vn-69045836 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 11:10:07,169 - DEBUG - Verifying the vn in opserver 2024-11-10 11:10:07,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-69045836 virtual network link through opserver 10.0.0.27 2024-11-10 11:10:07,169 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-11-10 11:10:07,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-69045836', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-69045836?flat'} 2024-11-10 11:10:07,182 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-69045836 is found in opserver 2024-11-10 11:10:07,194 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 11:10:07,201 - DEBUG - VRF ids for VN ctest-vn-69045836: {} 2024-11-10 11:10:07,274 - DEBUG - Services list from nova: [, , ] 2024-11-10 11:10:08,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2248-1) 2024-11-10 11:10:09,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2248-1) 2024-11-10 11:10:09,890 - INFO - Waiting for VM ctest-TestBasicPolicy-07991010-10855838 to be up.. 2024-11-10 11:10:10,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 11:10:15,106 - DEBUG - VM is in ACTIVE state now 2024-11-10 11:10:15,106 - INFO - VM name : ctest-TestBasicPolicy-07991010-10855838 2024-11-10 11:10:15,209 - DEBUG - VM ctest-TestBasicPolicy-07991010-10855838 ID is 919fa7f4-60af-4264-8065-067eacf1a120 2024-11-10 11:10:15,232 - DEBUG - VM ctest-TestBasicPolicy-07991010-10855838 launched on Node cn-jenkins-deploy-platform-ansible-os-2248-1 2024-11-10 11:10:15,336 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/919fa7f4-60af-4264-8065-067eacf1a120 2024-11-10 11:10:15,350 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1d5f3b3b-d5dc-4247-b59c-f241b721eb21 2024-11-10 11:10:18,638 - 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 1024ms') 2024-11-10 11:10:18,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07991010-10855838 failed! 2024-11-10 11:10:18,698 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07991010:ctest-vn-35757082 is 143.229.147.129 and allocation pool is NOT set 2024-11-10 11:10:20,766 - 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=8.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.804/5.344/8.885/3.540 ms') 2024-11-10 11:10:20,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07991010-10855838 passed 2024-11-10 11:10:20,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 11:10:20,926 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07991010-10855838, IP 143.229.147.131, Port 22 2024-11-10 11:10:21,086 - DEBUG - VM ctest-TestBasicPolicy-07991010-10855838 is ready for SSH connections 2024-11-10 11:10:21,086 - INFO - Waiting for VM ctest-TestBasicPolicy-07991010-68988831 to be up.. 2024-11-10 11:10:21,182 - DEBUG - VM is in ACTIVE state now 2024-11-10 11:10:21,182 - INFO - VM name : ctest-TestBasicPolicy-07991010-68988831 2024-11-10 11:10:21,288 - DEBUG - VM ctest-TestBasicPolicy-07991010-68988831 ID is f3e4a6f6-c9c9-4d84-887c-f6123ec167bd 2024-11-10 11:10:21,288 - DEBUG - VM ctest-TestBasicPolicy-07991010-68988831 launched on Node cn-jenkins-deploy-platform-ansible-os-2248-1 2024-11-10 11:10:21,401 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3e4a6f6-c9c9-4d84-887c-f6123ec167bd 2024-11-10 11:10:21,415 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b6152a4c-4061-49a2-b1ab-90821241e540 2024-11-10 11:10:22,679 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.878 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.878/2.755/4.633/1.877 ms') 2024-11-10 11:10:22,679 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07991010-68988831 passed 2024-11-10 11:10:22,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 11:10:22,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07991010-68988831, IP 148.234.143.131, Port 22 2024-11-10 11:10:23,022 - DEBUG - VM ctest-TestBasicPolicy-07991010-68988831 is ready for SSH connections 2024-11-10 11:10:23,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 11:10:23,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.234.143.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-11-10 11:10:23,022 - DEBUG - ping -s 56 -c 3 -W 1 148.234.143.131 2024-11-10 11:10:27,204 - DEBUG - PING 148.234.143.131 (148.234.143.131): 56 data bytes 64 bytes from 148.234.143.131: seq=0 ttl=63 time=4.902 ms 64 bytes from 148.234.143.131: seq=1 ttl=63 time=0.951 ms 64 bytes from 148.234.143.131: seq=2 ttl=63 time=1.035 ms --- 148.234.143.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/2.296/4.902 ms 2024-11-10 11:10:27,204 - INFO - Ping to IP 148.234.143.131 from VM ctest-TestBasicPolicy-07991010-10855838 passed 2024-11-10 11:10:27,398 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c95a44d8-bc7f-4e4f-82e1-149fc9024ef4", "href": "http://10.0.0.27:8082/network-policy/c95a44d8-bc7f-4e4f-82e1-149fc9024ef4"}} 2024-11-10 11:10:27,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 11:10:27,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.234.143.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-11-10 11:10:27,399 - DEBUG - ping -s 56 -c 3 -W 1 148.234.143.131 2024-11-10 11:10:30,618 - DEBUG - PING 148.234.143.131 (148.234.143.131): 56 data bytes --- 148.234.143.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-10 11:10:30,619 - WARNING - Ping to IP 148.234.143.131 from VM ctest-TestBasicPolicy-07991010-10855838 failed 2024-11-10 11:10:30,619 - INFO - Deleting VM ctest-TestBasicPolicy-07991010-68988831 2024-11-10 11:10:30,695 - INFO - Deleting VM ctest-TestBasicPolicy-07991010-10855838 2024-11-10 11:10:31,306 - INFO - Deleted policy ctest-policy-allow-all-66117846 2024-11-10 11:10:31,306 - INFO - Deleting VN ctest-vn-69045836 2024-11-10 11:10:31,373 - DEBUG - VN 07afc4ec-145b-466c-85b8-b46935fbac85 still in use: Unable to complete operation on network 07afc4ec-145b-466c-85b8-b46935fbac85. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77a1ca87-8e85-4082-bb9d-21f771d18b0a'] 2024-11-10 11:10:31,373 - WARNING - Deleting VN ctest-vn-69045836 failed..Will retry 2024-11-10 11:10:33,606 - DEBUG - Response for deleting network () 2024-11-10 11:10:33,607 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af518deb-bd58-4db4-a12b-c0406eca429d 2024-11-10 11:10:33,614 - DEBUG - Response Code: 404 2024-11-10 11:10:33,614 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:33,622 - DEBUG - Requesting: http://10.0.0.27:8082/domain/67394b07-c747-49f1-89cd-fa2831cdc06c 2024-11-10 11:10:33,683 - DEBUG - Requesting: http://10.0.0.27:8082/project/53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:33,777 - INFO - Validated that VN ctest-vn-69045836 is not found in API Server 2024-11-10 11:10:33,790 - DEBUG - VN ctest-vn-69045836 is not present in Agent 10.0.0.27 2024-11-10 11:10:33,790 - INFO - Validated that VN ctest-vn-69045836 is not in any agent 2024-11-10 11:10:33,809 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69045836 info 2024-11-10 11:10:33,810 - INFO - Deleting VN ctest-vn-35757082 2024-11-10 11:10:33,959 - DEBUG - Response for deleting network () 2024-11-10 11:10:33,960 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d1bb56f3-1554-4197-96c1-3e3fa4a97dc3 2024-11-10 11:10:33,969 - DEBUG - Response Code: 404 2024-11-10 11:10:33,969 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-11-10 11:10:33,979 - DEBUG - Requesting: http://10.0.0.27:8082/domain/67394b07-c747-49f1-89cd-fa2831cdc06c 2024-11-10 11:10:34,001 - DEBUG - Requesting: http://10.0.0.27:8082/project/53e58c81-0994-4998-8118-ce2a49dd8d48 2024-11-10 11:10:34,109 - INFO - Validated that VN ctest-vn-35757082 is not found in API Server 2024-11-10 11:10:34,121 - DEBUG - VN ctest-vn-35757082 is not present in Agent 10.0.0.27 2024-11-10 11:10:34,121 - INFO - Validated that VN ctest-vn-35757082 is not in any agent 2024-11-10 11:10:34,138 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35757082 info 2024-11-10 11:10:34,394 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 11:10:34,394 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-11-10 11:10:34,394 - INFO - -------------------------------------------------------------------------------- 2024-11-10 11:10:35,159 - INFO - Deleted project: ctest-TestBasicPolicy-07991010, ID : 53e58c81-0994-4998-8118-ce2a49dd8d48