2025-01-02 14:20:07,482 - INFO - Domain Default found not creating 2025-01-02 14:20:07,631 - INFO - Project ctest-TestBasicPolicy-73771670 not found, creating it 2025-01-02 14:20:08,079 - INFO - Created Project:ctest-TestBasicPolicy-73771670, ID : c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:09,541 - INFO - ================================================================================ 2025-01-02 14:20:09,541 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-02 14:20:09,541 - 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-02 14:20:09,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.26': '0'}} with 2025-01-02 14:20:09,801 - INFO - Initial checks done. Running the testcase now 2025-01-02 14:20:09,801 - INFO - 2025-01-02 14:20:10,380 - DEBUG - Response for create_network : {'network': {'id': '933fd8d5-bde5-473f-81df-870b3b891378', 'name': 'ctest-vn-84561339', 'tenant_id': 'c824707a69b14b08b3f42df7de5f5787', 'project_id': 'c824707a69b14b08b3f42df7de5f5787', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-vn-84561339'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 14:20:10,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d65f47c-08ca-4f60-9072-dc289085ffda', 'name': '', 'tenant_id': 'c824707a69b14b08b3f42df7de5f5787', 'network_id': '933fd8d5-bde5-473f-81df-870b3b891378', 'ip_version': 4, 'cidr': '216.181.78.0/26', 'allocation_pools': [{'start': '216.181.78.2', 'end': '216.181.78.62'}], 'gateway_ip': '216.181.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.181.78.2', 'tags': [], 'project_id': 'c824707a69b14b08b3f42df7de5f5787'}} 2025-01-02 14:20:10,608 - INFO - Created VN ctest-vn-84561339 2025-01-02 14:20:10,663 - DEBUG - VN ctest-vn-84561339 UUID is 933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:10,986 - DEBUG - Response for create_network : {'network': {'id': 'c335ea6b-c00a-413a-bacf-30634a42cb74', 'name': 'ctest-vn-24953566', 'tenant_id': 'c824707a69b14b08b3f42df7de5f5787', 'project_id': 'c824707a69b14b08b3f42df7de5f5787', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-vn-24953566'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 14:20:11,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '7161bdca-8d47-4138-a6fb-9985963ae915', 'name': '', 'tenant_id': 'c824707a69b14b08b3f42df7de5f5787', 'network_id': 'c335ea6b-c00a-413a-bacf-30634a42cb74', 'ip_version': 4, 'cidr': '61.32.208.192/26', 'allocation_pools': [{'start': '61.32.208.194', 'end': '61.32.208.254'}], 'gateway_ip': '61.32.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.32.208.194', 'tags': [], 'project_id': 'c824707a69b14b08b3f42df7de5f5787'}} 2025-01-02 14:20:11,185 - INFO - Created VN ctest-vn-24953566 2025-01-02 14:20:11,239 - DEBUG - VN ctest-vn-24953566 UUID is c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:11,394 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339, 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-73771670:ctest-vn-24953566, 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-02 14:20:11,689 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '933fd8d5-bde5-473f-81df-870b3b891378', 'name': 'ctest-vn-84561339', 'tenant_id': 'c824707a69b14b08b3f42df7de5f5787', 'project_id': 'c824707a69b14b08b3f42df7de5f5787', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d65f47c-08ca-4f60-9072-dc289085ffda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-vn-84561339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-policy-allow-all-32844827']], 'subnet_ipam': [{'subnet_cidr': '216.181.78.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 14:20:11,915 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c335ea6b-c00a-413a-bacf-30634a42cb74', 'name': 'ctest-vn-24953566', 'tenant_id': 'c824707a69b14b08b3f42df7de5f5787', 'project_id': 'c824707a69b14b08b3f42df7de5f5787', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7161bdca-8d47-4138-a6fb-9985963ae915'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-vn-24953566'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-policy-allow-all-32844827']], 'subnet_ipam': [{'subnet_cidr': '61.32.208.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 14:20:12,079 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:12,373 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:12,406 - DEBUG - Requesting: http://10.0.0.40:8082/domain/ac2c3569-fa80-47b5-ba24-17574fdbcf63 2025-01-02 14:20:12,418 - DEBUG - Requesting: http://10.0.0.40:8082/project/c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:12,491 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:12,502 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:12,512 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/e90b40de-565c-4292-bbbd-44bf38e69f3e 2025-01-02 14:20:12,519 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/e90b40de-565c-4292-bbbd-44bf38e69f3e 2025-01-02 14:20:12,525 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/a7fbb7d0-c90f-4bf6-aa8e-7bcfea696caf 2025-01-02 14:20:12,531 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 14:20:12,531 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:12,540 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/e90b40de-565c-4292-bbbd-44bf38e69f3e 2025-01-02 14:20:12,552 - INFO - Verified VN network id 7 for VN 933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:12,552 - INFO - Verifications in API Server for VN ctest-vn-84561339 passed 2025-01-02 14:20:12,552 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:12,562 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/e90b40de-565c-4292-bbbd-44bf38e69f3e 2025-01-02 14:20:12,569 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/e90b40de-565c-4292-bbbd-44bf38e69f3e 2025-01-02 14:20:12,575 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/a7fbb7d0-c90f-4bf6-aa8e-7bcfea696caf 2025-01-02 14:20:12,588 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73771670', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10610437659633731391', 'uuid-lslong': '9358347033012409208'}, 'enable': 'true', 'created': '2025-01-02T14:20:10', 'last-modified': '2025-01-02T14:20:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924311'} 2025-01-02 14:20:12,594 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 14:20:12,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84561339 passed 2025-01-02 14:20:12,595 - DEBUG - ====Verifying policy data for ctest-vn-84561339 in API_Server ====== 2025-01-02 14:20:12,595 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:12,600 - DEBUG - Requesting: http://10.0.0.40:8082/domain/ac2c3569-fa80-47b5-ba24-17574fdbcf63 2025-01-02 14:20:12,612 - DEBUG - Requesting: http://10.0.0.40:8082/project/c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:12,679 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/933fd8d5-bde5-473f-81df-870b3b891378 2025-01-02 14:20:12,689 - DEBUG - ==>Verifying data for policy with id: 78979f9c-4982-415b-aa52-b6767217712c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-policy-allow-all-32844827'] 2025-01-02 14:20:12,689 - INFO - VN ctest-vn-84561339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 14:20:12,689 - DEBUG - Verifying the vn in opserver 2025-01-02 14:20:12,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339 virtual network link through opserver 10.0.0.40 2025-01-02 14:20:12,689 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-02 14:20:12,981 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-02 14:20:13,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339?flat'} 2025-01-02 14:20:13,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339 is found in opserver 2025-01-02 14:20:13,053 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 14:20:13,059 - DEBUG - VRF ids for VN ctest-vn-84561339: {} 2025-01-02 14:20:13,059 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:13,065 - DEBUG - Requesting: http://10.0.0.40:8082/domain/ac2c3569-fa80-47b5-ba24-17574fdbcf63 2025-01-02 14:20:13,077 - DEBUG - Requesting: http://10.0.0.40:8082/project/c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:13,151 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:13,163 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:13,173 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/95123732-b452-42c6-9fba-6c5f180c3c11 2025-01-02 14:20:13,181 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/95123732-b452-42c6-9fba-6c5f180c3c11 2025-01-02 14:20:13,189 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/1df58abe-1296-4e19-874c-970de23e7737 2025-01-02 14:20:13,197 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 14:20:13,197 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:13,208 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/95123732-b452-42c6-9fba-6c5f180c3c11 2025-01-02 14:20:13,224 - INFO - Verified VN network id 8 for VN c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:13,224 - INFO - Verifications in API Server for VN ctest-vn-24953566 passed 2025-01-02 14:20:13,224 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:13,235 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/95123732-b452-42c6-9fba-6c5f180c3c11 2025-01-02 14:20:13,244 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/95123732-b452-42c6-9fba-6c5f180c3c11 2025-01-02 14:20:13,252 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/1df58abe-1296-4e19-874c-970de23e7737 2025-01-02 14:20:13,265 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-24953566', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73771670', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14066406759665910074', 'uuid-lslong': '13461031014239488884'}, 'enable': 'true', 'created': '2025-01-02T14:20:10', 'last-modified': '2025-01-02T14:20:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374374'} 2025-01-02 14:20:13,272 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 14:20:13,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24953566 passed 2025-01-02 14:20:13,272 - DEBUG - ====Verifying policy data for ctest-vn-24953566 in API_Server ====== 2025-01-02 14:20:13,272 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:13,278 - DEBUG - Requesting: http://10.0.0.40:8082/domain/ac2c3569-fa80-47b5-ba24-17574fdbcf63 2025-01-02 14:20:13,289 - DEBUG - Requesting: http://10.0.0.40:8082/project/c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:13,364 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/c335ea6b-c00a-413a-bacf-30634a42cb74 2025-01-02 14:20:13,374 - DEBUG - ==>Verifying data for policy with id: 78979f9c-4982-415b-aa52-b6767217712c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73771670', 'ctest-policy-allow-all-32844827'] 2025-01-02 14:20:13,374 - INFO - VN ctest-vn-24953566 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 14:20:13,374 - DEBUG - Verifying the vn in opserver 2025-01-02 14:20:13,374 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-24953566 virtual network link through opserver 10.0.0.40 2025-01-02 14:20:13,374 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-02 14:20:13,385 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-24953566', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-24953566?flat'} 2025-01-02 14:20:13,385 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-24953566 is found in opserver 2025-01-02 14:20:13,396 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 14:20:13,402 - DEBUG - VRF ids for VN ctest-vn-24953566: {} 2025-01-02 14:20:13,455 - DEBUG - Services list from nova: [, , ] 2025-01-02 14:20:14,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2511-1) 2025-01-02 14:20:15,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2511-1) 2025-01-02 14:20:15,680 - INFO - Waiting for VM ctest-TestBasicPolicy-73771670-39458648 to be up.. 2025-01-02 14:20:15,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 14:20:20,862 - DEBUG - VM is in ACTIVE state now 2025-01-02 14:20:20,862 - INFO - VM name : ctest-TestBasicPolicy-73771670-39458648 2025-01-02 14:20:20,971 - DEBUG - VM ctest-TestBasicPolicy-73771670-39458648 ID is 039463cc-a933-4cec-bec9-e66a2dba5f20 2025-01-02 14:20:21,004 - DEBUG - VM ctest-TestBasicPolicy-73771670-39458648 launched on Node cn-jenkins-deploy-platform-ansible-os-2511-1 2025-01-02 14:20:21,097 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/039463cc-a933-4cec-bec9-e66a2dba5f20 2025-01-02 14:20:21,107 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/58b47b09-7463-448d-9560-e1fa8e98cf60 2025-01-02 14:20:24,367 - 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 1004ms') 2025-01-02 14:20:24,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73771670-39458648 failed! 2025-01-02 14:20:24,427 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73771670:ctest-vn-84561339 is 216.181.78.1 and allocation pool is NOT set 2025-01-02 14:20:26,490 - 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=6.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.56 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.560/4.337/6.115/1.777 ms') 2025-01-02 14:20:26,490 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73771670-39458648 passed 2025-01-02 14:20:26,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:20:26,639 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73771670-39458648, IP 216.181.78.3, Port 22 2025-01-02 14:20:26,794 - DEBUG - VM ctest-TestBasicPolicy-73771670-39458648 is ready for SSH connections 2025-01-02 14:20:26,795 - INFO - Waiting for VM ctest-TestBasicPolicy-73771670-83030960 to be up.. 2025-01-02 14:20:26,876 - DEBUG - VM is in ACTIVE state now 2025-01-02 14:20:26,876 - INFO - VM name : ctest-TestBasicPolicy-73771670-83030960 2025-01-02 14:20:26,951 - DEBUG - VM ctest-TestBasicPolicy-73771670-83030960 ID is b08d9db2-c520-429e-ad16-87ec15d40596 2025-01-02 14:20:26,951 - DEBUG - VM ctest-TestBasicPolicy-73771670-83030960 launched on Node cn-jenkins-deploy-platform-ansible-os-2511-1 2025-01-02 14:20:27,041 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/b08d9db2-c520-429e-ad16-87ec15d40596 2025-01-02 14:20:27,049 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/7abae43e-177c-4ac5-a914-b9bcfb1c01c0 2025-01-02 14:20:28,300 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.830 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.830/2.378/3.927/1.548 ms') 2025-01-02 14:20:28,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73771670-83030960 passed 2025-01-02 14:20:28,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:20:28,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73771670-83030960, IP 61.32.208.195, Port 22 2025-01-02 14:20:28,614 - DEBUG - VM ctest-TestBasicPolicy-73771670-83030960 is ready for SSH connections 2025-01-02 14:20:28,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:20:28,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.32.208.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-02 14:20:28,615 - DEBUG - ping -s 56 -c 3 -W 1 61.32.208.195 2025-01-02 14:20:32,607 - DEBUG - PING 61.32.208.195 (61.32.208.195): 56 data bytes 64 bytes from 61.32.208.195: seq=0 ttl=63 time=3.448 ms 64 bytes from 61.32.208.195: seq=1 ttl=63 time=0.975 ms 64 bytes from 61.32.208.195: seq=2 ttl=63 time=0.862 ms --- 61.32.208.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.761/3.448 ms 2025-01-02 14:20:32,607 - INFO - Ping to IP 61.32.208.195 from VM ctest-TestBasicPolicy-73771670-39458648 passed 2025-01-02 14:20:32,794 - DEBUG - Policy Update Response {"network-policy": {"uuid": "78979f9c-4982-415b-aa52-b6767217712c", "href": "http://10.0.0.40:8082/network-policy/78979f9c-4982-415b-aa52-b6767217712c"}} 2025-01-02 14:20:32,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:20:32,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.32.208.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-02 14:20:32,795 - DEBUG - ping -s 56 -c 3 -W 1 61.32.208.195 2025-01-02 14:20:36,005 - DEBUG - PING 61.32.208.195 (61.32.208.195): 56 data bytes 64 bytes from 61.32.208.195: seq=0 ttl=63 time=1.451 ms --- 61.32.208.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.451/1.451/1.451 ms 2025-01-02 14:20:36,005 - WARNING - Ping to IP 61.32.208.195 from VM ctest-TestBasicPolicy-73771670-39458648 failed 2025-01-02 14:20:36,005 - INFO - Deleting VM ctest-TestBasicPolicy-73771670-83030960 2025-01-02 14:20:36,066 - INFO - Deleting VM ctest-TestBasicPolicy-73771670-39458648 2025-01-02 14:20:36,442 - INFO - Deleted policy ctest-policy-allow-all-32844827 2025-01-02 14:20:36,442 - INFO - Deleting VN ctest-vn-24953566 2025-01-02 14:20:36,475 - DEBUG - VN c335ea6b-c00a-413a-bacf-30634a42cb74 still in use: Unable to complete operation on network c335ea6b-c00a-413a-bacf-30634a42cb74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-187604ea-2263-47e6-9b40-4880bffe23ff'] 2025-01-02 14:20:36,475 - WARNING - Deleting VN ctest-vn-24953566 failed..Will retry 2025-01-02 14:20:38,581 - DEBUG - Response for deleting network () 2025-01-02 14:20:38,582 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/95123732-b452-42c6-9fba-6c5f180c3c11 2025-01-02 14:20:38,587 - DEBUG - Response Code: 404 2025-01-02 14:20:38,587 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:38,593 - DEBUG - Requesting: http://10.0.0.40:8082/domain/ac2c3569-fa80-47b5-ba24-17574fdbcf63 2025-01-02 14:20:38,649 - DEBUG - Requesting: http://10.0.0.40:8082/project/c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:38,724 - INFO - Validated that VN ctest-vn-24953566 is not found in API Server 2025-01-02 14:20:38,735 - DEBUG - VN ctest-vn-24953566 is not present in Agent 10.0.0.40 2025-01-02 14:20:38,736 - INFO - Validated that VN ctest-vn-24953566 is not in any agent 2025-01-02 14:20:38,750 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24953566 info 2025-01-02 14:20:38,750 - INFO - Deleting VN ctest-vn-84561339 2025-01-02 14:20:38,848 - DEBUG - Response for deleting network () 2025-01-02 14:20:38,848 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/e90b40de-565c-4292-bbbd-44bf38e69f3e 2025-01-02 14:20:38,853 - DEBUG - Response Code: 404 2025-01-02 14:20:38,853 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-02 14:20:38,862 - DEBUG - Requesting: http://10.0.0.40:8082/domain/ac2c3569-fa80-47b5-ba24-17574fdbcf63 2025-01-02 14:20:38,916 - DEBUG - Requesting: http://10.0.0.40:8082/project/c824707a-69b1-4b08-b3f4-2df7de5f5787 2025-01-02 14:20:38,992 - INFO - Validated that VN ctest-vn-84561339 is not found in API Server 2025-01-02 14:20:39,002 - DEBUG - VN ctest-vn-84561339 is not present in Agent 10.0.0.40 2025-01-02 14:20:39,002 - INFO - Validated that VN ctest-vn-84561339 is not in any agent 2025-01-02 14:20:39,017 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84561339 info 2025-01-02 14:20:39,276 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 14:20:39,276 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-02 14:20:39,276 - INFO - -------------------------------------------------------------------------------- 2025-01-02 14:20:39,969 - INFO - Deleted project: ctest-TestBasicPolicy-73771670, ID : c824707a-69b1-4b08-b3f4-2df7de5f5787