2025-03-24 21:11:11,984 - INFO - Domain Default found not creating 2025-03-24 21:11:12,160 - INFO - Project ctest-TestBasicPolicy-90195201 not found, creating it 2025-03-24 21:11:12,680 - INFO - Created Project:ctest-TestBasicPolicy-90195201, ID : 9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:14,227 - INFO - ================================================================================ 2025-03-24 21:11:14,227 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-24 21:11:14,227 - 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-03-24 21:11:14,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.19': '0'}} with 2025-03-24 21:11:14,492 - INFO - Initial checks done. Running the testcase now 2025-03-24 21:11:14,492 - INFO - 2025-03-24 21:11:15,084 - DEBUG - Response for create_network : {'network': {'id': '1d7a6d03-5721-4b0c-a120-e812319705ec', 'name': 'ctest-vn-24626042', 'tenant_id': '9501c8810b564a95938efed183351f19', 'project_id': '9501c8810b564a95938efed183351f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-vn-24626042'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 21:11:15,275 - DEBUG - Response for create_subnet : {'subnet': {'id': '265d835a-1b30-494f-9813-8ad4ee76a507', 'name': '', 'tenant_id': '9501c8810b564a95938efed183351f19', 'network_id': '1d7a6d03-5721-4b0c-a120-e812319705ec', 'ip_version': 4, 'cidr': '76.124.34.128/26', 'allocation_pools': [{'start': '76.124.34.130', 'end': '76.124.34.190'}], 'gateway_ip': '76.124.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.124.34.130', 'tags': [], 'project_id': '9501c8810b564a95938efed183351f19'}} 2025-03-24 21:11:15,299 - INFO - Created VN ctest-vn-24626042 2025-03-24 21:11:15,357 - DEBUG - VN ctest-vn-24626042 UUID is 1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:15,697 - DEBUG - Response for create_network : {'network': {'id': '2d85f796-b02c-477b-985c-29d8d8bf3bee', 'name': 'ctest-vn-21086482', 'tenant_id': '9501c8810b564a95938efed183351f19', 'project_id': '9501c8810b564a95938efed183351f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-vn-21086482'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 21:11:15,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '5973a92e-2bd3-4f9a-9473-9d240c5361b5', 'name': '', 'tenant_id': '9501c8810b564a95938efed183351f19', 'network_id': '2d85f796-b02c-477b-985c-29d8d8bf3bee', 'ip_version': 4, 'cidr': '144.182.99.0/26', 'allocation_pools': [{'start': '144.182.99.2', 'end': '144.182.99.62'}], 'gateway_ip': '144.182.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.182.99.2', 'tags': [], 'project_id': '9501c8810b564a95938efed183351f19'}} 2025-03-24 21:11:15,909 - INFO - Created VN ctest-vn-21086482 2025-03-24 21:11:15,961 - DEBUG - VN ctest-vn-21086482 UUID is 2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:16,081 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042, 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-90195201:ctest-vn-21086482, 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-03-24 21:11:16,396 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d7a6d03-5721-4b0c-a120-e812319705ec', 'name': 'ctest-vn-24626042', 'tenant_id': '9501c8810b564a95938efed183351f19', 'project_id': '9501c8810b564a95938efed183351f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['265d835a-1b30-494f-9813-8ad4ee76a507'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-vn-24626042'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-policy-allow-all-20194677']], 'subnet_ipam': [{'subnet_cidr': '76.124.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-24 21:11:16,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d85f796-b02c-477b-985c-29d8d8bf3bee', 'name': 'ctest-vn-21086482', 'tenant_id': '9501c8810b564a95938efed183351f19', 'project_id': '9501c8810b564a95938efed183351f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5973a92e-2bd3-4f9a-9473-9d240c5361b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-vn-21086482'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-policy-allow-all-20194677']], 'subnet_ipam': [{'subnet_cidr': '144.182.99.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-24 21:11:16,842 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:17,148 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:17,182 - DEBUG - Requesting: http://10.0.0.17:8082/domain/c032f704-8960-40dc-b550-8cfb6ee34d1c 2025-03-24 21:11:17,201 - DEBUG - Requesting: http://10.0.0.17:8082/project/9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:17,285 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:17,298 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:17,308 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/611c198a-8b30-40d0-b9df-0f38b3362217 2025-03-24 21:11:17,316 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/611c198a-8b30-40d0-b9df-0f38b3362217 2025-03-24 21:11:17,325 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/b6efe63a-d263-46b8-9d31-57d5fb781ce0 2025-03-24 21:11:17,333 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-24 21:11:17,333 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:17,346 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/611c198a-8b30-40d0-b9df-0f38b3362217 2025-03-24 21:11:17,364 - INFO - Verified VN network id 8 for VN 1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:17,364 - INFO - Verifications in API Server for VN ctest-vn-24626042 passed 2025-03-24 21:11:17,364 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:17,375 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/611c198a-8b30-40d0-b9df-0f38b3362217 2025-03-24 21:11:17,383 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/611c198a-8b30-40d0-b9df-0f38b3362217 2025-03-24 21:11:17,392 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/b6efe63a-d263-46b8-9d31-57d5fb781ce0 2025-03-24 21:11:17,405 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90195201', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2124130035372739340', 'uuid-lslong': '11610535004200175084'}, 'enable': 'true', 'created': '2025-03-24T21:11:15', 'last-modified': '2025-03-24T21:11:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034461'} 2025-03-24 21:11:17,412 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-24 21:11:17,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24626042 passed 2025-03-24 21:11:17,413 - DEBUG - ====Verifying policy data for ctest-vn-24626042 in API_Server ====== 2025-03-24 21:11:17,413 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:17,420 - DEBUG - Requesting: http://10.0.0.17:8082/domain/c032f704-8960-40dc-b550-8cfb6ee34d1c 2025-03-24 21:11:17,435 - DEBUG - Requesting: http://10.0.0.17:8082/project/9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:17,519 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/1d7a6d03-5721-4b0c-a120-e812319705ec 2025-03-24 21:11:17,533 - DEBUG - ==>Verifying data for policy with id: 4349e1cc-70ca-424e-a2bd-6d286fcb47e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-policy-allow-all-20194677'] 2025-03-24 21:11:17,533 - INFO - VN ctest-vn-24626042 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-24 21:11:17,533 - DEBUG - Verifying the vn in opserver 2025-03-24 21:11:17,534 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042 virtual network link through opserver 10.0.0.17 2025-03-24 21:11:17,534 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-24 21:11:17,828 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-24 21:11:17,901 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042?flat'} 2025-03-24 21:11:17,901 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042 is found in opserver 2025-03-24 21:11:17,915 - DEBUG - Do not have enough data to verify VN in agent 2025-03-24 21:11:17,922 - DEBUG - VRF ids for VN ctest-vn-24626042: {} 2025-03-24 21:11:17,922 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:17,930 - DEBUG - Requesting: http://10.0.0.17:8082/domain/c032f704-8960-40dc-b550-8cfb6ee34d1c 2025-03-24 21:11:17,947 - DEBUG - Requesting: http://10.0.0.17:8082/project/9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:18,048 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:18,064 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:18,075 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/caff5c01-3f14-4301-9339-6466cc86a0e9 2025-03-24 21:11:18,084 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/caff5c01-3f14-4301-9339-6466cc86a0e9 2025-03-24 21:11:18,094 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/225125fe-6ff1-4ac9-9bff-75cf9ee879e6 2025-03-24 21:11:18,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-24 21:11:18,101 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:18,113 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/caff5c01-3f14-4301-9339-6466cc86a0e9 2025-03-24 21:11:18,132 - INFO - Verified VN network id 9 for VN 2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:18,132 - INFO - Verifications in API Server for VN ctest-vn-21086482 passed 2025-03-24 21:11:18,132 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:18,144 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/caff5c01-3f14-4301-9339-6466cc86a0e9 2025-03-24 21:11:18,153 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/caff5c01-3f14-4301-9339-6466cc86a0e9 2025-03-24 21:11:18,163 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/225125fe-6ff1-4ac9-9bff-75cf9ee879e6 2025-03-24 21:11:18,178 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-21086482', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90195201', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3280300130182121339', 'uuid-lslong': '10978696002948512750'}, 'enable': 'true', 'created': '2025-03-24T21:11:15', 'last-modified': '2025-03-24T21:11:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.536802'} 2025-03-24 21:11:18,185 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-24 21:11:18,185 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21086482 passed 2025-03-24 21:11:18,185 - DEBUG - ====Verifying policy data for ctest-vn-21086482 in API_Server ====== 2025-03-24 21:11:18,185 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:18,191 - DEBUG - Requesting: http://10.0.0.17:8082/domain/c032f704-8960-40dc-b550-8cfb6ee34d1c 2025-03-24 21:11:18,205 - DEBUG - Requesting: http://10.0.0.17:8082/project/9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:18,284 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2d85f796-b02c-477b-985c-29d8d8bf3bee 2025-03-24 21:11:18,296 - DEBUG - ==>Verifying data for policy with id: 4349e1cc-70ca-424e-a2bd-6d286fcb47e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-90195201', 'ctest-policy-allow-all-20194677'] 2025-03-24 21:11:18,296 - INFO - VN ctest-vn-21086482 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-24 21:11:18,296 - DEBUG - Verifying the vn in opserver 2025-03-24 21:11:18,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-21086482 virtual network link through opserver 10.0.0.17 2025-03-24 21:11:18,297 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-24 21:11:18,311 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-21086482', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-21086482?flat'} 2025-03-24 21:11:18,311 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-21086482 is found in opserver 2025-03-24 21:11:18,324 - DEBUG - Do not have enough data to verify VN in agent 2025-03-24 21:11:18,331 - DEBUG - VRF ids for VN ctest-vn-21086482: {} 2025-03-24 21:11:18,390 - DEBUG - Services list from nova: [, , ] 2025-03-24 21:11:19,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2945-1) 2025-03-24 21:11:20,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2945-1) 2025-03-24 21:11:20,806 - INFO - Waiting for VM ctest-TestBasicPolicy-90195201-72826028 to be up.. 2025-03-24 21:11:20,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-24 21:11:25,997 - DEBUG - VM is in ACTIVE state now 2025-03-24 21:11:25,997 - INFO - VM name : ctest-TestBasicPolicy-90195201-72826028 2025-03-24 21:11:26,110 - DEBUG - VM ctest-TestBasicPolicy-90195201-72826028 ID is d5ef09d4-c5f4-4994-a59d-c95991119190 2025-03-24 21:11:26,136 - DEBUG - VM ctest-TestBasicPolicy-90195201-72826028 launched on Node cn-jenkins-deploy-platform-ansible-os-2945-1 2025-03-24 21:11:26,234 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d5ef09d4-c5f4-4994-a59d-c95991119190 2025-03-24 21:11:26,245 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/485d2e93-518b-4c3d-8187-b936aeed6412 2025-03-24 21:11:29,519 - 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 1009ms') 2025-03-24 21:11:29,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90195201-72826028 failed! 2025-03-24 21:11:29,577 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90195201:ctest-vn-24626042 is 76.124.34.129 and allocation pool is NOT set 2025-03-24 21:11:31,644 - 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=9.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.665 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.665/5.029/9.394/4.364 ms') 2025-03-24 21:11:31,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90195201-72826028 passed 2025-03-24 21:11:31,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:11:31,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90195201-72826028, IP 76.124.34.131, Port 22 2025-03-24 21:11:31,961 - DEBUG - VM ctest-TestBasicPolicy-90195201-72826028 is ready for SSH connections 2025-03-24 21:11:31,961 - INFO - Waiting for VM ctest-TestBasicPolicy-90195201-09043397 to be up.. 2025-03-24 21:11:32,047 - DEBUG - VM is in ACTIVE state now 2025-03-24 21:11:32,047 - INFO - VM name : ctest-TestBasicPolicy-90195201-09043397 2025-03-24 21:11:32,136 - DEBUG - VM ctest-TestBasicPolicy-90195201-09043397 ID is f083bd84-fe24-4f9c-9251-0062d86a934c 2025-03-24 21:11:32,136 - DEBUG - VM ctest-TestBasicPolicy-90195201-09043397 launched on Node cn-jenkins-deploy-platform-ansible-os-2945-1 2025-03-24 21:11:32,219 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f083bd84-fe24-4f9c-9251-0062d86a934c 2025-03-24 21:11:32,229 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/19a9b514-8b7b-4d8c-9bf5-0dc8b4a53000 2025-03-24 21:11:33,478 - 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.869 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.869/2.398/3.927/1.529 ms') 2025-03-24 21:11:33,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90195201-09043397 passed 2025-03-24 21:11:33,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:11:33,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90195201-09043397, IP 144.182.99.3, Port 22 2025-03-24 21:11:33,789 - DEBUG - VM ctest-TestBasicPolicy-90195201-09043397 is ready for SSH connections 2025-03-24 21:11:33,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:11:33,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.182.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-24 21:11:33,790 - DEBUG - ping -s 56 -c 3 -W 1 144.182.99.3 2025-03-24 21:11:37,804 - DEBUG - PING 144.182.99.3 (144.182.99.3): 56 data bytes 64 bytes from 144.182.99.3: seq=0 ttl=63 time=3.778 ms 64 bytes from 144.182.99.3: seq=1 ttl=63 time=0.874 ms 64 bytes from 144.182.99.3: seq=2 ttl=63 time=0.772 ms --- 144.182.99.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.808/3.778 ms 2025-03-24 21:11:37,804 - INFO - Ping to IP 144.182.99.3 from VM ctest-TestBasicPolicy-90195201-72826028 passed 2025-03-24 21:11:37,989 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4349e1cc-70ca-424e-a2bd-6d286fcb47e1", "href": "http://10.0.0.17:8082/network-policy/4349e1cc-70ca-424e-a2bd-6d286fcb47e1"}} 2025-03-24 21:11:37,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 21:11:37,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.182.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-24 21:11:37,989 - DEBUG - ping -s 56 -c 3 -W 1 144.182.99.3 2025-03-24 21:11:41,207 - DEBUG - PING 144.182.99.3 (144.182.99.3): 56 data bytes 64 bytes from 144.182.99.3: seq=0 ttl=63 time=1.711 ms --- 144.182.99.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.711/1.711/1.711 ms 2025-03-24 21:11:41,207 - WARNING - Ping to IP 144.182.99.3 from VM ctest-TestBasicPolicy-90195201-72826028 failed 2025-03-24 21:11:41,207 - INFO - Deleting VM ctest-TestBasicPolicy-90195201-09043397 2025-03-24 21:11:41,300 - INFO - Deleting VM ctest-TestBasicPolicy-90195201-72826028 2025-03-24 21:11:41,732 - INFO - Deleted policy ctest-policy-allow-all-20194677 2025-03-24 21:11:41,732 - INFO - Deleting VN ctest-vn-21086482 2025-03-24 21:11:41,775 - DEBUG - VN 2d85f796-b02c-477b-985c-29d8d8bf3bee still in use: Unable to complete operation on network 2d85f796-b02c-477b-985c-29d8d8bf3bee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79166cec-b456-4b13-bc64-d2fbacb4da32'] 2025-03-24 21:11:41,776 - WARNING - Deleting VN ctest-vn-21086482 failed..Will retry 2025-03-24 21:11:43,880 - DEBUG - Response for deleting network () 2025-03-24 21:11:43,880 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/caff5c01-3f14-4301-9339-6466cc86a0e9 2025-03-24 21:11:43,886 - DEBUG - Response Code: 404 2025-03-24 21:11:43,886 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:43,895 - DEBUG - Requesting: http://10.0.0.17:8082/domain/c032f704-8960-40dc-b550-8cfb6ee34d1c 2025-03-24 21:11:43,958 - DEBUG - Requesting: http://10.0.0.17:8082/project/9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:44,045 - INFO - Validated that VN ctest-vn-21086482 is not found in API Server 2025-03-24 21:11:44,059 - DEBUG - VN ctest-vn-21086482 is not present in Agent 10.0.0.17 2025-03-24 21:11:44,059 - INFO - Validated that VN ctest-vn-21086482 is not in any agent 2025-03-24 21:11:44,079 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21086482 info 2025-03-24 21:11:44,079 - INFO - Deleting VN ctest-vn-24626042 2025-03-24 21:11:44,220 - DEBUG - Response for deleting network () 2025-03-24 21:11:44,220 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/611c198a-8b30-40d0-b9df-0f38b3362217 2025-03-24 21:11:44,226 - DEBUG - Response Code: 404 2025-03-24 21:11:44,227 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-24 21:11:44,233 - DEBUG - Requesting: http://10.0.0.17:8082/domain/c032f704-8960-40dc-b550-8cfb6ee34d1c 2025-03-24 21:11:44,287 - DEBUG - Requesting: http://10.0.0.17:8082/project/9501c881-0b56-4a95-938e-fed183351f19 2025-03-24 21:11:44,368 - INFO - Validated that VN ctest-vn-24626042 is not found in API Server 2025-03-24 21:11:44,379 - DEBUG - VN ctest-vn-24626042 is not present in Agent 10.0.0.17 2025-03-24 21:11:44,379 - INFO - Validated that VN ctest-vn-24626042 is not in any agent 2025-03-24 21:11:44,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24626042 info 2025-03-24 21:11:44,664 - DEBUG - No XMPP flaps were noticed during the test 2025-03-24 21:11:44,664 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-24 21:11:44,665 - INFO - -------------------------------------------------------------------------------- 2025-03-24 21:11:45,388 - INFO - Deleted project: ctest-TestBasicPolicy-90195201, ID : 9501c881-0b56-4a95-938e-fed183351f19