2024-09-12 12:29:06,396 - INFO - Domain Default found not creating 2024-09-12 12:29:06,550 - INFO - Project ctest-TestBasicPolicy-01690900 not found, creating it 2024-09-12 12:29:07,034 - INFO - Created Project:ctest-TestBasicPolicy-01690900, ID : b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:08,524 - INFO - ================================================================================ 2024-09-12 12:29:08,525 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-12 12:29:08,525 - 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 2024-09-12 12:29:08,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.12': '0'}} with 2024-09-12 12:29:08,780 - INFO - Initial checks done. Running the testcase now 2024-09-12 12:29:08,780 - INFO - 2024-09-12 12:29:09,341 - DEBUG - Response for create_network : {'network': {'id': '257a113f-aca7-4a96-a33d-be1138289d12', 'name': 'ctest-vn-07287374', 'tenant_id': 'b366041e7a7549fc840a1b4290606a80', 'project_id': 'b366041e7a7549fc840a1b4290606a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-vn-07287374'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:29:09,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '761a2450-fdc2-4d98-828c-b336860ede8c', 'name': '', 'tenant_id': 'b366041e7a7549fc840a1b4290606a80', 'network_id': '257a113f-aca7-4a96-a33d-be1138289d12', 'ip_version': 4, 'cidr': '64.78.93.192/26', 'allocation_pools': [{'start': '64.78.93.194', 'end': '64.78.93.254'}], 'gateway_ip': '64.78.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.78.93.194', 'tags': [], 'project_id': 'b366041e7a7549fc840a1b4290606a80'}} 2024-09-12 12:29:09,577 - INFO - Created VN ctest-vn-07287374 2024-09-12 12:29:09,637 - DEBUG - VN ctest-vn-07287374 UUID is 257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:09,951 - DEBUG - Response for create_network : {'network': {'id': 'd1f2af19-28cd-4513-aa03-847d4cf69ed9', 'name': 'ctest-vn-17348856', 'tenant_id': 'b366041e7a7549fc840a1b4290606a80', 'project_id': 'b366041e7a7549fc840a1b4290606a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-vn-17348856'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:29:10,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ed3892b-5560-4c7b-9125-57261e7e9ae9', 'name': '', 'tenant_id': 'b366041e7a7549fc840a1b4290606a80', 'network_id': 'd1f2af19-28cd-4513-aa03-847d4cf69ed9', 'ip_version': 4, 'cidr': '106.159.25.64/26', 'allocation_pools': [{'start': '106.159.25.66', 'end': '106.159.25.126'}], 'gateway_ip': '106.159.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.159.25.66', 'tags': [], 'project_id': 'b366041e7a7549fc840a1b4290606a80'}} 2024-09-12 12:29:10,176 - INFO - Created VN ctest-vn-17348856 2024-09-12 12:29:10,249 - DEBUG - VN ctest-vn-17348856 UUID is d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:10,370 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374, 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-01690900:ctest-vn-17348856, 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] 2024-09-12 12:29:10,678 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '257a113f-aca7-4a96-a33d-be1138289d12', 'name': 'ctest-vn-07287374', 'tenant_id': 'b366041e7a7549fc840a1b4290606a80', 'project_id': 'b366041e7a7549fc840a1b4290606a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['761a2450-fdc2-4d98-828c-b336860ede8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-vn-07287374'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-policy-allow-all-76913363']], 'subnet_ipam': [{'subnet_cidr': '64.78.93.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:29:10,916 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1f2af19-28cd-4513-aa03-847d4cf69ed9', 'name': 'ctest-vn-17348856', 'tenant_id': 'b366041e7a7549fc840a1b4290606a80', 'project_id': 'b366041e7a7549fc840a1b4290606a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ed3892b-5560-4c7b-9125-57261e7e9ae9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-vn-17348856'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-policy-allow-all-76913363']], 'subnet_ipam': [{'subnet_cidr': '106.159.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:29:11,097 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:11,399 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:11,430 - DEBUG - Requesting: http://10.0.0.29:8082/domain/331898b0-da1e-429d-bb82-0d8576516e87 2024-09-12 12:29:11,444 - DEBUG - Requesting: http://10.0.0.29:8082/project/b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:11,523 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:11,540 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:11,555 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/39338e48-3fec-49b5-96fb-61a6667dfe5b 2024-09-12 12:29:11,564 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/39338e48-3fec-49b5-96fb-61a6667dfe5b 2024-09-12 12:29:11,573 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/c7830e35-f499-4fce-bf0f-cca90e8f454f 2024-09-12 12:29:11,582 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 12:29:11,582 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:11,596 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/39338e48-3fec-49b5-96fb-61a6667dfe5b 2024-09-12 12:29:11,618 - INFO - Verified VN network id 8 for VN 257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:11,618 - INFO - Verifications in API Server for VN ctest-vn-07287374 passed 2024-09-12 12:29:11,618 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:11,633 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/39338e48-3fec-49b5-96fb-61a6667dfe5b 2024-09-12 12:29:11,643 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/39338e48-3fec-49b5-96fb-61a6667dfe5b 2024-09-12 12:29:11,652 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/c7830e35-f499-4fce-bf0f-cca90e8f454f 2024-09-12 12:29:11,667 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01690900', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2700489891739290262', 'uuid-lslong': '11762766782927510802'}, 'enable': 'true', 'created': '2024-09-12T12:29:09', 'last-modified': '2024-09-12T12:29:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012129'} 2024-09-12 12:29:11,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 12:29:11,675 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07287374 passed 2024-09-12 12:29:11,675 - DEBUG - ====Verifying policy data for ctest-vn-07287374 in API_Server ====== 2024-09-12 12:29:11,675 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:11,681 - DEBUG - Requesting: http://10.0.0.29:8082/domain/331898b0-da1e-429d-bb82-0d8576516e87 2024-09-12 12:29:11,694 - DEBUG - Requesting: http://10.0.0.29:8082/project/b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:11,773 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/257a113f-aca7-4a96-a33d-be1138289d12 2024-09-12 12:29:11,787 - DEBUG - ==>Verifying data for policy with id: 336b1972-cc06-4131-b83c-34c44f0b9f74, fqn: ['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-policy-allow-all-76913363'] 2024-09-12 12:29:11,787 - INFO - VN ctest-vn-07287374 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 12:29:11,787 - DEBUG - Verifying the vn in opserver 2024-09-12 12:29:11,787 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374 virtual network link through opserver 10.0.0.29 2024-09-12 12:29:11,787 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-12 12:29:12,078 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-12 12:29:12,136 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374?flat'} 2024-09-12 12:29:12,136 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374 is found in opserver 2024-09-12 12:29:12,147 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 12:29:12,152 - DEBUG - VRF ids for VN ctest-vn-07287374: {} 2024-09-12 12:29:12,152 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:12,158 - DEBUG - Requesting: http://10.0.0.29:8082/domain/331898b0-da1e-429d-bb82-0d8576516e87 2024-09-12 12:29:12,172 - DEBUG - Requesting: http://10.0.0.29:8082/project/b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:12,255 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:12,272 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:12,285 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a676365-adb7-4385-a1e6-f771edbb6abf 2024-09-12 12:29:12,294 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a676365-adb7-4385-a1e6-f771edbb6abf 2024-09-12 12:29:12,304 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/8e62a853-5f37-4d62-9d76-5e2fd55838ea 2024-09-12 12:29:12,314 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 12:29:12,314 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:12,331 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a676365-adb7-4385-a1e6-f771edbb6abf 2024-09-12 12:29:12,357 - INFO - Verified VN network id 9 for VN d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:12,357 - INFO - Verifications in API Server for VN ctest-vn-17348856 passed 2024-09-12 12:29:12,358 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:12,382 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a676365-adb7-4385-a1e6-f771edbb6abf 2024-09-12 12:29:12,391 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a676365-adb7-4385-a1e6-f771edbb6abf 2024-09-12 12:29:12,400 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/8e62a853-5f37-4d62-9d76-5e2fd55838ea 2024-09-12 12:29:12,415 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-17348856', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01690900', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15128346620884501779', 'uuid-lslong': '12250781085074890457'}, 'enable': 'true', 'created': '2024-09-12T12:29:09', 'last-modified': '2024-09-12T12:29:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518816'} 2024-09-12 12:29:12,421 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 12:29:12,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17348856 passed 2024-09-12 12:29:12,421 - DEBUG - ====Verifying policy data for ctest-vn-17348856 in API_Server ====== 2024-09-12 12:29:12,421 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:12,427 - DEBUG - Requesting: http://10.0.0.29:8082/domain/331898b0-da1e-429d-bb82-0d8576516e87 2024-09-12 12:29:12,440 - DEBUG - Requesting: http://10.0.0.29:8082/project/b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:12,522 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/d1f2af19-28cd-4513-aa03-847d4cf69ed9 2024-09-12 12:29:12,540 - DEBUG - ==>Verifying data for policy with id: 336b1972-cc06-4131-b83c-34c44f0b9f74, fqn: ['default-domain', 'ctest-TestBasicPolicy-01690900', 'ctest-policy-allow-all-76913363'] 2024-09-12 12:29:12,540 - INFO - VN ctest-vn-17348856 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 12:29:12,540 - DEBUG - Verifying the vn in opserver 2024-09-12 12:29:12,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-17348856 virtual network link through opserver 10.0.0.29 2024-09-12 12:29:12,540 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-12 12:29:12,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-17348856', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-17348856?flat'} 2024-09-12 12:29:12,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-17348856 is found in opserver 2024-09-12 12:29:12,564 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 12:29:12,569 - DEBUG - VRF ids for VN ctest-vn-17348856: {} 2024-09-12 12:29:12,624 - DEBUG - Services list from nova: [, , ] 2024-09-12 12:29:13,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1907-1) 2024-09-12 12:29:14,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1907-1) 2024-09-12 12:29:14,942 - INFO - Waiting for VM ctest-TestBasicPolicy-01690900-38026797 to be up.. 2024-09-12 12:29:15,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 12:29:20,098 - DEBUG - VM is in ACTIVE state now 2024-09-12 12:29:20,098 - INFO - VM name : ctest-TestBasicPolicy-01690900-38026797 2024-09-12 12:29:20,171 - DEBUG - VM ctest-TestBasicPolicy-01690900-38026797 ID is b41961ad-663a-40c2-9503-8f8a2268bbb9 2024-09-12 12:29:20,188 - DEBUG - VM ctest-TestBasicPolicy-01690900-38026797 launched on Node cn-jenkins-deploy-platform-ansible-os-1907-1 2024-09-12 12:29:20,270 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b41961ad-663a-40c2-9503-8f8a2268bbb9 2024-09-12 12:29:20,280 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/590deb1f-e061-4cce-8db7-9b7af704033c 2024-09-12 12:29:23,538 - 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 1010ms') 2024-09-12 12:29:23,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01690900-38026797 failed! 2024-09-12 12:29:23,601 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01690900:ctest-vn-07287374 is 64.78.93.193 and allocation pool is NOT set 2024-09-12 12:29:25,657 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.733 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.733/2.545/4.357/1.812 ms') 2024-09-12 12:29:25,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01690900-38026797 passed 2024-09-12 12:29:25,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:29:25,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01690900-38026797, IP 64.78.93.195, Port 22 2024-09-12 12:29:25,976 - DEBUG - VM ctest-TestBasicPolicy-01690900-38026797 is ready for SSH connections 2024-09-12 12:29:25,976 - INFO - Waiting for VM ctest-TestBasicPolicy-01690900-53210609 to be up.. 2024-09-12 12:29:26,056 - DEBUG - VM is in ACTIVE state now 2024-09-12 12:29:26,056 - INFO - VM name : ctest-TestBasicPolicy-01690900-53210609 2024-09-12 12:29:26,130 - DEBUG - VM ctest-TestBasicPolicy-01690900-53210609 ID is d99887df-e7e6-4ac0-b02f-3b040050f985 2024-09-12 12:29:26,130 - DEBUG - VM ctest-TestBasicPolicy-01690900-53210609 launched on Node cn-jenkins-deploy-platform-ansible-os-1907-1 2024-09-12 12:29:26,211 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d99887df-e7e6-4ac0-b02f-3b040050f985 2024-09-12 12:29:26,222 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/436f654c-6337-41d8-8d77-ea27c973fddf 2024-09-12 12:29:27,477 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.599/2.843/1.244 ms') 2024-09-12 12:29:27,477 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01690900-53210609 passed 2024-09-12 12:29:27,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:29:27,637 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01690900-53210609, IP 106.159.25.67, Port 22 2024-09-12 12:29:27,792 - DEBUG - VM ctest-TestBasicPolicy-01690900-53210609 is ready for SSH connections 2024-09-12 12:29:27,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:29:27,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.159.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 12:29:27,792 - DEBUG - ping -s 56 -c 3 -W 1 106.159.25.67 2024-09-12 12:29:31,764 - DEBUG - PING 106.159.25.67 (106.159.25.67): 56 data bytes 64 bytes from 106.159.25.67: seq=0 ttl=63 time=3.474 ms 64 bytes from 106.159.25.67: seq=1 ttl=63 time=0.733 ms 64 bytes from 106.159.25.67: seq=2 ttl=63 time=0.755 ms --- 106.159.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.654/3.474 ms 2024-09-12 12:29:31,765 - INFO - Ping to IP 106.159.25.67 from VM ctest-TestBasicPolicy-01690900-38026797 passed 2024-09-12 12:29:31,969 - DEBUG - Policy Update Response {"network-policy": {"uuid": "336b1972-cc06-4131-b83c-34c44f0b9f74", "href": "http://10.0.0.29:8082/network-policy/336b1972-cc06-4131-b83c-34c44f0b9f74"}} 2024-09-12 12:29:31,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:29:31,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.159.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 12:29:31,969 - DEBUG - ping -s 56 -c 3 -W 1 106.159.25.67 2024-09-12 12:29:35,171 - DEBUG - PING 106.159.25.67 (106.159.25.67): 56 data bytes 64 bytes from 106.159.25.67: seq=0 ttl=63 time=1.165 ms --- 106.159.25.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.165/1.165/1.165 ms 2024-09-12 12:29:35,171 - WARNING - Ping to IP 106.159.25.67 from VM ctest-TestBasicPolicy-01690900-38026797 failed 2024-09-12 12:29:35,171 - INFO - Deleting VM ctest-TestBasicPolicy-01690900-53210609 2024-09-12 12:29:35,252 - INFO - Deleting VM ctest-TestBasicPolicy-01690900-38026797 2024-09-12 12:29:35,770 - INFO - Deleted policy ctest-policy-allow-all-76913363 2024-09-12 12:29:35,771 - INFO - Deleting VN ctest-vn-17348856 2024-09-12 12:29:35,809 - DEBUG - VN d1f2af19-28cd-4513-aa03-847d4cf69ed9 still in use: Unable to complete operation on network d1f2af19-28cd-4513-aa03-847d4cf69ed9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b6f8285-6461-49f3-a439-055c037cc4b0'] 2024-09-12 12:29:35,810 - WARNING - Deleting VN ctest-vn-17348856 failed..Will retry 2024-09-12 12:29:37,924 - DEBUG - Response for deleting network () 2024-09-12 12:29:37,924 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5a676365-adb7-4385-a1e6-f771edbb6abf 2024-09-12 12:29:37,932 - DEBUG - Response Code: 404 2024-09-12 12:29:37,932 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:37,939 - DEBUG - Requesting: http://10.0.0.29:8082/domain/331898b0-da1e-429d-bb82-0d8576516e87 2024-09-12 12:29:37,996 - DEBUG - Requesting: http://10.0.0.29:8082/project/b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:38,080 - INFO - Validated that VN ctest-vn-17348856 is not found in API Server 2024-09-12 12:29:38,094 - DEBUG - VN ctest-vn-17348856 is not present in Agent 10.0.0.29 2024-09-12 12:29:38,094 - INFO - Validated that VN ctest-vn-17348856 is not in any agent 2024-09-12 12:29:38,115 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17348856 info 2024-09-12 12:29:38,115 - INFO - Deleting VN ctest-vn-07287374 2024-09-12 12:29:38,217 - DEBUG - Response for deleting network () 2024-09-12 12:29:38,217 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/39338e48-3fec-49b5-96fb-61a6667dfe5b 2024-09-12 12:29:38,223 - DEBUG - Response Code: 404 2024-09-12 12:29:38,223 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 12:29:38,228 - DEBUG - Requesting: http://10.0.0.29:8082/domain/331898b0-da1e-429d-bb82-0d8576516e87 2024-09-12 12:29:38,287 - DEBUG - Requesting: http://10.0.0.29:8082/project/b366041e-7a75-49fc-840a-1b4290606a80 2024-09-12 12:29:38,372 - INFO - Validated that VN ctest-vn-07287374 is not found in API Server 2024-09-12 12:29:38,384 - DEBUG - VN ctest-vn-07287374 is not present in Agent 10.0.0.29 2024-09-12 12:29:38,384 - INFO - Validated that VN ctest-vn-07287374 is not in any agent 2024-09-12 12:29:38,401 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07287374 info 2024-09-12 12:29:38,656 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 12:29:38,656 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-09-12 12:29:38,656 - INFO - -------------------------------------------------------------------------------- 2024-09-12 12:29:39,347 - INFO - Deleted project: ctest-TestBasicPolicy-01690900, ID : b366041e-7a75-49fc-840a-1b4290606a80