2026-09-17 12:21:52,229 - INFO - Domain Default found not creating 2026-09-17 12:21:52,435 - INFO - Project ctest-TestBasicPolicy-92092124 not found, creating it 2026-09-17 12:21:52,974 - INFO - Created Project:ctest-TestBasicPolicy-92092124, ID : af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:21:54,684 - INFO - ================================================================================ 2026-09-17 12:21:54,684 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-17 12:21:54,685 - 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 2026-09-17 12:21:54,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-09-17 12:21:54,959 - INFO - Initial checks done. Running the testcase now 2026-09-17 12:21:54,959 - INFO - 2026-09-17 12:21:55,636 - DEBUG - Response for create_network : {'network': {'id': '5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3', 'name': 'ctest-vn-53735804', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-53735804'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 12:21:55,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '81074fdd-78ca-4f50-a6f8-5d8d471e83ed', 'name': '', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'network_id': '5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3', 'ip_version': 4, 'cidr': '160.49.215.64/26', 'allocation_pools': [{'start': '160.49.215.66', 'end': '160.49.215.126'}], 'gateway_ip': '160.49.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.49.215.66', 'tags': [], 'project_id': 'af254b63c80f4a5c8b180132959599d4'}} 2026-09-17 12:21:55,840 - INFO - Created VN ctest-vn-53735804 2026-09-17 12:21:55,894 - DEBUG - VN ctest-vn-53735804 UUID is 5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:56,235 - DEBUG - Response for create_network : {'network': {'id': '30306665-d3b4-47fb-8e49-103ebdfc7d8c', 'name': 'ctest-vn-56132690', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-56132690'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 12:21:56,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '99bee93d-ef1f-42c6-a237-3dffa1741421', 'name': '', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'network_id': '30306665-d3b4-47fb-8e49-103ebdfc7d8c', 'ip_version': 4, 'cidr': '69.125.142.64/26', 'allocation_pools': [{'start': '69.125.142.66', 'end': '69.125.142.126'}], 'gateway_ip': '69.125.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.125.142.66', 'tags': [], 'project_id': 'af254b63c80f4a5c8b180132959599d4'}} 2026-09-17 12:21:56,519 - INFO - Created VN ctest-vn-56132690 2026-09-17 12:21:56,574 - DEBUG - VN ctest-vn-56132690 UUID is 30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:56,693 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804, 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-92092124:ctest-vn-56132690, 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] 2026-09-17 12:21:57,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3', 'name': 'ctest-vn-53735804', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['81074fdd-78ca-4f50-a6f8-5d8d471e83ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-53735804'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166']], 'subnet_ipam': [{'subnet_cidr': '160.49.215.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 12:21:57,284 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30306665-d3b4-47fb-8e49-103ebdfc7d8c', 'name': 'ctest-vn-56132690', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['99bee93d-ef1f-42c6-a237-3dffa1741421'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-56132690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166']], 'subnet_ipam': [{'subnet_cidr': '69.125.142.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 12:21:57,454 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:21:57,831 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:21:57,862 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136 2026-09-17 12:21:57,876 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:21:57,960 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:57,973 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:57,983 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011 2026-09-17 12:21:57,991 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011 2026-09-17 12:21:57,998 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2c65e0ba-5c29-42a0-8e83-1675792370f2 2026-09-17 12:21:58,004 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 12:21:58,004 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:58,015 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011 2026-09-17 12:21:58,028 - INFO - Verified VN network id 12 for VN 5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:58,029 - INFO - Verifications in API Server for VN ctest-vn-53735804 passed 2026-09-17 12:21:58,029 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:58,038 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011 2026-09-17 12:21:58,046 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011 2026-09-17 12:21:58,055 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2c65e0ba-5c29-42a0-8e83-1675792370f2 2026-09-17 12:21:58,070 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92092124', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6874584358042943836', 'uuid-lslong': '13668239996993808051'}, 'enable': 'true', 'created': '2026-09-17T12:21:55', 'last-modified': '2026-09-17T12:21:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062904'} 2026-09-17 12:21:58,077 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 12:21:58,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53735804 passed 2026-09-17 12:21:58,077 - DEBUG - ====Verifying policy data for ctest-vn-53735804 in API_Server ====== 2026-09-17 12:21:58,078 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:21:58,086 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136 2026-09-17 12:21:58,098 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:21:58,186 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3 2026-09-17 12:21:58,200 - DEBUG - ==>Verifying data for policy with id: b54d7c42-0938-4565-b599-23df88b2760a, fqn: ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166'] 2026-09-17 12:21:58,200 - INFO - VN ctest-vn-53735804 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 12:21:58,200 - DEBUG - Verifying the vn in opserver 2026-09-17 12:21:58,200 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804 virtual network link through opserver 10.0.0.162 2026-09-17 12:21:58,201 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-09-17 12:21:58,574 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-09-17 12:21:58,638 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804?flat'} 2026-09-17 12:21:58,638 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804 is found in opserver 2026-09-17 12:21:58,649 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 12:21:58,654 - DEBUG - VRF ids for VN ctest-vn-53735804: {} 2026-09-17 12:21:58,654 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:21:58,660 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136 2026-09-17 12:21:58,671 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:21:58,748 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:58,762 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:58,773 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722 2026-09-17 12:21:58,781 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722 2026-09-17 12:21:58,788 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/68644b44-7acf-4ec4-9d91-7820bba85556 2026-09-17 12:21:58,795 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 12:21:58,795 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:58,805 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722 2026-09-17 12:21:58,821 - INFO - Verified VN network id 13 for VN 30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:58,822 - INFO - Verifications in API Server for VN ctest-vn-56132690 passed 2026-09-17 12:21:58,822 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:58,832 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722 2026-09-17 12:21:58,840 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722 2026-09-17 12:21:58,847 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/68644b44-7acf-4ec4-9d91-7820bba85556 2026-09-17 12:21:58,860 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92092124', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3472387900232189947', 'uuid-lslong': '10252743888347102604'}, 'enable': 'true', 'created': '2026-09-17T12:21:56', 'last-modified': '2026-09-17T12:21:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.611785'} 2026-09-17 12:21:58,869 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 12:21:58,869 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56132690 passed 2026-09-17 12:21:58,869 - DEBUG - ====Verifying policy data for ctest-vn-56132690 in API_Server ====== 2026-09-17 12:21:58,869 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:21:58,876 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136 2026-09-17 12:21:58,890 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:21:58,973 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c 2026-09-17 12:21:58,986 - DEBUG - ==>Verifying data for policy with id: b54d7c42-0938-4565-b599-23df88b2760a, fqn: ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166'] 2026-09-17 12:21:58,986 - INFO - VN ctest-vn-56132690 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 12:21:58,986 - DEBUG - Verifying the vn in opserver 2026-09-17 12:21:58,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690 virtual network link through opserver 10.0.0.162 2026-09-17 12:21:58,986 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-09-17 12:21:58,999 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690?flat'} 2026-09-17 12:21:58,999 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690 is found in opserver 2026-09-17 12:21:59,013 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 12:21:59,020 - DEBUG - VRF ids for VN ctest-vn-56132690: {} 2026-09-17 12:21:59,102 - DEBUG - Services list from nova: [, , ] 2026-09-17 12:21:59,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6300-1) 2026-09-17 12:22:00,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6300-1) 2026-09-17 12:22:00,075 - INFO - Waiting for VM ctest-TestBasicPolicy-92092124-55312299 to be up.. 2026-09-17 12:22:00,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:05,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:10,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:15,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:20,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:25,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:30,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:35,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:40,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 12:22:45,971 - DEBUG - VM is in ACTIVE state now 2026-09-17 12:22:45,971 - INFO - VM name : ctest-TestBasicPolicy-92092124-55312299 2026-09-17 12:22:46,054 - DEBUG - VM ctest-TestBasicPolicy-92092124-55312299 ID is 526d2abc-085d-426d-b63e-55f1413af7b8 2026-09-17 12:22:46,078 - DEBUG - VM ctest-TestBasicPolicy-92092124-55312299 launched on Node cn-jenkins-deploy-platform-ansible-os-6300-1 2026-09-17 12:22:46,161 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/526d2abc-085d-426d-b63e-55f1413af7b8 2026-09-17 12:22:46,172 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/6998ee64-c8bd-4781-90f5-5c244869e096 2026-09-17 12:22:49,451 - 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 1027ms') 2026-09-17 12:22:49,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92092124-55312299 failed! 2026-09-17 12:22:49,506 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804 is 160.49.215.65 and allocation pool is NOT set 2026-09-17 12:22:51,579 - 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=5.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.720 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.720/2.956/5.192/2.236 ms') 2026-09-17 12:22:51,579 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92092124-55312299 passed 2026-09-17 12:22:51,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 12:22:51,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92092124-55312299, IP 160.49.215.67, Port 22 2026-09-17 12:22:51,912 - DEBUG - VM ctest-TestBasicPolicy-92092124-55312299 is ready for SSH connections 2026-09-17 12:22:51,913 - INFO - Waiting for VM ctest-TestBasicPolicy-92092124-09838771 to be up.. 2026-09-17 12:22:52,006 - DEBUG - VM is in ACTIVE state now 2026-09-17 12:22:52,006 - INFO - VM name : ctest-TestBasicPolicy-92092124-09838771 2026-09-17 12:22:52,098 - DEBUG - VM ctest-TestBasicPolicy-92092124-09838771 ID is 090b1884-ed49-467e-b5a8-71fa6dc002e1 2026-09-17 12:22:52,098 - DEBUG - VM ctest-TestBasicPolicy-92092124-09838771 launched on Node cn-jenkins-deploy-platform-ansible-os-6300-1 2026-09-17 12:22:52,191 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/090b1884-ed49-467e-b5a8-71fa6dc002e1 2026-09-17 12:22:52,201 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/efa4b8e0-2cb7-449e-9b48-111880e0dc38 2026-09-17 12:22:53,449 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 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.533/2.186/3.840/1.653 ms') 2026-09-17 12:22:53,449 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92092124-09838771 passed 2026-09-17 12:22:53,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 12:22:53,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92092124-09838771, IP 69.125.142.67, Port 22 2026-09-17 12:22:53,776 - DEBUG - VM ctest-TestBasicPolicy-92092124-09838771 is ready for SSH connections 2026-09-17 12:22:53,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 12:22:53,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.125.142.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-17 12:22:53,777 - DEBUG - ping -s 56 -c 3 -W 1 69.125.142.67 2026-09-17 12:22:57,880 - DEBUG - PING 69.125.142.67 (69.125.142.67): 56 data bytes 64 bytes from 69.125.142.67: seq=0 ttl=63 time=4.591 ms 64 bytes from 69.125.142.67: seq=1 ttl=63 time=1.237 ms 64 bytes from 69.125.142.67: seq=2 ttl=63 time=0.941 ms --- 69.125.142.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/2.256/4.591 ms 2026-09-17 12:22:57,880 - INFO - Ping to IP 69.125.142.67 from VM ctest-TestBasicPolicy-92092124-55312299 passed 2026-09-17 12:22:58,078 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b54d7c42-0938-4565-b599-23df88b2760a", "href": "http://10.0.0.162:8082/network-policy/b54d7c42-0938-4565-b599-23df88b2760a"}} 2026-09-17 12:22:58,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 12:22:58,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.125.142.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-17 12:22:58,078 - DEBUG - ping -s 56 -c 3 -W 1 69.125.142.67 2026-09-17 12:23:01,216 - DEBUG - PING 69.125.142.67 (69.125.142.67): 56 data bytes 64 bytes from 69.125.142.67: seq=0 ttl=63 time=2.426 ms --- 69.125.142.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.426/2.426/2.426 ms 2026-09-17 12:23:01,216 - WARNING - Ping to IP 69.125.142.67 from VM ctest-TestBasicPolicy-92092124-55312299 failed 2026-09-17 12:23:01,216 - INFO - Deleting VM ctest-TestBasicPolicy-92092124-09838771 2026-09-17 12:23:01,312 - INFO - Deleting VM ctest-TestBasicPolicy-92092124-55312299 2026-09-17 12:23:01,744 - INFO - Deleted policy ctest-policy-allow-all-74753166 2026-09-17 12:23:01,744 - INFO - Deleting VN ctest-vn-56132690 2026-09-17 12:23:01,784 - DEBUG - VN 30306665-d3b4-47fb-8e49-103ebdfc7d8c still in use: Unable to complete operation on network 30306665-d3b4-47fb-8e49-103ebdfc7d8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e7f74d6-56e9-40b7-9cd1-726367b16647'] 2026-09-17 12:23:01,784 - WARNING - Deleting VN ctest-vn-56132690 failed..Will retry 2026-09-17 12:23:03,899 - DEBUG - Response for deleting network () 2026-09-17 12:23:03,899 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722 2026-09-17 12:23:03,915 - DEBUG - Response Code: 404 2026-09-17 12:23:03,915 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:23:03,922 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136 2026-09-17 12:23:03,977 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:23:04,060 - INFO - Validated that VN ctest-vn-56132690 is not found in API Server 2026-09-17 12:23:04,075 - DEBUG - VN ctest-vn-56132690 is not present in Agent 10.0.0.162 2026-09-17 12:23:04,075 - INFO - Validated that VN ctest-vn-56132690 is not in any agent 2026-09-17 12:23:04,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56132690 info 2026-09-17 12:23:04,094 - INFO - Deleting VN ctest-vn-53735804 2026-09-17 12:23:04,253 - DEBUG - Response for deleting network () 2026-09-17 12:23:04,254 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011 2026-09-17 12:23:04,267 - DEBUG - Response Code: 404 2026-09-17 12:23:04,267 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-17 12:23:04,275 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136 2026-09-17 12:23:04,332 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4 2026-09-17 12:23:04,414 - INFO - Validated that VN ctest-vn-53735804 is not found in API Server 2026-09-17 12:23:04,427 - DEBUG - VN ctest-vn-53735804 is not present in Agent 10.0.0.162 2026-09-17 12:23:04,427 - INFO - Validated that VN ctest-vn-53735804 is not in any agent 2026-09-17 12:23:04,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53735804 info 2026-09-17 12:23:04,722 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 12:23:04,723 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-09-17 12:23:04,723 - INFO - -------------------------------------------------------------------------------- 2026-09-17 12:23:05,532 - INFO - Deleted project: ctest-TestBasicPolicy-92092124, ID : af254b63-c80f-4a5c-8b18-0132959599d4