2025-04-23 16:55:55,164 - INFO - Domain Default found not creating 2025-04-23 16:55:55,300 - INFO - Project ctest-TestBasicPolicy-55177457 not found, creating it 2025-04-23 16:55:55,808 - INFO - Created Project:ctest-TestBasicPolicy-55177457, ID : 539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:55:56,981 - INFO - ================================================================================ 2025-04-23 16:55:56,981 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 16:55:56,981 - 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-04-23 16:55:57,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-04-23 16:55:57,236 - INFO - Initial checks done. Running the testcase now 2025-04-23 16:55:57,236 - INFO - 2025-04-23 16:55:57,697 - DEBUG - Response for create_network : {'network': {'id': 'd9413dce-4e0c-49e4-893a-0f9b50791682', 'name': 'ctest-vn-51813672', 'tenant_id': '539bcf90e3c243a1b135bec0ec088a9f', 'project_id': '539bcf90e3c243a1b135bec0ec088a9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-vn-51813672'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:55:57,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fc75b45-0c98-4dfe-9b31-fdd53d5db982', 'name': '', 'tenant_id': '539bcf90e3c243a1b135bec0ec088a9f', 'network_id': 'd9413dce-4e0c-49e4-893a-0f9b50791682', 'ip_version': 4, 'cidr': '204.82.118.128/26', 'allocation_pools': [{'start': '204.82.118.130', 'end': '204.82.118.190'}], 'gateway_ip': '204.82.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.82.118.130', 'tags': [], 'project_id': '539bcf90e3c243a1b135bec0ec088a9f'}} 2025-04-23 16:55:57,850 - INFO - Created VN ctest-vn-51813672 2025-04-23 16:55:57,900 - DEBUG - VN ctest-vn-51813672 UUID is d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:58,172 - DEBUG - Response for create_network : {'network': {'id': 'b941fce3-42d7-41f0-88b7-a6228d1dbf16', 'name': 'ctest-vn-68221467', 'tenant_id': '539bcf90e3c243a1b135bec0ec088a9f', 'project_id': '539bcf90e3c243a1b135bec0ec088a9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-vn-68221467'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:55:58,310 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9983778-d265-4a6f-b1e0-998f66c8ba3c', 'name': '', 'tenant_id': '539bcf90e3c243a1b135bec0ec088a9f', 'network_id': 'b941fce3-42d7-41f0-88b7-a6228d1dbf16', 'ip_version': 4, 'cidr': '103.149.43.128/26', 'allocation_pools': [{'start': '103.149.43.130', 'end': '103.149.43.190'}], 'gateway_ip': '103.149.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.149.43.130', 'tags': [], 'project_id': '539bcf90e3c243a1b135bec0ec088a9f'}} 2025-04-23 16:55:58,324 - INFO - Created VN ctest-vn-68221467 2025-04-23 16:55:58,380 - DEBUG - VN ctest-vn-68221467 UUID is b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:55:58,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-51813672, 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-55177457:ctest-vn-68221467, 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-04-23 16:55:58,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd9413dce-4e0c-49e4-893a-0f9b50791682', 'name': 'ctest-vn-51813672', 'tenant_id': '539bcf90e3c243a1b135bec0ec088a9f', 'project_id': '539bcf90e3c243a1b135bec0ec088a9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fc75b45-0c98-4dfe-9b31-fdd53d5db982'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-vn-51813672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-policy-allow-all-34315411']], 'subnet_ipam': [{'subnet_cidr': '204.82.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:55:58,991 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b941fce3-42d7-41f0-88b7-a6228d1dbf16', 'name': 'ctest-vn-68221467', 'tenant_id': '539bcf90e3c243a1b135bec0ec088a9f', 'project_id': '539bcf90e3c243a1b135bec0ec088a9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9983778-d265-4a6f-b1e0-998f66c8ba3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-vn-68221467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-policy-allow-all-34315411']], 'subnet_ipam': [{'subnet_cidr': '103.149.43.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:55:59,136 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:55:59,398 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:55:59,421 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdab1768-b50e-4276-9207-70ad213577e5 2025-04-23 16:55:59,432 - DEBUG - Requesting: http://10.0.0.38:8082/project/539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:55:59,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:59,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:59,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3acfce33-a3c6-4c75-a3f0-3f9100da703e 2025-04-23 16:55:59,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3acfce33-a3c6-4c75-a3f0-3f9100da703e 2025-04-23 16:55:59,534 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64a7f107-6ea1-48d6-a105-77edced5331c 2025-04-23 16:55:59,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 16:55:59,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:59,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3acfce33-a3c6-4c75-a3f0-3f9100da703e 2025-04-23 16:55:59,558 - INFO - Verified VN network id 9 for VN d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:59,558 - INFO - Verifications in API Server for VN ctest-vn-51813672 passed 2025-04-23 16:55:59,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:59,565 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3acfce33-a3c6-4c75-a3f0-3f9100da703e 2025-04-23 16:55:59,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3acfce33-a3c6-4c75-a3f0-3f9100da703e 2025-04-23 16:55:59,576 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64a7f107-6ea1-48d6-a105-77edced5331c 2025-04-23 16:55:59,585 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-51813672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55177457', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15654861735998540260', 'uuid-lslong': '9888233091589805698'}, 'enable': 'true', 'created': '2025-04-23T16:55:57', 'last-modified': '2025-04-23T16:55:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.818627'} 2025-04-23 16:55:59,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 16:55:59,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51813672 passed 2025-04-23 16:55:59,592 - DEBUG - ====Verifying policy data for ctest-vn-51813672 in API_Server ====== 2025-04-23 16:55:59,592 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:55:59,596 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdab1768-b50e-4276-9207-70ad213577e5 2025-04-23 16:55:59,606 - DEBUG - Requesting: http://10.0.0.38:8082/project/539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:55:59,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9413dce-4e0c-49e4-893a-0f9b50791682 2025-04-23 16:55:59,682 - DEBUG - ==>Verifying data for policy with id: e86fc87e-cdf5-4caa-a0c8-1e36d01b9650, fqn: ['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-policy-allow-all-34315411'] 2025-04-23 16:55:59,682 - INFO - VN ctest-vn-51813672 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 16:55:59,682 - DEBUG - Verifying the vn in opserver 2025-04-23 16:55:59,682 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-51813672 virtual network link through opserver 10.0.0.38 2025-04-23 16:55:59,682 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-23 16:55:59,941 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-23 16:55:59,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-51813672', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-51813672?flat'} 2025-04-23 16:55:59,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-51813672 is found in opserver 2025-04-23 16:55:59,995 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 16:55:59,999 - DEBUG - VRF ids for VN ctest-vn-51813672: {} 2025-04-23 16:55:59,999 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:56:00,006 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdab1768-b50e-4276-9207-70ad213577e5 2025-04-23 16:56:00,015 - DEBUG - Requesting: http://10.0.0.38:8082/project/539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:56:00,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:56:00,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:56:00,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8e9e8e-dcd3-4e28-be0d-3615df7f7595 2025-04-23 16:56:00,105 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8e9e8e-dcd3-4e28-be0d-3615df7f7595 2025-04-23 16:56:00,110 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e408e54-3f16-477b-9af4-d2308584b952 2025-04-23 16:56:00,115 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 16:56:00,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:56:00,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8e9e8e-dcd3-4e28-be0d-3615df7f7595 2025-04-23 16:56:00,133 - INFO - Verified VN network id 10 for VN b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:56:00,133 - INFO - Verifications in API Server for VN ctest-vn-68221467 passed 2025-04-23 16:56:00,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:56:00,141 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8e9e8e-dcd3-4e28-be0d-3615df7f7595 2025-04-23 16:56:00,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8e9e8e-dcd3-4e28-be0d-3615df7f7595 2025-04-23 16:56:00,151 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e408e54-3f16-477b-9af4-d2308584b952 2025-04-23 16:56:00,164 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-68221467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55177457', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13349228823512039920', 'uuid-lslong': '9851525377222885142'}, 'enable': 'true', 'created': '2025-04-23T16:55:58', 'last-modified': '2025-04-23T16:55:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.188923'} 2025-04-23 16:56:00,170 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 16:56:00,170 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68221467 passed 2025-04-23 16:56:00,170 - DEBUG - ====Verifying policy data for ctest-vn-68221467 in API_Server ====== 2025-04-23 16:56:00,170 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:56:00,175 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdab1768-b50e-4276-9207-70ad213577e5 2025-04-23 16:56:00,184 - DEBUG - Requesting: http://10.0.0.38:8082/project/539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:56:00,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b941fce3-42d7-41f0-88b7-a6228d1dbf16 2025-04-23 16:56:00,260 - DEBUG - ==>Verifying data for policy with id: e86fc87e-cdf5-4caa-a0c8-1e36d01b9650, fqn: ['default-domain', 'ctest-TestBasicPolicy-55177457', 'ctest-policy-allow-all-34315411'] 2025-04-23 16:56:00,260 - INFO - VN ctest-vn-68221467 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 16:56:00,260 - DEBUG - Verifying the vn in opserver 2025-04-23 16:56:00,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-68221467 virtual network link through opserver 10.0.0.38 2025-04-23 16:56:00,260 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-23 16:56:00,269 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-68221467', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-68221467?flat'} 2025-04-23 16:56:00,269 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55177457:ctest-vn-68221467 is found in opserver 2025-04-23 16:56:00,277 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 16:56:00,281 - DEBUG - VRF ids for VN ctest-vn-68221467: {} 2025-04-23 16:56:00,326 - DEBUG - Services list from nova: [, , ] 2025-04-23 16:56:01,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3193-1) 2025-04-23 16:56:02,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3193-1) 2025-04-23 16:56:02,220 - INFO - Waiting for VM ctest-TestBasicPolicy-55177457-73017726 to be up.. 2025-04-23 16:56:02,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 16:56:07,349 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:56:07,350 - INFO - VM name : ctest-TestBasicPolicy-55177457-73017726 2025-04-23 16:56:07,403 - DEBUG - VM ctest-TestBasicPolicy-55177457-73017726 ID is e70c7bc1-bc26-4251-bc1f-c6b13400c33a 2025-04-23 16:56:07,416 - DEBUG - VM ctest-TestBasicPolicy-55177457-73017726 launched on Node cn-jenkins-deploy-platform-ansible-os-3193-1 2025-04-23 16:56:07,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e70c7bc1-bc26-4251-bc1f-c6b13400c33a 2025-04-23 16:56:07,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b7c8e2d-e999-41b5-9235-58ed0cae2c07 2025-04-23 16:56:10,719 - 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=2 ttl=63 time=9.96 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 9.957/9.957/9.957/0.000 ms') 2025-04-23 16:56:10,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55177457-73017726 passed 2025-04-23 16:56:10,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:56:10,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55177457-73017726, IP 204.82.118.131, Port 22 2025-04-23 16:56:11,015 - DEBUG - VM ctest-TestBasicPolicy-55177457-73017726 is ready for SSH connections 2025-04-23 16:56:11,015 - INFO - Waiting for VM ctest-TestBasicPolicy-55177457-04084085 to be up.. 2025-04-23 16:56:11,076 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:56:11,077 - INFO - VM name : ctest-TestBasicPolicy-55177457-04084085 2025-04-23 16:56:11,135 - DEBUG - VM ctest-TestBasicPolicy-55177457-04084085 ID is 1ae01849-4648-4e55-8f19-abf67ce0f530 2025-04-23 16:56:11,135 - DEBUG - VM ctest-TestBasicPolicy-55177457-04084085 launched on Node cn-jenkins-deploy-platform-ansible-os-3193-1 2025-04-23 16:56:11,189 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1ae01849-4648-4e55-8f19-abf67ce0f530 2025-04-23 16:56:11,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/69910eea-d670-4f5f-8a89-05417f60a8d9 2025-04-23 16:56:12,426 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.385/2.320/0.935 ms') 2025-04-23 16:56:12,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55177457-04084085 passed 2025-04-23 16:56:12,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:56:12,580 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55177457-04084085, IP 103.149.43.131, Port 22 2025-04-23 16:56:12,735 - DEBUG - VM ctest-TestBasicPolicy-55177457-04084085 is ready for SSH connections 2025-04-23 16:56:12,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:56:12,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.149.43.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-23 16:56:12,736 - DEBUG - ping -s 56 -c 3 -W 1 103.149.43.131 2025-04-23 16:56:16,599 - DEBUG - PING 103.149.43.131 (103.149.43.131): 56 data bytes 64 bytes from 103.149.43.131: seq=0 ttl=63 time=2.907 ms 64 bytes from 103.149.43.131: seq=1 ttl=63 time=0.830 ms 64 bytes from 103.149.43.131: seq=2 ttl=63 time=0.874 ms --- 103.149.43.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.537/2.907 ms 2025-04-23 16:56:16,600 - INFO - Ping to IP 103.149.43.131 from VM ctest-TestBasicPolicy-55177457-73017726 passed 2025-04-23 16:56:16,780 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e86fc87e-cdf5-4caa-a0c8-1e36d01b9650", "href": "http://10.0.0.38:8082/network-policy/e86fc87e-cdf5-4caa-a0c8-1e36d01b9650"}} 2025-04-23 16:56:16,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:56:16,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.149.43.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-23 16:56:16,780 - DEBUG - ping -s 56 -c 3 -W 1 103.149.43.131 2025-04-23 16:56:19,950 - DEBUG - PING 103.149.43.131 (103.149.43.131): 56 data bytes --- 103.149.43.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 16:56:19,950 - WARNING - Ping to IP 103.149.43.131 from VM ctest-TestBasicPolicy-55177457-73017726 failed 2025-04-23 16:56:19,951 - INFO - Deleting VM ctest-TestBasicPolicy-55177457-04084085 2025-04-23 16:56:20,002 - INFO - Deleting VM ctest-TestBasicPolicy-55177457-73017726 2025-04-23 16:56:20,311 - INFO - Deleted policy ctest-policy-allow-all-34315411 2025-04-23 16:56:20,311 - INFO - Deleting VN ctest-vn-68221467 2025-04-23 16:56:20,336 - DEBUG - VN b941fce3-42d7-41f0-88b7-a6228d1dbf16 still in use: Unable to complete operation on network b941fce3-42d7-41f0-88b7-a6228d1dbf16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2eb1e84a-dfaa-4103-ae69-79bfe50ae4aa'] 2025-04-23 16:56:20,336 - WARNING - Deleting VN ctest-vn-68221467 failed..Will retry 2025-04-23 16:56:22,424 - DEBUG - Response for deleting network () 2025-04-23 16:56:22,424 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8e9e8e-dcd3-4e28-be0d-3615df7f7595 2025-04-23 16:56:22,430 - DEBUG - Response Code: 404 2025-04-23 16:56:22,430 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:56:22,434 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdab1768-b50e-4276-9207-70ad213577e5 2025-04-23 16:56:22,486 - DEBUG - Requesting: http://10.0.0.38:8082/project/539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:56:22,556 - INFO - Validated that VN ctest-vn-68221467 is not found in API Server 2025-04-23 16:56:22,567 - DEBUG - VN ctest-vn-68221467 is not present in Agent 10.0.0.38 2025-04-23 16:56:22,567 - INFO - Validated that VN ctest-vn-68221467 is not in any agent 2025-04-23 16:56:22,580 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68221467 info 2025-04-23 16:56:22,580 - INFO - Deleting VN ctest-vn-51813672 2025-04-23 16:56:22,680 - DEBUG - Response for deleting network () 2025-04-23 16:56:22,680 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3acfce33-a3c6-4c75-a3f0-3f9100da703e 2025-04-23 16:56:22,684 - DEBUG - Response Code: 404 2025-04-23 16:56:22,684 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 16:56:22,690 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdab1768-b50e-4276-9207-70ad213577e5 2025-04-23 16:56:22,743 - DEBUG - Requesting: http://10.0.0.38:8082/project/539bcf90-e3c2-43a1-b135-bec0ec088a9f 2025-04-23 16:56:22,815 - INFO - Validated that VN ctest-vn-51813672 is not found in API Server 2025-04-23 16:56:22,824 - DEBUG - VN ctest-vn-51813672 is not present in Agent 10.0.0.38 2025-04-23 16:56:22,824 - INFO - Validated that VN ctest-vn-51813672 is not in any agent 2025-04-23 16:56:22,836 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51813672 info 2025-04-23 16:56:23,088 - DEBUG - No XMPP flaps were noticed during the test 2025-04-23 16:56:23,088 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27] 2025-04-23 16:56:23,088 - INFO - -------------------------------------------------------------------------------- 2025-04-23 16:56:23,680 - INFO - Deleted project: ctest-TestBasicPolicy-55177457, ID : 539bcf90-e3c2-43a1-b135-bec0ec088a9f