2026-11-05 18:04:45,388 - INFO - Domain Default found not creating 2026-11-05 18:04:45,572 - INFO - Project ctest-TestBasicPolicy-81175310 not found, creating it 2026-11-05 18:04:46,050 - INFO - Created Project:ctest-TestBasicPolicy-81175310, ID : e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:04:47,662 - INFO - ================================================================================ 2026-11-05 18:04:47,662 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-05 18:04:47,662 - 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-05 18:04:47,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-11-05 18:04:47,934 - INFO - Initial checks done. Running the testcase now 2026-11-05 18:04:47,934 - INFO - 2026-11-05 18:04:48,515 - DEBUG - Response for create_network : {'network': {'id': 'd3983310-9a0e-442a-9ce0-154b6816c232', 'name': 'ctest-vn-89002638', 'tenant_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'project_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-vn-89002638'], 'port_security_enabled': True, 'description': ''}} 2026-11-05 18:04:48,702 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0fa1412-45e2-4d6c-aefa-4a7efff8c773', 'name': '', 'tenant_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'network_id': 'd3983310-9a0e-442a-9ce0-154b6816c232', 'ip_version': 4, 'cidr': '118.58.40.64/26', 'allocation_pools': [{'start': '118.58.40.66', 'end': '118.58.40.126'}], 'gateway_ip': '118.58.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.58.40.66', 'tags': [], 'project_id': 'e179473a54e74d93afc9e855a4e8c6f9'}} 2026-11-05 18:04:48,718 - INFO - Created VN ctest-vn-89002638 2026-11-05 18:04:48,768 - DEBUG - VN ctest-vn-89002638 UUID is d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:49,112 - DEBUG - Response for create_network : {'network': {'id': '916b9b7a-d00f-4ea0-ab73-a02a51d4e419', 'name': 'ctest-vn-75276543', 'tenant_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'project_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-vn-75276543'], 'port_security_enabled': True, 'description': ''}} 2026-11-05 18:04:49,317 - DEBUG - Response for create_subnet : {'subnet': {'id': '54553c6b-a365-4827-b940-4ef73a85b700', 'name': '', 'tenant_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'network_id': '916b9b7a-d00f-4ea0-ab73-a02a51d4e419', 'ip_version': 4, 'cidr': '166.222.91.0/26', 'allocation_pools': [{'start': '166.222.91.2', 'end': '166.222.91.62'}], 'gateway_ip': '166.222.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.222.91.2', 'tags': [], 'project_id': 'e179473a54e74d93afc9e855a4e8c6f9'}} 2026-11-05 18:04:49,333 - INFO - Created VN ctest-vn-75276543 2026-11-05 18:04:49,384 - DEBUG - VN ctest-vn-75276543 UUID is 916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:49,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638, 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-81175310:ctest-vn-75276543, 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-05 18:04:49,825 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3983310-9a0e-442a-9ce0-154b6816c232', 'name': 'ctest-vn-89002638', 'tenant_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'project_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a0fa1412-45e2-4d6c-aefa-4a7efff8c773'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-vn-89002638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-policy-allow-all-52623134']], 'subnet_ipam': [{'subnet_cidr': '118.58.40.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-05 18:04:50,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '916b9b7a-d00f-4ea0-ab73-a02a51d4e419', 'name': 'ctest-vn-75276543', 'tenant_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'project_id': 'e179473a54e74d93afc9e855a4e8c6f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['54553c6b-a365-4827-b940-4ef73a85b700'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-vn-75276543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-policy-allow-all-52623134']], 'subnet_ipam': [{'subnet_cidr': '166.222.91.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-05 18:04:50,213 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:04:50,540 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:04:50,569 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78d1aae8-0a5e-4ba8-910c-081207712475 2026-11-05 18:04:50,581 - DEBUG - Requesting: http://10.0.0.38:8082/project/e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:04:50,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:50,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:50,682 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc6b1a6a-06c7-4d12-89d8-1f16552cc17e 2026-11-05 18:04:50,689 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc6b1a6a-06c7-4d12-89d8-1f16552cc17e 2026-11-05 18:04:50,695 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/432e0b46-bd8d-480e-a6d5-9248508e6111 2026-11-05 18:04:50,701 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-05 18:04:50,701 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:50,710 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc6b1a6a-06c7-4d12-89d8-1f16552cc17e 2026-11-05 18:04:50,723 - INFO - Verified VN network id 10 for VN d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:50,723 - INFO - Verifications in API Server for VN ctest-vn-89002638 passed 2026-11-05 18:04:50,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:50,732 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc6b1a6a-06c7-4d12-89d8-1f16552cc17e 2026-11-05 18:04:50,739 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc6b1a6a-06c7-4d12-89d8-1f16552cc17e 2026-11-05 18:04:50,745 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/432e0b46-bd8d-480e-a6d5-9248508e6111 2026-11-05 18:04:50,757 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81175310', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15246992684859933738', 'uuid-lslong': '11304058478312997426'}, 'enable': 'true', 'created': '2026-11-05T18:04:48', 'last-modified': '2026-11-05T18:04:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955137'} 2026-11-05 18:04:50,766 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-05 18:04:50,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89002638 passed 2026-11-05 18:04:50,766 - DEBUG - ====Verifying policy data for ctest-vn-89002638 in API_Server ====== 2026-11-05 18:04:50,766 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:04:50,772 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78d1aae8-0a5e-4ba8-910c-081207712475 2026-11-05 18:04:50,781 - DEBUG - Requesting: http://10.0.0.38:8082/project/e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:04:50,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3983310-9a0e-442a-9ce0-154b6816c232 2026-11-05 18:04:50,861 - DEBUG - ==>Verifying data for policy with id: cc1a1792-f03c-46be-92af-58fe44b06827, fqn: ['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-policy-allow-all-52623134'] 2026-11-05 18:04:50,861 - INFO - VN ctest-vn-89002638 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-05 18:04:50,862 - DEBUG - Verifying the vn in opserver 2026-11-05 18:04:50,862 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638 virtual network link through opserver 10.0.0.38 2026-11-05 18:04:50,862 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-05 18:04:51,184 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-05 18:04:51,238 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638?flat'} 2026-11-05 18:04:51,238 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638 is found in opserver 2026-11-05 18:04:51,249 - DEBUG - Do not have enough data to verify VN in agent 2026-11-05 18:04:51,254 - DEBUG - VRF ids for VN ctest-vn-89002638: {} 2026-11-05 18:04:51,254 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:04:51,259 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78d1aae8-0a5e-4ba8-910c-081207712475 2026-11-05 18:04:51,268 - DEBUG - Requesting: http://10.0.0.38:8082/project/e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:04:51,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:51,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:51,361 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f9d14f7-7fc1-4103-8557-281ecbb193a3 2026-11-05 18:04:51,368 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f9d14f7-7fc1-4103-8557-281ecbb193a3 2026-11-05 18:04:51,374 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7fc9b631-dbab-4c70-bdb8-28e49ac69ed6 2026-11-05 18:04:51,379 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-05 18:04:51,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:51,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f9d14f7-7fc1-4103-8557-281ecbb193a3 2026-11-05 18:04:51,401 - INFO - Verified VN network id 11 for VN 916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:51,401 - INFO - Verifications in API Server for VN ctest-vn-75276543 passed 2026-11-05 18:04:51,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:51,412 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f9d14f7-7fc1-4103-8557-281ecbb193a3 2026-11-05 18:04:51,419 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f9d14f7-7fc1-4103-8557-281ecbb193a3 2026-11-05 18:04:51,427 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7fc9b631-dbab-4c70-bdb8-28e49ac69ed6 2026-11-05 18:04:51,439 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-75276543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81175310', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10478639909786570400', 'uuid-lslong': '12354394306429379609'}, 'enable': 'true', 'created': '2026-11-05T18:04:49', 'last-modified': '2026-11-05T18:04:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403070'} 2026-11-05 18:04:51,446 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-05 18:04:51,446 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75276543 passed 2026-11-05 18:04:51,447 - DEBUG - ====Verifying policy data for ctest-vn-75276543 in API_Server ====== 2026-11-05 18:04:51,447 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:04:51,452 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78d1aae8-0a5e-4ba8-910c-081207712475 2026-11-05 18:04:51,461 - DEBUG - Requesting: http://10.0.0.38:8082/project/e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:04:51,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9b7a-d00f-4ea0-ab73-a02a51d4e419 2026-11-05 18:04:51,540 - DEBUG - ==>Verifying data for policy with id: cc1a1792-f03c-46be-92af-58fe44b06827, fqn: ['default-domain', 'ctest-TestBasicPolicy-81175310', 'ctest-policy-allow-all-52623134'] 2026-11-05 18:04:51,540 - INFO - VN ctest-vn-75276543 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-05 18:04:51,540 - DEBUG - Verifying the vn in opserver 2026-11-05 18:04:51,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-75276543 virtual network link through opserver 10.0.0.38 2026-11-05 18:04:51,540 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-05 18:04:51,550 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-75276543', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-75276543?flat'} 2026-11-05 18:04:51,550 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-75276543 is found in opserver 2026-11-05 18:04:51,560 - DEBUG - Do not have enough data to verify VN in agent 2026-11-05 18:04:51,565 - DEBUG - VRF ids for VN ctest-vn-75276543: {} 2026-11-05 18:04:51,627 - DEBUG - Services list from nova: [, , ] 2026-11-05 18:04:52,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6484-1) 2026-11-05 18:04:52,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6484-1) 2026-11-05 18:04:52,506 - INFO - Waiting for VM ctest-TestBasicPolicy-81175310-84164961 to be up.. 2026-11-05 18:04:52,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:04:57,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:02,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:07,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:12,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:17,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:23,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:28,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 18:05:33,223 - DEBUG - VM is in ACTIVE state now 2026-11-05 18:05:33,223 - INFO - VM name : ctest-TestBasicPolicy-81175310-84164961 2026-11-05 18:05:33,301 - DEBUG - VM ctest-TestBasicPolicy-81175310-84164961 ID is 9083761c-f2aa-48ef-bb78-c7f00c6beb8d 2026-11-05 18:05:33,329 - DEBUG - VM ctest-TestBasicPolicy-81175310-84164961 launched on Node cn-jenkins-deploy-platform-ansible-os-6484-1 2026-11-05 18:05:33,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9083761c-f2aa-48ef-bb78-c7f00c6beb8d 2026-11-05 18:05:33,414 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e194dc79-813f-44c2-92ff-ee2c02d1e23e 2026-11-05 18:05:36,670 - 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 1014ms') 2026-11-05 18:05:36,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81175310-84164961 failed! 2026-11-05 18:05:36,724 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81175310:ctest-vn-89002638 is 118.58.40.65 and allocation pool is NOT set 2026-11-05 18:05:38,793 - 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=6.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/3.626/6.866/3.240 ms') 2026-11-05 18:05:38,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81175310-84164961 passed 2026-11-05 18:05:38,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 18:05:38,941 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81175310-84164961, IP 118.58.40.67, Port 22 2026-11-05 18:05:39,096 - DEBUG - VM ctest-TestBasicPolicy-81175310-84164961 is ready for SSH connections 2026-11-05 18:05:39,096 - INFO - Waiting for VM ctest-TestBasicPolicy-81175310-87006226 to be up.. 2026-11-05 18:05:39,172 - DEBUG - VM is in ACTIVE state now 2026-11-05 18:05:39,172 - INFO - VM name : ctest-TestBasicPolicy-81175310-87006226 2026-11-05 18:05:39,250 - DEBUG - VM ctest-TestBasicPolicy-81175310-87006226 ID is 02cd76b2-a852-4fbe-bbb3-9c3d40819076 2026-11-05 18:05:39,250 - DEBUG - VM ctest-TestBasicPolicy-81175310-87006226 launched on Node cn-jenkins-deploy-platform-ansible-os-6484-1 2026-11-05 18:05:39,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02cd76b2-a852-4fbe-bbb3-9c3d40819076 2026-11-05 18:05:39,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7f549a56-1976-4a2e-85f5-b931fae5046e 2026-11-05 18:05:40,580 - 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=5.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.38 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 = 1.376/3.468/5.561/2.092 ms') 2026-11-05 18:05:40,580 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81175310-87006226 passed 2026-11-05 18:05:40,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 18:05:40,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81175310-87006226, IP 166.222.91.3, Port 22 2026-11-05 18:05:40,803 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-05 18:05:40,889 - DEBUG - VM ctest-TestBasicPolicy-81175310-87006226 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-05 18:05:45,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 18:05:45,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81175310-87006226, IP 166.222.91.3, Port 22 2026-11-05 18:05:46,062 - DEBUG - VM ctest-TestBasicPolicy-81175310-87006226 is ready for SSH connections 2026-11-05 18:05:46,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 18:05:46,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.222.91.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-05 18:05:46,063 - DEBUG - ping -s 56 -c 3 -W 1 166.222.91.3 2026-11-05 18:05:50,046 - DEBUG - PING 166.222.91.3 (166.222.91.3): 56 data bytes 64 bytes from 166.222.91.3: seq=0 ttl=63 time=5.212 ms 64 bytes from 166.222.91.3: seq=1 ttl=63 time=1.134 ms 64 bytes from 166.222.91.3: seq=2 ttl=63 time=1.038 ms --- 166.222.91.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/2.461/5.212 ms 2026-11-05 18:05:50,046 - INFO - Ping to IP 166.222.91.3 from VM ctest-TestBasicPolicy-81175310-84164961 passed 2026-11-05 18:05:50,224 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cc1a1792-f03c-46be-92af-58fe44b06827", "href": "http://10.0.0.38:8082/network-policy/cc1a1792-f03c-46be-92af-58fe44b06827"}} 2026-11-05 18:05:50,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 18:05:50,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.222.91.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-05 18:05:50,225 - DEBUG - ping -s 56 -c 3 -W 1 166.222.91.3 2026-11-05 18:05:53,343 - DEBUG - PING 166.222.91.3 (166.222.91.3): 56 data bytes 64 bytes from 166.222.91.3: seq=0 ttl=63 time=1.323 ms --- 166.222.91.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.323/1.323/1.323 ms 2026-11-05 18:05:53,343 - WARNING - Ping to IP 166.222.91.3 from VM ctest-TestBasicPolicy-81175310-84164961 failed 2026-11-05 18:05:53,343 - INFO - Deleting VM ctest-TestBasicPolicy-81175310-87006226 2026-11-05 18:05:53,436 - INFO - Deleting VM ctest-TestBasicPolicy-81175310-84164961 2026-11-05 18:05:53,827 - INFO - Deleted policy ctest-policy-allow-all-52623134 2026-11-05 18:05:53,827 - INFO - Deleting VN ctest-vn-75276543 2026-11-05 18:05:53,860 - DEBUG - VN 916b9b7a-d00f-4ea0-ab73-a02a51d4e419 still in use: Unable to complete operation on network 916b9b7a-d00f-4ea0-ab73-a02a51d4e419. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7156f44-cc17-420c-9669-79abd0011f5e'] 2026-11-05 18:05:53,861 - WARNING - Deleting VN ctest-vn-75276543 failed..Will retry 2026-11-05 18:05:55,895 - DEBUG - VN 916b9b7a-d00f-4ea0-ab73-a02a51d4e419 still in use: Unable to complete operation on network 916b9b7a-d00f-4ea0-ab73-a02a51d4e419. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b0e3833-c6d2-4f29-99e9-ce3c172977be'] 2026-11-05 18:05:55,895 - WARNING - Deleting VN ctest-vn-75276543 failed..Will retry 2026-11-05 18:05:58,013 - DEBUG - Response for deleting network () 2026-11-05 18:05:58,013 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f9d14f7-7fc1-4103-8557-281ecbb193a3 2026-11-05 18:05:58,020 - DEBUG - Response Code: 404 2026-11-05 18:05:58,020 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:05:58,025 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78d1aae8-0a5e-4ba8-910c-081207712475 2026-11-05 18:05:58,079 - DEBUG - Requesting: http://10.0.0.38:8082/project/e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:05:58,153 - INFO - Validated that VN ctest-vn-75276543 is not found in API Server 2026-11-05 18:05:58,164 - DEBUG - VN ctest-vn-75276543 is not present in Agent 10.0.0.38 2026-11-05 18:05:58,164 - INFO - Validated that VN ctest-vn-75276543 is not in any agent 2026-11-05 18:05:58,181 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75276543 info 2026-11-05 18:05:58,181 - INFO - Deleting VN ctest-vn-89002638 2026-11-05 18:05:58,296 - DEBUG - Response for deleting network () 2026-11-05 18:05:58,296 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cc6b1a6a-06c7-4d12-89d8-1f16552cc17e 2026-11-05 18:05:58,307 - DEBUG - Response Code: 404 2026-11-05 18:05:58,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-05 18:05:58,314 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78d1aae8-0a5e-4ba8-910c-081207712475 2026-11-05 18:05:58,369 - DEBUG - Requesting: http://10.0.0.38:8082/project/e179473a-54e7-4d93-afc9-e855a4e8c6f9 2026-11-05 18:05:58,447 - INFO - Validated that VN ctest-vn-89002638 is not found in API Server 2026-11-05 18:05:58,462 - DEBUG - VN ctest-vn-89002638 is not present in Agent 10.0.0.38 2026-11-05 18:05:58,463 - INFO - Validated that VN ctest-vn-89002638 is not in any agent 2026-11-05 18:05:58,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89002638 info 2026-11-05 18:05:58,746 - DEBUG - No XMPP flaps were noticed during the test 2026-11-05 18:05:58,746 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-11-05 18:05:58,746 - INFO - -------------------------------------------------------------------------------- 2026-11-05 18:05:59,517 - INFO - Deleted project: ctest-TestBasicPolicy-81175310, ID : e179473a-54e7-4d93-afc9-e855a4e8c6f9