2025-05-04 14:44:06,191 - INFO - Domain Default found not creating 2025-05-04 14:44:06,316 - INFO - Project ctest-TestBasicPolicy-30662367 not found, creating it 2025-05-04 14:44:06,753 - INFO - Created Project:ctest-TestBasicPolicy-30662367, ID : d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:08,093 - INFO - ================================================================================ 2025-05-04 14:44:08,093 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-04 14:44:08,093 - 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-05-04 14:44:08,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-05-04 14:44:08,347 - INFO - Initial checks done. Running the testcase now 2025-05-04 14:44:08,347 - INFO - 2025-05-04 14:44:08,867 - DEBUG - Response for create_network : {'network': {'id': '5fcce145-7420-4f77-93ce-c68a8bf6f723', 'name': 'ctest-vn-81135555', 'tenant_id': 'd221169347bc4ac9a34758dda74e545a', 'project_id': 'd221169347bc4ac9a34758dda74e545a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-vn-81135555'], 'port_security_enabled': True, 'description': ''}} 2025-05-04 14:44:09,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b7ae8af-b6b8-43a4-9634-cf7728adf2a6', 'name': '', 'tenant_id': 'd221169347bc4ac9a34758dda74e545a', 'network_id': '5fcce145-7420-4f77-93ce-c68a8bf6f723', 'ip_version': 4, 'cidr': '69.87.45.0/26', 'allocation_pools': [{'start': '69.87.45.2', 'end': '69.87.45.62'}], 'gateway_ip': '69.87.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.87.45.2', 'tags': [], 'project_id': 'd221169347bc4ac9a34758dda74e545a'}} 2025-05-04 14:44:09,108 - INFO - Created VN ctest-vn-81135555 2025-05-04 14:44:09,161 - DEBUG - VN ctest-vn-81135555 UUID is 5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:09,459 - DEBUG - Response for create_network : {'network': {'id': '0281dff6-282c-491e-8bc4-a614ab1ebb56', 'name': 'ctest-vn-23356767', 'tenant_id': 'd221169347bc4ac9a34758dda74e545a', 'project_id': 'd221169347bc4ac9a34758dda74e545a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-vn-23356767'], 'port_security_enabled': True, 'description': ''}} 2025-05-04 14:44:09,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e16dbc71-ecc5-4191-8715-960f243db6a7', 'name': '', 'tenant_id': 'd221169347bc4ac9a34758dda74e545a', 'network_id': '0281dff6-282c-491e-8bc4-a614ab1ebb56', 'ip_version': 4, 'cidr': '146.19.250.0/26', 'allocation_pools': [{'start': '146.19.250.2', 'end': '146.19.250.62'}], 'gateway_ip': '146.19.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.19.250.2', 'tags': [], 'project_id': 'd221169347bc4ac9a34758dda74e545a'}} 2025-05-04 14:44:09,646 - INFO - Created VN ctest-vn-23356767 2025-05-04 14:44:09,701 - DEBUG - VN ctest-vn-23356767 UUID is 0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:09,845 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555, 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-30662367:ctest-vn-23356767, 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-05-04 14:44:10,131 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fcce145-7420-4f77-93ce-c68a8bf6f723', 'name': 'ctest-vn-81135555', 'tenant_id': 'd221169347bc4ac9a34758dda74e545a', 'project_id': 'd221169347bc4ac9a34758dda74e545a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b7ae8af-b6b8-43a4-9634-cf7728adf2a6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-vn-81135555'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-policy-allow-all-87846539']], 'subnet_ipam': [{'subnet_cidr': '69.87.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-04 14:44:10,361 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0281dff6-282c-491e-8bc4-a614ab1ebb56', 'name': 'ctest-vn-23356767', 'tenant_id': 'd221169347bc4ac9a34758dda74e545a', 'project_id': 'd221169347bc4ac9a34758dda74e545a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e16dbc71-ecc5-4191-8715-960f243db6a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-vn-23356767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-policy-allow-all-87846539']], 'subnet_ipam': [{'subnet_cidr': '146.19.250.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-04 14:44:10,537 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:10,826 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:10,854 - DEBUG - Requesting: http://10.0.0.57:8082/domain/65233a82-c004-4cec-a2b6-3b29f6a3b3d0 2025-05-04 14:44:10,871 - DEBUG - Requesting: http://10.0.0.57:8082/project/d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:10,949 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:10,959 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:10,968 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8c8992e0-6617-4704-93a1-87d8e32f5b83 2025-05-04 14:44:10,974 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8c8992e0-6617-4704-93a1-87d8e32f5b83 2025-05-04 14:44:10,981 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fd768f66-ac7e-46c7-b38a-79af75ec9922 2025-05-04 14:44:10,988 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-04 14:44:10,988 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:10,996 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8c8992e0-6617-4704-93a1-87d8e32f5b83 2025-05-04 14:44:11,008 - INFO - Verified VN network id 9 for VN 5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:11,008 - INFO - Verifications in API Server for VN ctest-vn-81135555 passed 2025-05-04 14:44:11,008 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:11,017 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8c8992e0-6617-4704-93a1-87d8e32f5b83 2025-05-04 14:44:11,023 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8c8992e0-6617-4704-93a1-87d8e32f5b83 2025-05-04 14:44:11,029 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fd768f66-ac7e-46c7-b38a-79af75ec9922 2025-05-04 14:44:11,040 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30662367', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6903140017269395319', 'uuid-lslong': '10650668467133806371'}, 'enable': 'true', 'created': '2025-05-04T14:44:08', 'last-modified': '2025-05-04T14:44:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931761'} 2025-05-04 14:44:11,046 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-04 14:44:11,046 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81135555 passed 2025-05-04 14:44:11,046 - DEBUG - ====Verifying policy data for ctest-vn-81135555 in API_Server ====== 2025-05-04 14:44:11,047 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:11,052 - DEBUG - Requesting: http://10.0.0.57:8082/domain/65233a82-c004-4cec-a2b6-3b29f6a3b3d0 2025-05-04 14:44:11,062 - DEBUG - Requesting: http://10.0.0.57:8082/project/d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:11,131 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/5fcce145-7420-4f77-93ce-c68a8bf6f723 2025-05-04 14:44:11,141 - DEBUG - ==>Verifying data for policy with id: bdb13924-057b-4c4c-917c-6cb03d871022, fqn: ['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-policy-allow-all-87846539'] 2025-05-04 14:44:11,141 - INFO - VN ctest-vn-81135555 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-04 14:44:11,141 - DEBUG - Verifying the vn in opserver 2025-05-04 14:44:11,141 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555 virtual network link through opserver 10.0.0.57 2025-05-04 14:44:11,141 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-05-04 14:44:11,429 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-05-04 14:44:11,478 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555?flat'} 2025-05-04 14:44:11,478 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555 is found in opserver 2025-05-04 14:44:11,488 - DEBUG - Do not have enough data to verify VN in agent 2025-05-04 14:44:11,492 - DEBUG - VRF ids for VN ctest-vn-81135555: {} 2025-05-04 14:44:11,492 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:11,498 - DEBUG - Requesting: http://10.0.0.57:8082/domain/65233a82-c004-4cec-a2b6-3b29f6a3b3d0 2025-05-04 14:44:11,508 - DEBUG - Requesting: http://10.0.0.57:8082/project/d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:11,579 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:11,591 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:11,600 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1be72aff-abc8-456b-9b75-5a49c6ebac01 2025-05-04 14:44:11,607 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1be72aff-abc8-456b-9b75-5a49c6ebac01 2025-05-04 14:44:11,613 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/95d81bb5-ea9a-441e-9a5f-d215ec723ff0 2025-05-04 14:44:11,619 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-04 14:44:11,619 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:11,627 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1be72aff-abc8-456b-9b75-5a49c6ebac01 2025-05-04 14:44:11,640 - INFO - Verified VN network id 10 for VN 0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:11,640 - INFO - Verifications in API Server for VN ctest-vn-23356767 passed 2025-05-04 14:44:11,640 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:11,649 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1be72aff-abc8-456b-9b75-5a49c6ebac01 2025-05-04 14:44:11,655 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1be72aff-abc8-456b-9b75-5a49c6ebac01 2025-05-04 14:44:11,661 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/95d81bb5-ea9a-441e-9a5f-d215ec723ff0 2025-05-04 14:44:11,673 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-23356767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30662367', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '180671708400470302', 'uuid-lslong': '10071357274407746390'}, 'enable': 'true', 'created': '2025-05-04T14:44:09', 'last-modified': '2025-05-04T14:44:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337027'} 2025-05-04 14:44:11,678 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-04 14:44:11,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23356767 passed 2025-05-04 14:44:11,678 - DEBUG - ====Verifying policy data for ctest-vn-23356767 in API_Server ====== 2025-05-04 14:44:11,678 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:11,683 - DEBUG - Requesting: http://10.0.0.57:8082/domain/65233a82-c004-4cec-a2b6-3b29f6a3b3d0 2025-05-04 14:44:11,693 - DEBUG - Requesting: http://10.0.0.57:8082/project/d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:11,767 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0281dff6-282c-491e-8bc4-a614ab1ebb56 2025-05-04 14:44:11,776 - DEBUG - ==>Verifying data for policy with id: bdb13924-057b-4c4c-917c-6cb03d871022, fqn: ['default-domain', 'ctest-TestBasicPolicy-30662367', 'ctest-policy-allow-all-87846539'] 2025-05-04 14:44:11,776 - INFO - VN ctest-vn-23356767 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-04 14:44:11,776 - DEBUG - Verifying the vn in opserver 2025-05-04 14:44:11,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-23356767 virtual network link through opserver 10.0.0.57 2025-05-04 14:44:11,776 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-05-04 14:44:11,786 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-23356767', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-23356767?flat'} 2025-05-04 14:44:11,786 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-23356767 is found in opserver 2025-05-04 14:44:11,796 - DEBUG - Do not have enough data to verify VN in agent 2025-05-04 14:44:11,800 - DEBUG - VRF ids for VN ctest-vn-23356767: {} 2025-05-04 14:44:11,850 - DEBUG - Services list from nova: [, , ] 2025-05-04 14:44:12,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3261-1) 2025-05-04 14:44:14,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3261-1) 2025-05-04 14:44:14,203 - INFO - Waiting for VM ctest-TestBasicPolicy-30662367-39503381 to be up.. 2025-05-04 14:44:14,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-04 14:44:19,337 - DEBUG - VM is in ACTIVE state now 2025-05-04 14:44:19,337 - INFO - VM name : ctest-TestBasicPolicy-30662367-39503381 2025-05-04 14:44:19,402 - DEBUG - VM ctest-TestBasicPolicy-30662367-39503381 ID is e228bb0f-a6d2-407c-8a58-bff24bb52d10 2025-05-04 14:44:19,419 - DEBUG - VM ctest-TestBasicPolicy-30662367-39503381 launched on Node cn-jenkins-deploy-platform-ansible-os-3261-1 2025-05-04 14:44:19,483 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e228bb0f-a6d2-407c-8a58-bff24bb52d10 2025-05-04 14:44:19,490 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6bb6e982-e2c1-4551-9ffd-087dbf653590 2025-05-04 14:44:22,739 - 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 1012ms') 2025-05-04 14:44:22,739 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30662367-39503381 failed! 2025-05-04 14:44:22,801 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30662367:ctest-vn-81135555 is 69.87.45.1 and allocation pool is NOT set 2025-05-04 14:44:24,859 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.403/1.601/2.799/1.198 ms') 2025-05-04 14:44:24,859 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30662367-39503381 passed 2025-05-04 14:44:25,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:44:25,013 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30662367-39503381, IP 69.87.45.3, Port 22 2025-05-04 14:44:25,168 - DEBUG - VM ctest-TestBasicPolicy-30662367-39503381 is ready for SSH connections 2025-05-04 14:44:25,168 - INFO - Waiting for VM ctest-TestBasicPolicy-30662367-12132945 to be up.. 2025-05-04 14:44:25,240 - DEBUG - VM is in ACTIVE state now 2025-05-04 14:44:25,240 - INFO - VM name : ctest-TestBasicPolicy-30662367-12132945 2025-05-04 14:44:25,316 - DEBUG - VM ctest-TestBasicPolicy-30662367-12132945 ID is d68b7d20-2baf-451f-ae56-e4fd5f81fbd6 2025-05-04 14:44:25,316 - DEBUG - VM ctest-TestBasicPolicy-30662367-12132945 launched on Node cn-jenkins-deploy-platform-ansible-os-3261-1 2025-05-04 14:44:25,387 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d68b7d20-2baf-451f-ae56-e4fd5f81fbd6 2025-05-04 14:44:25,397 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/9d058be9-c19e-482b-ad51-bd638b5b89fe 2025-05-04 14:44:26,637 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.435/2.104/3.773/1.669 ms') 2025-05-04 14:44:26,637 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30662367-12132945 passed 2025-05-04 14:44:26,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:44:26,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30662367-12132945, IP 146.19.250.3, Port 22 2025-05-04 14:44:26,948 - DEBUG - VM ctest-TestBasicPolicy-30662367-12132945 is ready for SSH connections 2025-05-04 14:44:26,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:44:26,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.19.250.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-04 14:44:26,948 - DEBUG - ping -s 56 -c 3 -W 1 146.19.250.3 2025-05-04 14:44:30,933 - DEBUG - PING 146.19.250.3 (146.19.250.3): 56 data bytes 64 bytes from 146.19.250.3: seq=0 ttl=63 time=3.291 ms 64 bytes from 146.19.250.3: seq=1 ttl=63 time=0.772 ms 64 bytes from 146.19.250.3: seq=2 ttl=63 time=0.897 ms --- 146.19.250.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.653/3.291 ms 2025-05-04 14:44:30,933 - INFO - Ping to IP 146.19.250.3 from VM ctest-TestBasicPolicy-30662367-39503381 passed 2025-05-04 14:44:31,121 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bdb13924-057b-4c4c-917c-6cb03d871022", "href": "http://10.0.0.57:8082/network-policy/bdb13924-057b-4c4c-917c-6cb03d871022"}} 2025-05-04 14:44:31,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:44:31,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.19.250.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-04 14:44:31,121 - DEBUG - ping -s 56 -c 3 -W 1 146.19.250.3 2025-05-04 14:44:34,317 - DEBUG - PING 146.19.250.3 (146.19.250.3): 56 data bytes --- 146.19.250.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-04 14:44:34,317 - WARNING - Ping to IP 146.19.250.3 from VM ctest-TestBasicPolicy-30662367-39503381 failed 2025-05-04 14:44:34,317 - INFO - Deleting VM ctest-TestBasicPolicy-30662367-12132945 2025-05-04 14:44:34,372 - INFO - Deleting VM ctest-TestBasicPolicy-30662367-39503381 2025-05-04 14:44:34,701 - INFO - Deleted policy ctest-policy-allow-all-87846539 2025-05-04 14:44:34,701 - INFO - Deleting VN ctest-vn-23356767 2025-05-04 14:44:34,738 - DEBUG - VN 0281dff6-282c-491e-8bc4-a614ab1ebb56 still in use: Unable to complete operation on network 0281dff6-282c-491e-8bc4-a614ab1ebb56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50970a0e-6f92-4980-9777-e89de58ed3e4'] 2025-05-04 14:44:34,738 - WARNING - Deleting VN ctest-vn-23356767 failed..Will retry 2025-05-04 14:44:36,830 - DEBUG - Response for deleting network () 2025-05-04 14:44:36,830 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1be72aff-abc8-456b-9b75-5a49c6ebac01 2025-05-04 14:44:36,837 - DEBUG - Response Code: 404 2025-05-04 14:44:36,837 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:36,842 - DEBUG - Requesting: http://10.0.0.57:8082/domain/65233a82-c004-4cec-a2b6-3b29f6a3b3d0 2025-05-04 14:44:36,899 - DEBUG - Requesting: http://10.0.0.57:8082/project/d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:36,972 - INFO - Validated that VN ctest-vn-23356767 is not found in API Server 2025-05-04 14:44:36,984 - DEBUG - VN ctest-vn-23356767 is not present in Agent 10.0.0.57 2025-05-04 14:44:36,984 - INFO - Validated that VN ctest-vn-23356767 is not in any agent 2025-05-04 14:44:36,999 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23356767 info 2025-05-04 14:44:36,999 - INFO - Deleting VN ctest-vn-81135555 2025-05-04 14:44:37,083 - DEBUG - Response for deleting network () 2025-05-04 14:44:37,083 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8c8992e0-6617-4704-93a1-87d8e32f5b83 2025-05-04 14:44:37,088 - DEBUG - Response Code: 404 2025-05-04 14:44:37,088 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-04 14:44:37,095 - DEBUG - Requesting: http://10.0.0.57:8082/domain/65233a82-c004-4cec-a2b6-3b29f6a3b3d0 2025-05-04 14:44:37,150 - DEBUG - Requesting: http://10.0.0.57:8082/project/d2211693-47bc-4ac9-a347-58dda74e545a 2025-05-04 14:44:37,223 - INFO - Validated that VN ctest-vn-81135555 is not found in API Server 2025-05-04 14:44:37,234 - DEBUG - VN ctest-vn-81135555 is not present in Agent 10.0.0.57 2025-05-04 14:44:37,234 - INFO - Validated that VN ctest-vn-81135555 is not in any agent 2025-05-04 14:44:37,248 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81135555 info 2025-05-04 14:44:37,498 - DEBUG - No XMPP flaps were noticed during the test
2025-05-04 14:44:37,498 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-04 14:44:37,498 - INFO - -------------------------------------------------------------------------------- 2025-05-04 14:44:38,150 - INFO - Deleted project: ctest-TestBasicPolicy-30662367, ID : d2211693-47bc-4ac9-a347-58dda74e545a