2026-02-23 19:08:31,428 - INFO - Domain Default found not creating 2026-02-23 19:08:31,706 - INFO - Project ctest-TestBasicPolicy-64155924 not found, creating it 2026-02-23 19:08:32,371 - INFO - Created Project:ctest-TestBasicPolicy-64155924, ID : d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:08:34,575 - INFO - ================================================================================ 2026-02-23 19:08:34,575 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-23 19:08:34,575 - 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-23 19:08:34,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-23 19:08:34,890 - INFO - Initial checks done. Running the testcase now 2026-02-23 19:08:34,890 - INFO - 2026-02-23 19:08:35,668 - DEBUG - Response for create_network : {'network': {'id': 'f80e660d-4d89-45f6-bd2b-300e6cd5011f', 'name': 'ctest-vn-15820947', 'tenant_id': 'd12dee4a91904c1291002d560263ad78', 'project_id': 'd12dee4a91904c1291002d560263ad78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-vn-15820947'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:08:35,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '08e5f95f-482b-4aee-b0dd-6acc654fa299', 'name': '', 'tenant_id': 'd12dee4a91904c1291002d560263ad78', 'network_id': 'f80e660d-4d89-45f6-bd2b-300e6cd5011f', 'ip_version': 4, 'cidr': '53.0.86.128/26', 'allocation_pools': [{'start': '53.0.86.130', 'end': '53.0.86.190'}], 'gateway_ip': '53.0.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.0.86.130', 'tags': [], 'project_id': 'd12dee4a91904c1291002d560263ad78'}} 2026-02-23 19:08:35,935 - INFO - Created VN ctest-vn-15820947 2026-02-23 19:08:35,996 - DEBUG - VN ctest-vn-15820947 UUID is f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:36,500 - DEBUG - Response for create_network : {'network': {'id': '553118b7-f883-40c8-9b84-0ceb08c85ff0', 'name': 'ctest-vn-80171492', 'tenant_id': 'd12dee4a91904c1291002d560263ad78', 'project_id': 'd12dee4a91904c1291002d560263ad78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-vn-80171492'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:08:36,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '07349aea-100c-4a4e-ad45-5b84e581af49', 'name': '', 'tenant_id': 'd12dee4a91904c1291002d560263ad78', 'network_id': '553118b7-f883-40c8-9b84-0ceb08c85ff0', 'ip_version': 4, 'cidr': '21.36.227.0/26', 'allocation_pools': [{'start': '21.36.227.2', 'end': '21.36.227.62'}], 'gateway_ip': '21.36.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.36.227.2', 'tags': [], 'project_id': 'd12dee4a91904c1291002d560263ad78'}} 2026-02-23 19:08:36,731 - INFO - Created VN ctest-vn-80171492 2026-02-23 19:08:36,784 - DEBUG - VN ctest-vn-80171492 UUID is 553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:36,899 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947, 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-64155924:ctest-vn-80171492, 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-23 19:08:37,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f80e660d-4d89-45f6-bd2b-300e6cd5011f', 'name': 'ctest-vn-15820947', 'tenant_id': 'd12dee4a91904c1291002d560263ad78', 'project_id': 'd12dee4a91904c1291002d560263ad78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['08e5f95f-482b-4aee-b0dd-6acc654fa299'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-vn-15820947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-policy-allow-all-00663782']], 'subnet_ipam': [{'subnet_cidr': '53.0.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:08:37,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '553118b7-f883-40c8-9b84-0ceb08c85ff0', 'name': 'ctest-vn-80171492', 'tenant_id': 'd12dee4a91904c1291002d560263ad78', 'project_id': 'd12dee4a91904c1291002d560263ad78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07349aea-100c-4a4e-ad45-5b84e581af49'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-vn-80171492'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-policy-allow-all-00663782']], 'subnet_ipam': [{'subnet_cidr': '21.36.227.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:08:37,883 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:08:38,230 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:08:38,277 - DEBUG - Requesting: http://10.0.0.50:8082/domain/229293cc-54bb-4b63-ba2e-d9eae9097391 2026-02-23 19:08:38,309 - DEBUG - Requesting: http://10.0.0.50:8082/project/d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:08:38,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:38,453 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:38,479 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac34d60-823c-48cc-9a38-012f234a51bb 2026-02-23 19:08:38,498 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac34d60-823c-48cc-9a38-012f234a51bb 2026-02-23 19:08:38,510 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b6dc1a3a-348a-4a49-b79a-fa2e118476fa 2026-02-23 19:08:38,521 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 19:08:38,521 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:38,536 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac34d60-823c-48cc-9a38-012f234a51bb 2026-02-23 19:08:38,562 - INFO - Verified VN network id 11 for VN f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:38,562 - INFO - Verifications in API Server for VN ctest-vn-15820947 passed 2026-02-23 19:08:38,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:38,588 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac34d60-823c-48cc-9a38-012f234a51bb 2026-02-23 19:08:38,603 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac34d60-823c-48cc-9a38-012f234a51bb 2026-02-23 19:08:38,617 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b6dc1a3a-348a-4a49-b79a-fa2e118476fa 2026-02-23 19:08:38,636 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64155924', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17874336178401527286', 'uuid-lslong': '13631041535680512287'}, 'enable': 'true', 'created': '2026-02-23T19:08:35', 'last-modified': '2026-02-23T19:08:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372151'} 2026-02-23 19:08:38,646 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 19:08:38,646 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15820947 passed 2026-02-23 19:08:38,646 - DEBUG - ====Verifying policy data for ctest-vn-15820947 in API_Server ====== 2026-02-23 19:08:38,647 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:08:38,656 - DEBUG - Requesting: http://10.0.0.50:8082/domain/229293cc-54bb-4b63-ba2e-d9eae9097391 2026-02-23 19:08:38,683 - DEBUG - Requesting: http://10.0.0.50:8082/project/d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:08:38,805 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f80e660d-4d89-45f6-bd2b-300e6cd5011f 2026-02-23 19:08:38,832 - DEBUG - ==>Verifying data for policy with id: 00f520c7-59f9-477e-8e84-8aa9f90cee07, fqn: ['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-policy-allow-all-00663782'] 2026-02-23 19:08:38,832 - INFO - VN ctest-vn-15820947 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 19:08:38,833 - DEBUG - Verifying the vn in opserver 2026-02-23 19:08:38,833 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947 virtual network link through opserver 10.0.0.50 2026-02-23 19:08:38,833 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-23 19:08:39,190 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-23 19:08:39,336 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947?flat'} 2026-02-23 19:08:39,336 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947 is found in opserver 2026-02-23 19:08:39,373 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 19:08:39,387 - DEBUG - VRF ids for VN ctest-vn-15820947: {} 2026-02-23 19:08:39,387 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:08:39,402 - DEBUG - Requesting: http://10.0.0.50:8082/domain/229293cc-54bb-4b63-ba2e-d9eae9097391 2026-02-23 19:08:39,433 - DEBUG - Requesting: http://10.0.0.50:8082/project/d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:08:39,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:39,586 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:39,609 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0eb291b7-899c-4eca-9b40-69053e983ce8 2026-02-23 19:08:39,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0eb291b7-899c-4eca-9b40-69053e983ce8 2026-02-23 19:08:39,645 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cf545f92-b1a1-4077-96d9-8d6d1986e0e7 2026-02-23 19:08:39,664 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 19:08:39,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:39,684 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0eb291b7-899c-4eca-9b40-69053e983ce8 2026-02-23 19:08:39,724 - INFO - Verified VN network id 12 for VN 553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:39,724 - INFO - Verifications in API Server for VN ctest-vn-80171492 passed 2026-02-23 19:08:39,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:39,749 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0eb291b7-899c-4eca-9b40-69053e983ce8 2026-02-23 19:08:39,766 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0eb291b7-899c-4eca-9b40-69053e983ce8 2026-02-23 19:08:39,787 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cf545f92-b1a1-4077-96d9-8d6d1986e0e7 2026-02-23 19:08:39,814 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-80171492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64155924', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6138714945510129864', 'uuid-lslong': '11206095976408834032'}, 'enable': 'true', 'created': '2026-02-23T19:08:36', 'last-modified': '2026-02-23T19:08:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.200214'} 2026-02-23 19:08:39,833 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 19:08:39,833 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80171492 passed 2026-02-23 19:08:39,834 - DEBUG - ====Verifying policy data for ctest-vn-80171492 in API_Server ====== 2026-02-23 19:08:39,834 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:08:39,848 - DEBUG - Requesting: http://10.0.0.50:8082/domain/229293cc-54bb-4b63-ba2e-d9eae9097391 2026-02-23 19:08:39,878 - DEBUG - Requesting: http://10.0.0.50:8082/project/d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:08:39,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/553118b7-f883-40c8-9b84-0ceb08c85ff0 2026-02-23 19:08:39,996 - DEBUG - ==>Verifying data for policy with id: 00f520c7-59f9-477e-8e84-8aa9f90cee07, fqn: ['default-domain', 'ctest-TestBasicPolicy-64155924', 'ctest-policy-allow-all-00663782'] 2026-02-23 19:08:39,997 - INFO - VN ctest-vn-80171492 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 19:08:39,997 - DEBUG - Verifying the vn in opserver 2026-02-23 19:08:39,997 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-80171492 virtual network link through opserver 10.0.0.50 2026-02-23 19:08:39,997 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-23 19:08:40,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-80171492', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-80171492?flat'} 2026-02-23 19:08:40,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-80171492 is found in opserver 2026-02-23 19:08:40,037 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 19:08:40,046 - DEBUG - VRF ids for VN ctest-vn-80171492: {} 2026-02-23 19:08:40,169 - DEBUG - Services list from nova: [, , ] 2026-02-23 19:08:41,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5389-1) 2026-02-23 19:08:43,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5389-1) 2026-02-23 19:08:43,203 - INFO - Waiting for VM ctest-TestBasicPolicy-64155924-13492082 to be up.. 2026-02-23 19:08:43,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:08:48,374 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:08:48,374 - INFO - VM name : ctest-TestBasicPolicy-64155924-13492082 2026-02-23 19:08:48,447 - DEBUG - VM ctest-TestBasicPolicy-64155924-13492082 ID is c99b4994-da6e-4153-9c6f-36a72729c72e 2026-02-23 19:08:48,467 - DEBUG - VM ctest-TestBasicPolicy-64155924-13492082 launched on Node cn-jenkins-deploy-platform-ansible-os-5389-1 2026-02-23 19:08:48,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c99b4994-da6e-4153-9c6f-36a72729c72e 2026-02-23 19:08:48,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/401f5b7d-57ce-40e0-bb20-bdd2f6b53bfd 2026-02-23 19:08:51,821 - 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 1003ms') 2026-02-23 19:08:51,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64155924-13492082 failed! 2026-02-23 19:08:51,891 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64155924:ctest-vn-15820947 is 53.0.86.129 and allocation pool is NOT set 2026-02-23 19:08:53,959 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/3.272/6.097/2.825 ms') 2026-02-23 19:08:53,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64155924-13492082 passed 2026-02-23 19:08:54,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:08:54,140 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64155924-13492082, IP 53.0.86.131, Port 22 2026-02-23 19:08:54,221 - 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-23 19:08:54,417 - DEBUG - VM ctest-TestBasicPolicy-64155924-13492082 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 19:08:59,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:08:59,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64155924-13492082, IP 53.0.86.131, Port 22 2026-02-23 19:08:59,622 - DEBUG - VM ctest-TestBasicPolicy-64155924-13492082 is ready for SSH connections 2026-02-23 19:08:59,622 - INFO - Waiting for VM ctest-TestBasicPolicy-64155924-42826086 to be up.. 2026-02-23 19:08:59,719 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:08:59,719 - INFO - VM name : ctest-TestBasicPolicy-64155924-42826086 2026-02-23 19:08:59,827 - DEBUG - VM ctest-TestBasicPolicy-64155924-42826086 ID is 43af97ef-9870-49ca-8a79-7994bf35a72b 2026-02-23 19:08:59,828 - DEBUG - VM ctest-TestBasicPolicy-64155924-42826086 launched on Node cn-jenkins-deploy-platform-ansible-os-5389-1 2026-02-23 19:08:59,990 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/43af97ef-9870-49ca-8a79-7994bf35a72b 2026-02-23 19:09:00,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/36d903dd-b340-4896-b6ab-68811e306bf0 2026-02-23 19:09:01,338 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.662 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.662/2.998/5.334/2.336 ms') 2026-02-23 19:09:01,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64155924-42826086 passed 2026-02-23 19:09:01,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:09:01,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64155924-42826086, IP 21.36.227.3, Port 22 2026-02-23 19:09:01,723 - DEBUG - VM ctest-TestBasicPolicy-64155924-42826086 is ready for SSH connections 2026-02-23 19:09:01,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:09:01,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.36.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-23 19:09:01,724 - DEBUG - ping -s 56 -c 3 -W 1 21.36.227.3 2026-02-23 19:09:06,404 - DEBUG - PING 21.36.227.3 (21.36.227.3): 56 data bytes 64 bytes from 21.36.227.3: seq=0 ttl=63 time=4.313 ms 64 bytes from 21.36.227.3: seq=1 ttl=63 time=2.112 ms 64 bytes from 21.36.227.3: seq=2 ttl=63 time=1.664 ms --- 21.36.227.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.664/2.696/4.313 ms 2026-02-23 19:09:06,405 - INFO - Ping to IP 21.36.227.3 from VM ctest-TestBasicPolicy-64155924-13492082 passed 2026-02-23 19:09:06,639 - DEBUG - Policy Update Response {"network-policy": {"uuid": "00f520c7-59f9-477e-8e84-8aa9f90cee07", "href": "http://10.0.0.50:8082/network-policy/00f520c7-59f9-477e-8e84-8aa9f90cee07"}} 2026-02-23 19:09:06,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:09:06,639 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.36.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-23 19:09:06,640 - DEBUG - ping -s 56 -c 3 -W 1 21.36.227.3 2026-02-23 19:09:09,918 - DEBUG - PING 21.36.227.3 (21.36.227.3): 56 data bytes 64 bytes from 21.36.227.3: seq=0 ttl=63 time=1.934 ms --- 21.36.227.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.934/1.934/1.934 ms 2026-02-23 19:09:09,919 - WARNING - Ping to IP 21.36.227.3 from VM ctest-TestBasicPolicy-64155924-13492082 failed 2026-02-23 19:09:09,919 - INFO - Deleting VM ctest-TestBasicPolicy-64155924-42826086 2026-02-23 19:09:10,097 - INFO - Deleting VM ctest-TestBasicPolicy-64155924-13492082 2026-02-23 19:09:10,630 - INFO - Deleted policy ctest-policy-allow-all-00663782 2026-02-23 19:09:10,631 - INFO - Deleting VN ctest-vn-80171492 2026-02-23 19:09:10,671 - DEBUG - VN 553118b7-f883-40c8-9b84-0ceb08c85ff0 still in use: Unable to complete operation on network 553118b7-f883-40c8-9b84-0ceb08c85ff0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74fa5b1b-606e-4b9d-aa1a-f82206171265'] 2026-02-23 19:09:10,671 - WARNING - Deleting VN ctest-vn-80171492 failed..Will retry 2026-02-23 19:09:12,885 - DEBUG - Response for deleting network () 2026-02-23 19:09:12,885 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0eb291b7-899c-4eca-9b40-69053e983ce8 2026-02-23 19:09:12,896 - DEBUG - Response Code: 404 2026-02-23 19:09:12,896 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:09:12,902 - DEBUG - Requesting: http://10.0.0.50:8082/domain/229293cc-54bb-4b63-ba2e-d9eae9097391 2026-02-23 19:09:12,966 - DEBUG - Requesting: http://10.0.0.50:8082/project/d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:09:13,091 - INFO - Validated that VN ctest-vn-80171492 is not found in API Server 2026-02-23 19:09:13,119 - DEBUG - VN ctest-vn-80171492 is not present in Agent 10.0.0.50 2026-02-23 19:09:13,120 - INFO - Validated that VN ctest-vn-80171492 is not in any agent 2026-02-23 19:09:13,157 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80171492 info 2026-02-23 19:09:13,157 - INFO - Deleting VN ctest-vn-15820947 2026-02-23 19:09:13,287 - DEBUG - Response for deleting network () 2026-02-23 19:09:13,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac34d60-823c-48cc-9a38-012f234a51bb 2026-02-23 19:09:13,293 - DEBUG - Response Code: 404 2026-02-23 19:09:13,293 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-23 19:09:13,297 - DEBUG - Requesting: http://10.0.0.50:8082/domain/229293cc-54bb-4b63-ba2e-d9eae9097391 2026-02-23 19:09:13,353 - DEBUG - Requesting: http://10.0.0.50:8082/project/d12dee4a-9190-4c12-9100-2d560263ad78 2026-02-23 19:09:13,443 - INFO - Validated that VN ctest-vn-15820947 is not found in API Server 2026-02-23 19:09:13,456 - DEBUG - VN ctest-vn-15820947 is not present in Agent 10.0.0.50 2026-02-23 19:09:13,456 - INFO - Validated that VN ctest-vn-15820947 is not in any agent 2026-02-23 19:09:13,473 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15820947 info 2026-02-23 19:09:13,784 - DEBUG - No XMPP flaps were noticed during the test 2026-02-23 19:09:13,784 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-02-23 19:09:13,785 - INFO - -------------------------------------------------------------------------------- 2026-02-23 19:09:14,728 - INFO - Deleted project: ctest-TestBasicPolicy-64155924, ID : d12dee4a-9190-4c12-9100-2d560263ad78