2026-12-01 12:24:53,718 - INFO - Domain Default found not creating 2026-12-01 12:24:53,895 - INFO - Project ctest-TestBasicPolicy-17597176 not found, creating it 2026-12-01 12:24:54,376 - INFO - Created Project:ctest-TestBasicPolicy-17597176, ID : 9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:24:56,354 - INFO - ================================================================================ 2026-12-01 12:24:56,354 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-12-01 12:24:56,354 - 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-12-01 12:24:56,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-12-01 12:24:56,642 - INFO - Initial checks done. Running the testcase now 2026-12-01 12:24:56,642 - INFO - 2026-12-01 12:24:57,254 - DEBUG - Response for create_network : {'network': {'id': '1a218f6d-f158-4d13-9e20-5962345d17e1', 'name': 'ctest-vn-03374498', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-03374498'], 'port_security_enabled': True, 'description': ''}} 2026-12-01 12:24:57,485 - DEBUG - Response for create_subnet : {'subnet': {'id': '35e98b05-b65d-4e6f-870f-9fd523765a7c', 'name': '', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'network_id': '1a218f6d-f158-4d13-9e20-5962345d17e1', 'ip_version': 4, 'cidr': '90.240.110.64/26', 'allocation_pools': [{'start': '90.240.110.66', 'end': '90.240.110.126'}], 'gateway_ip': '90.240.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.240.110.66', 'tags': [], 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6'}} 2026-12-01 12:24:57,502 - INFO - Created VN ctest-vn-03374498 2026-12-01 12:24:57,554 - DEBUG - VN ctest-vn-03374498 UUID is 1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:57,891 - DEBUG - Response for create_network : {'network': {'id': '07d7a789-2fc0-4ee7-a2da-0d3f4736da7f', 'name': 'ctest-vn-78726940', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-78726940'], 'port_security_enabled': True, 'description': ''}} 2026-12-01 12:24:58,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a7c888b-b551-4b51-bef0-93bbd8509d9a', 'name': '', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'network_id': '07d7a789-2fc0-4ee7-a2da-0d3f4736da7f', 'ip_version': 4, 'cidr': '123.27.39.0/26', 'allocation_pools': [{'start': '123.27.39.2', 'end': '123.27.39.62'}], 'gateway_ip': '123.27.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.27.39.2', 'tags': [], 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6'}} 2026-12-01 12:24:58,080 - INFO - Created VN ctest-vn-78726940 2026-12-01 12:24:58,130 - DEBUG - VN ctest-vn-78726940 UUID is 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:24:58,274 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498, 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-17597176:ctest-vn-78726940, 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-12-01 12:24:58,571 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a218f6d-f158-4d13-9e20-5962345d17e1', 'name': 'ctest-vn-03374498', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['35e98b05-b65d-4e6f-870f-9fd523765a7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-03374498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264']], 'subnet_ipam': [{'subnet_cidr': '90.240.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-01 12:24:58,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07d7a789-2fc0-4ee7-a2da-0d3f4736da7f', 'name': 'ctest-vn-78726940', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9a7c888b-b551-4b51-bef0-93bbd8509d9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-78726940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264']], 'subnet_ipam': [{'subnet_cidr': '123.27.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-01 12:24:58,962 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:24:59,322 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:24:59,351 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877 2026-12-01 12:24:59,363 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:24:59,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:59,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:59,462 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2 2026-12-01 12:24:59,470 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2 2026-12-01 12:24:59,478 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/79f550bc-b6a7-4f05-8077-bb5f4a1b2cde 2026-12-01 12:24:59,484 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-01 12:24:59,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:59,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2 2026-12-01 12:24:59,508 - INFO - Verified VN network id 12 for VN 1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:59,508 - INFO - Verifications in API Server for VN ctest-vn-03374498 passed 2026-12-01 12:24:59,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:59,519 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2 2026-12-01 12:24:59,528 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2 2026-12-01 12:24:59,536 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/79f550bc-b6a7-4f05-8077-bb5f4a1b2cde 2026-12-01 12:24:59,548 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17597176', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1882943821580881171', 'uuid-lslong': '11394205335567538145'}, 'enable': 'true', 'created': '2026-12-01T12:24:57', 'last-modified': '2026-12-01T12:24:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999833'} 2026-12-01 12:24:59,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-01 12:24:59,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03374498 passed 2026-12-01 12:24:59,554 - DEBUG - ====Verifying policy data for ctest-vn-03374498 in API_Server ====== 2026-12-01 12:24:59,554 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:24:59,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877 2026-12-01 12:24:59,570 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:24:59,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1 2026-12-01 12:24:59,657 - DEBUG - ==>Verifying data for policy with id: 767f25a9-eb4c-4000-872c-9b8a042ae659, fqn: ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264'] 2026-12-01 12:24:59,657 - INFO - VN ctest-vn-03374498 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-01 12:24:59,657 - DEBUG - Verifying the vn in opserver 2026-12-01 12:24:59,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498 virtual network link through opserver 10.0.0.38 2026-12-01 12:24:59,657 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-12-01 12:25:00,018 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-12-01 12:25:00,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498?flat'} 2026-12-01 12:25:00,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498 is found in opserver 2026-12-01 12:25:00,083 - DEBUG - Do not have enough data to verify VN in agent 2026-12-01 12:25:00,087 - DEBUG - VRF ids for VN ctest-vn-03374498: {} 2026-12-01 12:25:00,088 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:25:00,093 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877 2026-12-01 12:25:00,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:25:00,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:25:00,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:25:00,200 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e 2026-12-01 12:25:00,207 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e 2026-12-01 12:25:00,214 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b7054411-4994-4318-b4ee-28c63579f09d 2026-12-01 12:25:00,219 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-01 12:25:00,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:25:00,230 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e 2026-12-01 12:25:00,245 - INFO - Verified VN network id 13 for VN 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:25:00,245 - INFO - Verifications in API Server for VN ctest-vn-78726940 passed 2026-12-01 12:25:00,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:25:00,256 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e 2026-12-01 12:25:00,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e 2026-12-01 12:25:00,273 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b7054411-4994-4318-b4ee-28c63579f09d 2026-12-01 12:25:00,285 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17597176', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '565104485911776999', 'uuid-lslong': '11734706344496126591'}, 'enable': 'true', 'created': '2026-12-01T12:24:57', 'last-modified': '2026-12-01T12:24:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.514669'} 2026-12-01 12:25:00,292 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-01 12:25:00,292 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78726940 passed 2026-12-01 12:25:00,292 - DEBUG - ====Verifying policy data for ctest-vn-78726940 in API_Server ====== 2026-12-01 12:25:00,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:25:00,297 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877 2026-12-01 12:25:00,307 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:25:00,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f 2026-12-01 12:25:00,389 - DEBUG - ==>Verifying data for policy with id: 767f25a9-eb4c-4000-872c-9b8a042ae659, fqn: ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264'] 2026-12-01 12:25:00,389 - INFO - VN ctest-vn-78726940 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-01 12:25:00,389 - DEBUG - Verifying the vn in opserver 2026-12-01 12:25:00,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940 virtual network link through opserver 10.0.0.38 2026-12-01 12:25:00,389 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-12-01 12:25:00,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940?flat'} 2026-12-01 12:25:00,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940 is found in opserver 2026-12-01 12:25:00,410 - DEBUG - Do not have enough data to verify VN in agent 2026-12-01 12:25:00,415 - DEBUG - VRF ids for VN ctest-vn-78726940: {} 2026-12-01 12:25:00,477 - DEBUG - Services list from nova: [, , ] 2026-12-01 12:25:00,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6526-1) 2026-12-01 12:25:01,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6526-1) 2026-12-01 12:25:01,332 - INFO - Waiting for VM ctest-TestBasicPolicy-17597176-14816580 to be up.. 2026-12-01 12:25:01,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:06,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:11,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:16,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:21,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:26,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:31,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:37,025 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 12:25:42,103 - DEBUG - VM is in ACTIVE state now 2026-12-01 12:25:42,104 - INFO - VM name : ctest-TestBasicPolicy-17597176-14816580 2026-12-01 12:25:42,176 - DEBUG - VM ctest-TestBasicPolicy-17597176-14816580 ID is d6a90afa-155c-4ed6-9a86-32a03ae0392d 2026-12-01 12:25:42,197 - DEBUG - VM ctest-TestBasicPolicy-17597176-14816580 launched on Node cn-jenkins-deploy-platform-ansible-os-6526-1 2026-12-01 12:25:42,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d6a90afa-155c-4ed6-9a86-32a03ae0392d 2026-12-01 12:25:42,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5893a61e-4e90-4686-8730-2b0906dacb1e 2026-12-01 12:25:45,547 - 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 1013ms') 2026-12-01 12:25:45,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17597176-14816580 failed! 2026-12-01 12:25:45,602 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498 is 90.240.110.65 and allocation pool is NOT set 2026-12-01 12:25:47,664 - 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=15.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.304/8.244/15.185/6.940 ms') 2026-12-01 12:25:47,664 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17597176-14816580 passed 2026-12-01 12:25:47,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 12:25:47,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17597176-14816580, IP 90.240.110.67, Port 22 2026-12-01 12:25:47,881 - 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': ''} 2026-12-01 12:25:47,960 - DEBUG - VM ctest-TestBasicPolicy-17597176-14816580 is NOT ready for SSH connections, VM status: ACTIVE 2026-12-01 12:25:52,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 12:25:52,960 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17597176-14816580, IP 90.240.110.67, Port 22 2026-12-01 12:25:53,194 - DEBUG - VM ctest-TestBasicPolicy-17597176-14816580 is ready for SSH connections 2026-12-01 12:25:53,194 - INFO - Waiting for VM ctest-TestBasicPolicy-17597176-21089905 to be up.. 2026-12-01 12:25:53,292 - DEBUG - VM is in ACTIVE state now 2026-12-01 12:25:53,292 - INFO - VM name : ctest-TestBasicPolicy-17597176-21089905 2026-12-01 12:25:53,392 - DEBUG - VM ctest-TestBasicPolicy-17597176-21089905 ID is ed1e0eac-8cdb-4f5a-80e1-0a1dd8ae5702 2026-12-01 12:25:53,392 - DEBUG - VM ctest-TestBasicPolicy-17597176-21089905 launched on Node cn-jenkins-deploy-platform-ansible-os-6526-1 2026-12-01 12:25:53,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed1e0eac-8cdb-4f5a-80e1-0a1dd8ae5702 2026-12-01 12:25:53,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/287abc4c-8356-4d63-93f3-84dd3483be9a 2026-12-01 12:25:54,716 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/2.215/4.028/1.812 ms') 2026-12-01 12:25:54,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17597176-21089905 passed 2026-12-01 12:25:54,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 12:25:54,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17597176-21089905, IP 123.27.39.3, Port 22 2026-12-01 12:25:55,036 - DEBUG - VM ctest-TestBasicPolicy-17597176-21089905 is ready for SSH connections 2026-12-01 12:25:55,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 12:25:55,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.27.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-12-01 12:25:55,037 - DEBUG - ping -s 56 -c 3 -W 1 123.27.39.3 2026-12-01 12:25:59,020 - DEBUG - PING 123.27.39.3 (123.27.39.3): 56 data bytes 64 bytes from 123.27.39.3: seq=0 ttl=63 time=4.003 ms 64 bytes from 123.27.39.3: seq=1 ttl=63 time=0.960 ms 64 bytes from 123.27.39.3: seq=2 ttl=63 time=0.881 ms --- 123.27.39.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.948/4.003 ms 2026-12-01 12:25:59,020 - INFO - Ping to IP 123.27.39.3 from VM ctest-TestBasicPolicy-17597176-14816580 passed 2026-12-01 12:25:59,198 - DEBUG - Policy Update Response {"network-policy": {"uuid": "767f25a9-eb4c-4000-872c-9b8a042ae659", "href": "http://10.0.0.38:8082/network-policy/767f25a9-eb4c-4000-872c-9b8a042ae659"}} 2026-12-01 12:25:59,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 12:25:59,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.27.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-12-01 12:25:59,198 - DEBUG - ping -s 56 -c 3 -W 1 123.27.39.3 2026-12-01 12:26:02,335 - DEBUG - PING 123.27.39.3 (123.27.39.3): 56 data bytes 64 bytes from 123.27.39.3: seq=0 ttl=63 time=1.731 ms --- 123.27.39.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.731/1.731/1.731 ms 2026-12-01 12:26:02,335 - WARNING - Ping to IP 123.27.39.3 from VM ctest-TestBasicPolicy-17597176-14816580 failed 2026-12-01 12:26:02,335 - INFO - Deleting VM ctest-TestBasicPolicy-17597176-21089905 2026-12-01 12:26:02,411 - INFO - Deleting VM ctest-TestBasicPolicy-17597176-14816580 2026-12-01 12:26:02,770 - INFO - Deleted policy ctest-policy-allow-all-30582264 2026-12-01 12:26:02,770 - INFO - Deleting VN ctest-vn-78726940 2026-12-01 12:26:02,802 - DEBUG - VN 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f still in use: Unable to complete operation on network 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f591bea-68f7-4035-84cb-8eab9794c6e7'] 2026-12-01 12:26:02,802 - WARNING - Deleting VN ctest-vn-78726940 failed..Will retry 2026-12-01 12:26:04,842 - DEBUG - VN 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f still in use: Unable to complete operation on network 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07ef3f6d-6db6-41b4-bf76-3190d1bbbb99'] 2026-12-01 12:26:04,842 - WARNING - Deleting VN ctest-vn-78726940 failed..Will retry 2026-12-01 12:26:06,945 - DEBUG - Response for deleting network () 2026-12-01 12:26:06,945 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e 2026-12-01 12:26:06,950 - DEBUG - Response Code: 404 2026-12-01 12:26:06,950 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:26:06,955 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877 2026-12-01 12:26:07,008 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:26:07,084 - INFO - Validated that VN ctest-vn-78726940 is not found in API Server 2026-12-01 12:26:07,102 - DEBUG - VN ctest-vn-78726940 is not present in Agent 10.0.0.38 2026-12-01 12:26:07,102 - INFO - Validated that VN ctest-vn-78726940 is not in any agent 2026-12-01 12:26:07,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78726940 info 2026-12-01 12:26:07,120 - INFO - Deleting VN ctest-vn-03374498 2026-12-01 12:26:07,222 - DEBUG - Response for deleting network () 2026-12-01 12:26:07,222 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2 2026-12-01 12:26:07,230 - DEBUG - Response Code: 404 2026-12-01 12:26:07,230 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-12-01 12:26:07,234 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877 2026-12-01 12:26:07,287 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6 2026-12-01 12:26:07,357 - INFO - Validated that VN ctest-vn-03374498 is not found in API Server 2026-12-01 12:26:07,370 - DEBUG - VN ctest-vn-03374498 is not present in Agent 10.0.0.38 2026-12-01 12:26:07,370 - INFO - Validated that VN ctest-vn-03374498 is not in any agent 2026-12-01 12:26:07,384 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03374498 info 2026-12-01 12:26:07,643 - DEBUG - No XMPP flaps were noticed during the test 2026-12-01 12:26:07,643 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-12-01 12:26:07,643 - INFO - -------------------------------------------------------------------------------- 2026-12-01 12:26:08,467 - INFO - Deleted project: ctest-TestBasicPolicy-17597176, ID : 9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6