2025-01-04 18:51:33,931 - INFO - Domain Default found not creating 2025-01-04 18:51:34,085 - INFO - Project ctest-TestBasicPolicy-75972257 not found, creating it 2025-01-04 18:51:34,541 - INFO - Created Project:ctest-TestBasicPolicy-75972257, ID : ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:51:36,334 - INFO - ================================================================================ 2025-01-04 18:51:36,334 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-04 18:51:36,334 - 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-04 18:51:36,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.14': '0'}} with 2025-01-04 18:51:36,599 - INFO - Initial checks done. Running the testcase now 2025-01-04 18:51:36,599 - INFO - 2025-01-04 18:51:37,161 - DEBUG - Response for create_network : {'network': {'id': 'f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a', 'name': 'ctest-vn-39395791', 'tenant_id': 'ab4f2259731548f29bfee9169d1f7690', 'project_id': 'ab4f2259731548f29bfee9169d1f7690', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-vn-39395791'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 18:51:37,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '3834a092-dcc1-47d7-8008-dedb6bb16d69', 'name': '', 'tenant_id': 'ab4f2259731548f29bfee9169d1f7690', 'network_id': 'f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a', 'ip_version': 4, 'cidr': '54.214.120.0/26', 'allocation_pools': [{'start': '54.214.120.2', 'end': '54.214.120.62'}], 'gateway_ip': '54.214.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.214.120.2', 'tags': [], 'project_id': 'ab4f2259731548f29bfee9169d1f7690'}} 2025-01-04 18:51:37,383 - INFO - Created VN ctest-vn-39395791 2025-01-04 18:51:37,438 - DEBUG - VN ctest-vn-39395791 UUID is f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:37,754 - DEBUG - Response for create_network : {'network': {'id': 'a4766af4-d479-4631-9101-7c800d269077', 'name': 'ctest-vn-84826016', 'tenant_id': 'ab4f2259731548f29bfee9169d1f7690', 'project_id': 'ab4f2259731548f29bfee9169d1f7690', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-vn-84826016'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 18:51:38,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab72cc40-6ed1-4620-9330-3c5efaf6991e', 'name': '', 'tenant_id': 'ab4f2259731548f29bfee9169d1f7690', 'network_id': 'a4766af4-d479-4631-9101-7c800d269077', 'ip_version': 4, 'cidr': '35.45.223.128/26', 'allocation_pools': [{'start': '35.45.223.130', 'end': '35.45.223.190'}], 'gateway_ip': '35.45.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.45.223.130', 'tags': [], 'project_id': 'ab4f2259731548f29bfee9169d1f7690'}} 2025-01-04 18:51:38,029 - INFO - Created VN ctest-vn-84826016 2025-01-04 18:51:38,086 - DEBUG - VN ctest-vn-84826016 UUID is a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:38,200 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791, 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-75972257:ctest-vn-84826016, 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-04 18:51:38,506 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a', 'name': 'ctest-vn-39395791', 'tenant_id': 'ab4f2259731548f29bfee9169d1f7690', 'project_id': 'ab4f2259731548f29bfee9169d1f7690', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3834a092-dcc1-47d7-8008-dedb6bb16d69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-vn-39395791'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-policy-allow-all-37055831']], 'subnet_ipam': [{'subnet_cidr': '54.214.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 18:51:38,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4766af4-d479-4631-9101-7c800d269077', 'name': 'ctest-vn-84826016', 'tenant_id': 'ab4f2259731548f29bfee9169d1f7690', 'project_id': 'ab4f2259731548f29bfee9169d1f7690', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab72cc40-6ed1-4620-9330-3c5efaf6991e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-vn-84826016'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-policy-allow-all-37055831']], 'subnet_ipam': [{'subnet_cidr': '35.45.223.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 18:51:38,946 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:51:39,258 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:51:39,290 - DEBUG - Requesting: http://10.0.0.44:8082/domain/65aa57e1-6cf0-496b-8098-dcd790cd31a1 2025-01-04 18:51:39,304 - DEBUG - Requesting: http://10.0.0.44:8082/project/ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:51:39,391 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:39,405 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:39,418 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/ca13b9c4-a802-411c-a725-c2af1e33188e 2025-01-04 18:51:39,429 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/ca13b9c4-a802-411c-a725-c2af1e33188e 2025-01-04 18:51:39,436 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/3b63e29b-8a5a-4822-a8f1-5e793137d565 2025-01-04 18:51:39,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 18:51:39,444 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:39,454 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/ca13b9c4-a802-411c-a725-c2af1e33188e 2025-01-04 18:51:39,468 - INFO - Verified VN network id 8 for VN f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:39,469 - INFO - Verifications in API Server for VN ctest-vn-39395791 passed 2025-01-04 18:51:39,469 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:39,481 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/ca13b9c4-a802-411c-a725-c2af1e33188e 2025-01-04 18:51:39,490 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/ca13b9c4-a802-411c-a725-c2af1e33188e 2025-01-04 18:51:39,498 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/3b63e29b-8a5a-4822-a8f1-5e793137d565 2025-01-04 18:51:39,513 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75972257', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17494077435432682475', 'uuid-lslong': '11668102921970894362'}, 'enable': 'true', 'created': '2025-01-04T18:51:37', 'last-modified': '2025-01-04T18:51:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041913'} 2025-01-04 18:51:39,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 18:51:39,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39395791 passed 2025-01-04 18:51:39,520 - DEBUG - ====Verifying policy data for ctest-vn-39395791 in API_Server ====== 2025-01-04 18:51:39,520 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:51:39,526 - DEBUG - Requesting: http://10.0.0.44:8082/domain/65aa57e1-6cf0-496b-8098-dcd790cd31a1 2025-01-04 18:51:39,541 - DEBUG - Requesting: http://10.0.0.44:8082/project/ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:51:39,623 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f2c772bd-6c24-43eb-a1ed-6dc98ac5c61a 2025-01-04 18:51:39,634 - DEBUG - ==>Verifying data for policy with id: e918dbf5-6260-48ee-8883-ed976efd3842, fqn: ['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-policy-allow-all-37055831'] 2025-01-04 18:51:39,634 - INFO - VN ctest-vn-39395791 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 18:51:39,634 - DEBUG - Verifying the vn in opserver 2025-01-04 18:51:39,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791 virtual network link through opserver 10.0.0.44 2025-01-04 18:51:39,635 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2025-01-04 18:51:39,936 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2025-01-04 18:51:39,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791?flat'} 2025-01-04 18:51:39,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791 is found in opserver 2025-01-04 18:51:40,005 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 18:51:40,010 - DEBUG - VRF ids for VN ctest-vn-39395791: {} 2025-01-04 18:51:40,010 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:51:40,016 - DEBUG - Requesting: http://10.0.0.44:8082/domain/65aa57e1-6cf0-496b-8098-dcd790cd31a1 2025-01-04 18:51:40,029 - DEBUG - Requesting: http://10.0.0.44:8082/project/ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:51:40,106 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:40,119 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:40,131 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/5d0fe00a-7745-420c-bee7-ed153ffaad41 2025-01-04 18:51:40,138 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/5d0fe00a-7745-420c-bee7-ed153ffaad41 2025-01-04 18:51:40,145 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/f08f0adc-45e5-4b70-8afd-5aee28cef543 2025-01-04 18:51:40,151 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 18:51:40,151 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:40,161 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/5d0fe00a-7745-420c-bee7-ed153ffaad41 2025-01-04 18:51:40,176 - INFO - Verified VN network id 9 for VN a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:40,176 - INFO - Verifications in API Server for VN ctest-vn-84826016 passed 2025-01-04 18:51:40,176 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:40,186 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/5d0fe00a-7745-420c-bee7-ed153ffaad41 2025-01-04 18:51:40,193 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/5d0fe00a-7745-420c-bee7-ed153ffaad41 2025-01-04 18:51:40,200 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/f08f0adc-45e5-4b70-8afd-5aee28cef543 2025-01-04 18:51:40,212 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-84826016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75972257', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11850777069241321009', 'uuid-lslong': '10448769499894550647'}, 'enable': 'true', 'created': '2025-01-04T18:51:37', 'last-modified': '2025-01-04T18:51:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492156'} 2025-01-04 18:51:40,220 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 18:51:40,220 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84826016 passed 2025-01-04 18:51:40,220 - DEBUG - ====Verifying policy data for ctest-vn-84826016 in API_Server ====== 2025-01-04 18:51:40,220 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:51:40,226 - DEBUG - Requesting: http://10.0.0.44:8082/domain/65aa57e1-6cf0-496b-8098-dcd790cd31a1 2025-01-04 18:51:40,239 - DEBUG - Requesting: http://10.0.0.44:8082/project/ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:51:40,309 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/a4766af4-d479-4631-9101-7c800d269077 2025-01-04 18:51:40,320 - DEBUG - ==>Verifying data for policy with id: e918dbf5-6260-48ee-8883-ed976efd3842, fqn: ['default-domain', 'ctest-TestBasicPolicy-75972257', 'ctest-policy-allow-all-37055831'] 2025-01-04 18:51:40,320 - INFO - VN ctest-vn-84826016 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 18:51:40,320 - DEBUG - Verifying the vn in opserver 2025-01-04 18:51:40,320 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-84826016 virtual network link through opserver 10.0.0.44 2025-01-04 18:51:40,321 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2025-01-04 18:51:40,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-84826016', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-84826016?flat'} 2025-01-04 18:51:40,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-84826016 is found in opserver 2025-01-04 18:51:40,343 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 18:51:40,348 - DEBUG - VRF ids for VN ctest-vn-84826016: {} 2025-01-04 18:51:40,408 - DEBUG - Services list from nova: [, , ] 2025-01-04 18:51:41,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2526-1) 2025-01-04 18:51:42,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2526-1) 2025-01-04 18:51:42,767 - INFO - Waiting for VM ctest-TestBasicPolicy-75972257-13135471 to be up.. 2025-01-04 18:51:42,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 18:51:47,942 - DEBUG - VM is in ACTIVE state now 2025-01-04 18:51:47,942 - INFO - VM name : ctest-TestBasicPolicy-75972257-13135471 2025-01-04 18:51:48,022 - DEBUG - VM ctest-TestBasicPolicy-75972257-13135471 ID is d89e909b-27cc-4da4-9e29-3e1a7f8c182c 2025-01-04 18:51:48,046 - DEBUG - VM ctest-TestBasicPolicy-75972257-13135471 launched on Node cn-jenkins-deploy-platform-ansible-os-2526-1 2025-01-04 18:51:48,126 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/d89e909b-27cc-4da4-9e29-3e1a7f8c182c 2025-01-04 18:51:48,136 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/97bcf2b2-f197-4cc8-8b67-09c3f2efe3f6 2025-01-04 18:51:51,389 - 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 1007ms') 2025-01-04 18:51:51,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75972257-13135471 failed! 2025-01-04 18:51:51,450 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75972257:ctest-vn-39395791 is 54.214.120.1 and allocation pool is NOT set 2025-01-04 18:51:53,519 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.818 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.818/2.312/3.807/1.494 ms') 2025-01-04 18:51:53,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75972257-13135471 passed 2025-01-04 18:51:53,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:51:53,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75972257-13135471, IP 54.214.120.3, Port 22 2025-01-04 18:51:53,842 - DEBUG - VM ctest-TestBasicPolicy-75972257-13135471 is ready for SSH connections 2025-01-04 18:51:53,842 - INFO - Waiting for VM ctest-TestBasicPolicy-75972257-72501506 to be up.. 2025-01-04 18:51:53,940 - DEBUG - VM is in ACTIVE state now 2025-01-04 18:51:53,940 - INFO - VM name : ctest-TestBasicPolicy-75972257-72501506 2025-01-04 18:51:54,038 - DEBUG - VM ctest-TestBasicPolicy-75972257-72501506 ID is 43b1b92e-97ab-4388-9cc9-48dd3e0d9491 2025-01-04 18:51:54,038 - DEBUG - VM ctest-TestBasicPolicy-75972257-72501506 launched on Node cn-jenkins-deploy-platform-ansible-os-2526-1 2025-01-04 18:51:54,120 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/43b1b92e-97ab-4388-9cc9-48dd3e0d9491 2025-01-04 18:51:54,129 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/7a4fdca0-168b-4926-82e5-fd4c59eaafbf 2025-01-04 18:51:55,371 - 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=5.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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 = 1.300/3.212/5.125/1.912 ms') 2025-01-04 18:51:55,371 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75972257-72501506 passed 2025-01-04 18:51:55,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:51:55,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75972257-72501506, IP 35.45.223.131, Port 22 2025-01-04 18:51:55,694 - DEBUG - VM ctest-TestBasicPolicy-75972257-72501506 is ready for SSH connections 2025-01-04 18:51:55,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:51:55,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-01-04 18:51:55,694 - DEBUG - ping -s 56 -c 3 -W 1 35.45.223.131 2025-01-04 18:51:59,385 - DEBUG - PING 35.45.223.131 (35.45.223.131): 56 data bytes 64 bytes from 35.45.223.131: seq=0 ttl=63 time=5.210 ms 64 bytes from 35.45.223.131: seq=1 ttl=63 time=0.819 ms 64 bytes from 35.45.223.131: seq=2 ttl=63 time=0.953 ms --- 35.45.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.327/5.210 ms 2025-01-04 18:51:59,385 - INFO - Ping to IP 35.45.223.131 from VM ctest-TestBasicPolicy-75972257-13135471 passed 2025-01-04 18:51:59,566 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e918dbf5-6260-48ee-8883-ed976efd3842", "href": "http://10.0.0.44:8082/network-policy/e918dbf5-6260-48ee-8883-ed976efd3842"}} 2025-01-04 18:51:59,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:51:59,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-01-04 18:51:59,566 - DEBUG - ping -s 56 -c 3 -W 1 35.45.223.131 2025-01-04 18:52:02,788 - DEBUG - PING 35.45.223.131 (35.45.223.131): 56 data bytes 64 bytes from 35.45.223.131: seq=0 ttl=63 time=1.300 ms --- 35.45.223.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.300/1.300/1.300 ms 2025-01-04 18:52:02,788 - WARNING - Ping to IP 35.45.223.131 from VM ctest-TestBasicPolicy-75972257-13135471 failed 2025-01-04 18:52:02,788 - INFO - Deleting VM ctest-TestBasicPolicy-75972257-72501506 2025-01-04 18:52:02,860 - INFO - Deleting VM ctest-TestBasicPolicy-75972257-13135471 2025-01-04 18:52:03,244 - INFO - Deleted policy ctest-policy-allow-all-37055831 2025-01-04 18:52:03,245 - INFO - Deleting VN ctest-vn-84826016 2025-01-04 18:52:03,279 - DEBUG - VN a4766af4-d479-4631-9101-7c800d269077 still in use: Unable to complete operation on network a4766af4-d479-4631-9101-7c800d269077. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50b8507d-4070-466a-97c9-2c083d396981'] 2025-01-04 18:52:03,279 - WARNING - Deleting VN ctest-vn-84826016 failed..Will retry 2025-01-04 18:52:05,384 - DEBUG - Response for deleting network () 2025-01-04 18:52:05,384 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/5d0fe00a-7745-420c-bee7-ed153ffaad41 2025-01-04 18:52:05,389 - DEBUG - Response Code: 404 2025-01-04 18:52:05,389 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:52:05,394 - DEBUG - Requesting: http://10.0.0.44:8082/domain/65aa57e1-6cf0-496b-8098-dcd790cd31a1 2025-01-04 18:52:05,451 - DEBUG - Requesting: http://10.0.0.44:8082/project/ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:52:05,523 - INFO - Validated that VN ctest-vn-84826016 is not found in API Server 2025-01-04 18:52:05,534 - DEBUG - VN ctest-vn-84826016 is not present in Agent 10.0.0.44 2025-01-04 18:52:05,534 - INFO - Validated that VN ctest-vn-84826016 is not in any agent 2025-01-04 18:52:05,549 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84826016 info 2025-01-04 18:52:05,550 - INFO - Deleting VN ctest-vn-39395791 2025-01-04 18:52:05,656 - DEBUG - Response for deleting network () 2025-01-04 18:52:05,656 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/ca13b9c4-a802-411c-a725-c2af1e33188e 2025-01-04 18:52:05,661 - DEBUG - Response Code: 404 2025-01-04 18:52:05,661 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2025-01-04 18:52:05,671 - DEBUG - Requesting: http://10.0.0.44:8082/domain/65aa57e1-6cf0-496b-8098-dcd790cd31a1 2025-01-04 18:52:05,723 - DEBUG - Requesting: http://10.0.0.44:8082/project/ab4f2259-7315-48f2-9bfe-e9169d1f7690 2025-01-04 18:52:05,801 - INFO - Validated that VN ctest-vn-39395791 is not found in API Server 2025-01-04 18:52:05,812 - DEBUG - VN ctest-vn-39395791 is not present in Agent 10.0.0.44 2025-01-04 18:52:05,812 - INFO - Validated that VN ctest-vn-39395791 is not in any agent 2025-01-04 18:52:05,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39395791 info 2025-01-04 18:52:06,087 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 18:52:06,087 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-04 18:52:06,088 - INFO - -------------------------------------------------------------------------------- 2025-01-04 18:52:06,765 - INFO - Deleted project: ctest-TestBasicPolicy-75972257, ID : ab4f2259-7315-48f2-9bfe-e9169d1f7690