2026-11-06 15:18:14,619 - INFO - Domain Default found not creating 2026-11-06 15:18:14,807 - INFO - Project ctest-TestBasicPolicy-49225484 not found, creating it 2026-11-06 15:18:15,316 - INFO - Created Project:ctest-TestBasicPolicy-49225484, ID : 6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:18:17,125 - INFO - ================================================================================ 2026-11-06 15:18:17,125 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-06 15:18:17,125 - 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-11-06 15:18:17,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-11-06 15:18:17,392 - INFO - Initial checks done. Running the testcase now 2026-11-06 15:18:17,392 - INFO - 2026-11-06 15:18:18,032 - DEBUG - Response for create_network : {'network': {'id': '0bc7d372-9d09-467a-b27d-68e10d1c65c9', 'name': 'ctest-vn-05680595', 'tenant_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'project_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-vn-05680595'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 15:18:18,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f7e78f7-3766-4b1d-abf8-31a78cedee5f', 'name': '', 'tenant_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'network_id': '0bc7d372-9d09-467a-b27d-68e10d1c65c9', 'ip_version': 4, 'cidr': '34.98.12.0/26', 'allocation_pools': [{'start': '34.98.12.2', 'end': '34.98.12.62'}], 'gateway_ip': '34.98.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.98.12.2', 'tags': [], 'project_id': '6f00cbf8abfd4d4eb956a7de723a8022'}} 2026-11-06 15:18:18,233 - INFO - Created VN ctest-vn-05680595 2026-11-06 15:18:18,289 - DEBUG - VN ctest-vn-05680595 UUID is 0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:18,609 - DEBUG - Response for create_network : {'network': {'id': '457af33f-e67d-466b-b543-f38773174cce', 'name': 'ctest-vn-38529439', 'tenant_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'project_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-vn-38529439'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 15:18:18,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d2199f0-5f3d-44f0-9213-ef437607cb8a', 'name': '', 'tenant_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'network_id': '457af33f-e67d-466b-b543-f38773174cce', 'ip_version': 4, 'cidr': '185.33.85.64/26', 'allocation_pools': [{'start': '185.33.85.66', 'end': '185.33.85.126'}], 'gateway_ip': '185.33.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.33.85.66', 'tags': [], 'project_id': '6f00cbf8abfd4d4eb956a7de723a8022'}} 2026-11-06 15:18:18,816 - INFO - Created VN ctest-vn-38529439 2026-11-06 15:18:18,869 - DEBUG - VN ctest-vn-38529439 UUID is 457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:18,988 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595, 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-49225484:ctest-vn-38529439, 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-11-06 15:18:19,311 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0bc7d372-9d09-467a-b27d-68e10d1c65c9', 'name': 'ctest-vn-05680595', 'tenant_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'project_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3f7e78f7-3766-4b1d-abf8-31a78cedee5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-vn-05680595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-policy-allow-all-58321231']], 'subnet_ipam': [{'subnet_cidr': '34.98.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 15:18:19,551 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '457af33f-e67d-466b-b543-f38773174cce', 'name': 'ctest-vn-38529439', 'tenant_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'project_id': '6f00cbf8abfd4d4eb956a7de723a8022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5d2199f0-5f3d-44f0-9213-ef437607cb8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-vn-38529439'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-policy-allow-all-58321231']], 'subnet_ipam': [{'subnet_cidr': '185.33.85.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 15:18:19,725 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:18:20,097 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:18:20,126 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff4b00ed-fecb-4191-a666-24c963102159 2026-11-06 15:18:20,139 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:18:20,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:20,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:20,242 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/235acd06-65b4-4873-aea1-80916bb4dade 2026-11-06 15:18:20,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/235acd06-65b4-4873-aea1-80916bb4dade 2026-11-06 15:18:20,261 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d17bc76f-5f04-40be-a5a1-0ccb726a3f74 2026-11-06 15:18:20,268 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 15:18:20,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:20,278 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/235acd06-65b4-4873-aea1-80916bb4dade 2026-11-06 15:18:20,296 - INFO - Verified VN network id 12 for VN 0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:20,296 - INFO - Verifications in API Server for VN ctest-vn-05680595 passed 2026-11-06 15:18:20,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:20,307 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/235acd06-65b4-4873-aea1-80916bb4dade 2026-11-06 15:18:20,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/235acd06-65b4-4873-aea1-80916bb4dade 2026-11-06 15:18:20,324 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d17bc76f-5f04-40be-a5a1-0ccb726a3f74 2026-11-06 15:18:20,340 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49225484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '848879543996991098', 'uuid-lslong': '12861551426636899785'}, 'enable': 'true', 'created': '2026-11-06T15:18:17', 'last-modified': '2026-11-06T15:18:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.054167'} 2026-11-06 15:18:20,349 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 15:18:20,349 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05680595 passed 2026-11-06 15:18:20,349 - DEBUG - ====Verifying policy data for ctest-vn-05680595 in API_Server ====== 2026-11-06 15:18:20,349 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:18:20,355 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff4b00ed-fecb-4191-a666-24c963102159 2026-11-06 15:18:20,369 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:18:20,450 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0bc7d372-9d09-467a-b27d-68e10d1c65c9 2026-11-06 15:18:20,460 - DEBUG - ==>Verifying data for policy with id: 7b7a9569-f5c6-49a1-8240-ec95b712aa68, fqn: ['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-policy-allow-all-58321231'] 2026-11-06 15:18:20,460 - INFO - VN ctest-vn-05680595 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 15:18:20,460 - DEBUG - Verifying the vn in opserver 2026-11-06 15:18:20,461 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595 virtual network link through opserver 10.0.0.50 2026-11-06 15:18:20,461 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-06 15:18:20,831 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-06 15:18:20,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595?flat'} 2026-11-06 15:18:20,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595 is found in opserver 2026-11-06 15:18:20,906 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 15:18:20,912 - DEBUG - VRF ids for VN ctest-vn-05680595: {} 2026-11-06 15:18:20,912 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:18:20,918 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff4b00ed-fecb-4191-a666-24c963102159 2026-11-06 15:18:20,930 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:18:21,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:21,017 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:21,027 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fc9ea37-b06e-40b4-a077-39da6a31c932 2026-11-06 15:18:21,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fc9ea37-b06e-40b4-a077-39da6a31c932 2026-11-06 15:18:21,043 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1908c8cb-b2af-47e4-8a2e-f2e7a176772a 2026-11-06 15:18:21,051 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 15:18:21,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:21,061 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fc9ea37-b06e-40b4-a077-39da6a31c932 2026-11-06 15:18:21,082 - INFO - Verified VN network id 13 for VN 457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:21,082 - INFO - Verifications in API Server for VN ctest-vn-38529439 passed 2026-11-06 15:18:21,082 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:21,097 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fc9ea37-b06e-40b4-a077-39da6a31c932 2026-11-06 15:18:21,108 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fc9ea37-b06e-40b4-a077-39da6a31c932 2026-11-06 15:18:21,117 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1908c8cb-b2af-47e4-8a2e-f2e7a176772a 2026-11-06 15:18:21,132 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-38529439', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49225484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5006581391551186539', 'uuid-lslong': '13061551107381611726'}, 'enable': 'true', 'created': '2026-11-06T15:18:18', 'last-modified': '2026-11-06T15:18:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.610544'} 2026-11-06 15:18:21,141 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 15:18:21,141 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38529439 passed 2026-11-06 15:18:21,142 - DEBUG - ====Verifying policy data for ctest-vn-38529439 in API_Server ====== 2026-11-06 15:18:21,142 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:18:21,150 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff4b00ed-fecb-4191-a666-24c963102159 2026-11-06 15:18:21,166 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:18:21,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/457af33f-e67d-466b-b543-f38773174cce 2026-11-06 15:18:21,261 - DEBUG - ==>Verifying data for policy with id: 7b7a9569-f5c6-49a1-8240-ec95b712aa68, fqn: ['default-domain', 'ctest-TestBasicPolicy-49225484', 'ctest-policy-allow-all-58321231'] 2026-11-06 15:18:21,261 - INFO - VN ctest-vn-38529439 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 15:18:21,261 - DEBUG - Verifying the vn in opserver 2026-11-06 15:18:21,261 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-38529439 virtual network link through opserver 10.0.0.50 2026-11-06 15:18:21,261 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-06 15:18:21,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-38529439', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-38529439?flat'} 2026-11-06 15:18:21,276 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-38529439 is found in opserver 2026-11-06 15:18:21,290 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 15:18:21,297 - DEBUG - VRF ids for VN ctest-vn-38529439: {} 2026-11-06 15:18:21,361 - DEBUG - Services list from nova: [, , ] 2026-11-06 15:18:21,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6490-1) 2026-11-06 15:18:22,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6490-1) 2026-11-06 15:18:22,242 - INFO - Waiting for VM ctest-TestBasicPolicy-49225484-29751760 to be up.. 2026-11-06 15:18:22,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:27,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:32,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:37,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:42,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:47,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:52,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:18:57,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:19:03,177 - DEBUG - VM is in ACTIVE state now 2026-11-06 15:19:03,177 - INFO - VM name : ctest-TestBasicPolicy-49225484-29751760 2026-11-06 15:19:03,288 - DEBUG - VM ctest-TestBasicPolicy-49225484-29751760 ID is fd6e84bb-662c-42da-85b5-48cd1e175a60 2026-11-06 15:19:03,314 - DEBUG - VM ctest-TestBasicPolicy-49225484-29751760 launched on Node cn-jenkins-deploy-platform-ansible-os-6490-1 2026-11-06 15:19:03,403 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fd6e84bb-662c-42da-85b5-48cd1e175a60 2026-11-06 15:19:03,413 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3b901b21-1fc8-436d-b5a6-05dda725318c 2026-11-06 15:19:06,699 - 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-11-06 15:19:06,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49225484-29751760 failed! 2026-11-06 15:19:06,757 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595 is 34.98.12.1 and allocation pool is NOT set 2026-11-06 15:19:10,853 - 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 1028ms') 2026-11-06 15:19:10,853 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49225484-29751760 failed! 2026-11-06 15:19:10,909 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49225484:ctest-vn-05680595 is 34.98.12.1 and allocation pool is NOT set 2026-11-06 15:19:12,969 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.488 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.488/3.213/5.939/2.725 ms') 2026-11-06 15:19:12,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49225484-29751760 passed 2026-11-06 15:19:13,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:19:13,129 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49225484-29751760, IP 34.98.12.3, Port 22 2026-11-06 15:19:13,299 - DEBUG - VM ctest-TestBasicPolicy-49225484-29751760 is ready for SSH connections 2026-11-06 15:19:13,299 - INFO - Waiting for VM ctest-TestBasicPolicy-49225484-33950693 to be up.. 2026-11-06 15:19:13,392 - DEBUG - VM is in ACTIVE state now 2026-11-06 15:19:13,393 - INFO - VM name : ctest-TestBasicPolicy-49225484-33950693 2026-11-06 15:19:13,483 - DEBUG - VM ctest-TestBasicPolicy-49225484-33950693 ID is 34276f13-01aa-42b7-8404-feb666b00c84 2026-11-06 15:19:13,483 - DEBUG - VM ctest-TestBasicPolicy-49225484-33950693 launched on Node cn-jenkins-deploy-platform-ansible-os-6490-1 2026-11-06 15:19:13,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/34276f13-01aa-42b7-8404-feb666b00c84 2026-11-06 15:19:13,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be8811fd-ba0e-4891-a107-ed1897de41d2 2026-11-06 15:19:14,837 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/2.191/3.880/1.689 ms') 2026-11-06 15:19:14,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49225484-33950693 passed 2026-11-06 15:19:14,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:19:14,997 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49225484-33950693, IP 185.33.85.67, Port 22 2026-11-06 15:19:15,167 - DEBUG - VM ctest-TestBasicPolicy-49225484-33950693 is ready for SSH connections 2026-11-06 15:19:15,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:19:15,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.33.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 15:19:15,167 - DEBUG - ping -s 56 -c 3 -W 1 185.33.85.67 2026-11-06 15:19:19,224 - DEBUG - PING 185.33.85.67 (185.33.85.67): 56 data bytes 64 bytes from 185.33.85.67: seq=0 ttl=63 time=5.080 ms 64 bytes from 185.33.85.67: seq=1 ttl=63 time=1.097 ms 64 bytes from 185.33.85.67: seq=2 ttl=63 time=0.949 ms --- 185.33.85.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/2.375/5.080 ms 2026-11-06 15:19:19,224 - INFO - Ping to IP 185.33.85.67 from VM ctest-TestBasicPolicy-49225484-29751760 passed 2026-11-06 15:19:19,409 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7b7a9569-f5c6-49a1-8240-ec95b712aa68", "href": "http://10.0.0.50:8082/network-policy/7b7a9569-f5c6-49a1-8240-ec95b712aa68"}} 2026-11-06 15:19:19,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:19:19,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.33.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 15:19:19,409 - DEBUG - ping -s 56 -c 3 -W 1 185.33.85.67 2026-11-06 15:19:22,552 - DEBUG - PING 185.33.85.67 (185.33.85.67): 56 data bytes 64 bytes from 185.33.85.67: seq=0 ttl=63 time=1.535 ms --- 185.33.85.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.535/1.535/1.535 ms 2026-11-06 15:19:22,552 - WARNING - Ping to IP 185.33.85.67 from VM ctest-TestBasicPolicy-49225484-29751760 failed 2026-11-06 15:19:22,552 - INFO - Deleting VM ctest-TestBasicPolicy-49225484-33950693 2026-11-06 15:19:22,642 - INFO - Deleting VM ctest-TestBasicPolicy-49225484-29751760 2026-11-06 15:19:23,099 - INFO - Deleted policy ctest-policy-allow-all-58321231 2026-11-06 15:19:23,099 - INFO - Deleting VN ctest-vn-38529439 2026-11-06 15:19:23,139 - DEBUG - VN 457af33f-e67d-466b-b543-f38773174cce still in use: Unable to complete operation on network 457af33f-e67d-466b-b543-f38773174cce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68018c61-f807-415a-86af-f156339ae7a4'] 2026-11-06 15:19:23,139 - WARNING - Deleting VN ctest-vn-38529439 failed..Will retry 2026-11-06 15:19:25,199 - DEBUG - VN 457af33f-e67d-466b-b543-f38773174cce still in use: Unable to complete operation on network 457af33f-e67d-466b-b543-f38773174cce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5e7ea6d-11a1-46ce-ad2f-5206187dab84'] 2026-11-06 15:19:25,200 - WARNING - Deleting VN ctest-vn-38529439 failed..Will retry 2026-11-06 15:19:27,327 - DEBUG - Response for deleting network () 2026-11-06 15:19:27,327 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fc9ea37-b06e-40b4-a077-39da6a31c932 2026-11-06 15:19:27,336 - DEBUG - Response Code: 404 2026-11-06 15:19:27,336 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:19:27,342 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff4b00ed-fecb-4191-a666-24c963102159 2026-11-06 15:19:27,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:19:27,481 - INFO - Validated that VN ctest-vn-38529439 is not found in API Server 2026-11-06 15:19:27,495 - DEBUG - VN ctest-vn-38529439 is not present in Agent 10.0.0.50 2026-11-06 15:19:27,495 - INFO - Validated that VN ctest-vn-38529439 is not in any agent 2026-11-06 15:19:27,514 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38529439 info 2026-11-06 15:19:27,515 - INFO - Deleting VN ctest-vn-05680595 2026-11-06 15:19:27,630 - DEBUG - Response for deleting network () 2026-11-06 15:19:27,630 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/235acd06-65b4-4873-aea1-80916bb4dade 2026-11-06 15:19:27,636 - DEBUG - Response Code: 404 2026-11-06 15:19:27,636 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-06 15:19:27,642 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff4b00ed-fecb-4191-a666-24c963102159 2026-11-06 15:19:27,698 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f00cbf8-abfd-4d4e-b956-a7de723a8022 2026-11-06 15:19:27,773 - INFO - Validated that VN ctest-vn-05680595 is not found in API Server 2026-11-06 15:19:27,784 - DEBUG - VN ctest-vn-05680595 is not present in Agent 10.0.0.50 2026-11-06 15:19:27,784 - INFO - Validated that VN ctest-vn-05680595 is not in any agent 2026-11-06 15:19:27,803 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05680595 info 2026-11-06 15:19:28,075 - DEBUG - No XMPP flaps were noticed during the test 2026-11-06 15:19:28,075 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-11-06 15:19:28,075 - INFO - -------------------------------------------------------------------------------- 2026-11-06 15:19:28,877 - INFO - Deleted project: ctest-TestBasicPolicy-49225484, ID : 6f00cbf8-abfd-4d4e-b956-a7de723a8022