2025-07-21 18:58:40,221 - INFO - Domain Default found not creating 2025-07-21 18:58:40,569 - INFO - Project ctest-TestBasicPolicy-35586069 not found, creating it 2025-07-21 18:58:41,220 - INFO - Created Project:ctest-TestBasicPolicy-35586069, ID : 621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:58:43,661 - INFO - ================================================================================ 2025-07-21 18:58:43,661 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 18:58:43,661 - 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-07-21 18:58:43,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 18:58:43,989 - INFO - Initial checks done. Running the testcase now 2025-07-21 18:58:43,990 - INFO - 2025-07-21 18:58:45,126 - DEBUG - Response for create_network : {'network': {'id': '9b736412-a770-4792-89a0-593210fb4038', 'name': 'ctest-vn-83720573', 'tenant_id': '621b541b11254b14af24185da06b645f', 'project_id': '621b541b11254b14af24185da06b645f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-vn-83720573'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 18:58:45,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac652811-2cb4-4029-851b-3b7958e42050', 'name': '', 'tenant_id': '621b541b11254b14af24185da06b645f', 'network_id': '9b736412-a770-4792-89a0-593210fb4038', 'ip_version': 4, 'cidr': '199.54.56.192/26', 'allocation_pools': [{'start': '199.54.56.194', 'end': '199.54.56.254'}], 'gateway_ip': '199.54.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.54.56.194', 'tags': [], 'project_id': '621b541b11254b14af24185da06b645f'}} 2025-07-21 18:58:45,417 - INFO - Created VN ctest-vn-83720573 2025-07-21 18:58:45,469 - DEBUG - VN ctest-vn-83720573 UUID is 9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:45,991 - DEBUG - Response for create_network : {'network': {'id': '5ffed94a-5dc9-4109-9366-d0d2a6602867', 'name': 'ctest-vn-87408898', 'tenant_id': '621b541b11254b14af24185da06b645f', 'project_id': '621b541b11254b14af24185da06b645f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-vn-87408898'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 18:58:46,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '597c6470-5ce4-4d44-9cc0-c5cd4c22658a', 'name': '', 'tenant_id': '621b541b11254b14af24185da06b645f', 'network_id': '5ffed94a-5dc9-4109-9366-d0d2a6602867', 'ip_version': 4, 'cidr': '219.228.243.192/26', 'allocation_pools': [{'start': '219.228.243.194', 'end': '219.228.243.254'}], 'gateway_ip': '219.228.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.228.243.194', 'tags': [], 'project_id': '621b541b11254b14af24185da06b645f'}} 2025-07-21 18:58:46,214 - INFO - Created VN ctest-vn-87408898 2025-07-21 18:58:46,274 - DEBUG - VN ctest-vn-87408898 UUID is 5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:46,438 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573, 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-35586069:ctest-vn-87408898, 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-07-21 18:58:46,937 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b736412-a770-4792-89a0-593210fb4038', 'name': 'ctest-vn-83720573', 'tenant_id': '621b541b11254b14af24185da06b645f', 'project_id': '621b541b11254b14af24185da06b645f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac652811-2cb4-4029-851b-3b7958e42050'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-vn-83720573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-policy-allow-all-85757554']], 'subnet_ipam': [{'subnet_cidr': '199.54.56.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 18:58:47,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ffed94a-5dc9-4109-9366-d0d2a6602867', 'name': 'ctest-vn-87408898', 'tenant_id': '621b541b11254b14af24185da06b645f', 'project_id': '621b541b11254b14af24185da06b645f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['597c6470-5ce4-4d44-9cc0-c5cd4c22658a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-vn-87408898'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-policy-allow-all-85757554']], 'subnet_ipam': [{'subnet_cidr': '219.228.243.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 18:58:47,482 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:58:47,815 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:58:47,866 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b73c11fd-0857-42d0-b42c-88d15666e272 2025-07-21 18:58:47,906 - DEBUG - Requesting: http://10.0.0.254:8082/project/621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:58:48,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:48,068 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:48,088 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5f28232d-3362-44a2-81b5-17616de418fd 2025-07-21 18:58:48,101 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5f28232d-3362-44a2-81b5-17616de418fd 2025-07-21 18:58:48,117 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/54e495ec-1431-41ac-83e0-1ab8916b400e 2025-07-21 18:58:48,132 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 18:58:48,132 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:48,157 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5f28232d-3362-44a2-81b5-17616de418fd 2025-07-21 18:58:48,188 - INFO - Verified VN network id 9 for VN 9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:48,188 - INFO - Verifications in API Server for VN ctest-vn-83720573 passed 2025-07-21 18:58:48,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:48,202 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5f28232d-3362-44a2-81b5-17616de418fd 2025-07-21 18:58:48,212 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5f28232d-3362-44a2-81b5-17616de418fd 2025-07-21 18:58:48,222 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/54e495ec-1431-41ac-83e0-1ab8916b400e 2025-07-21 18:58:48,243 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35586069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11201406729481897874', 'uuid-lslong': '9917024451037970488'}, 'enable': 'true', 'created': '2025-07-21T18:58:45', 'last-modified': '2025-07-21T18:58:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.356688'} 2025-07-21 18:58:48,251 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 18:58:48,252 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83720573 passed 2025-07-21 18:58:48,252 - DEBUG - ====Verifying policy data for ctest-vn-83720573 in API_Server ====== 2025-07-21 18:58:48,252 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:58:48,259 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b73c11fd-0857-42d0-b42c-88d15666e272 2025-07-21 18:58:48,271 - DEBUG - Requesting: http://10.0.0.254:8082/project/621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:58:48,374 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9b736412-a770-4792-89a0-593210fb4038 2025-07-21 18:58:48,395 - DEBUG - ==>Verifying data for policy with id: 867083c4-beb5-4d12-a5a9-789a372c1b1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-policy-allow-all-85757554'] 2025-07-21 18:58:48,395 - INFO - VN ctest-vn-83720573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 18:58:48,395 - DEBUG - Verifying the vn in opserver 2025-07-21 18:58:48,395 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573 virtual network link through opserver 10.0.0.254 2025-07-21 18:58:48,395 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 18:58:48,723 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 18:58:48,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573?flat'} 2025-07-21 18:58:48,822 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573 is found in opserver 2025-07-21 18:58:48,847 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 18:58:48,856 - DEBUG - VRF ids for VN ctest-vn-83720573: {} 2025-07-21 18:58:48,856 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:58:48,865 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b73c11fd-0857-42d0-b42c-88d15666e272 2025-07-21 18:58:48,888 - DEBUG - Requesting: http://10.0.0.254:8082/project/621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:58:49,012 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:49,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:49,072 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c88e7004-87db-457a-a0a0-1d6ebd52eead 2025-07-21 18:58:49,091 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c88e7004-87db-457a-a0a0-1d6ebd52eead 2025-07-21 18:58:49,109 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6fab0d66-99aa-4f87-8739-bb0074335d77 2025-07-21 18:58:49,144 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 18:58:49,144 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:49,176 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c88e7004-87db-457a-a0a0-1d6ebd52eead 2025-07-21 18:58:49,219 - INFO - Verified VN network id 10 for VN 5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:49,220 - INFO - Verifications in API Server for VN ctest-vn-87408898 passed 2025-07-21 18:58:49,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:49,252 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c88e7004-87db-457a-a0a0-1d6ebd52eead 2025-07-21 18:58:49,275 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c88e7004-87db-457a-a0a0-1d6ebd52eead 2025-07-21 18:58:49,296 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6fab0d66-99aa-4f87-8739-bb0074335d77 2025-07-21 18:58:49,325 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-87408898', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35586069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6917204991111938313', 'uuid-lslong': '10621406374352922727'}, 'enable': 'true', 'created': '2025-07-21T18:58:45', 'last-modified': '2025-07-21T18:58:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.075373'} 2025-07-21 18:58:49,339 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 18:58:49,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87408898 passed 2025-07-21 18:58:49,340 - DEBUG - ====Verifying policy data for ctest-vn-87408898 in API_Server ====== 2025-07-21 18:58:49,340 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:58:49,348 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b73c11fd-0857-42d0-b42c-88d15666e272 2025-07-21 18:58:49,361 - DEBUG - Requesting: http://10.0.0.254:8082/project/621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:58:49,457 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5ffed94a-5dc9-4109-9366-d0d2a6602867 2025-07-21 18:58:49,472 - DEBUG - ==>Verifying data for policy with id: 867083c4-beb5-4d12-a5a9-789a372c1b1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-35586069', 'ctest-policy-allow-all-85757554'] 2025-07-21 18:58:49,472 - INFO - VN ctest-vn-87408898 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 18:58:49,472 - DEBUG - Verifying the vn in opserver 2025-07-21 18:58:49,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-87408898 virtual network link through opserver 10.0.0.254 2025-07-21 18:58:49,472 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 18:58:49,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-87408898', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-87408898?flat'} 2025-07-21 18:58:49,492 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-87408898 is found in opserver 2025-07-21 18:58:49,516 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 18:58:49,522 - DEBUG - VRF ids for VN ctest-vn-87408898: {} 2025-07-21 18:58:49,609 - DEBUG - Services list from nova: [, , ] 2025-07-21 18:58:50,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3683-1) 2025-07-21 18:58:52,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3683-1) 2025-07-21 18:58:52,148 - INFO - Waiting for VM ctest-TestBasicPolicy-35586069-54089468 to be up.. 2025-07-21 18:58:52,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 18:58:57,403 - DEBUG - VM is in ACTIVE state now 2025-07-21 18:58:57,403 - INFO - VM name : ctest-TestBasicPolicy-35586069-54089468 2025-07-21 18:58:57,565 - DEBUG - VM ctest-TestBasicPolicy-35586069-54089468 ID is 3d5a1ba9-cd68-4987-8505-691cf953787c 2025-07-21 18:58:57,599 - DEBUG - VM ctest-TestBasicPolicy-35586069-54089468 launched on Node cn-jenkins-deploy-platform-ansible-os-3683-1 2025-07-21 18:58:57,766 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d5a1ba9-cd68-4987-8505-691cf953787c 2025-07-21 18:58:57,788 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/45898ad3-fe68-4bcc-9257-88504cc4b50b 2025-07-21 18:59:01,140 - 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 1018ms') 2025-07-21 18:59:01,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35586069-54089468 failed! 2025-07-21 18:59:01,230 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35586069:ctest-vn-83720573 is 199.54.56.193 and allocation pool is NOT set 2025-07-21 18:59:03,306 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.23 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 = 4.021/4.626/5.232/0.605 ms') 2025-07-21 18:59:03,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35586069-54089468 passed 2025-07-21 18:59:03,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:59:03,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35586069-54089468, IP 199.54.56.195, Port 22 2025-07-21 18:59:03,572 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-21 18:59:03,733 - DEBUG - VM ctest-TestBasicPolicy-35586069-54089468 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 18:59:08,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:59:08,735 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35586069-54089468, IP 199.54.56.195, Port 22 2025-07-21 18:59:08,929 - DEBUG - VM ctest-TestBasicPolicy-35586069-54089468 is ready for SSH connections 2025-07-21 18:59:08,929 - INFO - Waiting for VM ctest-TestBasicPolicy-35586069-36124294 to be up.. 2025-07-21 18:59:09,050 - DEBUG - VM is in ACTIVE state now 2025-07-21 18:59:09,051 - INFO - VM name : ctest-TestBasicPolicy-35586069-36124294 2025-07-21 18:59:09,224 - DEBUG - VM ctest-TestBasicPolicy-35586069-36124294 ID is 25adc1fc-63ff-47ce-a197-5e1bcb9fb6dc 2025-07-21 18:59:09,224 - DEBUG - VM ctest-TestBasicPolicy-35586069-36124294 launched on Node cn-jenkins-deploy-platform-ansible-os-3683-1 2025-07-21 18:59:09,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/25adc1fc-63ff-47ce-a197-5e1bcb9fb6dc 2025-07-21 18:59:09,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1f2ce18-d99e-4697-a0bb-7a311a5e3095 2025-07-21 18:59:10,806 - 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=9.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.824 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.824/5.019/9.215/4.195 ms') 2025-07-21 18:59:10,806 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35586069-36124294 passed 2025-07-21 18:59:10,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:59:10,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35586069-36124294, IP 219.228.243.195, Port 22 2025-07-21 18:59:11,207 - DEBUG - VM ctest-TestBasicPolicy-35586069-36124294 is ready for SSH connections 2025-07-21 18:59:11,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:59:11,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.228.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 18:59:11,208 - DEBUG - ping -s 56 -c 3 -W 1 219.228.243.195 2025-07-21 18:59:15,737 - DEBUG - PING 219.228.243.195 (219.228.243.195): 56 data bytes 64 bytes from 219.228.243.195: seq=0 ttl=63 time=4.110 ms 64 bytes from 219.228.243.195: seq=1 ttl=63 time=1.494 ms 64 bytes from 219.228.243.195: seq=2 ttl=63 time=1.903 ms --- 219.228.243.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.494/2.502/4.110 ms 2025-07-21 18:59:15,737 - INFO - Ping to IP 219.228.243.195 from VM ctest-TestBasicPolicy-35586069-54089468 passed 2025-07-21 18:59:16,001 - DEBUG - Policy Update Response {"network-policy": {"uuid": "867083c4-beb5-4d12-a5a9-789a372c1b1e", "href": "http://10.0.0.254:8082/network-policy/867083c4-beb5-4d12-a5a9-789a372c1b1e"}} 2025-07-21 18:59:16,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:59:16,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.228.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 18:59:16,002 - DEBUG - ping -s 56 -c 3 -W 1 219.228.243.195 2025-07-21 18:59:19,315 - DEBUG - PING 219.228.243.195 (219.228.243.195): 56 data bytes --- 219.228.243.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 18:59:19,316 - WARNING - Ping to IP 219.228.243.195 from VM ctest-TestBasicPolicy-35586069-54089468 failed 2025-07-21 18:59:19,316 - INFO - Deleting VM ctest-TestBasicPolicy-35586069-36124294 2025-07-21 18:59:19,445 - INFO - Deleting VM ctest-TestBasicPolicy-35586069-54089468 2025-07-21 18:59:20,007 - INFO - Deleted policy ctest-policy-allow-all-85757554 2025-07-21 18:59:20,007 - INFO - Deleting VN ctest-vn-87408898 2025-07-21 18:59:20,051 - DEBUG - VN 5ffed94a-5dc9-4109-9366-d0d2a6602867 still in use: Unable to complete operation on network 5ffed94a-5dc9-4109-9366-d0d2a6602867. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a21f215-dfaa-4d08-a1c8-4264b0ec1e41'] 2025-07-21 18:59:20,051 - WARNING - Deleting VN ctest-vn-87408898 failed..Will retry 2025-07-21 18:59:22,236 - DEBUG - Response for deleting network () 2025-07-21 18:59:22,236 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c88e7004-87db-457a-a0a0-1d6ebd52eead 2025-07-21 18:59:22,244 - DEBUG - Response Code: 404 2025-07-21 18:59:22,244 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:59:22,256 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b73c11fd-0857-42d0-b42c-88d15666e272 2025-07-21 18:59:22,286 - DEBUG - Requesting: http://10.0.0.254:8082/project/621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:59:22,416 - INFO - Validated that VN ctest-vn-87408898 is not found in API Server 2025-07-21 18:59:22,438 - DEBUG - VN ctest-vn-87408898 is not present in Agent 10.0.0.254 2025-07-21 18:59:22,438 - INFO - Validated that VN ctest-vn-87408898 is not in any agent 2025-07-21 18:59:22,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87408898 info 2025-07-21 18:59:22,488 - INFO - Deleting VN ctest-vn-83720573 2025-07-21 18:59:22,731 - DEBUG - Response for deleting network () 2025-07-21 18:59:22,731 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5f28232d-3362-44a2-81b5-17616de418fd 2025-07-21 18:59:22,750 - DEBUG - Response Code: 404 2025-07-21 18:59:22,751 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 18:59:22,761 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b73c11fd-0857-42d0-b42c-88d15666e272 2025-07-21 18:59:22,783 - DEBUG - Requesting: http://10.0.0.254:8082/project/621b541b-1125-4b14-af24-185da06b645f 2025-07-21 18:59:22,875 - INFO - Validated that VN ctest-vn-83720573 is not found in API Server 2025-07-21 18:59:22,893 - DEBUG - VN ctest-vn-83720573 is not present in Agent 10.0.0.254 2025-07-21 18:59:22,894 - INFO - Validated that VN ctest-vn-83720573 is not in any agent 2025-07-21 18:59:22,934 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83720573 info 2025-07-21 18:59:23,266 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 18:59:23,266 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2025-07-21 18:59:23,267 - INFO - -------------------------------------------------------------------------------- 2025-07-21 18:59:24,261 - INFO - Deleted project: ctest-TestBasicPolicy-35586069, ID : 621b541b-1125-4b14-af24-185da06b645f