2025-10-29 19:37:13,547 - INFO - Domain Default found not creating 2025-10-29 19:37:13,694 - INFO - Project ctest-TestBasicPolicy-58554280 not found, creating it 2025-10-29 19:37:14,138 - INFO - Created Project:ctest-TestBasicPolicy-58554280, ID : b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:15,670 - INFO - ================================================================================ 2025-10-29 19:37:15,671 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-29 19:37:15,671 - 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-29 19:37:15,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.130': '0'}} with 2025-10-29 19:37:15,932 - INFO - Initial checks done. Running the testcase now 2025-10-29 19:37:15,932 - INFO - 2025-10-29 19:37:16,510 - DEBUG - Response for create_network : {'network': {'id': 'f0221b5f-d5f3-4a48-960a-16c8b4534865', 'name': 'ctest-vn-34680666', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-34680666'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:37:16,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '17bcdb61-03bd-4c9d-857e-ef7995b2f6a1', 'name': '', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'network_id': 'f0221b5f-d5f3-4a48-960a-16c8b4534865', 'ip_version': 4, 'cidr': '194.155.108.128/26', 'allocation_pools': [{'start': '194.155.108.130', 'end': '194.155.108.190'}], 'gateway_ip': '194.155.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.155.108.130', 'tags': [], 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3'}} 2025-10-29 19:37:16,736 - INFO - Created VN ctest-vn-34680666 2025-10-29 19:37:16,787 - DEBUG - VN ctest-vn-34680666 UUID is f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:17,073 - DEBUG - Response for create_network : {'network': {'id': '0417c20c-8f20-4864-be6a-bd4f349bf474', 'name': 'ctest-vn-59353685', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-59353685'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:37:17,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e496176-22e1-45f9-bbd0-4b80d842e315', 'name': '', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'network_id': '0417c20c-8f20-4864-be6a-bd4f349bf474', 'ip_version': 4, 'cidr': '20.104.237.128/26', 'allocation_pools': [{'start': '20.104.237.130', 'end': '20.104.237.190'}], 'gateway_ip': '20.104.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.104.237.130', 'tags': [], 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3'}} 2025-10-29 19:37:17,286 - INFO - Created VN ctest-vn-59353685 2025-10-29 19:37:17,335 - DEBUG - VN ctest-vn-59353685 UUID is 0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:17,483 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666, 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-58554280:ctest-vn-59353685, 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-29 19:37:17,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0221b5f-d5f3-4a48-960a-16c8b4534865', 'name': 'ctest-vn-34680666', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17bcdb61-03bd-4c9d-857e-ef7995b2f6a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-34680666'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590']], 'subnet_ipam': [{'subnet_cidr': '194.155.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:37:17,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0417c20c-8f20-4864-be6a-bd4f349bf474', 'name': 'ctest-vn-59353685', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e496176-22e1-45f9-bbd0-4b80d842e315'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-59353685'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590']], 'subnet_ipam': [{'subnet_cidr': '20.104.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:37:18,151 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:18,486 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:18,514 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2 2025-10-29 19:37:18,525 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:18,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:18,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:18,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b 2025-10-29 19:37:18,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b 2025-10-29 19:37:18,633 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aa57eeb7-d2df-41a5-9ef9-1e23df27b28b 2025-10-29 19:37:18,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 19:37:18,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:18,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b 2025-10-29 19:37:18,662 - INFO - Verified VN network id 11 for VN f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:18,662 - INFO - Verifications in API Server for VN ctest-vn-34680666 passed 2025-10-29 19:37:18,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:18,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b 2025-10-29 19:37:18,677 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b 2025-10-29 19:37:18,684 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aa57eeb7-d2df-41a5-9ef9-1e23df27b28b 2025-10-29 19:37:18,698 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58554280', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17303422816736201288', 'uuid-lslong': '10811478906730924133'}, 'enable': 'true', 'created': '2025-10-29T19:37:16', 'last-modified': '2025-10-29T19:37:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947903'} 2025-10-29 19:37:18,705 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 19:37:18,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34680666 passed 2025-10-29 19:37:18,705 - DEBUG - ====Verifying policy data for ctest-vn-34680666 in API_Server ====== 2025-10-29 19:37:18,705 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:18,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2 2025-10-29 19:37:18,721 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:18,792 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865 2025-10-29 19:37:18,801 - DEBUG - ==>Verifying data for policy with id: ce49de07-da69-4698-b9d4-fa25d8f796df, fqn: ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590'] 2025-10-29 19:37:18,801 - INFO - VN ctest-vn-34680666 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 19:37:18,801 - DEBUG - Verifying the vn in opserver 2025-10-29 19:37:18,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666 virtual network link through opserver 10.0.0.50 2025-10-29 19:37:18,801 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-29 19:37:19,132 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-29 19:37:19,188 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666?flat'} 2025-10-29 19:37:19,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666 is found in opserver 2025-10-29 19:37:19,199 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 19:37:19,203 - DEBUG - VRF ids for VN ctest-vn-34680666: {} 2025-10-29 19:37:19,203 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:19,208 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2 2025-10-29 19:37:19,218 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:19,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:19,300 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:19,309 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474 2025-10-29 19:37:19,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474 2025-10-29 19:37:19,322 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98c9649c-3540-41e3-bad0-93faac85aa1e 2025-10-29 19:37:19,328 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 19:37:19,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:19,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474 2025-10-29 19:37:19,348 - INFO - Verified VN network id 12 for VN 0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:19,348 - INFO - Verifications in API Server for VN ctest-vn-59353685 passed 2025-10-29 19:37:19,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:19,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474 2025-10-29 19:37:19,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474 2025-10-29 19:37:19,369 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98c9649c-3540-41e3-bad0-93faac85aa1e 2025-10-29 19:37:19,378 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58554280', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '294917659812710500', 'uuid-lslong': '13720987362620339316'}, 'enable': 'true', 'created': '2025-10-29T19:37:17', 'last-modified': '2025-10-29T19:37:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400642'} 2025-10-29 19:37:19,384 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 19:37:19,384 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59353685 passed 2025-10-29 19:37:19,384 - DEBUG - ====Verifying policy data for ctest-vn-59353685 in API_Server ====== 2025-10-29 19:37:19,384 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:19,390 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2 2025-10-29 19:37:19,401 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:19,468 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474 2025-10-29 19:37:19,477 - DEBUG - ==>Verifying data for policy with id: ce49de07-da69-4698-b9d4-fa25d8f796df, fqn: ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590'] 2025-10-29 19:37:19,477 - INFO - VN ctest-vn-59353685 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 19:37:19,477 - DEBUG - Verifying the vn in opserver 2025-10-29 19:37:19,477 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685 virtual network link through opserver 10.0.0.50 2025-10-29 19:37:19,477 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-29 19:37:19,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685?flat'} 2025-10-29 19:37:19,486 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685 is found in opserver 2025-10-29 19:37:19,494 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 19:37:19,498 - DEBUG - VRF ids for VN ctest-vn-59353685: {} 2025-10-29 19:37:19,554 - DEBUG - Services list from nova: [, , ] 2025-10-29 19:37:20,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4528-1) 2025-10-29 19:37:21,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4528-1) 2025-10-29 19:37:21,808 - INFO - Waiting for VM ctest-TestBasicPolicy-58554280-63478767 to be up.. 2025-10-29 19:37:21,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 19:37:26,966 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:37:26,966 - INFO - VM name : ctest-TestBasicPolicy-58554280-63478767 2025-10-29 19:37:27,044 - DEBUG - VM ctest-TestBasicPolicy-58554280-63478767 ID is 6386950d-4b9f-499e-ad9a-5f93d74798dc 2025-10-29 19:37:27,065 - DEBUG - VM ctest-TestBasicPolicy-58554280-63478767 launched on Node cn-jenkins-deploy-platform-ansible-os-4528-1 2025-10-29 19:37:27,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6386950d-4b9f-499e-ad9a-5f93d74798dc 2025-10-29 19:37:27,149 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dfb295de-0cfd-4da8-bce5-da96055c52f5 2025-10-29 19:37:30,387 - 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 1006ms') 2025-10-29 19:37:30,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58554280-63478767 failed! 2025-10-29 19:37:30,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666 is 194.155.108.129 and allocation pool is NOT set 2025-10-29 19:37:32,505 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.613/5.831/9.049/3.218 ms') 2025-10-29 19:37:32,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58554280-63478767 passed 2025-10-29 19:37:32,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:37:32,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58554280-63478767, IP 194.155.108.131, Port 22 2025-10-29 19:37:32,711 - 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-10-29 19:37:32,788 - DEBUG - VM ctest-TestBasicPolicy-58554280-63478767 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 19:37:37,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:37:37,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58554280-63478767, IP 194.155.108.131, Port 22 2025-10-29 19:37:37,954 - DEBUG - VM ctest-TestBasicPolicy-58554280-63478767 is ready for SSH connections 2025-10-29 19:37:37,955 - INFO - Waiting for VM ctest-TestBasicPolicy-58554280-21798140 to be up.. 2025-10-29 19:37:38,035 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:37:38,035 - INFO - VM name : ctest-TestBasicPolicy-58554280-21798140 2025-10-29 19:37:38,118 - DEBUG - VM ctest-TestBasicPolicy-58554280-21798140 ID is 45d8fff4-84f5-4a06-9fa1-85e208d30abf 2025-10-29 19:37:38,118 - DEBUG - VM ctest-TestBasicPolicy-58554280-21798140 launched on Node cn-jenkins-deploy-platform-ansible-os-4528-1 2025-10-29 19:37:38,188 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/45d8fff4-84f5-4a06-9fa1-85e208d30abf 2025-10-29 19:37:38,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d2431d90-56b9-4527-8cad-92050ac6abcb 2025-10-29 19:37:39,432 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.732/3.074/1.341 ms') 2025-10-29 19:37:39,432 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58554280-21798140 passed 2025-10-29 19:37:39,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:37:39,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58554280-21798140, IP 20.104.237.131, Port 22 2025-10-29 19:37:39,746 - DEBUG - VM ctest-TestBasicPolicy-58554280-21798140 is ready for SSH connections 2025-10-29 19:37:39,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:37:39,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.104.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 19:37:39,747 - DEBUG - ping -s 56 -c 3 -W 1 20.104.237.131 2025-10-29 19:37:43,830 - DEBUG - PING 20.104.237.131 (20.104.237.131): 56 data bytes 64 bytes from 20.104.237.131: seq=0 ttl=63 time=3.791 ms 64 bytes from 20.104.237.131: seq=1 ttl=63 time=0.894 ms 64 bytes from 20.104.237.131: seq=2 ttl=63 time=0.846 ms --- 20.104.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/1.843/3.791 ms 2025-10-29 19:37:43,830 - INFO - Ping to IP 20.104.237.131 from VM ctest-TestBasicPolicy-58554280-63478767 passed 2025-10-29 19:37:44,003 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce49de07-da69-4698-b9d4-fa25d8f796df", "href": "http://10.0.0.50:8082/network-policy/ce49de07-da69-4698-b9d4-fa25d8f796df"}} 2025-10-29 19:37:44,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:37:44,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.104.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 19:37:44,003 - DEBUG - ping -s 56 -c 3 -W 1 20.104.237.131 2025-10-29 19:37:47,233 - DEBUG - PING 20.104.237.131 (20.104.237.131): 56 data bytes --- 20.104.237.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 19:37:47,233 - WARNING - Ping to IP 20.104.237.131 from VM ctest-TestBasicPolicy-58554280-63478767 failed 2025-10-29 19:37:47,233 - INFO - Deleting VM ctest-TestBasicPolicy-58554280-21798140 2025-10-29 19:37:47,301 - INFO - Deleting VM ctest-TestBasicPolicy-58554280-63478767 2025-10-29 19:37:47,696 - INFO - Deleted policy ctest-policy-allow-all-66825590 2025-10-29 19:37:47,697 - INFO - Deleting VN ctest-vn-59353685 2025-10-29 19:37:47,738 - DEBUG - VN 0417c20c-8f20-4864-be6a-bd4f349bf474 still in use: Unable to complete operation on network 0417c20c-8f20-4864-be6a-bd4f349bf474. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a54ee6ff-5101-44ac-aed5-d45a9dd5c8ed'] 2025-10-29 19:37:47,738 - WARNING - Deleting VN ctest-vn-59353685 failed..Will retry 2025-10-29 19:37:49,849 - DEBUG - Response for deleting network () 2025-10-29 19:37:49,849 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474 2025-10-29 19:37:49,858 - DEBUG - Response Code: 404 2025-10-29 19:37:49,858 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:49,863 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2 2025-10-29 19:37:49,922 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:49,995 - INFO - Validated that VN ctest-vn-59353685 is not found in API Server 2025-10-29 19:37:50,004 - DEBUG - VN ctest-vn-59353685 is not present in Agent 10.0.0.50 2025-10-29 19:37:50,004 - INFO - Validated that VN ctest-vn-59353685 is not in any agent 2025-10-29 19:37:50,019 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59353685 info 2025-10-29 19:37:50,019 - INFO - Deleting VN ctest-vn-34680666 2025-10-29 19:37:50,118 - DEBUG - Response for deleting network () 2025-10-29 19:37:50,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b 2025-10-29 19:37:50,125 - DEBUG - Response Code: 404 2025-10-29 19:37:50,125 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-29 19:37:50,130 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2 2025-10-29 19:37:50,184 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3 2025-10-29 19:37:50,291 - INFO - Validated that VN ctest-vn-34680666 is not found in API Server 2025-10-29 19:37:50,302 - DEBUG - VN ctest-vn-34680666 is not present in Agent 10.0.0.50 2025-10-29 19:37:50,302 - INFO - Validated that VN ctest-vn-34680666 is not in any agent 2025-10-29 19:37:50,315 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34680666 info 2025-10-29 19:37:50,573 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 19:37:50,573 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-29 19:37:50,573 - INFO - -------------------------------------------------------------------------------- 2025-10-29 19:37:51,302 - INFO - Deleted project: ctest-TestBasicPolicy-58554280, ID : b59c01c7-593f-46e1-bb06-a32a765c6fa3