2026-11-26 18:19:23,180 - INFO - Domain Default found not creating 2026-11-26 18:19:23,885 - INFO - Project ctest-TestBasicPolicy-54251922 not found, creating it 2026-11-26 18:19:25,143 - INFO - Created Project:ctest-TestBasicPolicy-54251922, ID : b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:19:29,467 - INFO - ================================================================================ 2026-11-26 18:19:29,467 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-26 18:19:29,467 - 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-26 18:19:29,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-26 18:19:29,889 - INFO - Initial checks done. Running the testcase now 2026-11-26 18:19:29,889 - INFO - 2026-11-26 18:19:31,394 - DEBUG - Response for create_network : {'network': {'id': '2f2ccdeb-3c10-464c-a2b2-cd080483c971', 'name': 'ctest-vn-31454507', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-31454507'], 'port_security_enabled': True, 'description': ''}} 2026-11-26 18:19:31,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '0300a4e3-2fde-4c2e-8c44-8a7719aea941', 'name': '', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'network_id': '2f2ccdeb-3c10-464c-a2b2-cd080483c971', 'ip_version': 4, 'cidr': '116.187.228.64/26', 'allocation_pools': [{'start': '116.187.228.66', 'end': '116.187.228.126'}], 'gateway_ip': '116.187.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.187.228.66', 'tags': [], 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab'}} 2026-11-26 18:19:31,993 - INFO - Created VN ctest-vn-31454507 2026-11-26 18:19:32,067 - DEBUG - VN ctest-vn-31454507 UUID is 2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:32,957 - DEBUG - Response for create_network : {'network': {'id': '2bb06bab-534e-4625-b835-d4eeb0a2401e', 'name': 'ctest-vn-76851211', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-76851211'], 'port_security_enabled': True, 'description': ''}} 2026-11-26 18:19:33,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '9148f2bf-c281-4105-92f9-d57d41a49b79', 'name': '', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'network_id': '2bb06bab-534e-4625-b835-d4eeb0a2401e', 'ip_version': 4, 'cidr': '75.67.170.64/26', 'allocation_pools': [{'start': '75.67.170.66', 'end': '75.67.170.126'}], 'gateway_ip': '75.67.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.67.170.66', 'tags': [], 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab'}} 2026-11-26 18:19:33,506 - INFO - Created VN ctest-vn-76851211 2026-11-26 18:19:33,605 - DEBUG - VN ctest-vn-76851211 UUID is 2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:33,991 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507, 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-54251922:ctest-vn-76851211, 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-26 18:19:34,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f2ccdeb-3c10-464c-a2b2-cd080483c971', 'name': 'ctest-vn-31454507', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0300a4e3-2fde-4c2e-8c44-8a7719aea941'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-31454507'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439']], 'subnet_ipam': [{'subnet_cidr': '116.187.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-26 18:19:35,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bb06bab-534e-4625-b835-d4eeb0a2401e', 'name': 'ctest-vn-76851211', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9148f2bf-c281-4105-92f9-d57d41a49b79'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-76851211'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439']], 'subnet_ipam': [{'subnet_cidr': '75.67.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-26 18:19:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:19:36,353 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:19:36,455 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103 2026-11-26 18:19:36,525 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:19:36,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:36,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:36,745 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb 2026-11-26 18:19:36,768 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb 2026-11-26 18:19:36,817 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc725032-fbc6-46be-b1dc-3dc39b7ab908 2026-11-26 18:19:36,838 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-26 18:19:36,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:36,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb 2026-11-26 18:19:36,922 - INFO - Verified VN network id 12 for VN 2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:36,922 - INFO - Verifications in API Server for VN ctest-vn-31454507 passed 2026-11-26 18:19:36,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:36,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb 2026-11-26 18:19:37,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb 2026-11-26 18:19:37,081 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc725032-fbc6-46be-b1dc-3dc39b7ab908 2026-11-26 18:19:37,112 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54251922', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3399318228966590028', 'uuid-lslong': '11723658214318000497'}, 'enable': 'true', 'created': '2026-11-26T18:19:31', 'last-modified': '2026-11-26T18:19:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.450037'} 2026-11-26 18:19:37,146 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-26 18:19:37,146 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31454507 passed 2026-11-26 18:19:37,147 - DEBUG - ====Verifying policy data for ctest-vn-31454507 in API_Server ====== 2026-11-26 18:19:37,147 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:19:37,166 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103 2026-11-26 18:19:37,275 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:19:37,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971 2026-11-26 18:19:37,474 - DEBUG - ==>Verifying data for policy with id: 8e644879-24c0-48d8-9f80-84e66923022c, fqn: ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439'] 2026-11-26 18:19:37,475 - INFO - VN ctest-vn-31454507 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-26 18:19:37,475 - DEBUG - Verifying the vn in opserver 2026-11-26 18:19:37,476 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 virtual network link through opserver 10.0.0.50 2026-11-26 18:19:37,476 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-26 18:19:38,125 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-26 18:19:38,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507?flat'} 2026-11-26 18:19:38,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 is found in opserver 2026-11-26 18:19:38,496 - DEBUG - Do not have enough data to verify VN in agent 2026-11-26 18:19:38,516 - DEBUG - VRF ids for VN ctest-vn-31454507: {} 2026-11-26 18:19:38,517 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:19:38,555 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103 2026-11-26 18:19:38,655 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:19:38,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:38,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:38,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329 2026-11-26 18:19:38,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329 2026-11-26 18:19:38,964 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dd4dd3a1-41eb-4271-bf39-836905d33a23 2026-11-26 18:19:38,986 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-26 18:19:38,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:39,020 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329 2026-11-26 18:19:39,165 - INFO - Verified VN network id 13 for VN 2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:39,166 - INFO - Verifications in API Server for VN ctest-vn-76851211 passed 2026-11-26 18:19:39,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:39,194 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329 2026-11-26 18:19:39,247 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329 2026-11-26 18:19:39,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dd4dd3a1-41eb-4271-bf39-836905d33a23 2026-11-26 18:19:39,305 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54251922', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3148134523113195045', 'uuid-lslong': '13273749598375133214'}, 'enable': 'true', 'created': '2026-11-26T18:19:32', 'last-modified': '2026-11-26T18:19:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.014741'} 2026-11-26 18:19:39,357 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-26 18:19:39,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76851211 passed 2026-11-26 18:19:39,357 - DEBUG - ====Verifying policy data for ctest-vn-76851211 in API_Server ====== 2026-11-26 18:19:39,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:19:39,383 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103 2026-11-26 18:19:39,404 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:19:39,601 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e 2026-11-26 18:19:39,631 - DEBUG - ==>Verifying data for policy with id: 8e644879-24c0-48d8-9f80-84e66923022c, fqn: ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439'] 2026-11-26 18:19:39,632 - INFO - VN ctest-vn-76851211 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-26 18:19:39,632 - DEBUG - Verifying the vn in opserver 2026-11-26 18:19:39,632 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211 virtual network link through opserver 10.0.0.50 2026-11-26 18:19:39,632 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-26 18:19:39,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211?flat'} 2026-11-26 18:19:39,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211 is found in opserver 2026-11-26 18:19:39,692 - DEBUG - Do not have enough data to verify VN in agent 2026-11-26 18:19:39,710 - DEBUG - VRF ids for VN ctest-vn-76851211: {} 2026-11-26 18:19:39,991 - DEBUG - Services list from nova: [, , ] 2026-11-26 18:19:41,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6515-1) 2026-11-26 18:19:43,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6515-1) 2026-11-26 18:19:43,722 - INFO - Waiting for VM ctest-TestBasicPolicy-54251922-83352629 to be up.. 2026-11-26 18:19:44,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:19:49,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:19:54,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:00,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:05,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:11,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:16,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:22,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:27,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:33,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:38,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:44,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:49,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:20:55,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:21:00,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-26 18:21:05,768 - DEBUG - VM is in ACTIVE state now 2026-11-26 18:21:05,773 - INFO - VM name : ctest-TestBasicPolicy-54251922-83352629 2026-11-26 18:21:06,174 - DEBUG - VM ctest-TestBasicPolicy-54251922-83352629 ID is 7222cb4d-3121-4fb7-a4ee-424b857bbca2 2026-11-26 18:21:06,270 - DEBUG - VM ctest-TestBasicPolicy-54251922-83352629 launched on Node cn-jenkins-deploy-platform-ansible-os-6515-1 2026-11-26 18:21:06,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7222cb4d-3121-4fb7-a4ee-424b857bbca2 2026-11-26 18:21:06,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b6f11caa-1b6c-4374-bcd2-7d9dfbb64506 2026-11-26 18:21:10,317 - 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 1015ms') 2026-11-26 18:21:10,319 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54251922-83352629 failed! 2026-11-26 18:21:10,413 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 is 116.187.228.65 and allocation pool is NOT set 2026-11-26 18:21:14,546 - 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 1005ms') 2026-11-26 18:21:14,546 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54251922-83352629 failed! 2026-11-26 18:21:14,639 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 is 116.187.228.65 and allocation pool is NOT set 2026-11-26 18:21:18,749 - 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 1011ms') 2026-11-26 18:21:18,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54251922-83352629 failed! 2026-11-26 18:21:18,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 is 116.187.228.65 and allocation pool is NOT set 2026-11-26 18:21:22,942 - 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 1015ms') 2026-11-26 18:21:22,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54251922-83352629 failed! 2026-11-26 18:21:23,102 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 is 116.187.228.65 and allocation pool is NOT set 2026-11-26 18:21:25,202 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.09 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 = 3.087/4.518/5.949/1.431 ms') 2026-11-26 18:21:25,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54251922-83352629 passed 2026-11-26 18:21:25,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-26 18:21:25,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54251922-83352629, IP 116.187.228.67, Port 22 2026-11-26 18:21:25,535 - 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-11-26 18:21:26,005 - DEBUG - VM ctest-TestBasicPolicy-54251922-83352629 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-26 18:21:31,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-26 18:21:31,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54251922-83352629, IP 116.187.228.67, Port 22 2026-11-26 18:21:31,277 - DEBUG - VM ctest-TestBasicPolicy-54251922-83352629 is ready for SSH connections 2026-11-26 18:21:31,277 - INFO - Waiting for VM ctest-TestBasicPolicy-54251922-57785380 to be up.. 2026-11-26 18:21:31,560 - DEBUG - VM is in ACTIVE state now 2026-11-26 18:21:31,561 - INFO - VM name : ctest-TestBasicPolicy-54251922-57785380 2026-11-26 18:21:31,923 - DEBUG - VM ctest-TestBasicPolicy-54251922-57785380 ID is 53f65c82-e6ae-43c8-8094-c09e40526c3b 2026-11-26 18:21:31,926 - DEBUG - VM ctest-TestBasicPolicy-54251922-57785380 launched on Node cn-jenkins-deploy-platform-ansible-os-6515-1 2026-11-26 18:21:32,255 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53f65c82-e6ae-43c8-8094-c09e40526c3b 2026-11-26 18:21:32,288 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6029a9b9-a98d-4236-956a-7cec27be3b9f 2026-11-26 18:21:33,897 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.649 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.649/2.666/4.683/2.017 ms') 2026-11-26 18:21:33,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54251922-57785380 passed 2026-11-26 18:21:34,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-26 18:21:34,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54251922-57785380, IP 75.67.170.67, Port 22 2026-11-26 18:21:34,357 - DEBUG - VM ctest-TestBasicPolicy-54251922-57785380 is ready for SSH connections 2026-11-26 18:21:34,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-26 18:21:34,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.67.170.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-26 18:21:34,362 - DEBUG - ping -s 56 -c 3 -W 1 75.67.170.67 2026-11-26 18:21:39,316 - DEBUG - PING 75.67.170.67 (75.67.170.67): 56 data bytes 64 bytes from 75.67.170.67: seq=0 ttl=63 time=33.635 ms 64 bytes from 75.67.170.67: seq=1 ttl=63 time=8.435 ms 64 bytes from 75.67.170.67: seq=2 ttl=63 time=3.223 ms --- 75.67.170.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 3.223/15.097/33.635 ms 2026-11-26 18:21:39,317 - INFO - Ping to IP 75.67.170.67 from VM ctest-TestBasicPolicy-54251922-83352629 passed 2026-11-26 18:21:39,835 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8e644879-24c0-48d8-9f80-84e66923022c", "href": "http://10.0.0.50:8082/network-policy/8e644879-24c0-48d8-9f80-84e66923022c"}} 2026-11-26 18:21:39,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-26 18:21:39,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.67.170.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-26 18:21:39,844 - DEBUG - ping -s 56 -c 3 -W 1 75.67.170.67 2026-11-26 18:21:43,528 - DEBUG - PING 75.67.170.67 (75.67.170.67): 56 data bytes 64 bytes from 75.67.170.67: seq=0 ttl=63 time=9.989 ms --- 75.67.170.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 9.989/9.989/9.989 ms 2026-11-26 18:21:43,529 - WARNING - Ping to IP 75.67.170.67 from VM ctest-TestBasicPolicy-54251922-83352629 failed 2026-11-26 18:21:43,529 - INFO - Deleting VM ctest-TestBasicPolicy-54251922-57785380 2026-11-26 18:21:43,959 - INFO - Deleting VM ctest-TestBasicPolicy-54251922-83352629 2026-11-26 18:21:46,662 - INFO - Deleted policy ctest-policy-allow-all-63664439 2026-11-26 18:21:46,663 - INFO - Deleting VN ctest-vn-76851211 2026-11-26 18:21:46,823 - DEBUG - VN 2bb06bab-534e-4625-b835-d4eeb0a2401e still in use: Unable to complete operation on network 2bb06bab-534e-4625-b835-d4eeb0a2401e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b773cee2-c8b2-4ac1-ba09-a4464b675cf9'] 2026-11-26 18:21:46,824 - WARNING - Deleting VN ctest-vn-76851211 failed..Will retry 2026-11-26 18:21:49,428 - DEBUG - VN 2bb06bab-534e-4625-b835-d4eeb0a2401e still in use: Unable to complete operation on network 2bb06bab-534e-4625-b835-d4eeb0a2401e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7832d801-5f4b-4c26-9cdb-2c7a8b5caa3d'] 2026-11-26 18:21:49,443 - WARNING - Deleting VN ctest-vn-76851211 failed..Will retry 2026-11-26 18:21:51,916 - DEBUG - Response for deleting network () 2026-11-26 18:21:51,916 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329 2026-11-26 18:21:51,974 - DEBUG - Response Code: 404 2026-11-26 18:21:51,975 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:21:52,019 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103 2026-11-26 18:21:52,078 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:21:52,195 - INFO - Validated that VN ctest-vn-76851211 is not found in API Server 2026-11-26 18:21:52,226 - DEBUG - VN ctest-vn-76851211 is not present in Agent 10.0.0.50 2026-11-26 18:21:52,226 - INFO - Validated that VN ctest-vn-76851211 is not in any agent 2026-11-26 18:21:52,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76851211 info 2026-11-26 18:21:52,296 - INFO - Deleting VN ctest-vn-31454507 2026-11-26 18:21:52,909 - DEBUG - Response for deleting network () 2026-11-26 18:21:52,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb 2026-11-26 18:21:52,962 - DEBUG - Response Code: 404 2026-11-26 18:21:52,962 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-26 18:21:53,011 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103 2026-11-26 18:21:53,092 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab 2026-11-26 18:21:53,293 - INFO - Validated that VN ctest-vn-31454507 is not found in API Server 2026-11-26 18:21:53,367 - DEBUG - VN ctest-vn-31454507 is not present in Agent 10.0.0.50 2026-11-26 18:21:53,368 - INFO - Validated that VN ctest-vn-31454507 is not in any agent 2026-11-26 18:21:53,447 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31454507 info 2026-11-26 18:21:53,877 - DEBUG - No XMPP flaps were noticed during the test
2026-11-26 18:21:53,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:24]
2026-11-26 18:21:53,880 - INFO - -------------------------------------------------------------------------------- 2026-11-26 18:21:56,453 - INFO - Deleted project: ctest-TestBasicPolicy-54251922, ID : b5b0e9f6-d7f2-4147-be49-2d909dbac2ab