2025-08-18 19:43:17,287 - INFO - Domain Default found not creating 2025-08-18 19:43:17,426 - INFO - Project ctest-TestBasicPolicy-99811014 not found, creating it 2025-08-18 19:43:17,889 - INFO - Created Project:ctest-TestBasicPolicy-99811014, ID : 1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:19,209 - INFO - ================================================================================ 2025-08-18 19:43:19,209 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 19:43:19,210 - 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-08-18 19:43:19,463 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-18 19:43:19,463 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:43:19,463 - INFO - 2025-08-18 19:43:19,984 - DEBUG - Response for create_network : {'network': {'id': '3910cd80-dca3-4bd8-877f-04a2a23de130', 'name': 'ctest-vn-87919938', 'tenant_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'project_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-vn-87919938'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:43:20,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd42dc75-742a-4ea7-91ce-77eafd84de97', 'name': '', 'tenant_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'network_id': '3910cd80-dca3-4bd8-877f-04a2a23de130', 'ip_version': 4, 'cidr': '53.32.2.192/26', 'allocation_pools': [{'start': '53.32.2.194', 'end': '53.32.2.254'}], 'gateway_ip': '53.32.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.32.2.194', 'tags': [], 'project_id': '1d7bdd07f7d443e9850203230ebc8d6b'}} 2025-08-18 19:43:20,194 - INFO - Created VN ctest-vn-87919938 2025-08-18 19:43:20,246 - DEBUG - VN ctest-vn-87919938 UUID is 3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:20,519 - DEBUG - Response for create_network : {'network': {'id': '8bfb0d02-6dfc-459a-9d0e-b62b27c0e971', 'name': 'ctest-vn-76633747', 'tenant_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'project_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-vn-76633747'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:43:20,682 - DEBUG - Response for create_subnet : {'subnet': {'id': '2989b8b6-5bc7-4f93-a402-7f4d42bd1814', 'name': '', 'tenant_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'network_id': '8bfb0d02-6dfc-459a-9d0e-b62b27c0e971', 'ip_version': 4, 'cidr': '29.36.8.192/26', 'allocation_pools': [{'start': '29.36.8.194', 'end': '29.36.8.254'}], 'gateway_ip': '29.36.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.36.8.194', 'tags': [], 'project_id': '1d7bdd07f7d443e9850203230ebc8d6b'}} 2025-08-18 19:43:20,698 - INFO - Created VN ctest-vn-76633747 2025-08-18 19:43:20,750 - DEBUG - VN ctest-vn-76633747 UUID is 8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:20,898 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938, 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-99811014:ctest-vn-76633747, 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-08-18 19:43:21,192 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3910cd80-dca3-4bd8-877f-04a2a23de130', 'name': 'ctest-vn-87919938', 'tenant_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'project_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd42dc75-742a-4ea7-91ce-77eafd84de97'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-vn-87919938'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-policy-allow-all-99562203']], 'subnet_ipam': [{'subnet_cidr': '53.32.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:43:21,409 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8bfb0d02-6dfc-459a-9d0e-b62b27c0e971', 'name': 'ctest-vn-76633747', 'tenant_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'project_id': '1d7bdd07f7d443e9850203230ebc8d6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2989b8b6-5bc7-4f93-a402-7f4d42bd1814'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-vn-76633747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-policy-allow-all-99562203']], 'subnet_ipam': [{'subnet_cidr': '29.36.8.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:43:21,582 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:21,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:21,896 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18d96444-b3da-4cfc-9bdb-15b76434c786 2025-08-18 19:43:21,908 - DEBUG - Requesting: http://10.0.0.38:8082/project/1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:21,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:21,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:21,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91896c3b-121c-4e49-9e88-8954d30050d6 2025-08-18 19:43:22,000 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91896c3b-121c-4e49-9e88-8954d30050d6 2025-08-18 19:43:22,005 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b9625cc-c8f0-43cc-b0c1-9961e83d62e5 2025-08-18 19:43:22,011 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 19:43:22,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:22,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91896c3b-121c-4e49-9e88-8954d30050d6 2025-08-18 19:43:22,030 - INFO - Verified VN network id 10 for VN 3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:22,030 - INFO - Verifications in API Server for VN ctest-vn-87919938 passed 2025-08-18 19:43:22,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:22,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91896c3b-121c-4e49-9e88-8954d30050d6 2025-08-18 19:43:22,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91896c3b-121c-4e49-9e88-8954d30050d6 2025-08-18 19:43:22,048 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b9625cc-c8f0-43cc-b0c1-9961e83d62e5 2025-08-18 19:43:22,058 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99811014', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4112012413130460120', 'uuid-lslong': '9763527613715702064'}, 'enable': 'true', 'created': '2025-08-18T19:43:19', 'last-modified': '2025-08-18T19:43:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.896129'} 2025-08-18 19:43:22,064 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 19:43:22,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87919938 passed 2025-08-18 19:43:22,064 - DEBUG - ====Verifying policy data for ctest-vn-87919938 in API_Server ====== 2025-08-18 19:43:22,064 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:22,069 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18d96444-b3da-4cfc-9bdb-15b76434c786 2025-08-18 19:43:22,078 - DEBUG - Requesting: http://10.0.0.38:8082/project/1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:22,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3910cd80-dca3-4bd8-877f-04a2a23de130 2025-08-18 19:43:22,156 - DEBUG - ==>Verifying data for policy with id: 9c733ced-3a83-4b1f-a466-7f54939b1164, fqn: ['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-policy-allow-all-99562203'] 2025-08-18 19:43:22,156 - INFO - VN ctest-vn-87919938 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 19:43:22,156 - DEBUG - Verifying the vn in opserver 2025-08-18 19:43:22,157 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938 virtual network link through opserver 10.0.0.38 2025-08-18 19:43:22,157 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-18 19:43:22,445 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-18 19:43:22,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938?flat'} 2025-08-18 19:43:22,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938 is found in opserver 2025-08-18 19:43:22,507 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 19:43:22,512 - DEBUG - VRF ids for VN ctest-vn-87919938: {} 2025-08-18 19:43:22,512 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:22,517 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18d96444-b3da-4cfc-9bdb-15b76434c786 2025-08-18 19:43:22,527 - DEBUG - Requesting: http://10.0.0.38:8082/project/1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:22,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:22,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:22,622 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f883a65e-eb1c-4c03-8826-175b36afdbcb 2025-08-18 19:43:22,629 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f883a65e-eb1c-4c03-8826-175b36afdbcb 2025-08-18 19:43:22,635 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/55096adc-699b-4562-8c3b-54895b4c5daf 2025-08-18 19:43:22,640 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 19:43:22,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:22,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f883a65e-eb1c-4c03-8826-175b36afdbcb 2025-08-18 19:43:22,660 - INFO - Verified VN network id 11 for VN 8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:22,660 - INFO - Verifications in API Server for VN ctest-vn-76633747 passed 2025-08-18 19:43:22,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:22,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f883a65e-eb1c-4c03-8826-175b36afdbcb 2025-08-18 19:43:22,674 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f883a65e-eb1c-4c03-8826-175b36afdbcb 2025-08-18 19:43:22,679 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/55096adc-699b-4562-8c3b-54895b4c5daf 2025-08-18 19:43:22,690 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-76633747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99811014', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10086670094512702874', 'uuid-lslong': '11317183210095438193'}, 'enable': 'true', 'created': '2025-08-18T19:43:20', 'last-modified': '2025-08-18T19:43:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.300902'} 2025-08-18 19:43:22,695 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 19:43:22,695 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76633747 passed 2025-08-18 19:43:22,695 - DEBUG - ====Verifying policy data for ctest-vn-76633747 in API_Server ====== 2025-08-18 19:43:22,695 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:22,700 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18d96444-b3da-4cfc-9bdb-15b76434c786 2025-08-18 19:43:22,710 - DEBUG - Requesting: http://10.0.0.38:8082/project/1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:22,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 2025-08-18 19:43:22,792 - DEBUG - ==>Verifying data for policy with id: 9c733ced-3a83-4b1f-a466-7f54939b1164, fqn: ['default-domain', 'ctest-TestBasicPolicy-99811014', 'ctest-policy-allow-all-99562203'] 2025-08-18 19:43:22,792 - INFO - VN ctest-vn-76633747 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 19:43:22,792 - DEBUG - Verifying the vn in opserver 2025-08-18 19:43:22,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-76633747 virtual network link through opserver 10.0.0.38 2025-08-18 19:43:22,792 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-18 19:43:22,802 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-76633747', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-76633747?flat'} 2025-08-18 19:43:22,802 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-76633747 is found in opserver 2025-08-18 19:43:22,811 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 19:43:22,815 - DEBUG - VRF ids for VN ctest-vn-76633747: {} 2025-08-18 19:43:22,869 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:43:23,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3881-1) 2025-08-18 19:43:24,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3881-1) 2025-08-18 19:43:24,939 - INFO - Waiting for VM ctest-TestBasicPolicy-99811014-15687058 to be up.. 2025-08-18 19:43:25,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 19:43:30,089 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:43:30,089 - INFO - VM name : ctest-TestBasicPolicy-99811014-15687058 2025-08-18 19:43:30,163 - DEBUG - VM ctest-TestBasicPolicy-99811014-15687058 ID is fcae9310-8f7c-4e9c-8f40-90d61d8569f2 2025-08-18 19:43:30,181 - DEBUG - VM ctest-TestBasicPolicy-99811014-15687058 launched on Node cn-jenkins-deploy-platform-ansible-os-3881-1 2025-08-18 19:43:30,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fcae9310-8f7c-4e9c-8f40-90d61d8569f2 2025-08-18 19:43:30,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/06073975-4fc8-4860-85f0-3e38497fc783 2025-08-18 19:43:33,497 - 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 1005ms') 2025-08-18 19:43:33,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99811014-15687058 failed! 2025-08-18 19:43:33,550 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99811014:ctest-vn-87919938 is 53.32.2.193 and allocation pool is NOT set 2025-08-18 19:43:35,616 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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 = 0.471/2.314/4.158/1.843 ms') 2025-08-18 19:43:35,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99811014-15687058 passed 2025-08-18 19:43:35,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:43:35,774 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99811014-15687058, IP 53.32.2.195, Port 22 2025-08-18 19:43:35,938 - DEBUG - VM ctest-TestBasicPolicy-99811014-15687058 is ready for SSH connections 2025-08-18 19:43:35,938 - INFO - Waiting for VM ctest-TestBasicPolicy-99811014-20975162 to be up.. 2025-08-18 19:43:36,009 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:43:36,009 - INFO - VM name : ctest-TestBasicPolicy-99811014-20975162 2025-08-18 19:43:36,077 - DEBUG - VM ctest-TestBasicPolicy-99811014-20975162 ID is 560d06b8-7cba-4db9-bc19-ef995995e26f 2025-08-18 19:43:36,077 - DEBUG - VM ctest-TestBasicPolicy-99811014-20975162 launched on Node cn-jenkins-deploy-platform-ansible-os-3881-1 2025-08-18 19:43:36,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/560d06b8-7cba-4db9-bc19-ef995995e26f 2025-08-18 19:43:36,155 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6e40d84b-47cd-497c-af07-b0fcca772595 2025-08-18 19:43:37,388 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.576/2.780/1.203 ms') 2025-08-18 19:43:37,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99811014-20975162 passed 2025-08-18 19:43:37,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:43:37,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99811014-20975162, IP 29.36.8.195, Port 22 2025-08-18 19:43:37,694 - DEBUG - VM ctest-TestBasicPolicy-99811014-20975162 is ready for SSH connections 2025-08-18 19:43:37,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:43:37,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.36.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 19:43:37,694 - DEBUG - ping -s 56 -c 3 -W 1 29.36.8.195 2025-08-18 19:43:41,656 - DEBUG - PING 29.36.8.195 (29.36.8.195): 56 data bytes 64 bytes from 29.36.8.195: seq=0 ttl=63 time=3.387 ms 64 bytes from 29.36.8.195: seq=1 ttl=63 time=0.750 ms 64 bytes from 29.36.8.195: seq=2 ttl=63 time=0.741 ms --- 29.36.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.626/3.387 ms 2025-08-18 19:43:41,656 - INFO - Ping to IP 29.36.8.195 from VM ctest-TestBasicPolicy-99811014-15687058 passed 2025-08-18 19:43:41,842 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c733ced-3a83-4b1f-a466-7f54939b1164", "href": "http://10.0.0.38:8082/network-policy/9c733ced-3a83-4b1f-a466-7f54939b1164"}} 2025-08-18 19:43:41,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:43:41,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.36.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 19:43:41,842 - DEBUG - ping -s 56 -c 3 -W 1 29.36.8.195 2025-08-18 19:43:45,049 - DEBUG - PING 29.36.8.195 (29.36.8.195): 56 data bytes --- 29.36.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 19:43:45,049 - WARNING - Ping to IP 29.36.8.195 from VM ctest-TestBasicPolicy-99811014-15687058 failed 2025-08-18 19:43:45,050 - INFO - Deleting VM ctest-TestBasicPolicy-99811014-20975162 2025-08-18 19:43:45,113 - INFO - Deleting VM ctest-TestBasicPolicy-99811014-15687058 2025-08-18 19:43:45,499 - INFO - Deleted policy ctest-policy-allow-all-99562203 2025-08-18 19:43:45,499 - INFO - Deleting VN ctest-vn-76633747 2025-08-18 19:43:45,544 - DEBUG - VN 8bfb0d02-6dfc-459a-9d0e-b62b27c0e971 still in use: Unable to complete operation on network 8bfb0d02-6dfc-459a-9d0e-b62b27c0e971. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d376c458-05ca-4716-b581-bd970c2e5239'] 2025-08-18 19:43:45,544 - WARNING - Deleting VN ctest-vn-76633747 failed..Will retry 2025-08-18 19:43:47,635 - DEBUG - Response for deleting network () 2025-08-18 19:43:47,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f883a65e-eb1c-4c03-8826-175b36afdbcb 2025-08-18 19:43:47,639 - DEBUG - Response Code: 404 2025-08-18 19:43:47,640 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:47,646 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18d96444-b3da-4cfc-9bdb-15b76434c786 2025-08-18 19:43:47,700 - DEBUG - Requesting: http://10.0.0.38:8082/project/1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:47,773 - INFO - Validated that VN ctest-vn-76633747 is not found in API Server 2025-08-18 19:43:47,784 - DEBUG - VN ctest-vn-76633747 is not present in Agent 10.0.0.38 2025-08-18 19:43:47,784 - INFO - Validated that VN ctest-vn-76633747 is not in any agent 2025-08-18 19:43:47,797 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76633747 info 2025-08-18 19:43:47,797 - INFO - Deleting VN ctest-vn-87919938 2025-08-18 19:43:47,910 - DEBUG - Response for deleting network () 2025-08-18 19:43:47,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91896c3b-121c-4e49-9e88-8954d30050d6 2025-08-18 19:43:47,916 - DEBUG - Response Code: 404 2025-08-18 19:43:47,916 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 19:43:47,923 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18d96444-b3da-4cfc-9bdb-15b76434c786 2025-08-18 19:43:47,979 - DEBUG - Requesting: http://10.0.0.38:8082/project/1d7bdd07-f7d4-43e9-8502-03230ebc8d6b 2025-08-18 19:43:48,047 - INFO - Validated that VN ctest-vn-87919938 is not found in API Server 2025-08-18 19:43:48,058 - DEBUG - VN ctest-vn-87919938 is not present in Agent 10.0.0.38 2025-08-18 19:43:48,058 - INFO - Validated that VN ctest-vn-87919938 is not in any agent 2025-08-18 19:43:48,071 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87919938 info 2025-08-18 19:43:48,327 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 19:43:48,327 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-18 19:43:48,327 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:43:48,954 - INFO - Deleted project: ctest-TestBasicPolicy-99811014, ID : 1d7bdd07-f7d4-43e9-8502-03230ebc8d6b