2025-04-28 15:56:20,118 - INFO - Domain Default found not creating 2025-04-28 15:56:20,245 - INFO - Project ctest-TestBasicPolicy-18918379 not found, creating it 2025-04-28 15:56:20,696 - INFO - Created Project:ctest-TestBasicPolicy-18918379, ID : 69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:22,057 - INFO - ================================================================================ 2025-04-28 15:56:22,057 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 15:56:22,057 - 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-28 15:56:22,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-04-28 15:56:22,317 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:56:22,317 - INFO - 2025-04-28 15:56:22,839 - DEBUG - Response for create_network : {'network': {'id': '2d2175a5-2349-45ef-9846-78f7eb514a14', 'name': 'ctest-vn-48455069', 'tenant_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'project_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-vn-48455069'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:56:23,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '063e1675-4b36-4931-a088-f818bab6911f', 'name': '', 'tenant_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'network_id': '2d2175a5-2349-45ef-9846-78f7eb514a14', 'ip_version': 4, 'cidr': '218.227.47.128/26', 'allocation_pools': [{'start': '218.227.47.130', 'end': '218.227.47.190'}], 'gateway_ip': '218.227.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.227.47.130', 'tags': [], 'project_id': '69c9f274fd7b45c5b44fcdd5becaecc6'}} 2025-04-28 15:56:23,071 - INFO - Created VN ctest-vn-48455069 2025-04-28 15:56:23,127 - DEBUG - VN ctest-vn-48455069 UUID is 2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:23,428 - DEBUG - Response for create_network : {'network': {'id': 'afe91e37-c42e-49c3-913d-828006602c4d', 'name': 'ctest-vn-72654578', 'tenant_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'project_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-vn-72654578'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:56:23,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '6eebf4a8-7981-453c-b3af-74a087bc3544', 'name': '', 'tenant_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'network_id': 'afe91e37-c42e-49c3-913d-828006602c4d', 'ip_version': 4, 'cidr': '174.187.210.192/26', 'allocation_pools': [{'start': '174.187.210.194', 'end': '174.187.210.254'}], 'gateway_ip': '174.187.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.187.210.194', 'tags': [], 'project_id': '69c9f274fd7b45c5b44fcdd5becaecc6'}} 2025-04-28 15:56:23,620 - INFO - Created VN ctest-vn-72654578 2025-04-28 15:56:23,671 - DEBUG - VN ctest-vn-72654578 UUID is afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:23,823 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069, 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-18918379:ctest-vn-72654578, 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-28 15:56:24,115 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d2175a5-2349-45ef-9846-78f7eb514a14', 'name': 'ctest-vn-48455069', 'tenant_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'project_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['063e1675-4b36-4931-a088-f818bab6911f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-vn-48455069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-policy-allow-all-23838629']], 'subnet_ipam': [{'subnet_cidr': '218.227.47.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:56:24,347 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afe91e37-c42e-49c3-913d-828006602c4d', 'name': 'ctest-vn-72654578', 'tenant_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'project_id': '69c9f274fd7b45c5b44fcdd5becaecc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6eebf4a8-7981-453c-b3af-74a087bc3544'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-vn-72654578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-policy-allow-all-23838629']], 'subnet_ipam': [{'subnet_cidr': '174.187.210.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:56:24,511 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:24,800 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:24,825 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4615fbe1-7dcd-4867-8b3a-33c48892a70a 2025-04-28 15:56:24,837 - DEBUG - Requesting: http://10.0.0.22:8082/project/69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:24,904 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:24,914 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:24,923 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a58f3a8b-5772-4d36-9f4f-68c5f148f2d2 2025-04-28 15:56:24,930 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a58f3a8b-5772-4d36-9f4f-68c5f148f2d2 2025-04-28 15:56:24,936 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3c6ca707-4f90-470d-883c-297ad88a480f 2025-04-28 15:56:24,941 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:56:24,942 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:24,950 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a58f3a8b-5772-4d36-9f4f-68c5f148f2d2 2025-04-28 15:56:24,963 - INFO - Verified VN network id 8 for VN 2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:24,963 - INFO - Verifications in API Server for VN ctest-vn-48455069 passed 2025-04-28 15:56:24,963 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:24,972 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a58f3a8b-5772-4d36-9f4f-68c5f148f2d2 2025-04-28 15:56:24,978 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a58f3a8b-5772-4d36-9f4f-68c5f148f2d2 2025-04-28 15:56:24,985 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3c6ca707-4f90-470d-883c-297ad88a480f 2025-04-28 15:56:24,996 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18918379', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3252009758060266991', 'uuid-lslong': '10972590548335020564'}, 'enable': 'true', 'created': '2025-04-28T15:56:22', 'last-modified': '2025-04-28T15:56:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904514'} 2025-04-28 15:56:25,002 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:56:25,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48455069 passed 2025-04-28 15:56:25,002 - DEBUG - ====Verifying policy data for ctest-vn-48455069 in API_Server ====== 2025-04-28 15:56:25,002 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:25,007 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4615fbe1-7dcd-4867-8b3a-33c48892a70a 2025-04-28 15:56:25,019 - DEBUG - Requesting: http://10.0.0.22:8082/project/69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:25,091 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2d2175a5-2349-45ef-9846-78f7eb514a14 2025-04-28 15:56:25,100 - DEBUG - ==>Verifying data for policy with id: f6de4491-0bbe-43c3-ac98-b0ee05696601, fqn: ['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-policy-allow-all-23838629'] 2025-04-28 15:56:25,100 - INFO - VN ctest-vn-48455069 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:56:25,100 - DEBUG - Verifying the vn in opserver 2025-04-28 15:56:25,100 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069 virtual network link through opserver 10.0.0.22 2025-04-28 15:56:25,100 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-28 15:56:25,388 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-28 15:56:25,436 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069?flat'} 2025-04-28 15:56:25,437 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069 is found in opserver 2025-04-28 15:56:25,447 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:56:25,452 - DEBUG - VRF ids for VN ctest-vn-48455069: {} 2025-04-28 15:56:25,452 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:25,457 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4615fbe1-7dcd-4867-8b3a-33c48892a70a 2025-04-28 15:56:25,468 - DEBUG - Requesting: http://10.0.0.22:8082/project/69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:25,537 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:25,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:25,556 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f4f35970-80b8-4514-a3e3-2d31326fc7b3 2025-04-28 15:56:25,562 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f4f35970-80b8-4514-a3e3-2d31326fc7b3 2025-04-28 15:56:25,568 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4d213310-a095-462c-a216-b0ecfa68b94d 2025-04-28 15:56:25,574 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:56:25,574 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:25,582 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f4f35970-80b8-4514-a3e3-2d31326fc7b3 2025-04-28 15:56:25,594 - INFO - Verified VN network id 9 for VN afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:25,594 - INFO - Verifications in API Server for VN ctest-vn-72654578 passed 2025-04-28 15:56:25,594 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:25,602 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f4f35970-80b8-4514-a3e3-2d31326fc7b3 2025-04-28 15:56:25,608 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f4f35970-80b8-4514-a3e3-2d31326fc7b3 2025-04-28 15:56:25,613 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4d213310-a095-462c-a216-b0ecfa68b94d 2025-04-28 15:56:25,623 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-72654578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18918379', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12675695851074374083', 'uuid-lslong': '10465664595453291597'}, 'enable': 'true', 'created': '2025-04-28T15:56:23', 'last-modified': '2025-04-28T15:56:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304767'} 2025-04-28 15:56:25,629 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:56:25,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72654578 passed 2025-04-28 15:56:25,629 - DEBUG - ====Verifying policy data for ctest-vn-72654578 in API_Server ====== 2025-04-28 15:56:25,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:25,634 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4615fbe1-7dcd-4867-8b3a-33c48892a70a 2025-04-28 15:56:25,644 - DEBUG - Requesting: http://10.0.0.22:8082/project/69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:25,713 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/afe91e37-c42e-49c3-913d-828006602c4d 2025-04-28 15:56:25,722 - DEBUG - ==>Verifying data for policy with id: f6de4491-0bbe-43c3-ac98-b0ee05696601, fqn: ['default-domain', 'ctest-TestBasicPolicy-18918379', 'ctest-policy-allow-all-23838629'] 2025-04-28 15:56:25,722 - INFO - VN ctest-vn-72654578 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:56:25,722 - DEBUG - Verifying the vn in opserver 2025-04-28 15:56:25,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-72654578 virtual network link through opserver 10.0.0.22 2025-04-28 15:56:25,722 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-28 15:56:25,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-72654578', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-72654578?flat'} 2025-04-28 15:56:25,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-72654578 is found in opserver 2025-04-28 15:56:25,741 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:56:25,746 - DEBUG - VRF ids for VN ctest-vn-72654578: {} 2025-04-28 15:56:25,796 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:56:26,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3241-1) 2025-04-28 15:56:27,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3241-1) 2025-04-28 15:56:27,954 - INFO - Waiting for VM ctest-TestBasicPolicy-18918379-46196757 to be up.. 2025-04-28 15:56:28,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:56:33,094 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:56:33,094 - INFO - VM name : ctest-TestBasicPolicy-18918379-46196757 2025-04-28 15:56:33,160 - DEBUG - VM ctest-TestBasicPolicy-18918379-46196757 ID is f3296aaa-d6d6-421a-8ade-56aab9df5210 2025-04-28 15:56:33,176 - DEBUG - VM ctest-TestBasicPolicy-18918379-46196757 launched on Node cn-jenkins-deploy-platform-ansible-os-3241-1 2025-04-28 15:56:33,241 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f3296aaa-d6d6-421a-8ade-56aab9df5210 2025-04-28 15:56:33,248 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/334c82e1-9a75-4dc2-9ccd-d1fc36e1cc2c 2025-04-28 15:56:36,515 - 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 1032ms') 2025-04-28 15:56:36,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18918379-46196757 failed! 2025-04-28 15:56:36,575 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18918379:ctest-vn-48455069 is 218.227.47.129 and allocation pool is NOT set 2025-04-28 15:56:38,640 - 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=3.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.028/2.498/3.968/1.470 ms') 2025-04-28 15:56:38,640 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18918379-46196757 passed 2025-04-28 15:56:38,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:56:38,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18918379-46196757, IP 218.227.47.131, Port 22 2025-04-28 15:56:38,939 - DEBUG - VM ctest-TestBasicPolicy-18918379-46196757 is ready for SSH connections 2025-04-28 15:56:38,939 - INFO - Waiting for VM ctest-TestBasicPolicy-18918379-08724135 to be up.. 2025-04-28 15:56:39,013 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:56:39,013 - INFO - VM name : ctest-TestBasicPolicy-18918379-08724135 2025-04-28 15:56:39,082 - DEBUG - VM ctest-TestBasicPolicy-18918379-08724135 ID is f4432ec9-f760-4d49-8297-62466648fd5e 2025-04-28 15:56:39,082 - DEBUG - VM ctest-TestBasicPolicy-18918379-08724135 launched on Node cn-jenkins-deploy-platform-ansible-os-3241-1 2025-04-28 15:56:39,147 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f4432ec9-f760-4d49-8297-62466648fd5e 2025-04-28 15:56:39,156 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0bccf559-1ff3-4210-b482-26451da1afc0 2025-04-28 15:56:40,389 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.376/1.741/3.106/1.365 ms') 2025-04-28 15:56:40,389 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18918379-08724135 passed 2025-04-28 15:56:40,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:56:40,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18918379-08724135, IP 174.187.210.195, Port 22 2025-04-28 15:56:40,703 - DEBUG - VM ctest-TestBasicPolicy-18918379-08724135 is ready for SSH connections 2025-04-28 15:56:40,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:56:40,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.187.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-28 15:56:40,704 - DEBUG - ping -s 56 -c 3 -W 1 174.187.210.195 2025-04-28 15:56:44,367 - DEBUG - PING 174.187.210.195 (174.187.210.195): 56 data bytes 64 bytes from 174.187.210.195: seq=0 ttl=63 time=3.514 ms 64 bytes from 174.187.210.195: seq=1 ttl=63 time=0.807 ms 64 bytes from 174.187.210.195: seq=2 ttl=63 time=0.747 ms --- 174.187.210.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.689/3.514 ms 2025-04-28 15:56:44,367 - INFO - Ping to IP 174.187.210.195 from VM ctest-TestBasicPolicy-18918379-46196757 passed 2025-04-28 15:56:44,539 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f6de4491-0bbe-43c3-ac98-b0ee05696601", "href": "http://10.0.0.22:8082/network-policy/f6de4491-0bbe-43c3-ac98-b0ee05696601"}} 2025-04-28 15:56:44,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:56:44,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.187.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-28 15:56:44,540 - DEBUG - ping -s 56 -c 3 -W 1 174.187.210.195 2025-04-28 15:56:47,739 - DEBUG - PING 174.187.210.195 (174.187.210.195): 56 data bytes --- 174.187.210.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 15:56:47,739 - WARNING - Ping to IP 174.187.210.195 from VM ctest-TestBasicPolicy-18918379-46196757 failed 2025-04-28 15:56:47,739 - INFO - Deleting VM ctest-TestBasicPolicy-18918379-08724135 2025-04-28 15:56:47,798 - INFO - Deleting VM ctest-TestBasicPolicy-18918379-46196757 2025-04-28 15:56:48,147 - INFO - Deleted policy ctest-policy-allow-all-23838629 2025-04-28 15:56:48,147 - INFO - Deleting VN ctest-vn-72654578 2025-04-28 15:56:48,182 - DEBUG - VN afe91e37-c42e-49c3-913d-828006602c4d still in use: Unable to complete operation on network afe91e37-c42e-49c3-913d-828006602c4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8c40cfb8-6929-4791-a8df-3d0d2addc39e'] 2025-04-28 15:56:48,182 - WARNING - Deleting VN ctest-vn-72654578 failed..Will retry 2025-04-28 15:56:50,268 - DEBUG - Response for deleting network () 2025-04-28 15:56:50,268 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f4f35970-80b8-4514-a3e3-2d31326fc7b3 2025-04-28 15:56:50,273 - DEBUG - Response Code: 404 2025-04-28 15:56:50,273 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:50,281 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4615fbe1-7dcd-4867-8b3a-33c48892a70a 2025-04-28 15:56:50,332 - DEBUG - Requesting: http://10.0.0.22:8082/project/69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:50,397 - INFO - Validated that VN ctest-vn-72654578 is not found in API Server 2025-04-28 15:56:50,407 - DEBUG - VN ctest-vn-72654578 is not present in Agent 10.0.0.22 2025-04-28 15:56:50,407 - INFO - Validated that VN ctest-vn-72654578 is not in any agent 2025-04-28 15:56:50,421 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72654578 info 2025-04-28 15:56:50,421 - INFO - Deleting VN ctest-vn-48455069 2025-04-28 15:56:50,511 - DEBUG - Response for deleting network () 2025-04-28 15:56:50,511 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a58f3a8b-5772-4d36-9f4f-68c5f148f2d2 2025-04-28 15:56:50,516 - DEBUG - Response Code: 404 2025-04-28 15:56:50,516 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-28 15:56:50,523 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4615fbe1-7dcd-4867-8b3a-33c48892a70a 2025-04-28 15:56:50,576 - DEBUG - Requesting: http://10.0.0.22:8082/project/69c9f274-fd7b-45c5-b44f-cdd5becaecc6 2025-04-28 15:56:50,655 - INFO - Validated that VN ctest-vn-48455069 is not found in API Server 2025-04-28 15:56:50,665 - DEBUG - VN ctest-vn-48455069 is not present in Agent 10.0.0.22 2025-04-28 15:56:50,665 - INFO - Validated that VN ctest-vn-48455069 is not in any agent 2025-04-28 15:56:50,679 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48455069 info 2025-04-28 15:56:50,929 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 15:56:50,929 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-04-28 15:56:50,929 - INFO - -------------------------------------------------------------------------------- 2025-04-28 15:56:51,570 - INFO - Deleted project: ctest-TestBasicPolicy-18918379, ID : 69c9f274-fd7b-45c5-b44f-cdd5becaecc6