2026-09-25 15:53:03,747 - INFO - Domain Default found not creating 2026-09-25 15:53:03,984 - INFO - Project ctest-TestBasicPolicy-11724493 not found, creating it 2026-09-25 15:53:04,564 - INFO - Created Project:ctest-TestBasicPolicy-11724493, ID : 86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:53:06,403 - INFO - ================================================================================ 2026-09-25 15:53:06,404 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-25 15:53:06,404 - 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-25 15:53:06,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-25 15:53:06,675 - INFO - Initial checks done. Running the testcase now 2026-09-25 15:53:06,675 - INFO - 2026-09-25 15:53:07,370 - DEBUG - Response for create_network : {'network': {'id': 'ff2a2f1f-4256-4424-81ca-a143660e47b3', 'name': 'ctest-vn-32092831', 'tenant_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'project_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-vn-32092831'], 'port_security_enabled': True, 'description': ''}} 2026-09-25 15:53:07,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '135119dd-3e7f-4fcf-84d1-b12797bf4c1f', 'name': '', 'tenant_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'network_id': 'ff2a2f1f-4256-4424-81ca-a143660e47b3', 'ip_version': 4, 'cidr': '75.248.194.192/26', 'allocation_pools': [{'start': '75.248.194.194', 'end': '75.248.194.254'}], 'gateway_ip': '75.248.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.248.194.194', 'tags': [], 'project_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf'}} 2026-09-25 15:53:07,627 - INFO - Created VN ctest-vn-32092831 2026-09-25 15:53:07,689 - DEBUG - VN ctest-vn-32092831 UUID is ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:08,076 - DEBUG - Response for create_network : {'network': {'id': 'cda932e1-5b9b-4b32-801c-35001baeac6f', 'name': 'ctest-vn-90654623', 'tenant_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'project_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-vn-90654623'], 'port_security_enabled': True, 'description': ''}} 2026-09-25 15:53:08,302 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f03cf06-6bfe-4264-be8d-0a816ad4c399', 'name': '', 'tenant_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'network_id': 'cda932e1-5b9b-4b32-801c-35001baeac6f', 'ip_version': 4, 'cidr': '8.60.12.0/26', 'allocation_pools': [{'start': '8.60.12.2', 'end': '8.60.12.62'}], 'gateway_ip': '8.60.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.60.12.2', 'tags': [], 'project_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf'}} 2026-09-25 15:53:08,334 - INFO - Created VN ctest-vn-90654623 2026-09-25 15:53:08,389 - DEBUG - VN ctest-vn-90654623 UUID is cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:08,507 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831, 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-11724493:ctest-vn-90654623, 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-25 15:53:08,854 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff2a2f1f-4256-4424-81ca-a143660e47b3', 'name': 'ctest-vn-32092831', 'tenant_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'project_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['135119dd-3e7f-4fcf-84d1-b12797bf4c1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-vn-32092831'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-policy-allow-all-82538005']], 'subnet_ipam': [{'subnet_cidr': '75.248.194.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-25 15:53:09,141 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cda932e1-5b9b-4b32-801c-35001baeac6f', 'name': 'ctest-vn-90654623', 'tenant_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'project_id': '86cd1afb0bda4d4a8d3a3fb24b95b0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2f03cf06-6bfe-4264-be8d-0a816ad4c399'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-vn-90654623'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-policy-allow-all-82538005']], 'subnet_ipam': [{'subnet_cidr': '8.60.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-25 15:53:09,305 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:53:09,669 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:53:09,706 - DEBUG - Requesting: http://10.0.0.38:8082/domain/feefc375-57ba-41f0-bd64-4db01ac76350 2026-09-25 15:53:09,719 - DEBUG - Requesting: http://10.0.0.38:8082/project/86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:53:09,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:09,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:09,834 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2ed2589-09f0-4449-93a4-a06b6776afa9 2026-09-25 15:53:09,842 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2ed2589-09f0-4449-93a4-a06b6776afa9 2026-09-25 15:53:09,851 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4d2654d2-cd29-4e2d-bc4b-40711dbc5001 2026-09-25 15:53:09,862 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-25 15:53:09,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:09,875 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2ed2589-09f0-4449-93a4-a06b6776afa9 2026-09-25 15:53:09,899 - INFO - Verified VN network id 12 for VN ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:09,899 - INFO - Verifications in API Server for VN ctest-vn-32092831 passed 2026-09-25 15:53:09,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:09,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2ed2589-09f0-4449-93a4-a06b6776afa9 2026-09-25 15:53:09,928 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2ed2589-09f0-4449-93a4-a06b6776afa9 2026-09-25 15:53:09,940 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4d2654d2-cd29-4e2d-bc4b-40711dbc5001 2026-09-25 15:53:09,961 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11724493', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18386560239996912676', 'uuid-lslong': '9352464887035348915'}, 'enable': 'true', 'created': '2026-09-25T15:53:07', 'last-modified': '2026-09-25T15:53:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.132638'} 2026-09-25 15:53:09,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-25 15:53:09,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32092831 passed 2026-09-25 15:53:09,970 - DEBUG - ====Verifying policy data for ctest-vn-32092831 in API_Server ====== 2026-09-25 15:53:09,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:53:09,982 - DEBUG - Requesting: http://10.0.0.38:8082/domain/feefc375-57ba-41f0-bd64-4db01ac76350 2026-09-25 15:53:10,002 - DEBUG - Requesting: http://10.0.0.38:8082/project/86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:53:10,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff2a2f1f-4256-4424-81ca-a143660e47b3 2026-09-25 15:53:10,115 - DEBUG - ==>Verifying data for policy with id: 3b91ee8e-90d5-45b1-82e5-de150a687bb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-policy-allow-all-82538005'] 2026-09-25 15:53:10,115 - INFO - VN ctest-vn-32092831 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-25 15:53:10,115 - DEBUG - Verifying the vn in opserver 2026-09-25 15:53:10,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831 virtual network link through opserver 10.0.0.38 2026-09-25 15:53:10,115 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-25 15:53:10,461 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-25 15:53:10,531 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831?flat'} 2026-09-25 15:53:10,531 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831 is found in opserver 2026-09-25 15:53:10,545 - DEBUG - Do not have enough data to verify VN in agent 2026-09-25 15:53:10,550 - DEBUG - VRF ids for VN ctest-vn-32092831: {} 2026-09-25 15:53:10,550 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:53:10,557 - DEBUG - Requesting: http://10.0.0.38:8082/domain/feefc375-57ba-41f0-bd64-4db01ac76350 2026-09-25 15:53:10,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:53:10,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:10,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:10,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39dcef0e-6cbe-464a-8797-8a19480ef0e9 2026-09-25 15:53:10,698 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39dcef0e-6cbe-464a-8797-8a19480ef0e9 2026-09-25 15:53:10,709 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa0cd985-546e-49d4-a19e-ab6251f39e09 2026-09-25 15:53:10,718 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-25 15:53:10,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:10,732 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39dcef0e-6cbe-464a-8797-8a19480ef0e9 2026-09-25 15:53:10,750 - INFO - Verified VN network id 13 for VN cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:10,750 - INFO - Verifications in API Server for VN ctest-vn-90654623 passed 2026-09-25 15:53:10,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:10,763 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39dcef0e-6cbe-464a-8797-8a19480ef0e9 2026-09-25 15:53:10,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39dcef0e-6cbe-464a-8797-8a19480ef0e9 2026-09-25 15:53:10,780 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa0cd985-546e-49d4-a19e-ab6251f39e09 2026-09-25 15:53:10,795 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-90654623', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11724493', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14819431992325262130', 'uuid-lslong': '9231311610783378543'}, 'enable': 'true', 'created': '2026-09-25T15:53:08', 'last-modified': '2026-09-25T15:53:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.691559'} 2026-09-25 15:53:10,803 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-25 15:53:10,803 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90654623 passed 2026-09-25 15:53:10,804 - DEBUG - ====Verifying policy data for ctest-vn-90654623 in API_Server ====== 2026-09-25 15:53:10,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:53:10,812 - DEBUG - Requesting: http://10.0.0.38:8082/domain/feefc375-57ba-41f0-bd64-4db01ac76350 2026-09-25 15:53:10,827 - DEBUG - Requesting: http://10.0.0.38:8082/project/86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:53:10,912 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cda932e1-5b9b-4b32-801c-35001baeac6f 2026-09-25 15:53:10,925 - DEBUG - ==>Verifying data for policy with id: 3b91ee8e-90d5-45b1-82e5-de150a687bb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-11724493', 'ctest-policy-allow-all-82538005'] 2026-09-25 15:53:10,926 - INFO - VN ctest-vn-90654623 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-25 15:53:10,926 - DEBUG - Verifying the vn in opserver 2026-09-25 15:53:10,926 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-90654623 virtual network link through opserver 10.0.0.38 2026-09-25 15:53:10,926 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-25 15:53:10,940 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-90654623', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-90654623?flat'} 2026-09-25 15:53:10,940 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-90654623 is found in opserver 2026-09-25 15:53:10,958 - DEBUG - Do not have enough data to verify VN in agent 2026-09-25 15:53:10,967 - DEBUG - VRF ids for VN ctest-vn-90654623: {} 2026-09-25 15:53:11,036 - DEBUG - Services list from nova: [, , ] 2026-09-25 15:53:11,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6322-1) 2026-09-25 15:53:11,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6322-1) 2026-09-25 15:53:11,921 - INFO - Waiting for VM ctest-TestBasicPolicy-11724493-28912372 to be up.. 2026-09-25 15:53:11,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:17,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:22,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:27,304 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:32,486 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:37,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:42,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:47,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:53:52,890 - DEBUG - VM is in ACTIVE state now 2026-09-25 15:53:52,890 - INFO - VM name : ctest-TestBasicPolicy-11724493-28912372 2026-09-25 15:53:53,000 - DEBUG - VM ctest-TestBasicPolicy-11724493-28912372 ID is c53a668c-9a71-4773-9fc0-b93448ea52b1 2026-09-25 15:53:53,024 - DEBUG - VM ctest-TestBasicPolicy-11724493-28912372 launched on Node cn-jenkins-deploy-platform-ansible-os-6322-1 2026-09-25 15:53:53,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c53a668c-9a71-4773-9fc0-b93448ea52b1 2026-09-25 15:53:53,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/354c9fea-26c1-4c9b-921b-6eeb26064288 2026-09-25 15:53:56,407 - 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 1024ms') 2026-09-25 15:53:56,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11724493-28912372 failed! 2026-09-25 15:53:56,469 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831 is 75.248.194.193 and allocation pool is NOT set 2026-09-25 15:54:00,564 - 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-25 15:54:00,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11724493-28912372 failed! 2026-09-25 15:54:00,624 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11724493:ctest-vn-32092831 is 75.248.194.193 and allocation pool is NOT set 2026-09-25 15:54:02,695 - 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=7.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.318/4.315/7.312/2.997 ms') 2026-09-25 15:54:02,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11724493-28912372 passed 2026-09-25 15:54:02,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:54:02,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11724493-28912372, IP 75.248.194.195, Port 22 2026-09-25 15:54:03,023 - DEBUG - VM ctest-TestBasicPolicy-11724493-28912372 is ready for SSH connections 2026-09-25 15:54:03,023 - INFO - Waiting for VM ctest-TestBasicPolicy-11724493-98201737 to be up.. 2026-09-25 15:54:03,117 - DEBUG - VM is in ACTIVE state now 2026-09-25 15:54:03,117 - INFO - VM name : ctest-TestBasicPolicy-11724493-98201737 2026-09-25 15:54:03,231 - DEBUG - VM ctest-TestBasicPolicy-11724493-98201737 ID is 2d94bc7e-7da0-4fca-8e9a-409d8bdb0c27 2026-09-25 15:54:03,232 - DEBUG - VM ctest-TestBasicPolicy-11724493-98201737 launched on Node cn-jenkins-deploy-platform-ansible-os-6322-1 2026-09-25 15:54:03,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2d94bc7e-7da0-4fca-8e9a-409d8bdb0c27 2026-09-25 15:54:03,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7bc2c9f8-dd2f-464b-9fe7-ceaa6033d1ba 2026-09-25 15:54:04,617 - 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=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/2.607/4.572/1.965 ms') 2026-09-25 15:54:04,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11724493-98201737 passed 2026-09-25 15:54:04,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:54:04,773 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11724493-98201737, IP 8.60.12.3, Port 22 2026-09-25 15:54:04,952 - DEBUG - VM ctest-TestBasicPolicy-11724493-98201737 is ready for SSH connections 2026-09-25 15:54:04,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:54:04,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.60.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-25 15:54:04,952 - DEBUG - ping -s 56 -c 3 -W 1 8.60.12.3 2026-09-25 15:54:09,117 - DEBUG - PING 8.60.12.3 (8.60.12.3): 56 data bytes 64 bytes from 8.60.12.3: seq=0 ttl=63 time=6.075 ms 64 bytes from 8.60.12.3: seq=1 ttl=63 time=1.253 ms 64 bytes from 8.60.12.3: seq=2 ttl=63 time=1.168 ms --- 8.60.12.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.168/2.832/6.075 ms 2026-09-25 15:54:09,117 - INFO - Ping to IP 8.60.12.3 from VM ctest-TestBasicPolicy-11724493-28912372 passed 2026-09-25 15:54:09,304 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3b91ee8e-90d5-45b1-82e5-de150a687bb9", "href": "http://10.0.0.38:8082/network-policy/3b91ee8e-90d5-45b1-82e5-de150a687bb9"}} 2026-09-25 15:54:09,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:54:09,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.60.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-25 15:54:09,305 - DEBUG - ping -s 56 -c 3 -W 1 8.60.12.3 2026-09-25 15:54:12,451 - DEBUG - PING 8.60.12.3 (8.60.12.3): 56 data bytes 64 bytes from 8.60.12.3: seq=0 ttl=63 time=1.886 ms --- 8.60.12.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.886/1.886/1.886 ms 2026-09-25 15:54:12,452 - WARNING - Ping to IP 8.60.12.3 from VM ctest-TestBasicPolicy-11724493-28912372 failed 2026-09-25 15:54:12,452 - INFO - Deleting VM ctest-TestBasicPolicy-11724493-98201737 2026-09-25 15:54:12,539 - INFO - Deleting VM ctest-TestBasicPolicy-11724493-28912372 2026-09-25 15:54:12,991 - INFO - Deleted policy ctest-policy-allow-all-82538005 2026-09-25 15:54:12,992 - INFO - Deleting VN ctest-vn-90654623 2026-09-25 15:54:13,032 - DEBUG - VN cda932e1-5b9b-4b32-801c-35001baeac6f still in use: Unable to complete operation on network cda932e1-5b9b-4b32-801c-35001baeac6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c451cf0-bb85-4c80-bc9b-32b965650b30'] 2026-09-25 15:54:13,032 - WARNING - Deleting VN ctest-vn-90654623 failed..Will retry 2026-09-25 15:54:15,228 - DEBUG - Response for deleting network () 2026-09-25 15:54:15,228 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39dcef0e-6cbe-464a-8797-8a19480ef0e9 2026-09-25 15:54:15,237 - DEBUG - Response Code: 404 2026-09-25 15:54:15,238 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:54:15,247 - DEBUG - Requesting: http://10.0.0.38:8082/domain/feefc375-57ba-41f0-bd64-4db01ac76350 2026-09-25 15:54:15,268 - DEBUG - Requesting: http://10.0.0.38:8082/project/86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:54:15,363 - INFO - Validated that VN ctest-vn-90654623 is not found in API Server 2026-09-25 15:54:15,378 - DEBUG - VN ctest-vn-90654623 is not present in Agent 10.0.0.38 2026-09-25 15:54:15,378 - INFO - Validated that VN ctest-vn-90654623 is not in any agent 2026-09-25 15:54:15,399 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90654623 info 2026-09-25 15:54:15,400 - INFO - Deleting VN ctest-vn-32092831 2026-09-25 15:54:15,542 - DEBUG - Response for deleting network () 2026-09-25 15:54:15,543 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2ed2589-09f0-4449-93a4-a06b6776afa9 2026-09-25 15:54:15,548 - DEBUG - Response Code: 404 2026-09-25 15:54:15,548 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-25 15:54:15,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/feefc375-57ba-41f0-bd64-4db01ac76350 2026-09-25 15:54:15,614 - DEBUG - Requesting: http://10.0.0.38:8082/project/86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf 2026-09-25 15:54:15,701 - INFO - Validated that VN ctest-vn-32092831 is not found in API Server 2026-09-25 15:54:15,713 - DEBUG - VN ctest-vn-32092831 is not present in Agent 10.0.0.38 2026-09-25 15:54:15,713 - INFO - Validated that VN ctest-vn-32092831 is not in any agent 2026-09-25 15:54:15,733 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32092831 info 2026-09-25 15:54:16,016 - DEBUG - No XMPP flaps were noticed during the test
2026-09-25 15:54:16,016 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-09-25 15:54:16,017 - INFO - -------------------------------------------------------------------------------- 2026-09-25 15:54:16,794 - INFO - Deleted project: ctest-TestBasicPolicy-11724493, ID : 86cd1afb-0bda-4d4a-8d3a-3fb24b95b0cf