2026-02-05 17:39:01,511 - INFO - Domain Default found not creating 2026-02-05 17:39:01,782 - INFO - Project ctest-TestBasicPolicy-87621904 not found, creating it 2026-02-05 17:39:02,267 - INFO - Created Project:ctest-TestBasicPolicy-87621904, ID : f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:04,057 - INFO - ================================================================================ 2026-02-05 17:39:04,057 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-05 17:39:04,057 - 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-05 17:39:04,338 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-05 17:39:04,338 - INFO - Initial checks done. Running the testcase now 2026-02-05 17:39:04,338 - INFO - 2026-02-05 17:39:05,483 - DEBUG - Response for create_network : {'network': {'id': '7dca2b97-34dd-42c4-9122-96c3dd0e7261', 'name': 'ctest-vn-99387534', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-99387534'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 17:39:05,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cf83fea-9f33-4916-839f-378233183f27', 'name': '', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'network_id': '7dca2b97-34dd-42c4-9122-96c3dd0e7261', 'ip_version': 4, 'cidr': '79.88.45.128/26', 'allocation_pools': [{'start': '79.88.45.130', 'end': '79.88.45.190'}], 'gateway_ip': '79.88.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.88.45.130', 'tags': [], 'project_id': 'f18453b4b2ab4118853030bcc97cb555'}} 2026-02-05 17:39:05,688 - INFO - Created VN ctest-vn-99387534 2026-02-05 17:39:05,739 - DEBUG - VN ctest-vn-99387534 UUID is 7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:06,138 - DEBUG - Response for create_network : {'network': {'id': 'b2a564ee-243c-4621-8d9b-4be040f0ae88', 'name': 'ctest-vn-24202198', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-24202198'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 17:39:06,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '32191282-4e8c-4949-9dfb-2d577475610b', 'name': '', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'network_id': 'b2a564ee-243c-4621-8d9b-4be040f0ae88', 'ip_version': 4, 'cidr': '175.115.71.128/26', 'allocation_pools': [{'start': '175.115.71.130', 'end': '175.115.71.190'}], 'gateway_ip': '175.115.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.115.71.130', 'tags': [], 'project_id': 'f18453b4b2ab4118853030bcc97cb555'}} 2026-02-05 17:39:06,436 - INFO - Created VN ctest-vn-24202198 2026-02-05 17:39:06,492 - DEBUG - VN ctest-vn-24202198 UUID is b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:06,623 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534, 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-87621904:ctest-vn-24202198, 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-05 17:39:06,978 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7dca2b97-34dd-42c4-9122-96c3dd0e7261', 'name': 'ctest-vn-99387534', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3cf83fea-9f33-4916-839f-378233183f27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-99387534'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134']], 'subnet_ipam': [{'subnet_cidr': '79.88.45.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 17:39:07,305 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2a564ee-243c-4621-8d9b-4be040f0ae88', 'name': 'ctest-vn-24202198', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32191282-4e8c-4949-9dfb-2d577475610b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-24202198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134']], 'subnet_ipam': [{'subnet_cidr': '175.115.71.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 17:39:07,447 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:07,752 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:07,799 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c 2026-02-05 17:39:07,826 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:07,935 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:07,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:07,969 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39 2026-02-05 17:39:07,985 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39 2026-02-05 17:39:07,994 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/baead6c0-08a5-4063-963e-624595a42785 2026-02-05 17:39:08,006 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 17:39:08,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:08,020 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39 2026-02-05 17:39:08,044 - INFO - Verified VN network id 11 for VN 7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:08,045 - INFO - Verifications in API Server for VN ctest-vn-99387534 passed 2026-02-05 17:39:08,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:08,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39 2026-02-05 17:39:08,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39 2026-02-05 17:39:08,082 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/baead6c0-08a5-4063-963e-624595a42785 2026-02-05 17:39:08,097 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87621904', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9064105128463516356', 'uuid-lslong': '10458087052679213665'}, 'enable': 'true', 'created': '2026-02-05T17:39:05', 'last-modified': '2026-02-05T17:39:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.154530'} 2026-02-05 17:39:08,105 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 17:39:08,105 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99387534 passed 2026-02-05 17:39:08,105 - DEBUG - ====Verifying policy data for ctest-vn-99387534 in API_Server ====== 2026-02-05 17:39:08,106 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:08,112 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c 2026-02-05 17:39:08,128 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:08,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261 2026-02-05 17:39:08,223 - DEBUG - ==>Verifying data for policy with id: 4edc5e29-4275-42ae-9fa0-ea7b29d70742, fqn: ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134'] 2026-02-05 17:39:08,223 - INFO - VN ctest-vn-99387534 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 17:39:08,223 - DEBUG - Verifying the vn in opserver 2026-02-05 17:39:08,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534 virtual network link through opserver 10.0.0.50 2026-02-05 17:39:08,223 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-05 17:39:08,548 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-05 17:39:08,625 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534?flat'} 2026-02-05 17:39:08,625 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534 is found in opserver 2026-02-05 17:39:08,647 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 17:39:08,656 - DEBUG - VRF ids for VN ctest-vn-99387534: {} 2026-02-05 17:39:08,656 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:08,662 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c 2026-02-05 17:39:08,675 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:08,774 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:08,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:08,812 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e 2026-02-05 17:39:08,827 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e 2026-02-05 17:39:08,843 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c286002c-28d5-4c88-a8da-d495901a9c1c 2026-02-05 17:39:08,860 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 17:39:08,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:08,872 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e 2026-02-05 17:39:08,894 - INFO - Verified VN network id 12 for VN b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:08,895 - INFO - Verifications in API Server for VN ctest-vn-24202198 passed 2026-02-05 17:39:08,895 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:08,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e 2026-02-05 17:39:08,928 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e 2026-02-05 17:39:08,939 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c286002c-28d5-4c88-a8da-d495901a9c1c 2026-02-05 17:39:08,954 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87621904', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12872806083881354785', 'uuid-lslong': '10203832807272263304'}, 'enable': 'true', 'created': '2026-02-05T17:39:06', 'last-modified': '2026-02-05T17:39:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.735542'} 2026-02-05 17:39:08,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 17:39:08,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24202198 passed 2026-02-05 17:39:08,963 - DEBUG - ====Verifying policy data for ctest-vn-24202198 in API_Server ====== 2026-02-05 17:39:08,963 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:08,970 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c 2026-02-05 17:39:08,990 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:09,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88 2026-02-05 17:39:09,095 - DEBUG - ==>Verifying data for policy with id: 4edc5e29-4275-42ae-9fa0-ea7b29d70742, fqn: ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134'] 2026-02-05 17:39:09,095 - INFO - VN ctest-vn-24202198 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 17:39:09,095 - DEBUG - Verifying the vn in opserver 2026-02-05 17:39:09,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198 virtual network link through opserver 10.0.0.50 2026-02-05 17:39:09,095 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-05 17:39:09,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198?flat'} 2026-02-05 17:39:09,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198 is found in opserver 2026-02-05 17:39:09,124 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 17:39:09,133 - DEBUG - VRF ids for VN ctest-vn-24202198: {} 2026-02-05 17:39:09,233 - DEBUG - Services list from nova: [, , ] 2026-02-05 17:39:10,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5220-1) 2026-02-05 17:39:11,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5220-1) 2026-02-05 17:39:11,958 - INFO - Waiting for VM ctest-TestBasicPolicy-87621904-61972079 to be up.. 2026-02-05 17:39:12,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 17:39:17,190 - DEBUG - VM is in ACTIVE state now 2026-02-05 17:39:17,190 - INFO - VM name : ctest-TestBasicPolicy-87621904-61972079 2026-02-05 17:39:17,305 - DEBUG - VM ctest-TestBasicPolicy-87621904-61972079 ID is 75f9d19b-b18b-4a6a-82d6-285ce0ed5a64 2026-02-05 17:39:17,337 - DEBUG - VM ctest-TestBasicPolicy-87621904-61972079 launched on Node cn-jenkins-deploy-platform-ansible-os-5220-1 2026-02-05 17:39:17,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/75f9d19b-b18b-4a6a-82d6-285ce0ed5a64 2026-02-05 17:39:17,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5b3cdb1d-5dd6-4f31-ad58-5b29c068e8a0 2026-02-05 17:39:20,792 - 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 1018ms') 2026-02-05 17:39:20,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87621904-61972079 failed! 2026-02-05 17:39:20,880 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534 is 79.88.45.129 and allocation pool is NOT set 2026-02-05 17:39:22,962 - 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=18.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.87 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 = 2.869/10.508/18.147/7.639 ms') 2026-02-05 17:39:22,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87621904-61972079 passed 2026-02-05 17:39:23,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:39:23,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87621904-61972079, IP 79.88.45.131, Port 22 2026-02-05 17:39:23,194 - 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-05 17:39:23,353 - DEBUG - VM ctest-TestBasicPolicy-87621904-61972079 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 17:39:28,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:39:28,354 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87621904-61972079, IP 79.88.45.131, Port 22 2026-02-05 17:39:28,534 - DEBUG - VM ctest-TestBasicPolicy-87621904-61972079 is ready for SSH connections 2026-02-05 17:39:28,534 - INFO - Waiting for VM ctest-TestBasicPolicy-87621904-62685631 to be up.. 2026-02-05 17:39:28,619 - DEBUG - VM is in ACTIVE state now 2026-02-05 17:39:28,619 - INFO - VM name : ctest-TestBasicPolicy-87621904-62685631 2026-02-05 17:39:28,698 - DEBUG - VM ctest-TestBasicPolicy-87621904-62685631 ID is a89098bb-d389-4206-9ec4-e51c2a735a79 2026-02-05 17:39:28,698 - DEBUG - VM ctest-TestBasicPolicy-87621904-62685631 launched on Node cn-jenkins-deploy-platform-ansible-os-5220-1 2026-02-05 17:39:28,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a89098bb-d389-4206-9ec4-e51c2a735a79 2026-02-05 17:39:28,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/781e9da6-0af7-416e-9b16-d150d61f4f80 2026-02-05 17:39:30,068 - 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=3.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.32 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 = 1.319/2.369/3.420/1.050 ms') 2026-02-05 17:39:30,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87621904-62685631 passed 2026-02-05 17:39:30,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:39:30,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87621904-62685631, IP 175.115.71.131, Port 22 2026-02-05 17:39:30,414 - DEBUG - VM ctest-TestBasicPolicy-87621904-62685631 is ready for SSH connections 2026-02-05 17:39:30,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:39:30,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.115.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-05 17:39:30,415 - DEBUG - ping -s 56 -c 3 -W 1 175.115.71.131 2026-02-05 17:39:34,651 - DEBUG - PING 175.115.71.131 (175.115.71.131): 56 data bytes 64 bytes from 175.115.71.131: seq=0 ttl=63 time=3.888 ms 64 bytes from 175.115.71.131: seq=1 ttl=63 time=1.637 ms 64 bytes from 175.115.71.131: seq=2 ttl=63 time=1.375 ms --- 175.115.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.375/2.300/3.888 ms 2026-02-05 17:39:34,651 - INFO - Ping to IP 175.115.71.131 from VM ctest-TestBasicPolicy-87621904-61972079 passed 2026-02-05 17:39:34,863 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4edc5e29-4275-42ae-9fa0-ea7b29d70742", "href": "http://10.0.0.50:8082/network-policy/4edc5e29-4275-42ae-9fa0-ea7b29d70742"}} 2026-02-05 17:39:34,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:39:34,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.115.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-05 17:39:34,864 - DEBUG - ping -s 56 -c 3 -W 1 175.115.71.131 2026-02-05 17:39:38,104 - DEBUG - PING 175.115.71.131 (175.115.71.131): 56 data bytes --- 175.115.71.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-05 17:39:38,105 - WARNING - Ping to IP 175.115.71.131 from VM ctest-TestBasicPolicy-87621904-61972079 failed 2026-02-05 17:39:38,105 - INFO - Deleting VM ctest-TestBasicPolicy-87621904-62685631 2026-02-05 17:39:38,280 - INFO - Deleting VM ctest-TestBasicPolicy-87621904-61972079 2026-02-05 17:39:38,861 - INFO - Deleted policy ctest-policy-allow-all-22098134 2026-02-05 17:39:38,862 - INFO - Deleting VN ctest-vn-24202198 2026-02-05 17:39:38,909 - DEBUG - VN b2a564ee-243c-4621-8d9b-4be040f0ae88 still in use: Unable to complete operation on network b2a564ee-243c-4621-8d9b-4be040f0ae88. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b313ec9-bb7d-4d6a-8db5-1ff998cd77ed'] 2026-02-05 17:39:38,909 - WARNING - Deleting VN ctest-vn-24202198 failed..Will retry 2026-02-05 17:39:41,122 - DEBUG - Response for deleting network () 2026-02-05 17:39:41,122 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e 2026-02-05 17:39:41,130 - DEBUG - Response Code: 404 2026-02-05 17:39:41,130 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:41,139 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c 2026-02-05 17:39:41,203 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:41,312 - INFO - Validated that VN ctest-vn-24202198 is not found in API Server 2026-02-05 17:39:41,331 - DEBUG - VN ctest-vn-24202198 is not present in Agent 10.0.0.50 2026-02-05 17:39:41,331 - INFO - Validated that VN ctest-vn-24202198 is not in any agent 2026-02-05 17:39:41,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24202198 info 2026-02-05 17:39:41,358 - INFO - Deleting VN ctest-vn-99387534 2026-02-05 17:39:41,539 - DEBUG - Response for deleting network () 2026-02-05 17:39:41,539 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39 2026-02-05 17:39:41,548 - DEBUG - Response Code: 404 2026-02-05 17:39:41,548 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-05 17:39:41,555 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c 2026-02-05 17:39:41,618 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555 2026-02-05 17:39:41,698 - INFO - Validated that VN ctest-vn-99387534 is not found in API Server 2026-02-05 17:39:41,716 - DEBUG - VN ctest-vn-99387534 is not present in Agent 10.0.0.50 2026-02-05 17:39:41,716 - INFO - Validated that VN ctest-vn-99387534 is not in any agent 2026-02-05 17:39:41,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99387534 info 2026-02-05 17:39:42,060 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 17:39:42,061 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-02-05 17:39:42,061 - INFO - -------------------------------------------------------------------------------- 2026-02-05 17:39:42,986 - INFO - Deleted project: ctest-TestBasicPolicy-87621904, ID : f18453b4-b2ab-4118-8530-30bcc97cb555