2025-04-09 13:02:23,874 - INFO - Domain Default found not creating 2025-04-09 13:02:24,237 - INFO - Project ctest-TestBasicPolicy-90810754 not found, creating it 2025-04-09 13:02:24,920 - INFO - Created Project:ctest-TestBasicPolicy-90810754, ID : bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:02:26,897 - INFO - ================================================================================ 2025-04-09 13:02:26,898 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-09 13:02:26,898 - 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-09 13:02:27,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-09 13:02:27,191 - INFO - Initial checks done. Running the testcase now 2025-04-09 13:02:27,191 - INFO - 2025-04-09 13:02:27,959 - DEBUG - Response for create_network : {'network': {'id': 'ff4188df-8e38-45ba-9eb8-60c542c71ad2', 'name': 'ctest-vn-65961615', 'tenant_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'project_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-vn-65961615'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 13:02:28,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2c61738-3cce-4707-b1e0-6b7ea9bd2df1', 'name': '', 'tenant_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'network_id': 'ff4188df-8e38-45ba-9eb8-60c542c71ad2', 'ip_version': 4, 'cidr': '80.212.229.128/26', 'allocation_pools': [{'start': '80.212.229.130', 'end': '80.212.229.190'}], 'gateway_ip': '80.212.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.212.229.130', 'tags': [], 'project_id': 'bc7ee50ad25c44de899e2c6166d0121a'}} 2025-04-09 13:02:28,190 - INFO - Created VN ctest-vn-65961615 2025-04-09 13:02:28,253 - DEBUG - VN ctest-vn-65961615 UUID is ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:28,768 - DEBUG - Response for create_network : {'network': {'id': '740f55e7-4dce-4483-889b-ef4aaec100bf', 'name': 'ctest-vn-41529649', 'tenant_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'project_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-vn-41529649'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 13:02:28,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfec606c-1383-4dd9-a21c-624c7d6b0351', 'name': '', 'tenant_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'network_id': '740f55e7-4dce-4483-889b-ef4aaec100bf', 'ip_version': 4, 'cidr': '63.113.92.0/26', 'allocation_pools': [{'start': '63.113.92.2', 'end': '63.113.92.62'}], 'gateway_ip': '63.113.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.113.92.2', 'tags': [], 'project_id': 'bc7ee50ad25c44de899e2c6166d0121a'}} 2025-04-09 13:02:29,006 - INFO - Created VN ctest-vn-41529649 2025-04-09 13:02:29,062 - DEBUG - VN ctest-vn-41529649 UUID is 740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:29,171 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615, 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-90810754:ctest-vn-41529649, 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-09 13:02:29,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff4188df-8e38-45ba-9eb8-60c542c71ad2', 'name': 'ctest-vn-65961615', 'tenant_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'project_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2c61738-3cce-4707-b1e0-6b7ea9bd2df1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-vn-65961615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-policy-allow-all-97312035']], 'subnet_ipam': [{'subnet_cidr': '80.212.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-09 13:02:29,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '740f55e7-4dce-4483-889b-ef4aaec100bf', 'name': 'ctest-vn-41529649', 'tenant_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'project_id': 'bc7ee50ad25c44de899e2c6166d0121a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfec606c-1383-4dd9-a21c-624c7d6b0351'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-vn-41529649'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-policy-allow-all-97312035']], 'subnet_ipam': [{'subnet_cidr': '63.113.92.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-09 13:02:30,165 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:02:30,473 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:02:30,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3561b6b8-9eec-416f-b6fc-ce80fe69a823 2025-04-09 13:02:30,607 - DEBUG - Requesting: http://10.0.0.38:8082/project/bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:02:30,714 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:30,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:30,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3dcd94a2-4cfc-4807-8b58-74180feed129 2025-04-09 13:02:30,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3dcd94a2-4cfc-4807-8b58-74180feed129 2025-04-09 13:02:30,786 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b15bc819-c315-43a0-ab58-11952526d543 2025-04-09 13:02:30,804 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-09 13:02:30,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:30,825 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3dcd94a2-4cfc-4807-8b58-74180feed129 2025-04-09 13:02:30,856 - INFO - Verified VN network id 8 for VN ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:30,857 - INFO - Verifications in API Server for VN ctest-vn-65961615 passed 2025-04-09 13:02:30,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:30,880 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3dcd94a2-4cfc-4807-8b58-74180feed129 2025-04-09 13:02:30,899 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3dcd94a2-4cfc-4807-8b58-74180feed129 2025-04-09 13:02:30,909 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b15bc819-c315-43a0-ab58-11952526d543 2025-04-09 13:02:30,932 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90810754', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18393132846902953402', 'uuid-lslong': '11436997654052543186'}, 'enable': 'true', 'created': '2025-04-09T13:02:27', 'last-modified': '2025-04-09T13:02:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378252'} 2025-04-09 13:02:30,948 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-09 13:02:30,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65961615 passed 2025-04-09 13:02:30,949 - DEBUG - ====Verifying policy data for ctest-vn-65961615 in API_Server ====== 2025-04-09 13:02:30,949 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:02:30,959 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3561b6b8-9eec-416f-b6fc-ce80fe69a823 2025-04-09 13:02:30,979 - DEBUG - Requesting: http://10.0.0.38:8082/project/bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:02:31,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff4188df-8e38-45ba-9eb8-60c542c71ad2 2025-04-09 13:02:31,095 - DEBUG - ==>Verifying data for policy with id: 1f14444e-51e7-4aea-a8ce-43636f2c9d75, fqn: ['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-policy-allow-all-97312035'] 2025-04-09 13:02:31,095 - INFO - VN ctest-vn-65961615 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-09 13:02:31,095 - DEBUG - Verifying the vn in opserver 2025-04-09 13:02:31,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615 virtual network link through opserver 10.0.0.38 2025-04-09 13:02:31,095 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-09 13:02:31,432 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-09 13:02:31,565 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615?flat'} 2025-04-09 13:02:31,565 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615 is found in opserver 2025-04-09 13:02:31,601 - DEBUG - Do not have enough data to verify VN in agent 2025-04-09 13:02:31,614 - DEBUG - VRF ids for VN ctest-vn-65961615: {} 2025-04-09 13:02:31,614 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:02:31,627 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3561b6b8-9eec-416f-b6fc-ce80fe69a823 2025-04-09 13:02:31,664 - DEBUG - Requesting: http://10.0.0.38:8082/project/bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:02:31,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:31,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:31,858 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a013f71e-e61b-4971-9616-432dfb6b24c6 2025-04-09 13:02:31,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a013f71e-e61b-4971-9616-432dfb6b24c6 2025-04-09 13:02:31,895 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9565be78-d35f-441e-ba32-efdce4679040 2025-04-09 13:02:31,910 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-09 13:02:31,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:31,933 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a013f71e-e61b-4971-9616-432dfb6b24c6 2025-04-09 13:02:31,965 - INFO - Verified VN network id 9 for VN 740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:31,965 - INFO - Verifications in API Server for VN ctest-vn-41529649 passed 2025-04-09 13:02:31,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:31,985 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a013f71e-e61b-4971-9616-432dfb6b24c6 2025-04-09 13:02:32,002 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a013f71e-e61b-4971-9616-432dfb6b24c6 2025-04-09 13:02:32,023 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9565be78-d35f-441e-ba32-efdce4679040 2025-04-09 13:02:32,053 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-41529649', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90810754', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8362997484981470339', 'uuid-lslong': '9843724514586853567'}, 'enable': 'true', 'created': '2025-04-09T13:02:28', 'last-modified': '2025-04-09T13:02:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.152502'} 2025-04-09 13:02:32,064 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-09 13:02:32,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41529649 passed 2025-04-09 13:02:32,065 - DEBUG - ====Verifying policy data for ctest-vn-41529649 in API_Server ====== 2025-04-09 13:02:32,065 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:02:32,123 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3561b6b8-9eec-416f-b6fc-ce80fe69a823 2025-04-09 13:02:32,221 - DEBUG - Requesting: http://10.0.0.38:8082/project/bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:02:32,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/740f55e7-4dce-4483-889b-ef4aaec100bf 2025-04-09 13:02:32,336 - DEBUG - ==>Verifying data for policy with id: 1f14444e-51e7-4aea-a8ce-43636f2c9d75, fqn: ['default-domain', 'ctest-TestBasicPolicy-90810754', 'ctest-policy-allow-all-97312035'] 2025-04-09 13:02:32,336 - INFO - VN ctest-vn-41529649 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-09 13:02:32,336 - DEBUG - Verifying the vn in opserver 2025-04-09 13:02:32,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-41529649 virtual network link through opserver 10.0.0.38 2025-04-09 13:02:32,336 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-09 13:02:32,351 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-41529649', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-41529649?flat'} 2025-04-09 13:02:32,351 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-41529649 is found in opserver 2025-04-09 13:02:32,386 - DEBUG - Do not have enough data to verify VN in agent 2025-04-09 13:02:32,397 - DEBUG - VRF ids for VN ctest-vn-41529649: {} 2025-04-09 13:02:32,482 - DEBUG - Services list from nova: [, , ] 2025-04-09 13:02:33,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3065-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3065-1) 2025-04-09 13:02:35,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3065-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3065-1) 2025-04-09 13:02:35,314 - INFO - Waiting for VM ctest-TestBasicPolicy-90810754-86031114 to be up.. 2025-04-09 13:02:35,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 13:02:40,674 - DEBUG - VM is in ACTIVE state now 2025-04-09 13:02:40,675 - INFO - VM name : ctest-TestBasicPolicy-90810754-86031114 2025-04-09 13:02:40,807 - DEBUG - VM ctest-TestBasicPolicy-90810754-86031114 ID is 5855a18e-620c-42b5-9426-ff07aa668d0c 2025-04-09 13:02:40,830 - DEBUG - VM ctest-TestBasicPolicy-90810754-86031114 launched on Node cn-jenkins-deploy-platform-ansible-os-3065-1 2025-04-09 13:02:40,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5855a18e-620c-42b5-9426-ff07aa668d0c 2025-04-09 13:02:40,975 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7f8eb59-23dd-4463-842c-ae620f9649d9 2025-04-09 13:02:44,272 - 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 1008ms') 2025-04-09 13:02:44,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90810754-86031114 failed! 2025-04-09 13:02:44,337 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90810754:ctest-vn-65961615 is 80.212.229.129 and allocation pool is NOT set 2025-04-09 13:02:46,406 - 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=16.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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 = 2.484/9.421/16.359/6.937 ms') 2025-04-09 13:02:46,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90810754-86031114 passed 2025-04-09 13:02:46,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 13:02:46,607 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90810754-86031114, IP 80.212.229.131, Port 22 2025-04-09 13:02:46,787 - DEBUG - VM ctest-TestBasicPolicy-90810754-86031114 is ready for SSH connections 2025-04-09 13:02:46,787 - INFO - Waiting for VM ctest-TestBasicPolicy-90810754-04403727 to be up.. 2025-04-09 13:02:46,916 - DEBUG - VM is in ACTIVE state now 2025-04-09 13:02:46,916 - INFO - VM name : ctest-TestBasicPolicy-90810754-04403727 2025-04-09 13:02:47,051 - DEBUG - VM ctest-TestBasicPolicy-90810754-04403727 ID is 2ec9c9c8-027d-4416-95ee-dd9aa10952d4 2025-04-09 13:02:47,051 - DEBUG - VM ctest-TestBasicPolicy-90810754-04403727 launched on Node cn-jenkins-deploy-platform-ansible-os-3065-1 2025-04-09 13:02:47,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2ec9c9c8-027d-4416-95ee-dd9aa10952d4 2025-04-09 13:02:47,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/498d4372-667c-4523-8782-ba11cc776296 2025-04-09 13:02:48,570 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.802 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.802/2.293/3.785/1.491 ms') 2025-04-09 13:02:48,570 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90810754-04403727 passed 2025-04-09 13:02:48,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 13:02:48,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90810754-04403727, IP 63.113.92.3, Port 22 2025-04-09 13:02:48,973 - DEBUG - VM ctest-TestBasicPolicy-90810754-04403727 is ready for SSH connections 2025-04-09 13:02:48,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 13:02:48,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.113.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-09 13:02:48,973 - DEBUG - ping -s 56 -c 3 -W 1 63.113.92.3 2025-04-09 13:02:53,362 - DEBUG - PING 63.113.92.3 (63.113.92.3): 56 data bytes 64 bytes from 63.113.92.3: seq=0 ttl=63 time=4.677 ms 64 bytes from 63.113.92.3: seq=1 ttl=63 time=1.838 ms 64 bytes from 63.113.92.3: seq=2 ttl=63 time=1.846 ms --- 63.113.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.838/2.787/4.677 ms 2025-04-09 13:02:53,362 - INFO - Ping to IP 63.113.92.3 from VM ctest-TestBasicPolicy-90810754-86031114 passed 2025-04-09 13:02:53,641 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1f14444e-51e7-4aea-a8ce-43636f2c9d75", "href": "http://10.0.0.38:8082/network-policy/1f14444e-51e7-4aea-a8ce-43636f2c9d75"}} 2025-04-09 13:02:53,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 13:02:53,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.113.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-09 13:02:53,642 - DEBUG - ping -s 56 -c 3 -W 1 63.113.92.3 2025-04-09 13:02:56,983 - DEBUG - PING 63.113.92.3 (63.113.92.3): 56 data bytes --- 63.113.92.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-09 13:02:56,983 - WARNING - Ping to IP 63.113.92.3 from VM ctest-TestBasicPolicy-90810754-86031114 failed 2025-04-09 13:02:56,983 - INFO - Deleting VM ctest-TestBasicPolicy-90810754-04403727 2025-04-09 13:02:57,084 - INFO - Deleting VM ctest-TestBasicPolicy-90810754-86031114 2025-04-09 13:02:57,635 - INFO - Deleted policy ctest-policy-allow-all-97312035 2025-04-09 13:02:57,636 - INFO - Deleting VN ctest-vn-41529649 2025-04-09 13:02:57,693 - DEBUG - VN 740f55e7-4dce-4483-889b-ef4aaec100bf still in use: Unable to complete operation on network 740f55e7-4dce-4483-889b-ef4aaec100bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-732eafcf-5b73-4de0-9038-835a7338b5ad'] 2025-04-09 13:02:57,693 - WARNING - Deleting VN ctest-vn-41529649 failed..Will retry 2025-04-09 13:02:59,906 - DEBUG - Response for deleting network () 2025-04-09 13:02:59,906 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a013f71e-e61b-4971-9616-432dfb6b24c6 2025-04-09 13:02:59,914 - DEBUG - Response Code: 404 2025-04-09 13:02:59,914 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:02:59,922 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3561b6b8-9eec-416f-b6fc-ce80fe69a823 2025-04-09 13:02:59,985 - DEBUG - Requesting: http://10.0.0.38:8082/project/bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:03:00,082 - INFO - Validated that VN ctest-vn-41529649 is not found in API Server 2025-04-09 13:03:00,102 - DEBUG - VN ctest-vn-41529649 is not present in Agent 10.0.0.38 2025-04-09 13:03:00,103 - INFO - Validated that VN ctest-vn-41529649 is not in any agent 2025-04-09 13:03:00,129 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41529649 info 2025-04-09 13:03:00,130 - INFO - Deleting VN ctest-vn-65961615 2025-04-09 13:03:00,265 - DEBUG - Response for deleting network () 2025-04-09 13:03:00,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3dcd94a2-4cfc-4807-8b58-74180feed129 2025-04-09 13:03:00,275 - DEBUG - Response Code: 404 2025-04-09 13:03:00,276 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-09 13:03:00,286 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3561b6b8-9eec-416f-b6fc-ce80fe69a823 2025-04-09 13:03:00,343 - DEBUG - Requesting: http://10.0.0.38:8082/project/bc7ee50a-d25c-44de-899e-2c6166d0121a 2025-04-09 13:03:00,433 - INFO - Validated that VN ctest-vn-65961615 is not found in API Server 2025-04-09 13:03:00,449 - DEBUG - VN ctest-vn-65961615 is not present in Agent 10.0.0.38 2025-04-09 13:03:00,449 - INFO - Validated that VN ctest-vn-65961615 is not in any agent 2025-04-09 13:03:00,470 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65961615 info 2025-04-09 13:03:00,745 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 13:03:00,745 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-04-09 13:03:00,745 - INFO - -------------------------------------------------------------------------------- 2025-04-09 13:03:01,539 - INFO - Deleted project: ctest-TestBasicPolicy-90810754, ID : bc7ee50a-d25c-44de-899e-2c6166d0121a