2025-10-30 21:54:13,016 - INFO - Domain Default found not creating 2025-10-30 21:54:13,168 - INFO - Project ctest-TestBasicPolicy-76633469 not found, creating it 2025-10-30 21:54:13,627 - INFO - Created Project:ctest-TestBasicPolicy-76633469, ID : 405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:15,003 - INFO - ================================================================================ 2025-10-30 21:54:15,003 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 21:54:15,003 - 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-10-30 21:54:15,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.242': '0'}} with 2025-10-30 21:54:15,254 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:54:15,254 - INFO - 2025-10-30 21:54:15,790 - DEBUG - Response for create_network : {'network': {'id': '24c9d31f-bd25-4af8-b13f-7581be67d7a6', 'name': 'ctest-vn-58586650', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-58586650'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:54:15,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '7932a58c-df6e-47c7-996e-4dc9b1694cfe', 'name': '', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'network_id': '24c9d31f-bd25-4af8-b13f-7581be67d7a6', 'ip_version': 4, 'cidr': '23.107.9.64/26', 'allocation_pools': [{'start': '23.107.9.66', 'end': '23.107.9.126'}], 'gateway_ip': '23.107.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.107.9.66', 'tags': [], 'project_id': '405657e34b094aa6aaae3ebc739abf8f'}} 2025-10-30 21:54:15,982 - INFO - Created VN ctest-vn-58586650 2025-10-30 21:54:16,034 - DEBUG - VN ctest-vn-58586650 UUID is 24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:16,332 - DEBUG - Response for create_network : {'network': {'id': 'f31b8463-eff9-4c2b-be5b-aee77da9cad3', 'name': 'ctest-vn-22605287', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-22605287'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:54:16,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '31a271d1-3730-43cb-ba87-a4e22e9a7b33', 'name': '', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'network_id': 'f31b8463-eff9-4c2b-be5b-aee77da9cad3', 'ip_version': 4, 'cidr': '49.238.182.0/26', 'allocation_pools': [{'start': '49.238.182.2', 'end': '49.238.182.62'}], 'gateway_ip': '49.238.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.238.182.2', 'tags': [], 'project_id': '405657e34b094aa6aaae3ebc739abf8f'}} 2025-10-30 21:54:16,499 - INFO - Created VN ctest-vn-22605287 2025-10-30 21:54:16,550 - DEBUG - VN ctest-vn-22605287 UUID is f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:16,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650, 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-76633469:ctest-vn-22605287, 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-10-30 21:54:16,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24c9d31f-bd25-4af8-b13f-7581be67d7a6', 'name': 'ctest-vn-58586650', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7932a58c-df6e-47c7-996e-4dc9b1694cfe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-58586650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082']], 'subnet_ipam': [{'subnet_cidr': '23.107.9.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:54:17,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f31b8463-eff9-4c2b-be5b-aee77da9cad3', 'name': 'ctest-vn-22605287', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31a271d1-3730-43cb-ba87-a4e22e9a7b33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-22605287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082']], 'subnet_ipam': [{'subnet_cidr': '49.238.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:54:17,358 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:17,662 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:17,694 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03 2025-10-30 21:54:17,704 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:17,775 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:17,784 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:17,792 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c 2025-10-30 21:54:17,798 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c 2025-10-30 21:54:17,804 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/14f121a9-2fde-4a5e-ae65-b2fce01c5b37 2025-10-30 21:54:17,811 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:54:17,811 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:17,820 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c 2025-10-30 21:54:17,835 - INFO - Verified VN network id 12 for VN 24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:17,835 - INFO - Verifications in API Server for VN ctest-vn-58586650 passed 2025-10-30 21:54:17,835 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:17,843 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c 2025-10-30 21:54:17,849 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c 2025-10-30 21:54:17,854 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/14f121a9-2fde-4a5e-ae65-b2fce01c5b37 2025-10-30 21:54:17,865 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76633469', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2650881988955032312', 'uuid-lslong': '12772056268351723430'}, 'enable': 'true', 'created': '2025-10-30T21:54:15', 'last-modified': '2025-10-30T21:54:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899778'} 2025-10-30 21:54:17,871 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:54:17,872 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58586650 passed 2025-10-30 21:54:17,872 - DEBUG - ====Verifying policy data for ctest-vn-58586650 in API_Server ====== 2025-10-30 21:54:17,872 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:17,877 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03 2025-10-30 21:54:17,886 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:17,954 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6 2025-10-30 21:54:17,963 - DEBUG - ==>Verifying data for policy with id: 56e88bff-5d87-4603-9ed3-54eb615a7574, fqn: ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082'] 2025-10-30 21:54:17,963 - INFO - VN ctest-vn-58586650 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:54:17,963 - DEBUG - Verifying the vn in opserver 2025-10-30 21:54:17,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650 virtual network link through opserver 10.0.0.240 2025-10-30 21:54:17,963 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-10-30 21:54:18,252 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-10-30 21:54:18,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650?flat'} 2025-10-30 21:54:18,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650 is found in opserver 2025-10-30 21:54:18,310 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:54:18,314 - DEBUG - VRF ids for VN ctest-vn-58586650: {} 2025-10-30 21:54:18,314 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:18,319 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03 2025-10-30 21:54:18,329 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:18,396 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:18,406 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:18,414 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea 2025-10-30 21:54:18,420 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea 2025-10-30 21:54:18,425 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/05ee7346-c5c7-48b1-ba7e-f24971e2267d 2025-10-30 21:54:18,431 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:54:18,431 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:18,438 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea 2025-10-30 21:54:18,450 - INFO - Verified VN network id 13 for VN f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:18,450 - INFO - Verifications in API Server for VN ctest-vn-22605287 passed 2025-10-30 21:54:18,450 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:18,457 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea 2025-10-30 21:54:18,463 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea 2025-10-30 21:54:18,469 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/05ee7346-c5c7-48b1-ba7e-f24971e2267d 2025-10-30 21:54:18,479 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76633469', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17517740740350397483', 'uuid-lslong': '13716749399355935443'}, 'enable': 'true', 'created': '2025-10-30T21:54:16', 'last-modified': '2025-10-30T21:54:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295937'} 2025-10-30 21:54:18,485 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:54:18,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22605287 passed 2025-10-30 21:54:18,485 - DEBUG - ====Verifying policy data for ctest-vn-22605287 in API_Server ====== 2025-10-30 21:54:18,485 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:18,490 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03 2025-10-30 21:54:18,500 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:18,569 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3 2025-10-30 21:54:18,577 - DEBUG - ==>Verifying data for policy with id: 56e88bff-5d87-4603-9ed3-54eb615a7574, fqn: ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082'] 2025-10-30 21:54:18,577 - INFO - VN ctest-vn-22605287 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:54:18,577 - DEBUG - Verifying the vn in opserver 2025-10-30 21:54:18,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287 virtual network link through opserver 10.0.0.240 2025-10-30 21:54:18,577 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-10-30 21:54:18,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287?flat'} 2025-10-30 21:54:18,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287 is found in opserver 2025-10-30 21:54:18,594 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:54:18,598 - DEBUG - VRF ids for VN ctest-vn-22605287: {} 2025-10-30 21:54:18,667 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:54:19,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4557-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4557-1) 2025-10-30 21:54:20,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4557-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4557-1) 2025-10-30 21:54:20,934 - INFO - Waiting for VM ctest-TestBasicPolicy-76633469-34202962 to be up.. 2025-10-30 21:54:21,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:54:26,124 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:54:26,124 - INFO - VM name : ctest-TestBasicPolicy-76633469-34202962 2025-10-30 21:54:26,206 - DEBUG - VM ctest-TestBasicPolicy-76633469-34202962 ID is b72830a3-a5d6-4e05-a301-0cf846e9673f 2025-10-30 21:54:26,230 - DEBUG - VM ctest-TestBasicPolicy-76633469-34202962 launched on Node cn-jenkins-deploy-platform-ansible-os-4557-1 2025-10-30 21:54:26,331 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/b72830a3-a5d6-4e05-a301-0cf846e9673f 2025-10-30 21:54:26,341 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/14a28c7a-91fd-4c5a-80b6-9db6160253f7 2025-10-30 21:54:29,613 - 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-10-30 21:54:29,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76633469-34202962 failed! 2025-10-30 21:54:29,666 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650 is 23.107.9.65 and allocation pool is NOT set 2025-10-30 21:54:31,723 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.863/5.582/9.302/3.719 ms') 2025-10-30 21:54:31,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76633469-34202962 passed 2025-10-30 21:54:31,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:54:31,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76633469-34202962, IP 23.107.9.67, Port 22 2025-10-30 21:54:32,029 - DEBUG - VM ctest-TestBasicPolicy-76633469-34202962 is ready for SSH connections 2025-10-30 21:54:32,029 - INFO - Waiting for VM ctest-TestBasicPolicy-76633469-62954949 to be up.. 2025-10-30 21:54:32,126 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:54:32,126 - INFO - VM name : ctest-TestBasicPolicy-76633469-62954949 2025-10-30 21:54:32,222 - DEBUG - VM ctest-TestBasicPolicy-76633469-62954949 ID is 386e2c8c-31d7-4b7a-b9a3-728b9c45fa71 2025-10-30 21:54:32,222 - DEBUG - VM ctest-TestBasicPolicy-76633469-62954949 launched on Node cn-jenkins-deploy-platform-ansible-os-4557-1 2025-10-30 21:54:32,302 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/386e2c8c-31d7-4b7a-b9a3-728b9c45fa71 2025-10-30 21:54:32,311 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/95fc0e8a-db6a-4091-a207-93e804bf9dc9 2025-10-30 21:54:33,591 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.509/2.093/3.677/1.584 ms') 2025-10-30 21:54:33,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76633469-62954949 passed 2025-10-30 21:54:33,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:54:33,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76633469-62954949, IP 49.238.182.3, Port 22 2025-10-30 21:54:33,890 - DEBUG - VM ctest-TestBasicPolicy-76633469-62954949 is ready for SSH connections 2025-10-30 21:54:33,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:54:33,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.238.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-10-30 21:54:33,890 - DEBUG - ping -s 56 -c 3 -W 1 49.238.182.3 2025-10-30 21:54:37,896 - DEBUG - PING 49.238.182.3 (49.238.182.3): 56 data bytes 64 bytes from 49.238.182.3: seq=0 ttl=63 time=4.046 ms 64 bytes from 49.238.182.3: seq=1 ttl=63 time=0.823 ms 64 bytes from 49.238.182.3: seq=2 ttl=63 time=1.112 ms --- 49.238.182.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.993/4.046 ms 2025-10-30 21:54:37,896 - INFO - Ping to IP 49.238.182.3 from VM ctest-TestBasicPolicy-76633469-34202962 passed 2025-10-30 21:54:38,066 - DEBUG - Policy Update Response {"network-policy": {"uuid": "56e88bff-5d87-4603-9ed3-54eb615a7574", "href": "http://10.0.0.240:8082/network-policy/56e88bff-5d87-4603-9ed3-54eb615a7574"}} 2025-10-30 21:54:38,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:54:38,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.238.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-10-30 21:54:38,066 - DEBUG - ping -s 56 -c 3 -W 1 49.238.182.3 2025-10-30 21:54:41,292 - DEBUG - PING 49.238.182.3 (49.238.182.3): 56 data bytes --- 49.238.182.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:54:41,292 - WARNING - Ping to IP 49.238.182.3 from VM ctest-TestBasicPolicy-76633469-34202962 failed 2025-10-30 21:54:41,292 - INFO - Deleting VM ctest-TestBasicPolicy-76633469-62954949 2025-10-30 21:54:41,359 - INFO - Deleting VM ctest-TestBasicPolicy-76633469-34202962 2025-10-30 21:54:41,728 - INFO - Deleted policy ctest-policy-allow-all-48816082 2025-10-30 21:54:41,728 - INFO - Deleting VN ctest-vn-22605287 2025-10-30 21:54:41,761 - DEBUG - VN f31b8463-eff9-4c2b-be5b-aee77da9cad3 still in use: Unable to complete operation on network f31b8463-eff9-4c2b-be5b-aee77da9cad3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f43391f-8981-452e-b221-585f670a4315'] 2025-10-30 21:54:41,761 - WARNING - Deleting VN ctest-vn-22605287 failed..Will retry 2025-10-30 21:54:43,849 - DEBUG - Response for deleting network () 2025-10-30 21:54:43,849 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea 2025-10-30 21:54:43,854 - DEBUG - Response Code: 404 2025-10-30 21:54:43,855 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:43,859 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03 2025-10-30 21:54:43,912 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:43,975 - INFO - Validated that VN ctest-vn-22605287 is not found in API Server 2025-10-30 21:54:43,984 - DEBUG - VN ctest-vn-22605287 is not present in Agent 10.0.0.240 2025-10-30 21:54:43,984 - INFO - Validated that VN ctest-vn-22605287 is not in any agent 2025-10-30 21:54:43,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22605287 info 2025-10-30 21:54:43,995 - INFO - Deleting VN ctest-vn-58586650 2025-10-30 21:54:44,078 - DEBUG - Response for deleting network () 2025-10-30 21:54:44,078 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c 2025-10-30 21:54:44,082 - DEBUG - Response Code: 404 2025-10-30 21:54:44,083 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-10-30 21:54:44,088 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03 2025-10-30 21:54:44,138 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f 2025-10-30 21:54:44,210 - INFO - Validated that VN ctest-vn-58586650 is not found in API Server 2025-10-30 21:54:44,219 - DEBUG - VN ctest-vn-58586650 is not present in Agent 10.0.0.240 2025-10-30 21:54:44,219 - INFO - Validated that VN ctest-vn-58586650 is not in any agent 2025-10-30 21:54:44,231 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58586650 info 2025-10-30 21:54:44,482 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:54:44,483 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 21:54:44,483 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:54:45,142 - INFO - Deleted project: ctest-TestBasicPolicy-76633469, ID : 405657e3-4b09-4aa6-aaae-3ebc739abf8f