2025-01-04 19:47:46,703 - INFO - Domain Default found not creating 2025-01-04 19:47:46,865 - INFO - Project ctest-TestBasicPolicy-44534093 not found, creating it 2025-01-04 19:47:47,350 - INFO - Created Project:ctest-TestBasicPolicy-44534093, ID : 3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:47:48,881 - INFO - ================================================================================ 2025-01-04 19:47:48,881 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-04 19:47:48,881 - 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-04 19:47:49,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-01-04 19:47:49,145 - INFO - Initial checks done. Running the testcase now 2025-01-04 19:47:49,146 - INFO - 2025-01-04 19:47:49,725 - DEBUG - Response for create_network : {'network': {'id': '6214b41c-0186-4f71-a725-ed422b27274b', 'name': 'ctest-vn-27806765', 'tenant_id': '3f6c1871f9d744a89200abc5e442abb2', 'project_id': '3f6c1871f9d744a89200abc5e442abb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-vn-27806765'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 19:47:49,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '986481dc-74ec-4800-a2e8-e00cb110e19a', 'name': '', 'tenant_id': '3f6c1871f9d744a89200abc5e442abb2', 'network_id': '6214b41c-0186-4f71-a725-ed422b27274b', 'ip_version': 4, 'cidr': '192.225.195.128/26', 'allocation_pools': [{'start': '192.225.195.130', 'end': '192.225.195.190'}], 'gateway_ip': '192.225.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.225.195.130', 'tags': [], 'project_id': '3f6c1871f9d744a89200abc5e442abb2'}} 2025-01-04 19:47:49,976 - INFO - Created VN ctest-vn-27806765 2025-01-04 19:47:50,030 - DEBUG - VN ctest-vn-27806765 UUID is 6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:50,404 - DEBUG - Response for create_network : {'network': {'id': '834d2c4e-744c-4553-a7f9-d44e5e459e04', 'name': 'ctest-vn-79253858', 'tenant_id': '3f6c1871f9d744a89200abc5e442abb2', 'project_id': '3f6c1871f9d744a89200abc5e442abb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-vn-79253858'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 19:47:50,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '690a131b-5207-448b-8f84-194b38bd7436', 'name': '', 'tenant_id': '3f6c1871f9d744a89200abc5e442abb2', 'network_id': '834d2c4e-744c-4553-a7f9-d44e5e459e04', 'ip_version': 4, 'cidr': '119.52.111.128/26', 'allocation_pools': [{'start': '119.52.111.130', 'end': '119.52.111.190'}], 'gateway_ip': '119.52.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.52.111.130', 'tags': [], 'project_id': '3f6c1871f9d744a89200abc5e442abb2'}} 2025-01-04 19:47:50,590 - INFO - Created VN ctest-vn-79253858 2025-01-04 19:47:50,643 - DEBUG - VN ctest-vn-79253858 UUID is 834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:50,776 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765, 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-44534093:ctest-vn-79253858, 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-04 19:47:51,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6214b41c-0186-4f71-a725-ed422b27274b', 'name': 'ctest-vn-27806765', 'tenant_id': '3f6c1871f9d744a89200abc5e442abb2', 'project_id': '3f6c1871f9d744a89200abc5e442abb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['986481dc-74ec-4800-a2e8-e00cb110e19a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-vn-27806765'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-policy-allow-all-80859839']], 'subnet_ipam': [{'subnet_cidr': '192.225.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 19:47:51,385 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '834d2c4e-744c-4553-a7f9-d44e5e459e04', 'name': 'ctest-vn-79253858', 'tenant_id': '3f6c1871f9d744a89200abc5e442abb2', 'project_id': '3f6c1871f9d744a89200abc5e442abb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['690a131b-5207-448b-8f84-194b38bd7436'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-vn-79253858'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-policy-allow-all-80859839']], 'subnet_ipam': [{'subnet_cidr': '119.52.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 19:47:51,538 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:47:51,853 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:47:51,889 - DEBUG - Requesting: http://10.0.0.41:8082/domain/40e07d30-4eeb-4e78-8b3d-d14a4c6bcab3 2025-01-04 19:47:51,907 - DEBUG - Requesting: http://10.0.0.41:8082/project/3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:47:51,986 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:51,997 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:52,007 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/969da4e4-a91d-4707-a162-5212ba74a670 2025-01-04 19:47:52,015 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/969da4e4-a91d-4707-a162-5212ba74a670 2025-01-04 19:47:52,023 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/bce8f10b-444e-47c3-82d1-351efefa0786 2025-01-04 19:47:52,030 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 19:47:52,030 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:52,041 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/969da4e4-a91d-4707-a162-5212ba74a670 2025-01-04 19:47:52,057 - INFO - Verified VN network id 8 for VN 6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:52,057 - INFO - Verifications in API Server for VN ctest-vn-27806765 passed 2025-01-04 19:47:52,057 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:52,069 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/969da4e4-a91d-4707-a162-5212ba74a670 2025-01-04 19:47:52,079 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/969da4e4-a91d-4707-a162-5212ba74a670 2025-01-04 19:47:52,088 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/bce8f10b-444e-47c3-82d1-351efefa0786 2025-01-04 19:47:52,104 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44534093', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7067471747628814193', 'uuid-lslong': '12044293646919870283'}, 'enable': 'true', 'created': '2025-01-04T19:47:49', 'last-modified': '2025-01-04T19:47:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033640'} 2025-01-04 19:47:52,115 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 19:47:52,115 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27806765 passed 2025-01-04 19:47:52,115 - DEBUG - ====Verifying policy data for ctest-vn-27806765 in API_Server ====== 2025-01-04 19:47:52,115 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:47:52,122 - DEBUG - Requesting: http://10.0.0.41:8082/domain/40e07d30-4eeb-4e78-8b3d-d14a4c6bcab3 2025-01-04 19:47:52,134 - DEBUG - Requesting: http://10.0.0.41:8082/project/3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:47:52,213 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6214b41c-0186-4f71-a725-ed422b27274b 2025-01-04 19:47:52,224 - DEBUG - ==>Verifying data for policy with id: 9adc7c68-0473-4982-87c3-216945046e92, fqn: ['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-policy-allow-all-80859839'] 2025-01-04 19:47:52,224 - INFO - VN ctest-vn-27806765 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 19:47:52,224 - DEBUG - Verifying the vn in opserver 2025-01-04 19:47:52,224 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765 virtual network link through opserver 10.0.0.41 2025-01-04 19:47:52,224 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-04 19:47:52,522 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-04 19:47:52,584 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765?flat'} 2025-01-04 19:47:52,584 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765 is found in opserver 2025-01-04 19:47:52,598 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 19:47:52,605 - DEBUG - VRF ids for VN ctest-vn-27806765: {} 2025-01-04 19:47:52,605 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:47:52,611 - DEBUG - Requesting: http://10.0.0.41:8082/domain/40e07d30-4eeb-4e78-8b3d-d14a4c6bcab3 2025-01-04 19:47:52,628 - DEBUG - Requesting: http://10.0.0.41:8082/project/3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:47:52,713 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:52,728 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:52,741 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9545b198-e570-4846-9c20-c4afadc9a28d 2025-01-04 19:47:52,750 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9545b198-e570-4846-9c20-c4afadc9a28d 2025-01-04 19:47:52,759 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/97a89a1e-1e64-46eb-99b8-efe4a74c57e8 2025-01-04 19:47:52,769 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 19:47:52,769 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:52,783 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9545b198-e570-4846-9c20-c4afadc9a28d 2025-01-04 19:47:52,806 - INFO - Verified VN network id 9 for VN 834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:52,807 - INFO - Verifications in API Server for VN ctest-vn-79253858 passed 2025-01-04 19:47:52,807 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:52,821 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9545b198-e570-4846-9c20-c4afadc9a28d 2025-01-04 19:47:52,830 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9545b198-e570-4846-9c20-c4afadc9a28d 2025-01-04 19:47:52,839 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/97a89a1e-1e64-46eb-99b8-efe4a74c57e8 2025-01-04 19:47:52,857 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-79253858', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44534093', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9461267107645506899', 'uuid-lslong': '12103938906589076996'}, 'enable': 'true', 'created': '2025-01-04T19:47:50', 'last-modified': '2025-01-04T19:47:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.543852'} 2025-01-04 19:47:52,865 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 19:47:52,866 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79253858 passed 2025-01-04 19:47:52,866 - DEBUG - ====Verifying policy data for ctest-vn-79253858 in API_Server ====== 2025-01-04 19:47:52,866 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:47:52,873 - DEBUG - Requesting: http://10.0.0.41:8082/domain/40e07d30-4eeb-4e78-8b3d-d14a4c6bcab3 2025-01-04 19:47:52,887 - DEBUG - Requesting: http://10.0.0.41:8082/project/3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:47:52,970 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/834d2c4e-744c-4553-a7f9-d44e5e459e04 2025-01-04 19:47:52,982 - DEBUG - ==>Verifying data for policy with id: 9adc7c68-0473-4982-87c3-216945046e92, fqn: ['default-domain', 'ctest-TestBasicPolicy-44534093', 'ctest-policy-allow-all-80859839'] 2025-01-04 19:47:52,982 - INFO - VN ctest-vn-79253858 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 19:47:52,982 - DEBUG - Verifying the vn in opserver 2025-01-04 19:47:52,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-79253858 virtual network link through opserver 10.0.0.41 2025-01-04 19:47:52,982 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-04 19:47:52,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-79253858', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-79253858?flat'} 2025-01-04 19:47:52,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-79253858 is found in opserver 2025-01-04 19:47:53,006 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 19:47:53,013 - DEBUG - VRF ids for VN ctest-vn-79253858: {} 2025-01-04 19:47:53,080 - DEBUG - Services list from nova: [, , ] 2025-01-04 19:47:54,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2529-1) 2025-01-04 19:47:55,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2529-1) 2025-01-04 19:47:55,417 - INFO - Waiting for VM ctest-TestBasicPolicy-44534093-93842879 to be up.. 2025-01-04 19:47:55,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 19:48:00,582 - DEBUG - VM is in ACTIVE state now 2025-01-04 19:48:00,582 - INFO - VM name : ctest-TestBasicPolicy-44534093-93842879 2025-01-04 19:48:00,674 - DEBUG - VM ctest-TestBasicPolicy-44534093-93842879 ID is d8069711-bf3e-4e7f-85f1-b6db2c751eaf 2025-01-04 19:48:00,696 - DEBUG - VM ctest-TestBasicPolicy-44534093-93842879 launched on Node cn-jenkins-deploy-platform-ansible-os-2529-1 2025-01-04 19:48:00,801 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d8069711-bf3e-4e7f-85f1-b6db2c751eaf 2025-01-04 19:48:00,812 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f099db24-2381-485b-8a33-be886d070dbb 2025-01-04 19:48:04,079 - 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 1003ms') 2025-01-04 19:48:04,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44534093-93842879 failed! 2025-01-04 19:48:04,134 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44534093:ctest-vn-27806765 is 192.225.195.129 and allocation pool is NOT set 2025-01-04 19:48:06,204 - 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=7.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/4.237/7.918/3.680 ms') 2025-01-04 19:48:06,205 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44534093-93842879 passed 2025-01-04 19:48:06,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:48:06,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44534093-93842879, IP 192.225.195.131, Port 22 2025-01-04 19:48:06,518 - DEBUG - VM ctest-TestBasicPolicy-44534093-93842879 is ready for SSH connections 2025-01-04 19:48:06,518 - INFO - Waiting for VM ctest-TestBasicPolicy-44534093-63175400 to be up.. 2025-01-04 19:48:06,616 - DEBUG - VM is in ACTIVE state now 2025-01-04 19:48:06,616 - INFO - VM name : ctest-TestBasicPolicy-44534093-63175400 2025-01-04 19:48:06,709 - DEBUG - VM ctest-TestBasicPolicy-44534093-63175400 ID is 4c180b55-e731-4b79-b612-43ce392dece9 2025-01-04 19:48:06,709 - DEBUG - VM ctest-TestBasicPolicy-44534093-63175400 launched on Node cn-jenkins-deploy-platform-ansible-os-2529-1 2025-01-04 19:48:06,799 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4c180b55-e731-4b79-b612-43ce392dece9 2025-01-04 19:48:06,813 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/19b1dfa2-24db-46ca-bfd7-2a6c5831a13b 2025-01-04 19:48:08,074 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.701/2.883/1.181 ms') 2025-01-04 19:48:08,074 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44534093-63175400 passed 2025-01-04 19:48:08,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:48:08,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44534093-63175400, IP 119.52.111.131, Port 22 2025-01-04 19:48:08,386 - DEBUG - VM ctest-TestBasicPolicy-44534093-63175400 is ready for SSH connections 2025-01-04 19:48:08,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:48:08,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.52.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-04 19:48:08,386 - DEBUG - ping -s 56 -c 3 -W 1 119.52.111.131 2025-01-04 19:48:12,465 - DEBUG - PING 119.52.111.131 (119.52.111.131): 56 data bytes 64 bytes from 119.52.111.131: seq=0 ttl=63 time=3.834 ms 64 bytes from 119.52.111.131: seq=1 ttl=63 time=0.649 ms 64 bytes from 119.52.111.131: seq=2 ttl=63 time=1.100 ms --- 119.52.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.649/1.861/3.834 ms 2025-01-04 19:48:12,465 - INFO - Ping to IP 119.52.111.131 from VM ctest-TestBasicPolicy-44534093-93842879 passed 2025-01-04 19:48:12,646 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9adc7c68-0473-4982-87c3-216945046e92", "href": "http://10.0.0.41:8082/network-policy/9adc7c68-0473-4982-87c3-216945046e92"}} 2025-01-04 19:48:12,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:48:12,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.52.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-04 19:48:12,646 - DEBUG - ping -s 56 -c 3 -W 1 119.52.111.131 2025-01-04 19:48:15,849 - DEBUG - PING 119.52.111.131 (119.52.111.131): 56 data bytes 64 bytes from 119.52.111.131: seq=0 ttl=63 time=1.525 ms --- 119.52.111.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.525/1.525/1.525 ms 2025-01-04 19:48:15,849 - WARNING - Ping to IP 119.52.111.131 from VM ctest-TestBasicPolicy-44534093-93842879 failed 2025-01-04 19:48:15,849 - INFO - Deleting VM ctest-TestBasicPolicy-44534093-63175400 2025-01-04 19:48:15,925 - INFO - Deleting VM ctest-TestBasicPolicy-44534093-93842879 2025-01-04 19:48:16,302 - INFO - Deleted policy ctest-policy-allow-all-80859839 2025-01-04 19:48:16,302 - INFO - Deleting VN ctest-vn-79253858 2025-01-04 19:48:16,343 - DEBUG - VN 834d2c4e-744c-4553-a7f9-d44e5e459e04 still in use: Unable to complete operation on network 834d2c4e-744c-4553-a7f9-d44e5e459e04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-494af6a3-afd7-4b1e-954c-5b0746800fd8'] 2025-01-04 19:48:16,343 - WARNING - Deleting VN ctest-vn-79253858 failed..Will retry 2025-01-04 19:48:18,467 - DEBUG - Response for deleting network () 2025-01-04 19:48:18,468 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9545b198-e570-4846-9c20-c4afadc9a28d 2025-01-04 19:48:18,476 - DEBUG - Response Code: 404 2025-01-04 19:48:18,476 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:48:18,485 - DEBUG - Requesting: http://10.0.0.41:8082/domain/40e07d30-4eeb-4e78-8b3d-d14a4c6bcab3 2025-01-04 19:48:18,540 - DEBUG - Requesting: http://10.0.0.41:8082/project/3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:48:18,623 - INFO - Validated that VN ctest-vn-79253858 is not found in API Server 2025-01-04 19:48:18,634 - DEBUG - VN ctest-vn-79253858 is not present in Agent 10.0.0.41 2025-01-04 19:48:18,634 - INFO - Validated that VN ctest-vn-79253858 is not in any agent 2025-01-04 19:48:18,653 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79253858 info 2025-01-04 19:48:18,653 - INFO - Deleting VN ctest-vn-27806765 2025-01-04 19:48:18,777 - DEBUG - Response for deleting network () 2025-01-04 19:48:18,777 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/969da4e4-a91d-4707-a162-5212ba74a670 2025-01-04 19:48:18,785 - DEBUG - Response Code: 404 2025-01-04 19:48:18,785 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-04 19:48:18,792 - DEBUG - Requesting: http://10.0.0.41:8082/domain/40e07d30-4eeb-4e78-8b3d-d14a4c6bcab3 2025-01-04 19:48:18,848 - DEBUG - Requesting: http://10.0.0.41:8082/project/3f6c1871-f9d7-44a8-9200-abc5e442abb2 2025-01-04 19:48:18,922 - INFO - Validated that VN ctest-vn-27806765 is not found in API Server 2025-01-04 19:48:18,934 - DEBUG - VN ctest-vn-27806765 is not present in Agent 10.0.0.41 2025-01-04 19:48:18,934 - INFO - Validated that VN ctest-vn-27806765 is not in any agent 2025-01-04 19:48:18,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27806765 info 2025-01-04 19:48:19,204 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 19:48:19,204 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-04 19:48:19,204 - INFO - -------------------------------------------------------------------------------- 2025-01-04 19:48:19,904 - INFO - Deleted project: ctest-TestBasicPolicy-44534093, ID : 3f6c1871-f9d7-44a8-9200-abc5e442abb2