2026-02-18 16:37:00,760 - INFO - Domain Default found not creating 2026-02-18 16:37:00,948 - INFO - Project ctest-TestBasicPolicy-73469749 not found, creating it 2026-02-18 16:37:01,401 - INFO - Created Project:ctest-TestBasicPolicy-73469749, ID : df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:02,940 - INFO - ================================================================================ 2026-02-18 16:37:02,940 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-18 16:37:02,940 - 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-02-18 16:37:03,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-18 16:37:03,194 - INFO - Initial checks done. Running the testcase now 2026-02-18 16:37:03,194 - INFO - 2026-02-18 16:37:03,745 - DEBUG - Response for create_network : {'network': {'id': '5d3f6c4a-e2d9-44b3-82d3-76c285a327dd', 'name': 'ctest-vn-16891111', 'tenant_id': 'df90d847089240ab8bee34b7db1ac161', 'project_id': 'df90d847089240ab8bee34b7db1ac161', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-vn-16891111'], 'port_security_enabled': True, 'description': ''}} 2026-02-18 16:37:03,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a95266-a446-4a7e-ad1c-c61596ee0492', 'name': '', 'tenant_id': 'df90d847089240ab8bee34b7db1ac161', 'network_id': '5d3f6c4a-e2d9-44b3-82d3-76c285a327dd', 'ip_version': 4, 'cidr': '123.26.108.192/26', 'allocation_pools': [{'start': '123.26.108.194', 'end': '123.26.108.254'}], 'gateway_ip': '123.26.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.26.108.194', 'tags': [], 'project_id': 'df90d847089240ab8bee34b7db1ac161'}} 2026-02-18 16:37:03,990 - INFO - Created VN ctest-vn-16891111 2026-02-18 16:37:04,045 - DEBUG - VN ctest-vn-16891111 UUID is 5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:04,365 - DEBUG - Response for create_network : {'network': {'id': '34238690-fca0-49ef-8031-e59821325e13', 'name': 'ctest-vn-25485173', 'tenant_id': 'df90d847089240ab8bee34b7db1ac161', 'project_id': 'df90d847089240ab8bee34b7db1ac161', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-vn-25485173'], 'port_security_enabled': True, 'description': ''}} 2026-02-18 16:37:04,567 - DEBUG - Response for create_subnet : {'subnet': {'id': '3418f017-07da-41e1-9eeb-51291729adf8', 'name': '', 'tenant_id': 'df90d847089240ab8bee34b7db1ac161', 'network_id': '34238690-fca0-49ef-8031-e59821325e13', 'ip_version': 4, 'cidr': '13.192.108.128/26', 'allocation_pools': [{'start': '13.192.108.130', 'end': '13.192.108.190'}], 'gateway_ip': '13.192.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.192.108.130', 'tags': [], 'project_id': 'df90d847089240ab8bee34b7db1ac161'}} 2026-02-18 16:37:04,585 - INFO - Created VN ctest-vn-25485173 2026-02-18 16:37:04,637 - DEBUG - VN ctest-vn-25485173 UUID is 34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:04,789 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111, 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-73469749:ctest-vn-25485173, 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-02-18 16:37:05,088 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d3f6c4a-e2d9-44b3-82d3-76c285a327dd', 'name': 'ctest-vn-16891111', 'tenant_id': 'df90d847089240ab8bee34b7db1ac161', 'project_id': 'df90d847089240ab8bee34b7db1ac161', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1a95266-a446-4a7e-ad1c-c61596ee0492'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-vn-16891111'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-policy-allow-all-17290849']], 'subnet_ipam': [{'subnet_cidr': '123.26.108.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-18 16:37:05,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34238690-fca0-49ef-8031-e59821325e13', 'name': 'ctest-vn-25485173', 'tenant_id': 'df90d847089240ab8bee34b7db1ac161', 'project_id': 'df90d847089240ab8bee34b7db1ac161', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3418f017-07da-41e1-9eeb-51291729adf8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-vn-25485173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-policy-allow-all-17290849']], 'subnet_ipam': [{'subnet_cidr': '13.192.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-18 16:37:05,493 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:05,815 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:05,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cfa1da19-f811-463a-a9cd-68218f3cae6f 2026-02-18 16:37:05,867 - DEBUG - Requesting: http://10.0.0.38:8082/project/df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:05,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:05,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:05,964 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/861685fa-e8dc-4665-9b5f-a8ea730790ba 2026-02-18 16:37:05,972 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/861685fa-e8dc-4665-9b5f-a8ea730790ba 2026-02-18 16:37:05,979 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8b4be82-dcdd-480e-bdd7-128f889a6cf4 2026-02-18 16:37:05,985 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-18 16:37:05,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:05,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/861685fa-e8dc-4665-9b5f-a8ea730790ba 2026-02-18 16:37:06,011 - INFO - Verified VN network id 11 for VN 5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:06,011 - INFO - Verifications in API Server for VN ctest-vn-16891111 passed 2026-02-18 16:37:06,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:06,021 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/861685fa-e8dc-4665-9b5f-a8ea730790ba 2026-02-18 16:37:06,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/861685fa-e8dc-4665-9b5f-a8ea730790ba 2026-02-18 16:37:06,035 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8b4be82-dcdd-480e-bdd7-128f889a6cf4 2026-02-18 16:37:06,048 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73469749', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6719208237949338803', 'uuid-lslong': '9427009022854375389'}, 'enable': 'true', 'created': '2026-02-18T16:37:03', 'last-modified': '2026-02-18T16:37:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989619'} 2026-02-18 16:37:06,054 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-18 16:37:06,055 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16891111 passed 2026-02-18 16:37:06,055 - DEBUG - ====Verifying policy data for ctest-vn-16891111 in API_Server ====== 2026-02-18 16:37:06,055 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:06,060 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cfa1da19-f811-463a-a9cd-68218f3cae6f 2026-02-18 16:37:06,070 - DEBUG - Requesting: http://10.0.0.38:8082/project/df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:06,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d3f6c4a-e2d9-44b3-82d3-76c285a327dd 2026-02-18 16:37:06,150 - DEBUG - ==>Verifying data for policy with id: bf851f07-36f8-4360-a73a-58a66cb14e8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-policy-allow-all-17290849'] 2026-02-18 16:37:06,150 - INFO - VN ctest-vn-16891111 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-18 16:37:06,150 - DEBUG - Verifying the vn in opserver 2026-02-18 16:37:06,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111 virtual network link through opserver 10.0.0.38 2026-02-18 16:37:06,150 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-18 16:37:06,447 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-18 16:37:06,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111?flat'} 2026-02-18 16:37:06,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111 is found in opserver 2026-02-18 16:37:06,523 - DEBUG - Do not have enough data to verify VN in agent 2026-02-18 16:37:06,528 - DEBUG - VRF ids for VN ctest-vn-16891111: {} 2026-02-18 16:37:06,528 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:06,533 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cfa1da19-f811-463a-a9cd-68218f3cae6f 2026-02-18 16:37:06,545 - DEBUG - Requesting: http://10.0.0.38:8082/project/df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:06,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:06,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:06,633 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afbcdbe2-1e36-409b-97e8-50981b6d389f 2026-02-18 16:37:06,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afbcdbe2-1e36-409b-97e8-50981b6d389f 2026-02-18 16:37:06,647 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/df3e151d-febf-4bc5-8f05-fbd20459ee62 2026-02-18 16:37:06,655 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-18 16:37:06,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:06,663 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afbcdbe2-1e36-409b-97e8-50981b6d389f 2026-02-18 16:37:06,676 - INFO - Verified VN network id 12 for VN 34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:06,676 - INFO - Verifications in API Server for VN ctest-vn-25485173 passed 2026-02-18 16:37:06,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:06,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afbcdbe2-1e36-409b-97e8-50981b6d389f 2026-02-18 16:37:06,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afbcdbe2-1e36-409b-97e8-50981b6d389f 2026-02-18 16:37:06,699 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/df3e151d-febf-4bc5-8f05-fbd20459ee62 2026-02-18 16:37:06,711 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-25485173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73469749', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3756994471428901359', 'uuid-lslong': '9237416752268336659'}, 'enable': 'true', 'created': '2026-02-18T16:37:04', 'last-modified': '2026-02-18T16:37:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.421396'} 2026-02-18 16:37:06,718 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-18 16:37:06,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25485173 passed 2026-02-18 16:37:06,719 - DEBUG - ====Verifying policy data for ctest-vn-25485173 in API_Server ====== 2026-02-18 16:37:06,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:06,724 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cfa1da19-f811-463a-a9cd-68218f3cae6f 2026-02-18 16:37:06,735 - DEBUG - Requesting: http://10.0.0.38:8082/project/df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:06,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34238690-fca0-49ef-8031-e59821325e13 2026-02-18 16:37:06,814 - DEBUG - ==>Verifying data for policy with id: bf851f07-36f8-4360-a73a-58a66cb14e8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73469749', 'ctest-policy-allow-all-17290849'] 2026-02-18 16:37:06,814 - INFO - VN ctest-vn-25485173 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-18 16:37:06,814 - DEBUG - Verifying the vn in opserver 2026-02-18 16:37:06,814 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-25485173 virtual network link through opserver 10.0.0.38 2026-02-18 16:37:06,814 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-18 16:37:06,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-25485173', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-25485173?flat'} 2026-02-18 16:37:06,824 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-25485173 is found in opserver 2026-02-18 16:37:06,834 - DEBUG - Do not have enough data to verify VN in agent 2026-02-18 16:37:06,839 - DEBUG - VRF ids for VN ctest-vn-25485173: {} 2026-02-18 16:37:06,895 - DEBUG - Services list from nova: [, , ] 2026-02-18 16:37:07,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5346-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5346-1) 2026-02-18 16:37:09,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5346-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5346-1) 2026-02-18 16:37:09,143 - INFO - Waiting for VM ctest-TestBasicPolicy-73469749-27761300 to be up.. 2026-02-18 16:37:09,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-18 16:37:14,331 - DEBUG - VM is in ACTIVE state now 2026-02-18 16:37:14,331 - INFO - VM name : ctest-TestBasicPolicy-73469749-27761300 2026-02-18 16:37:14,408 - DEBUG - VM ctest-TestBasicPolicy-73469749-27761300 ID is ed9b78fa-79f8-4d9c-97f1-69a6ae285070 2026-02-18 16:37:14,426 - DEBUG - VM ctest-TestBasicPolicy-73469749-27761300 launched on Node cn-jenkins-deploy-platform-ansible-os-5346-1 2026-02-18 16:37:14,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed9b78fa-79f8-4d9c-97f1-69a6ae285070 2026-02-18 16:37:14,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0448a430-b7b1-412b-bf4b-c7a1e99594c1 2026-02-18 16:37:17,786 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-02-18 16:37:17,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73469749-27761300 failed! 2026-02-18 16:37:17,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73469749:ctest-vn-16891111 is 123.26.108.193 and allocation pool is NOT set 2026-02-18 16:37:19,910 - 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=9.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.935/5.738/9.541/3.803 ms') 2026-02-18 16:37:19,910 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73469749-27761300 passed 2026-02-18 16:37:20,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-18 16:37:20,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73469749-27761300, IP 123.26.108.195, Port 22 2026-02-18 16:37:20,131 - 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-02-18 16:37:20,207 - DEBUG - VM ctest-TestBasicPolicy-73469749-27761300 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-18 16:37:25,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-18 16:37:25,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73469749-27761300, IP 123.26.108.195, Port 22 2026-02-18 16:37:25,364 - DEBUG - VM ctest-TestBasicPolicy-73469749-27761300 is ready for SSH connections 2026-02-18 16:37:25,364 - INFO - Waiting for VM ctest-TestBasicPolicy-73469749-43236654 to be up.. 2026-02-18 16:37:25,445 - DEBUG - VM is in ACTIVE state now 2026-02-18 16:37:25,445 - INFO - VM name : ctest-TestBasicPolicy-73469749-43236654 2026-02-18 16:37:25,526 - DEBUG - VM ctest-TestBasicPolicy-73469749-43236654 ID is de586f6c-c49c-4b0b-ae9a-003ff8736394 2026-02-18 16:37:25,526 - DEBUG - VM ctest-TestBasicPolicy-73469749-43236654 launched on Node cn-jenkins-deploy-platform-ansible-os-5346-1 2026-02-18 16:37:25,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de586f6c-c49c-4b0b-ae9a-003ff8736394 2026-02-18 16:37:25,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6af3f354-b25c-42a4-b093-6892b0fb0144 2026-02-18 16:37:26,865 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.376/1.567/2.758/1.191 ms') 2026-02-18 16:37:26,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73469749-43236654 passed 2026-02-18 16:37:27,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-18 16:37:27,013 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73469749-43236654, IP 13.192.108.131, Port 22 2026-02-18 16:37:27,188 - DEBUG - VM ctest-TestBasicPolicy-73469749-43236654 is ready for SSH connections 2026-02-18 16:37:27,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-18 16:37:27,188 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.192.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-18 16:37:27,188 - DEBUG - ping -s 56 -c 3 -W 1 13.192.108.131 2026-02-18 16:37:31,265 - DEBUG - PING 13.192.108.131 (13.192.108.131): 56 data bytes 64 bytes from 13.192.108.131: seq=0 ttl=63 time=3.466 ms 64 bytes from 13.192.108.131: seq=1 ttl=63 time=1.010 ms 64 bytes from 13.192.108.131: seq=2 ttl=63 time=0.796 ms --- 13.192.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.757/3.466 ms 2026-02-18 16:37:31,265 - INFO - Ping to IP 13.192.108.131 from VM ctest-TestBasicPolicy-73469749-27761300 passed 2026-02-18 16:37:31,437 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bf851f07-36f8-4360-a73a-58a66cb14e8c", "href": "http://10.0.0.38:8082/network-policy/bf851f07-36f8-4360-a73a-58a66cb14e8c"}} 2026-02-18 16:37:31,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-18 16:37:31,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.192.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-18 16:37:31,437 - DEBUG - ping -s 56 -c 3 -W 1 13.192.108.131 2026-02-18 16:37:34,657 - DEBUG - PING 13.192.108.131 (13.192.108.131): 56 data bytes --- 13.192.108.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-18 16:37:34,657 - WARNING - Ping to IP 13.192.108.131 from VM ctest-TestBasicPolicy-73469749-27761300 failed 2026-02-18 16:37:34,657 - INFO - Deleting VM ctest-TestBasicPolicy-73469749-43236654 2026-02-18 16:37:34,725 - INFO - Deleting VM ctest-TestBasicPolicy-73469749-27761300 2026-02-18 16:37:35,095 - INFO - Deleted policy ctest-policy-allow-all-17290849 2026-02-18 16:37:35,095 - INFO - Deleting VN ctest-vn-25485173 2026-02-18 16:37:35,137 - DEBUG - VN 34238690-fca0-49ef-8031-e59821325e13 still in use: Unable to complete operation on network 34238690-fca0-49ef-8031-e59821325e13. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-967f47dc-c5ae-4883-a0b4-cc170aadbacf'] 2026-02-18 16:37:35,137 - WARNING - Deleting VN ctest-vn-25485173 failed..Will retry 2026-02-18 16:37:37,226 - DEBUG - Response for deleting network () 2026-02-18 16:37:37,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afbcdbe2-1e36-409b-97e8-50981b6d389f 2026-02-18 16:37:37,237 - DEBUG - Response Code: 404 2026-02-18 16:37:37,237 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:37,241 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cfa1da19-f811-463a-a9cd-68218f3cae6f 2026-02-18 16:37:37,295 - DEBUG - Requesting: http://10.0.0.38:8082/project/df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:37,363 - INFO - Validated that VN ctest-vn-25485173 is not found in API Server 2026-02-18 16:37:37,374 - DEBUG - VN ctest-vn-25485173 is not present in Agent 10.0.0.38 2026-02-18 16:37:37,374 - INFO - Validated that VN ctest-vn-25485173 is not in any agent 2026-02-18 16:37:37,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25485173 info 2026-02-18 16:37:37,389 - INFO - Deleting VN ctest-vn-16891111 2026-02-18 16:37:37,489 - DEBUG - Response for deleting network () 2026-02-18 16:37:37,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/861685fa-e8dc-4665-9b5f-a8ea730790ba 2026-02-18 16:37:37,494 - DEBUG - Response Code: 404 2026-02-18 16:37:37,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-18 16:37:37,499 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cfa1da19-f811-463a-a9cd-68218f3cae6f 2026-02-18 16:37:37,553 - DEBUG - Requesting: http://10.0.0.38:8082/project/df90d847-0892-40ab-8bee-34b7db1ac161 2026-02-18 16:37:37,625 - INFO - Validated that VN ctest-vn-16891111 is not found in API Server 2026-02-18 16:37:37,635 - DEBUG - VN ctest-vn-16891111 is not present in Agent 10.0.0.38 2026-02-18 16:37:37,635 - INFO - Validated that VN ctest-vn-16891111 is not in any agent 2026-02-18 16:37:37,649 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16891111 info 2026-02-18 16:37:37,902 - DEBUG - No XMPP flaps were noticed during the test
2026-02-18 16:37:37,902 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-18 16:37:37,902 - INFO - -------------------------------------------------------------------------------- 2026-02-18 16:37:38,589 - INFO - Deleted project: ctest-TestBasicPolicy-73469749, ID : df90d847-0892-40ab-8bee-34b7db1ac161