2025-06-24 13:39:28,194 - INFO - Domain Default found not creating 2025-06-24 13:39:28,388 - INFO - Project ctest-TestBasicPolicy-47027696 not found, creating it 2025-06-24 13:39:28,886 - INFO - Created Project:ctest-TestBasicPolicy-47027696, ID : 2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:39:30,426 - INFO - ================================================================================ 2025-06-24 13:39:30,426 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 13:39:30,426 - 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-06-24 13:39:30,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2025-06-24 13:39:30,686 - INFO - Initial checks done. Running the testcase now 2025-06-24 13:39:30,686 - INFO - 2025-06-24 13:39:31,267 - DEBUG - Response for create_network : {'network': {'id': '72808be0-2917-49be-bda7-58916eaa67d2', 'name': 'ctest-vn-12245003', 'tenant_id': '2b41732a89bf4e3da1a1a456c008697b', 'project_id': '2b41732a89bf4e3da1a1a456c008697b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-vn-12245003'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:39:31,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e73156c8-2c7f-4279-9e31-4e060c57fc03', 'name': '', 'tenant_id': '2b41732a89bf4e3da1a1a456c008697b', 'network_id': '72808be0-2917-49be-bda7-58916eaa67d2', 'ip_version': 4, 'cidr': '212.234.5.128/26', 'allocation_pools': [{'start': '212.234.5.130', 'end': '212.234.5.190'}], 'gateway_ip': '212.234.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.234.5.130', 'tags': [], 'project_id': '2b41732a89bf4e3da1a1a456c008697b'}} 2025-06-24 13:39:31,491 - INFO - Created VN ctest-vn-12245003 2025-06-24 13:39:31,548 - DEBUG - VN ctest-vn-12245003 UUID is 72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:31,886 - DEBUG - Response for create_network : {'network': {'id': '1066ffd4-82b3-4baf-9ab4-7b9334b55799', 'name': 'ctest-vn-38473866', 'tenant_id': '2b41732a89bf4e3da1a1a456c008697b', 'project_id': '2b41732a89bf4e3da1a1a456c008697b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-vn-38473866'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:39:32,104 - DEBUG - Response for create_subnet : {'subnet': {'id': '04a242d7-5956-4e15-bb45-9d90a5d3f40b', 'name': '', 'tenant_id': '2b41732a89bf4e3da1a1a456c008697b', 'network_id': '1066ffd4-82b3-4baf-9ab4-7b9334b55799', 'ip_version': 4, 'cidr': '155.255.75.128/26', 'allocation_pools': [{'start': '155.255.75.130', 'end': '155.255.75.190'}], 'gateway_ip': '155.255.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.255.75.130', 'tags': [], 'project_id': '2b41732a89bf4e3da1a1a456c008697b'}} 2025-06-24 13:39:32,128 - INFO - Created VN ctest-vn-38473866 2025-06-24 13:39:32,188 - DEBUG - VN ctest-vn-38473866 UUID is 1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:32,318 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003, 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-47027696:ctest-vn-38473866, 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-06-24 13:39:32,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '72808be0-2917-49be-bda7-58916eaa67d2', 'name': 'ctest-vn-12245003', 'tenant_id': '2b41732a89bf4e3da1a1a456c008697b', 'project_id': '2b41732a89bf4e3da1a1a456c008697b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e73156c8-2c7f-4279-9e31-4e060c57fc03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-vn-12245003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-policy-allow-all-42474284']], 'subnet_ipam': [{'subnet_cidr': '212.234.5.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:39:33,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1066ffd4-82b3-4baf-9ab4-7b9334b55799', 'name': 'ctest-vn-38473866', 'tenant_id': '2b41732a89bf4e3da1a1a456c008697b', 'project_id': '2b41732a89bf4e3da1a1a456c008697b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['04a242d7-5956-4e15-bb45-9d90a5d3f40b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-vn-38473866'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-policy-allow-all-42474284']], 'subnet_ipam': [{'subnet_cidr': '155.255.75.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:39:33,160 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:39:33,470 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:39:33,501 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fe050c28-cb55-4177-b840-47f183f49813 2025-06-24 13:39:33,519 - DEBUG - Requesting: http://10.0.0.65:8082/project/2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:39:33,602 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:33,615 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:33,625 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5a71cf2f-3dc1-4da8-838b-ac1188a887c3 2025-06-24 13:39:33,633 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5a71cf2f-3dc1-4da8-838b-ac1188a887c3 2025-06-24 13:39:33,641 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/667a697b-6327-410d-8740-400a5179c820 2025-06-24 13:39:33,648 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 13:39:33,648 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:33,657 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5a71cf2f-3dc1-4da8-838b-ac1188a887c3 2025-06-24 13:39:33,673 - INFO - Verified VN network id 8 for VN 72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:33,673 - INFO - Verifications in API Server for VN ctest-vn-12245003 passed 2025-06-24 13:39:33,674 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:33,683 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5a71cf2f-3dc1-4da8-838b-ac1188a887c3 2025-06-24 13:39:33,691 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5a71cf2f-3dc1-4da8-838b-ac1188a887c3 2025-06-24 13:39:33,698 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/667a697b-6327-410d-8740-400a5179c820 2025-06-24 13:39:33,711 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47027696', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8250748312221075902', 'uuid-lslong': '13665988975929223122'}, 'enable': 'true', 'created': '2025-06-24T13:39:31', 'last-modified': '2025-06-24T13:39:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047700'} 2025-06-24 13:39:33,719 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 13:39:33,720 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12245003 passed 2025-06-24 13:39:33,720 - DEBUG - ====Verifying policy data for ctest-vn-12245003 in API_Server ====== 2025-06-24 13:39:33,720 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:39:33,727 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fe050c28-cb55-4177-b840-47f183f49813 2025-06-24 13:39:33,741 - DEBUG - Requesting: http://10.0.0.65:8082/project/2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:39:33,818 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/72808be0-2917-49be-bda7-58916eaa67d2 2025-06-24 13:39:33,828 - DEBUG - ==>Verifying data for policy with id: ec3cf0d1-fd46-46a0-a3d2-0b7bf5feb1a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-policy-allow-all-42474284'] 2025-06-24 13:39:33,828 - INFO - VN ctest-vn-12245003 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 13:39:33,828 - DEBUG - Verifying the vn in opserver 2025-06-24 13:39:33,829 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003 virtual network link through opserver 10.0.0.65 2025-06-24 13:39:33,829 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-24 13:39:34,121 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-24 13:39:34,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003?flat'} 2025-06-24 13:39:34,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003 is found in opserver 2025-06-24 13:39:34,198 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 13:39:34,204 - DEBUG - VRF ids for VN ctest-vn-12245003: {} 2025-06-24 13:39:34,204 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:39:34,210 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fe050c28-cb55-4177-b840-47f183f49813 2025-06-24 13:39:34,224 - DEBUG - Requesting: http://10.0.0.65:8082/project/2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:39:34,306 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:34,324 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:34,336 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2408def7-7c58-471d-9a2c-54e1dfc4efe2 2025-06-24 13:39:34,346 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2408def7-7c58-471d-9a2c-54e1dfc4efe2 2025-06-24 13:39:34,355 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ebedecd8-4dbb-4cdc-9b08-00c5ecd8a0e4 2025-06-24 13:39:34,364 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 13:39:34,364 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:34,376 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2408def7-7c58-471d-9a2c-54e1dfc4efe2 2025-06-24 13:39:34,396 - INFO - Verified VN network id 9 for VN 1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:34,397 - INFO - Verifications in API Server for VN ctest-vn-38473866 passed 2025-06-24 13:39:34,397 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:34,410 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2408def7-7c58-471d-9a2c-54e1dfc4efe2 2025-06-24 13:39:34,420 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2408def7-7c58-471d-9a2c-54e1dfc4efe2 2025-06-24 13:39:34,430 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ebedecd8-4dbb-4cdc-9b08-00c5ecd8a0e4 2025-06-24 13:39:34,445 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-38473866', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47027696', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1181913240422271919', 'uuid-lslong': '11147670849823528857'}, 'enable': 'true', 'created': '2025-06-24T13:39:31', 'last-modified': '2025-06-24T13:39:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520402'} 2025-06-24 13:39:34,452 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 13:39:34,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38473866 passed 2025-06-24 13:39:34,453 - DEBUG - ====Verifying policy data for ctest-vn-38473866 in API_Server ====== 2025-06-24 13:39:34,453 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:39:34,459 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fe050c28-cb55-4177-b840-47f183f49813 2025-06-24 13:39:34,475 - DEBUG - Requesting: http://10.0.0.65:8082/project/2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:39:34,552 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/1066ffd4-82b3-4baf-9ab4-7b9334b55799 2025-06-24 13:39:34,568 - DEBUG - ==>Verifying data for policy with id: ec3cf0d1-fd46-46a0-a3d2-0b7bf5feb1a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-47027696', 'ctest-policy-allow-all-42474284'] 2025-06-24 13:39:34,568 - INFO - VN ctest-vn-38473866 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 13:39:34,568 - DEBUG - Verifying the vn in opserver 2025-06-24 13:39:34,568 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-38473866 virtual network link through opserver 10.0.0.65 2025-06-24 13:39:34,569 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-24 13:39:34,583 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-38473866', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-38473866?flat'} 2025-06-24 13:39:34,583 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-38473866 is found in opserver 2025-06-24 13:39:34,598 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 13:39:34,605 - DEBUG - VRF ids for VN ctest-vn-38473866: {} 2025-06-24 13:39:34,668 - DEBUG - Services list from nova: [, , ] 2025-06-24 13:39:35,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3535-1) 2025-06-24 13:39:37,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3535-1) 2025-06-24 13:39:37,159 - INFO - Waiting for VM ctest-TestBasicPolicy-47027696-88927423 to be up.. 2025-06-24 13:39:37,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 13:39:42,353 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:39:42,353 - INFO - VM name : ctest-TestBasicPolicy-47027696-88927423 2025-06-24 13:39:42,450 - DEBUG - VM ctest-TestBasicPolicy-47027696-88927423 ID is 1a6a043e-5118-4836-98c6-8472979860e8 2025-06-24 13:39:42,477 - DEBUG - VM ctest-TestBasicPolicy-47027696-88927423 launched on Node cn-jenkins-deploy-platform-ansible-os-3535-1 2025-06-24 13:39:42,566 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1a6a043e-5118-4836-98c6-8472979860e8 2025-06-24 13:39:42,576 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ba3b0896-00b6-42e1-86f3-f370a7b6efa0 2025-06-24 13:39:45,857 - 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 1026ms') 2025-06-24 13:39:45,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47027696-88927423 failed! 2025-06-24 13:39:45,916 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47027696:ctest-vn-12245003 is 212.234.5.129 and allocation pool is NOT set 2025-06-24 13:39:47,979 - 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=8.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.909 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.909/4.570/8.232/3.661 ms') 2025-06-24 13:39:47,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47027696-88927423 passed 2025-06-24 13:39:48,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:39:48,160 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47027696-88927423, IP 212.234.5.131, Port 22 2025-06-24 13:39:48,330 - DEBUG - VM ctest-TestBasicPolicy-47027696-88927423 is ready for SSH connections 2025-06-24 13:39:48,330 - INFO - Waiting for VM ctest-TestBasicPolicy-47027696-58159261 to be up.. 2025-06-24 13:39:48,492 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:39:48,492 - INFO - VM name : ctest-TestBasicPolicy-47027696-58159261 2025-06-24 13:39:48,571 - DEBUG - VM ctest-TestBasicPolicy-47027696-58159261 ID is 1d59e674-e638-4cfb-a357-09ef0579cf64 2025-06-24 13:39:48,572 - DEBUG - VM ctest-TestBasicPolicy-47027696-58159261 launched on Node cn-jenkins-deploy-platform-ansible-os-3535-1 2025-06-24 13:39:48,649 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1d59e674-e638-4cfb-a357-09ef0579cf64 2025-06-24 13:39:48,659 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/255a4461-e406-4bf3-9469-44301457c6e8 2025-06-24 13:39:49,899 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.67 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 = 2.672/3.112/3.553/0.440 ms') 2025-06-24 13:39:49,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47027696-58159261 passed 2025-06-24 13:39:50,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:39:50,052 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47027696-58159261, IP 155.255.75.131, Port 22 2025-06-24 13:39:50,208 - DEBUG - VM ctest-TestBasicPolicy-47027696-58159261 is ready for SSH connections 2025-06-24 13:39:50,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:39:50,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.255.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-24 13:39:50,208 - DEBUG - ping -s 56 -c 3 -W 1 155.255.75.131 2025-06-24 13:39:54,248 - DEBUG - PING 155.255.75.131 (155.255.75.131): 56 data bytes 64 bytes from 155.255.75.131: seq=0 ttl=63 time=3.588 ms 64 bytes from 155.255.75.131: seq=1 ttl=63 time=0.798 ms 64 bytes from 155.255.75.131: seq=2 ttl=63 time=0.988 ms --- 155.255.75.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.791/3.588 ms 2025-06-24 13:39:54,249 - INFO - Ping to IP 155.255.75.131 from VM ctest-TestBasicPolicy-47027696-88927423 passed 2025-06-24 13:39:54,444 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ec3cf0d1-fd46-46a0-a3d2-0b7bf5feb1a3", "href": "http://10.0.0.65:8082/network-policy/ec3cf0d1-fd46-46a0-a3d2-0b7bf5feb1a3"}} 2025-06-24 13:39:54,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:39:54,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.255.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-24 13:39:54,444 - DEBUG - ping -s 56 -c 3 -W 1 155.255.75.131 2025-06-24 13:39:57,689 - DEBUG - PING 155.255.75.131 (155.255.75.131): 56 data bytes 64 bytes from 155.255.75.131: seq=0 ttl=63 time=1.740 ms --- 155.255.75.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.740/1.740/1.740 ms 2025-06-24 13:39:57,689 - WARNING - Ping to IP 155.255.75.131 from VM ctest-TestBasicPolicy-47027696-88927423 failed 2025-06-24 13:39:57,689 - INFO - Deleting VM ctest-TestBasicPolicy-47027696-58159261 2025-06-24 13:39:57,791 - INFO - Deleting VM ctest-TestBasicPolicy-47027696-88927423 2025-06-24 13:39:58,284 - INFO - Deleted policy ctest-policy-allow-all-42474284 2025-06-24 13:39:58,284 - INFO - Deleting VN ctest-vn-38473866 2025-06-24 13:39:58,348 - DEBUG - VN 1066ffd4-82b3-4baf-9ab4-7b9334b55799 still in use: Unable to complete operation on network 1066ffd4-82b3-4baf-9ab4-7b9334b55799. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5558e923-43b7-47e4-81b9-c16774289640'] 2025-06-24 13:39:58,348 - WARNING - Deleting VN ctest-vn-38473866 failed..Will retry 2025-06-24 13:40:00,472 - DEBUG - Response for deleting network () 2025-06-24 13:40:00,472 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2408def7-7c58-471d-9a2c-54e1dfc4efe2 2025-06-24 13:40:00,478 - DEBUG - Response Code: 404 2025-06-24 13:40:00,479 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:40:00,490 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fe050c28-cb55-4177-b840-47f183f49813 2025-06-24 13:40:00,549 - DEBUG - Requesting: http://10.0.0.65:8082/project/2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:40:00,634 - INFO - Validated that VN ctest-vn-38473866 is not found in API Server 2025-06-24 13:40:00,647 - DEBUG - VN ctest-vn-38473866 is not present in Agent 10.0.0.65 2025-06-24 13:40:00,648 - INFO - Validated that VN ctest-vn-38473866 is not in any agent 2025-06-24 13:40:00,665 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38473866 info 2025-06-24 13:40:00,665 - INFO - Deleting VN ctest-vn-12245003 2025-06-24 13:40:00,794 - DEBUG - Response for deleting network () 2025-06-24 13:40:00,794 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5a71cf2f-3dc1-4da8-838b-ac1188a887c3 2025-06-24 13:40:00,805 - DEBUG - Response Code: 404 2025-06-24 13:40:00,805 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-24 13:40:00,813 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fe050c28-cb55-4177-b840-47f183f49813 2025-06-24 13:40:00,871 - DEBUG - Requesting: http://10.0.0.65:8082/project/2b41732a-89bf-4e3d-a1a1-a456c008697b 2025-06-24 13:40:00,953 - INFO - Validated that VN ctest-vn-12245003 is not found in API Server 2025-06-24 13:40:00,970 - DEBUG - VN ctest-vn-12245003 is not present in Agent 10.0.0.65 2025-06-24 13:40:00,970 - INFO - Validated that VN ctest-vn-12245003 is not in any agent 2025-06-24 13:40:00,994 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12245003 info 2025-06-24 13:40:01,259 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 13:40:01,259 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-06-24 13:40:01,259 - INFO - -------------------------------------------------------------------------------- 2025-06-24 13:40:02,029 - INFO - Deleted project: ctest-TestBasicPolicy-47027696, ID : 2b41732a-89bf-4e3d-a1a1-a456c008697b