2026-05-27 16:21:13,626 - INFO - Domain Default found not creating 2026-05-27 16:21:13,825 - INFO - Project ctest-TestBasicPolicy-02424173 not found, creating it 2026-05-27 16:21:14,313 - INFO - Created Project:ctest-TestBasicPolicy-02424173, ID : fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:15,817 - INFO - ================================================================================ 2026-05-27 16:21:15,818 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-27 16:21:15,818 - 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-05-27 16:21:16,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2026-05-27 16:21:16,072 - INFO - Initial checks done. Running the testcase now 2026-05-27 16:21:16,072 - INFO - 2026-05-27 16:21:16,640 - DEBUG - Response for create_network : {'network': {'id': 'e7402183-6e6c-466d-a4e4-81e42c90aabd', 'name': 'ctest-vn-98261521', 'tenant_id': 'fc768b046809450b87029b01baa89dc6', 'project_id': 'fc768b046809450b87029b01baa89dc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-vn-98261521'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:21:16,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '5876fe03-6547-4956-9e5e-566ad6aee1c7', 'name': '', 'tenant_id': 'fc768b046809450b87029b01baa89dc6', 'network_id': 'e7402183-6e6c-466d-a4e4-81e42c90aabd', 'ip_version': 4, 'cidr': '142.158.26.64/26', 'allocation_pools': [{'start': '142.158.26.66', 'end': '142.158.26.126'}], 'gateway_ip': '142.158.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.158.26.66', 'tags': [], 'project_id': 'fc768b046809450b87029b01baa89dc6'}} 2026-05-27 16:21:16,837 - INFO - Created VN ctest-vn-98261521 2026-05-27 16:21:16,889 - DEBUG - VN ctest-vn-98261521 UUID is e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:17,203 - DEBUG - Response for create_network : {'network': {'id': '4ffc8aea-f6da-4599-8191-c8f818c252fb', 'name': 'ctest-vn-50230703', 'tenant_id': 'fc768b046809450b87029b01baa89dc6', 'project_id': 'fc768b046809450b87029b01baa89dc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-vn-50230703'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:21:17,375 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e22d9b2-cfdd-408c-bcc9-3c23b9ab6c84', 'name': '', 'tenant_id': 'fc768b046809450b87029b01baa89dc6', 'network_id': '4ffc8aea-f6da-4599-8191-c8f818c252fb', 'ip_version': 4, 'cidr': '110.157.240.192/26', 'allocation_pools': [{'start': '110.157.240.194', 'end': '110.157.240.254'}], 'gateway_ip': '110.157.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.157.240.194', 'tags': [], 'project_id': 'fc768b046809450b87029b01baa89dc6'}} 2026-05-27 16:21:17,397 - INFO - Created VN ctest-vn-50230703 2026-05-27 16:21:17,449 - DEBUG - VN ctest-vn-50230703 UUID is 4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:17,564 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521, 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-02424173:ctest-vn-50230703, 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-05-27 16:21:17,851 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e7402183-6e6c-466d-a4e4-81e42c90aabd', 'name': 'ctest-vn-98261521', 'tenant_id': 'fc768b046809450b87029b01baa89dc6', 'project_id': 'fc768b046809450b87029b01baa89dc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5876fe03-6547-4956-9e5e-566ad6aee1c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-vn-98261521'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-policy-allow-all-59629665']], 'subnet_ipam': [{'subnet_cidr': '142.158.26.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:21:18,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ffc8aea-f6da-4599-8191-c8f818c252fb', 'name': 'ctest-vn-50230703', 'tenant_id': 'fc768b046809450b87029b01baa89dc6', 'project_id': 'fc768b046809450b87029b01baa89dc6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e22d9b2-cfdd-408c-bcc9-3c23b9ab6c84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-vn-50230703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-policy-allow-all-59629665']], 'subnet_ipam': [{'subnet_cidr': '110.157.240.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:21:18,245 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:18,545 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:18,578 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a12584cf-bfc2-4bc5-85d4-a2c3336591bd 2026-05-27 16:21:18,592 - DEBUG - Requesting: http://10.0.0.41:8082/project/fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:18,663 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:18,675 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:18,685 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c1c5e0f5-d8b5-43d3-abd5-9239427c0914 2026-05-27 16:21:18,693 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c1c5e0f5-d8b5-43d3-abd5-9239427c0914 2026-05-27 16:21:18,700 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/16e62885-73db-4fad-86cb-c71bb7288447 2026-05-27 16:21:18,707 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 16:21:18,707 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:18,716 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c1c5e0f5-d8b5-43d3-abd5-9239427c0914 2026-05-27 16:21:18,729 - INFO - Verified VN network id 11 for VN e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:18,729 - INFO - Verifications in API Server for VN ctest-vn-98261521 passed 2026-05-27 16:21:18,729 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:18,739 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c1c5e0f5-d8b5-43d3-abd5-9239427c0914 2026-05-27 16:21:18,746 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c1c5e0f5-d8b5-43d3-abd5-9239427c0914 2026-05-27 16:21:18,752 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/16e62885-73db-4fad-86cb-c71bb7288447 2026-05-27 16:21:18,770 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02424173', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16663355469647857261', 'uuid-lslong': '11881764533910416061'}, 'enable': 'true', 'created': '2026-05-27T16:21:16', 'last-modified': '2026-05-27T16:21:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942412'} 2026-05-27 16:21:18,775 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 16:21:18,775 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98261521 passed 2026-05-27 16:21:18,776 - DEBUG - ====Verifying policy data for ctest-vn-98261521 in API_Server ====== 2026-05-27 16:21:18,776 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:18,781 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a12584cf-bfc2-4bc5-85d4-a2c3336591bd 2026-05-27 16:21:18,792 - DEBUG - Requesting: http://10.0.0.41:8082/project/fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:18,860 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e7402183-6e6c-466d-a4e4-81e42c90aabd 2026-05-27 16:21:18,870 - DEBUG - ==>Verifying data for policy with id: f82e2655-3ff9-4d32-81c6-052fd5eecc99, fqn: ['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-policy-allow-all-59629665'] 2026-05-27 16:21:18,870 - INFO - VN ctest-vn-98261521 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 16:21:18,870 - DEBUG - Verifying the vn in opserver 2026-05-27 16:21:18,870 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521 virtual network link through opserver 10.0.0.41 2026-05-27 16:21:18,870 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-27 16:21:19,164 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-27 16:21:19,235 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521?flat'} 2026-05-27 16:21:19,235 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521 is found in opserver 2026-05-27 16:21:19,244 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 16:21:19,248 - DEBUG - VRF ids for VN ctest-vn-98261521: {} 2026-05-27 16:21:19,248 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:19,253 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a12584cf-bfc2-4bc5-85d4-a2c3336591bd 2026-05-27 16:21:19,264 - DEBUG - Requesting: http://10.0.0.41:8082/project/fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:19,337 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:19,348 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:19,358 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4cdd32b3-1167-47cd-ac71-9ee14149f39f 2026-05-27 16:21:19,365 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4cdd32b3-1167-47cd-ac71-9ee14149f39f 2026-05-27 16:21:19,372 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/d527c0ed-2d2f-4063-91ae-7f1a813bb431 2026-05-27 16:21:19,380 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 16:21:19,380 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:19,390 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4cdd32b3-1167-47cd-ac71-9ee14149f39f 2026-05-27 16:21:19,407 - INFO - Verified VN network id 12 for VN 4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:19,407 - INFO - Verifications in API Server for VN ctest-vn-50230703 passed 2026-05-27 16:21:19,407 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:19,417 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4cdd32b3-1167-47cd-ac71-9ee14149f39f 2026-05-27 16:21:19,424 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4cdd32b3-1167-47cd-ac71-9ee14149f39f 2026-05-27 16:21:19,432 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/d527c0ed-2d2f-4063-91ae-7f1a813bb431 2026-05-27 16:21:19,444 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-50230703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02424173', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5763634364895872409', 'uuid-lslong': '9336464470408581883'}, 'enable': 'true', 'created': '2026-05-27T16:21:17', 'last-modified': '2026-05-27T16:21:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.392591'} 2026-05-27 16:21:19,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 16:21:19,451 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50230703 passed 2026-05-27 16:21:19,451 - DEBUG - ====Verifying policy data for ctest-vn-50230703 in API_Server ====== 2026-05-27 16:21:19,451 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:19,458 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a12584cf-bfc2-4bc5-85d4-a2c3336591bd 2026-05-27 16:21:19,469 - DEBUG - Requesting: http://10.0.0.41:8082/project/fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:19,539 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4ffc8aea-f6da-4599-8191-c8f818c252fb 2026-05-27 16:21:19,548 - DEBUG - ==>Verifying data for policy with id: f82e2655-3ff9-4d32-81c6-052fd5eecc99, fqn: ['default-domain', 'ctest-TestBasicPolicy-02424173', 'ctest-policy-allow-all-59629665'] 2026-05-27 16:21:19,548 - INFO - VN ctest-vn-50230703 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 16:21:19,548 - DEBUG - Verifying the vn in opserver 2026-05-27 16:21:19,548 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-50230703 virtual network link through opserver 10.0.0.41 2026-05-27 16:21:19,548 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-27 16:21:19,557 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-50230703', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-50230703?flat'} 2026-05-27 16:21:19,557 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-50230703 is found in opserver 2026-05-27 16:21:19,566 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 16:21:19,571 - DEBUG - VRF ids for VN ctest-vn-50230703: {} 2026-05-27 16:21:19,630 - DEBUG - Services list from nova: [, , ] 2026-05-27 16:21:20,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5833-1) 2026-05-27 16:21:21,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5833-1) 2026-05-27 16:21:21,841 - INFO - Waiting for VM ctest-TestBasicPolicy-02424173-38428701 to be up.. 2026-05-27 16:21:21,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-27 16:21:27,011 - DEBUG - VM is in ACTIVE state now 2026-05-27 16:21:27,011 - INFO - VM name : ctest-TestBasicPolicy-02424173-38428701 2026-05-27 16:21:27,087 - DEBUG - VM ctest-TestBasicPolicy-02424173-38428701 ID is b7ab20a3-e99c-4096-9451-74828a832be2 2026-05-27 16:21:27,107 - DEBUG - VM ctest-TestBasicPolicy-02424173-38428701 launched on Node cn-jenkins-deploy-platform-ansible-os-5833-1 2026-05-27 16:21:27,193 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b7ab20a3-e99c-4096-9451-74828a832be2 2026-05-27 16:21:27,202 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e66a49ff-7c51-4e8b-91a3-0a3c84ff93e2 2026-05-27 16:21:30,459 - 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 1010ms') 2026-05-27 16:21:30,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02424173-38428701 failed! 2026-05-27 16:21:30,513 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02424173:ctest-vn-98261521 is 142.158.26.65 and allocation pool is NOT set 2026-05-27 16:21:32,577 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.73 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 = 2.732/4.758/6.784/2.026 ms') 2026-05-27 16:21:32,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02424173-38428701 passed 2026-05-27 16:21:32,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:21:32,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02424173-38428701, IP 142.158.26.67, Port 22 2026-05-27 16:21:32,785 - 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-05-27 16:21:32,866 - DEBUG - VM ctest-TestBasicPolicy-02424173-38428701 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-27 16:21:37,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:21:37,867 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02424173-38428701, IP 142.158.26.67, Port 22 2026-05-27 16:21:38,025 - DEBUG - VM ctest-TestBasicPolicy-02424173-38428701 is ready for SSH connections 2026-05-27 16:21:38,025 - INFO - Waiting for VM ctest-TestBasicPolicy-02424173-81438081 to be up.. 2026-05-27 16:21:38,099 - DEBUG - VM is in ACTIVE state now 2026-05-27 16:21:38,099 - INFO - VM name : ctest-TestBasicPolicy-02424173-81438081 2026-05-27 16:21:38,173 - DEBUG - VM ctest-TestBasicPolicy-02424173-81438081 ID is db1fb9bd-0f52-4c1b-901e-3fc7d141aa6f 2026-05-27 16:21:38,173 - DEBUG - VM ctest-TestBasicPolicy-02424173-81438081 launched on Node cn-jenkins-deploy-platform-ansible-os-5833-1 2026-05-27 16:21:38,257 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/db1fb9bd-0f52-4c1b-901e-3fc7d141aa6f 2026-05-27 16:21:38,266 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/dccb8061-4bd1-481d-bb2d-404fc52b7d8e 2026-05-27 16:21:39,503 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.625/2.830/1.204 ms') 2026-05-27 16:21:39,503 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02424173-81438081 passed 2026-05-27 16:21:39,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:21:39,653 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02424173-81438081, IP 110.157.240.195, Port 22 2026-05-27 16:21:39,808 - DEBUG - VM ctest-TestBasicPolicy-02424173-81438081 is ready for SSH connections 2026-05-27 16:21:39,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:21:39,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.157.240.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-27 16:21:39,809 - DEBUG - ping -s 56 -c 3 -W 1 110.157.240.195 2026-05-27 16:21:43,861 - DEBUG - PING 110.157.240.195 (110.157.240.195): 56 data bytes 64 bytes from 110.157.240.195: seq=0 ttl=63 time=3.485 ms 64 bytes from 110.157.240.195: seq=1 ttl=63 time=1.007 ms 64 bytes from 110.157.240.195: seq=2 ttl=63 time=0.834 ms --- 110.157.240.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.775/3.485 ms 2026-05-27 16:21:43,861 - INFO - Ping to IP 110.157.240.195 from VM ctest-TestBasicPolicy-02424173-38428701 passed 2026-05-27 16:21:44,044 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f82e2655-3ff9-4d32-81c6-052fd5eecc99", "href": "http://10.0.0.41:8082/network-policy/f82e2655-3ff9-4d32-81c6-052fd5eecc99"}} 2026-05-27 16:21:44,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:21:44,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.157.240.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-27 16:21:44,045 - DEBUG - ping -s 56 -c 3 -W 1 110.157.240.195 2026-05-27 16:21:47,263 - DEBUG - PING 110.157.240.195 (110.157.240.195): 56 data bytes --- 110.157.240.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-27 16:21:47,263 - WARNING - Ping to IP 110.157.240.195 from VM ctest-TestBasicPolicy-02424173-38428701 failed 2026-05-27 16:21:47,263 - INFO - Deleting VM ctest-TestBasicPolicy-02424173-81438081 2026-05-27 16:21:47,338 - INFO - Deleting VM ctest-TestBasicPolicy-02424173-38428701 2026-05-27 16:21:47,751 - INFO - Deleted policy ctest-policy-allow-all-59629665 2026-05-27 16:21:47,751 - INFO - Deleting VN ctest-vn-50230703 2026-05-27 16:21:47,785 - DEBUG - VN 4ffc8aea-f6da-4599-8191-c8f818c252fb still in use: Unable to complete operation on network 4ffc8aea-f6da-4599-8191-c8f818c252fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7bf0b671-5258-4568-be80-a6ce42f584dc'] 2026-05-27 16:21:47,785 - WARNING - Deleting VN ctest-vn-50230703 failed..Will retry 2026-05-27 16:21:49,892 - DEBUG - Response for deleting network () 2026-05-27 16:21:49,892 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4cdd32b3-1167-47cd-ac71-9ee14149f39f 2026-05-27 16:21:49,898 - DEBUG - Response Code: 404 2026-05-27 16:21:49,898 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:49,904 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a12584cf-bfc2-4bc5-85d4-a2c3336591bd 2026-05-27 16:21:49,957 - DEBUG - Requesting: http://10.0.0.41:8082/project/fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:50,032 - INFO - Validated that VN ctest-vn-50230703 is not found in API Server 2026-05-27 16:21:50,041 - DEBUG - VN ctest-vn-50230703 is not present in Agent 10.0.0.41 2026-05-27 16:21:50,041 - INFO - Validated that VN ctest-vn-50230703 is not in any agent 2026-05-27 16:21:50,055 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50230703 info 2026-05-27 16:21:50,055 - INFO - Deleting VN ctest-vn-98261521 2026-05-27 16:21:50,166 - DEBUG - Response for deleting network () 2026-05-27 16:21:50,166 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c1c5e0f5-d8b5-43d3-abd5-9239427c0914 2026-05-27 16:21:50,171 - DEBUG - Response Code: 404 2026-05-27 16:21:50,171 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-27 16:21:50,176 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a12584cf-bfc2-4bc5-85d4-a2c3336591bd 2026-05-27 16:21:50,229 - DEBUG - Requesting: http://10.0.0.41:8082/project/fc768b04-6809-450b-8702-9b01baa89dc6 2026-05-27 16:21:50,303 - INFO - Validated that VN ctest-vn-98261521 is not found in API Server 2026-05-27 16:21:50,312 - DEBUG - VN ctest-vn-98261521 is not present in Agent 10.0.0.41 2026-05-27 16:21:50,312 - INFO - Validated that VN ctest-vn-98261521 is not in any agent 2026-05-27 16:21:50,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98261521 info 2026-05-27 16:21:50,578 - DEBUG - No XMPP flaps were noticed during the test 2026-05-27 16:21:50,578 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-05-27 16:21:50,579 - INFO - -------------------------------------------------------------------------------- 2026-05-27 16:21:51,263 - INFO - Deleted project: ctest-TestBasicPolicy-02424173, ID : fc768b04-6809-450b-8702-9b01baa89dc6