2025-02-10 02:26:40,986 - INFO - Domain Default found not creating 2025-02-10 02:26:41,124 - INFO - Project ctest-TestBasicPolicy-32668640 not found, creating it 2025-02-10 02:26:41,585 - INFO - Created Project:ctest-TestBasicPolicy-32668640, ID : 58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:26:43,118 - INFO - ================================================================================ 2025-02-10 02:26:43,118 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-10 02:26:43,118 - 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-02-10 02:26:43,378 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-02-10 02:26:43,378 - INFO - Initial checks done. Running the testcase now 2025-02-10 02:26:43,378 - INFO - 2025-02-10 02:26:43,958 - DEBUG - Response for create_network : {'network': {'id': 'a1821e2f-8ddb-4e11-8f0b-b6333a681b5c', 'name': 'ctest-vn-36112225', 'tenant_id': '58a07ddfa4944c03b4608206a91a9a39', 'project_id': '58a07ddfa4944c03b4608206a91a9a39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-vn-36112225'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:26:44,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '62d26431-a79a-4e75-a6df-af8d01494622', 'name': '', 'tenant_id': '58a07ddfa4944c03b4608206a91a9a39', 'network_id': 'a1821e2f-8ddb-4e11-8f0b-b6333a681b5c', 'ip_version': 4, 'cidr': '223.169.86.128/26', 'allocation_pools': [{'start': '223.169.86.130', 'end': '223.169.86.190'}], 'gateway_ip': '223.169.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.169.86.130', 'tags': [], 'project_id': '58a07ddfa4944c03b4608206a91a9a39'}} 2025-02-10 02:26:44,188 - INFO - Created VN ctest-vn-36112225 2025-02-10 02:26:44,239 - DEBUG - VN ctest-vn-36112225 UUID is a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:44,539 - DEBUG - Response for create_network : {'network': {'id': '52bab1c4-fa37-43b1-8b3e-d784170311c2', 'name': 'ctest-vn-51661415', 'tenant_id': '58a07ddfa4944c03b4608206a91a9a39', 'project_id': '58a07ddfa4944c03b4608206a91a9a39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-vn-51661415'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:26:44,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bbde468-61c5-4f2b-b216-a4cec8441383', 'name': '', 'tenant_id': '58a07ddfa4944c03b4608206a91a9a39', 'network_id': '52bab1c4-fa37-43b1-8b3e-d784170311c2', 'ip_version': 4, 'cidr': '61.188.195.0/26', 'allocation_pools': [{'start': '61.188.195.2', 'end': '61.188.195.62'}], 'gateway_ip': '61.188.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.188.195.2', 'tags': [], 'project_id': '58a07ddfa4944c03b4608206a91a9a39'}} 2025-02-10 02:26:44,722 - INFO - Created VN ctest-vn-51661415 2025-02-10 02:26:44,780 - DEBUG - VN ctest-vn-51661415 UUID is 52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:44,902 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225, 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-32668640:ctest-vn-51661415, 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-02-10 02:26:45,195 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1821e2f-8ddb-4e11-8f0b-b6333a681b5c', 'name': 'ctest-vn-36112225', 'tenant_id': '58a07ddfa4944c03b4608206a91a9a39', 'project_id': '58a07ddfa4944c03b4608206a91a9a39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62d26431-a79a-4e75-a6df-af8d01494622'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-vn-36112225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-policy-allow-all-97021359']], 'subnet_ipam': [{'subnet_cidr': '223.169.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:26:45,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52bab1c4-fa37-43b1-8b3e-d784170311c2', 'name': 'ctest-vn-51661415', 'tenant_id': '58a07ddfa4944c03b4608206a91a9a39', 'project_id': '58a07ddfa4944c03b4608206a91a9a39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bbde468-61c5-4f2b-b216-a4cec8441383'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-vn-51661415'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-policy-allow-all-97021359']], 'subnet_ipam': [{'subnet_cidr': '61.188.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:26:45,611 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:26:45,950 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:26:45,978 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b7676ca7-c8fe-47f8-aecb-eb2bcb61585d 2025-02-10 02:26:45,992 - DEBUG - Requesting: http://10.0.0.41:8082/project/58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:26:46,069 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:46,081 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:46,091 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/33dd5e92-957b-4bd3-9ef0-88d41df0fe67 2025-02-10 02:26:46,099 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/33dd5e92-957b-4bd3-9ef0-88d41df0fe67 2025-02-10 02:26:46,106 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8de8e90b-7e02-41cc-8d5d-04ab4b1b63a6 2025-02-10 02:26:46,112 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 02:26:46,112 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:46,121 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/33dd5e92-957b-4bd3-9ef0-88d41df0fe67 2025-02-10 02:26:46,136 - INFO - Verified VN network id 8 for VN a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:46,136 - INFO - Verifications in API Server for VN ctest-vn-36112225 passed 2025-02-10 02:26:46,136 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:46,146 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/33dd5e92-957b-4bd3-9ef0-88d41df0fe67 2025-02-10 02:26:46,152 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/33dd5e92-957b-4bd3-9ef0-88d41df0fe67 2025-02-10 02:26:46,159 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8de8e90b-7e02-41cc-8d5d-04ab4b1b63a6 2025-02-10 02:26:46,171 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32668640', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11637897576671038993', 'uuid-lslong': '10307532503307000668'}, 'enable': 'true', 'created': '2025-02-10T02:26:43', 'last-modified': '2025-02-10T02:26:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995684'} 2025-02-10 02:26:46,177 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 02:26:46,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36112225 passed 2025-02-10 02:26:46,178 - DEBUG - ====Verifying policy data for ctest-vn-36112225 in API_Server ====== 2025-02-10 02:26:46,178 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:26:46,183 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b7676ca7-c8fe-47f8-aecb-eb2bcb61585d 2025-02-10 02:26:46,195 - DEBUG - Requesting: http://10.0.0.41:8082/project/58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:26:46,268 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a1821e2f-8ddb-4e11-8f0b-b6333a681b5c 2025-02-10 02:26:46,279 - DEBUG - ==>Verifying data for policy with id: ff407a45-45d4-447b-8abb-fdd8f49c6365, fqn: ['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-policy-allow-all-97021359'] 2025-02-10 02:26:46,279 - INFO - VN ctest-vn-36112225 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 02:26:46,279 - DEBUG - Verifying the vn in opserver 2025-02-10 02:26:46,279 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225 virtual network link through opserver 10.0.0.41 2025-02-10 02:26:46,279 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-02-10 02:26:46,610 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-02-10 02:26:46,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225?flat'} 2025-02-10 02:26:46,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225 is found in opserver 2025-02-10 02:26:46,680 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 02:26:46,685 - DEBUG - VRF ids for VN ctest-vn-36112225: {} 2025-02-10 02:26:46,685 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:26:46,691 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b7676ca7-c8fe-47f8-aecb-eb2bcb61585d 2025-02-10 02:26:46,704 - DEBUG - Requesting: http://10.0.0.41:8082/project/58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:26:46,775 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:46,787 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:46,797 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42f2f856-40f3-47e4-8ba0-b2a8d2595753 2025-02-10 02:26:46,804 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42f2f856-40f3-47e4-8ba0-b2a8d2595753 2025-02-10 02:26:46,810 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/bfcd22b6-be9a-4b65-87fb-0522ab8b6370 2025-02-10 02:26:46,817 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 02:26:46,817 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:46,826 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42f2f856-40f3-47e4-8ba0-b2a8d2595753 2025-02-10 02:26:46,855 - INFO - Verified VN network id 9 for VN 52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:46,855 - INFO - Verifications in API Server for VN ctest-vn-51661415 passed 2025-02-10 02:26:46,855 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:46,865 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42f2f856-40f3-47e4-8ba0-b2a8d2595753 2025-02-10 02:26:46,873 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42f2f856-40f3-47e4-8ba0-b2a8d2595753 2025-02-10 02:26:46,880 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/bfcd22b6-be9a-4b65-87fb-0522ab8b6370 2025-02-10 02:26:46,893 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-51661415', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32668640', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5961272516347904945', 'uuid-lslong': '10033693982149775810'}, 'enable': 'true', 'created': '2025-02-10T02:26:44', 'last-modified': '2025-02-10T02:26:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480193'} 2025-02-10 02:26:46,900 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 02:26:46,900 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51661415 passed 2025-02-10 02:26:46,900 - DEBUG - ====Verifying policy data for ctest-vn-51661415 in API_Server ====== 2025-02-10 02:26:46,900 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:26:46,905 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b7676ca7-c8fe-47f8-aecb-eb2bcb61585d 2025-02-10 02:26:46,917 - DEBUG - Requesting: http://10.0.0.41:8082/project/58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:26:46,989 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/52bab1c4-fa37-43b1-8b3e-d784170311c2 2025-02-10 02:26:46,999 - DEBUG - ==>Verifying data for policy with id: ff407a45-45d4-447b-8abb-fdd8f49c6365, fqn: ['default-domain', 'ctest-TestBasicPolicy-32668640', 'ctest-policy-allow-all-97021359'] 2025-02-10 02:26:46,999 - INFO - VN ctest-vn-51661415 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 02:26:46,999 - DEBUG - Verifying the vn in opserver 2025-02-10 02:26:46,999 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-51661415 virtual network link through opserver 10.0.0.41 2025-02-10 02:26:46,999 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-02-10 02:26:47,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-51661415', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-51661415?flat'} 2025-02-10 02:26:47,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-51661415 is found in opserver 2025-02-10 02:26:47,021 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 02:26:47,027 - DEBUG - VRF ids for VN ctest-vn-51661415: {} 2025-02-10 02:26:47,082 - DEBUG - Services list from nova: [, , ] 2025-02-10 02:26:48,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2708-1) 2025-02-10 02:26:49,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2708-1) 2025-02-10 02:26:49,538 - INFO - Waiting for VM ctest-TestBasicPolicy-32668640-43222937 to be up.. 2025-02-10 02:26:49,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 02:26:54,709 - DEBUG - VM is in ACTIVE state now 2025-02-10 02:26:54,709 - INFO - VM name : ctest-TestBasicPolicy-32668640-43222937 2025-02-10 02:26:54,785 - DEBUG - VM ctest-TestBasicPolicy-32668640-43222937 ID is 812def9c-a6e0-4703-934c-8db5f8a2fad8 2025-02-10 02:26:54,804 - DEBUG - VM ctest-TestBasicPolicy-32668640-43222937 launched on Node cn-jenkins-deploy-platform-ansible-os-2708-1 2025-02-10 02:26:54,878 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/812def9c-a6e0-4703-934c-8db5f8a2fad8 2025-02-10 02:26:54,886 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a66bbe25-7612-4f8c-8f6d-e55423ef02c2 2025-02-10 02:26:58,128 - 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-02-10 02:26:58,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32668640-43222937 failed! 2025-02-10 02:26:58,188 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32668640:ctest-vn-36112225 is 223.169.86.129 and allocation pool is NOT set 2025-02-10 02:27:00,249 - 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=12.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.496/6.508/12.521/6.012 ms') 2025-02-10 02:27:00,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32668640-43222937 passed 2025-02-10 02:27:00,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:27:00,404 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32668640-43222937, IP 223.169.86.131, Port 22 2025-02-10 02:27:00,566 - DEBUG - VM ctest-TestBasicPolicy-32668640-43222937 is ready for SSH connections 2025-02-10 02:27:00,566 - INFO - Waiting for VM ctest-TestBasicPolicy-32668640-50082868 to be up.. 2025-02-10 02:27:00,661 - DEBUG - VM is in ACTIVE state now 2025-02-10 02:27:00,661 - INFO - VM name : ctest-TestBasicPolicy-32668640-50082868 2025-02-10 02:27:00,752 - DEBUG - VM ctest-TestBasicPolicy-32668640-50082868 ID is 2fd6e78b-95dc-46ac-9839-38ed64a27aeb 2025-02-10 02:27:00,752 - DEBUG - VM ctest-TestBasicPolicy-32668640-50082868 launched on Node cn-jenkins-deploy-platform-ansible-os-2708-1 2025-02-10 02:27:00,831 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2fd6e78b-95dc-46ac-9839-38ed64a27aeb 2025-02-10 02:27:00,840 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e52cf1af-7309-470f-b3df-0c8d5a05668e 2025-02-10 02:27:02,086 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.626 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.626/1.721/2.816/1.095 ms') 2025-02-10 02:27:02,086 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32668640-50082868 passed 2025-02-10 02:27:02,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:27:02,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32668640-50082868, IP 61.188.195.3, Port 22 2025-02-10 02:27:02,403 - DEBUG - VM ctest-TestBasicPolicy-32668640-50082868 is ready for SSH connections 2025-02-10 02:27:02,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:27:02,403 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.188.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-02-10 02:27:02,403 - DEBUG - ping -s 56 -c 3 -W 1 61.188.195.3 2025-02-10 02:27:06,473 - DEBUG - PING 61.188.195.3 (61.188.195.3): 56 data bytes 64 bytes from 61.188.195.3: seq=0 ttl=63 time=3.897 ms 64 bytes from 61.188.195.3: seq=1 ttl=63 time=0.816 ms 64 bytes from 61.188.195.3: seq=2 ttl=63 time=0.864 ms --- 61.188.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.859/3.897 ms 2025-02-10 02:27:06,474 - INFO - Ping to IP 61.188.195.3 from VM ctest-TestBasicPolicy-32668640-43222937 passed 2025-02-10 02:27:06,659 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ff407a45-45d4-447b-8abb-fdd8f49c6365", "href": "http://10.0.0.41:8082/network-policy/ff407a45-45d4-447b-8abb-fdd8f49c6365"}} 2025-02-10 02:27:06,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:27:06,660 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.188.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-02-10 02:27:06,660 - DEBUG - ping -s 56 -c 3 -W 1 61.188.195.3 2025-02-10 02:27:09,899 - DEBUG - PING 61.188.195.3 (61.188.195.3): 56 data bytes 64 bytes from 61.188.195.3: seq=0 ttl=63 time=1.525 ms --- 61.188.195.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.525/1.525/1.525 ms 2025-02-10 02:27:09,899 - WARNING - Ping to IP 61.188.195.3 from VM ctest-TestBasicPolicy-32668640-43222937 failed 2025-02-10 02:27:09,899 - INFO - Deleting VM ctest-TestBasicPolicy-32668640-50082868 2025-02-10 02:27:09,966 - INFO - Deleting VM ctest-TestBasicPolicy-32668640-43222937 2025-02-10 02:27:10,390 - INFO - Deleted policy ctest-policy-allow-all-97021359 2025-02-10 02:27:10,390 - INFO - Deleting VN ctest-vn-51661415 2025-02-10 02:27:10,436 - DEBUG - VN 52bab1c4-fa37-43b1-8b3e-d784170311c2 still in use: Unable to complete operation on network 52bab1c4-fa37-43b1-8b3e-d784170311c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fa53223-9c35-4e37-8259-77b2fb3a4c4d'] 2025-02-10 02:27:10,436 - WARNING - Deleting VN ctest-vn-51661415 failed..Will retry 2025-02-10 02:27:12,544 - DEBUG - Response for deleting network () 2025-02-10 02:27:12,544 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42f2f856-40f3-47e4-8ba0-b2a8d2595753 2025-02-10 02:27:12,553 - DEBUG - Response Code: 404 2025-02-10 02:27:12,553 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:27:12,559 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b7676ca7-c8fe-47f8-aecb-eb2bcb61585d 2025-02-10 02:27:12,614 - DEBUG - Requesting: http://10.0.0.41:8082/project/58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:27:12,692 - INFO - Validated that VN ctest-vn-51661415 is not found in API Server 2025-02-10 02:27:12,709 - DEBUG - VN ctest-vn-51661415 is not present in Agent 10.0.0.41 2025-02-10 02:27:12,709 - INFO - Validated that VN ctest-vn-51661415 is not in any agent 2025-02-10 02:27:12,725 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51661415 info 2025-02-10 02:27:12,725 - INFO - Deleting VN ctest-vn-36112225 2025-02-10 02:27:12,835 - DEBUG - Response for deleting network () 2025-02-10 02:27:12,835 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/33dd5e92-957b-4bd3-9ef0-88d41df0fe67 2025-02-10 02:27:12,843 - DEBUG - Response Code: 404 2025-02-10 02:27:12,843 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 02:27:12,849 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b7676ca7-c8fe-47f8-aecb-eb2bcb61585d 2025-02-10 02:27:12,905 - DEBUG - Requesting: http://10.0.0.41:8082/project/58a07ddf-a494-4c03-b460-8206a91a9a39 2025-02-10 02:27:12,983 - INFO - Validated that VN ctest-vn-36112225 is not found in API Server 2025-02-10 02:27:12,995 - DEBUG - VN ctest-vn-36112225 is not present in Agent 10.0.0.41 2025-02-10 02:27:12,995 - INFO - Validated that VN ctest-vn-36112225 is not in any agent 2025-02-10 02:27:13,011 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36112225 info 2025-02-10 02:27:13,266 - DEBUG - No XMPP flaps were noticed during the test 2025-02-10 02:27:13,266 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-10 02:27:13,266 - INFO - -------------------------------------------------------------------------------- 2025-02-10 02:27:13,987 - INFO - Deleted project: ctest-TestBasicPolicy-32668640, ID : 58a07ddf-a494-4c03-b460-8206a91a9a39