2026-03-30 13:34:05,074 - INFO - Domain Default found not creating 2026-03-30 13:34:05,282 - INFO - Project ctest-TestBasicPolicy-01289985 not found, creating it 2026-03-30 13:34:05,799 - INFO - Created Project:ctest-TestBasicPolicy-01289985, ID : 001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:07,410 - INFO - ================================================================================ 2026-03-30 13:34:07,410 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-30 13:34:07,410 - 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-03-30 13:34:07,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0'}} with 2026-03-30 13:34:07,684 - INFO - Initial checks done. Running the testcase now 2026-03-30 13:34:07,684 - INFO - 2026-03-30 13:34:08,302 - DEBUG - Response for create_network : {'network': {'id': 'bc687a3f-e78c-4749-a573-abbfe29a731f', 'name': 'ctest-vn-68581990', 'tenant_id': '001a2f8bacd241d9a3080b75ea11478f', 'project_id': '001a2f8bacd241d9a3080b75ea11478f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-vn-68581990'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:34:08,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a332f940-5617-4e6b-ab56-cbf8b42b3845', 'name': '', 'tenant_id': '001a2f8bacd241d9a3080b75ea11478f', 'network_id': 'bc687a3f-e78c-4749-a573-abbfe29a731f', 'ip_version': 4, 'cidr': '48.251.112.128/26', 'allocation_pools': [{'start': '48.251.112.130', 'end': '48.251.112.190'}], 'gateway_ip': '48.251.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.251.112.130', 'tags': [], 'project_id': '001a2f8bacd241d9a3080b75ea11478f'}} 2026-03-30 13:34:08,525 - INFO - Created VN ctest-vn-68581990 2026-03-30 13:34:08,578 - DEBUG - VN ctest-vn-68581990 UUID is bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:08,917 - DEBUG - Response for create_network : {'network': {'id': '58361bfa-c672-41af-9621-79b3999f4563', 'name': 'ctest-vn-89074803', 'tenant_id': '001a2f8bacd241d9a3080b75ea11478f', 'project_id': '001a2f8bacd241d9a3080b75ea11478f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-vn-89074803'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:34:09,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f478ad6-563e-4058-8c7b-13ba7cb210eb', 'name': '', 'tenant_id': '001a2f8bacd241d9a3080b75ea11478f', 'network_id': '58361bfa-c672-41af-9621-79b3999f4563', 'ip_version': 4, 'cidr': '150.62.122.192/26', 'allocation_pools': [{'start': '150.62.122.194', 'end': '150.62.122.254'}], 'gateway_ip': '150.62.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.62.122.194', 'tags': [], 'project_id': '001a2f8bacd241d9a3080b75ea11478f'}} 2026-03-30 13:34:09,091 - INFO - Created VN ctest-vn-89074803 2026-03-30 13:34:09,146 - DEBUG - VN ctest-vn-89074803 UUID is 58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:09,263 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990, 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-01289985:ctest-vn-89074803, 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-03-30 13:34:09,577 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc687a3f-e78c-4749-a573-abbfe29a731f', 'name': 'ctest-vn-68581990', 'tenant_id': '001a2f8bacd241d9a3080b75ea11478f', 'project_id': '001a2f8bacd241d9a3080b75ea11478f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a332f940-5617-4e6b-ab56-cbf8b42b3845'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-vn-68581990'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-policy-allow-all-27580210']], 'subnet_ipam': [{'subnet_cidr': '48.251.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:34:09,820 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58361bfa-c672-41af-9621-79b3999f4563', 'name': 'ctest-vn-89074803', 'tenant_id': '001a2f8bacd241d9a3080b75ea11478f', 'project_id': '001a2f8bacd241d9a3080b75ea11478f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f478ad6-563e-4058-8c7b-13ba7cb210eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-vn-89074803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-policy-allow-all-27580210']], 'subnet_ipam': [{'subnet_cidr': '150.62.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:34:09,978 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:10,291 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:10,326 - DEBUG - Requesting: http://10.0.0.41:8082/domain/60f5938c-0bef-4b1b-b6de-9bdb7ee5b82f 2026-03-30 13:34:10,340 - DEBUG - Requesting: http://10.0.0.41:8082/project/001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:10,418 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:10,428 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:10,437 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/390880f5-4de9-40a1-b5c0-6577639429c0 2026-03-30 13:34:10,445 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/390880f5-4de9-40a1-b5c0-6577639429c0 2026-03-30 13:34:10,452 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c9bf4626-79a5-416f-b6a8-e0866c96944a 2026-03-30 13:34:10,459 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-30 13:34:10,459 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:10,468 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/390880f5-4de9-40a1-b5c0-6577639429c0 2026-03-30 13:34:10,484 - INFO - Verified VN network id 12 for VN bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:10,484 - INFO - Verifications in API Server for VN ctest-vn-68581990 passed 2026-03-30 13:34:10,484 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:10,493 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/390880f5-4de9-40a1-b5c0-6577639429c0 2026-03-30 13:34:10,499 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/390880f5-4de9-40a1-b5c0-6577639429c0 2026-03-30 13:34:10,506 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c9bf4626-79a5-416f-b6a8-e0866c96944a 2026-03-30 13:34:10,519 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01289985', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13576235491594618697', 'uuid-lslong': '11922061479208710943'}, 'enable': 'true', 'created': '2026-03-30T13:34:08', 'last-modified': '2026-03-30T13:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968904'} 2026-03-30 13:34:10,525 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-30 13:34:10,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68581990 passed 2026-03-30 13:34:10,525 - DEBUG - ====Verifying policy data for ctest-vn-68581990 in API_Server ====== 2026-03-30 13:34:10,525 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:10,532 - DEBUG - Requesting: http://10.0.0.41:8082/domain/60f5938c-0bef-4b1b-b6de-9bdb7ee5b82f 2026-03-30 13:34:10,543 - DEBUG - Requesting: http://10.0.0.41:8082/project/001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:10,613 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/bc687a3f-e78c-4749-a573-abbfe29a731f 2026-03-30 13:34:10,622 - DEBUG - ==>Verifying data for policy with id: fd16454f-0b18-48f1-858a-a5ccf5453f23, fqn: ['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-policy-allow-all-27580210'] 2026-03-30 13:34:10,622 - INFO - VN ctest-vn-68581990 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 13:34:10,622 - DEBUG - Verifying the vn in opserver 2026-03-30 13:34:10,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990 virtual network link through opserver 10.0.0.41 2026-03-30 13:34:10,622 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-30 13:34:10,922 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-30 13:34:10,996 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990?flat'} 2026-03-30 13:34:10,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990 is found in opserver 2026-03-30 13:34:11,007 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 13:34:11,012 - DEBUG - VRF ids for VN ctest-vn-68581990: {} 2026-03-30 13:34:11,012 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:11,018 - DEBUG - Requesting: http://10.0.0.41:8082/domain/60f5938c-0bef-4b1b-b6de-9bdb7ee5b82f 2026-03-30 13:34:11,029 - DEBUG - Requesting: http://10.0.0.41:8082/project/001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:11,099 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:11,113 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:11,127 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cc9c450e-43cf-4ce8-b6c4-b16520504e1d 2026-03-30 13:34:11,137 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cc9c450e-43cf-4ce8-b6c4-b16520504e1d 2026-03-30 13:34:11,145 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/4db3d00d-4574-4023-becf-7779522ca496 2026-03-30 13:34:11,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 13:34:11,153 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:11,163 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cc9c450e-43cf-4ce8-b6c4-b16520504e1d 2026-03-30 13:34:11,177 - INFO - Verified VN network id 13 for VN 58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:11,177 - INFO - Verifications in API Server for VN ctest-vn-89074803 passed 2026-03-30 13:34:11,178 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:11,187 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cc9c450e-43cf-4ce8-b6c4-b16520504e1d 2026-03-30 13:34:11,194 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cc9c450e-43cf-4ce8-b6c4-b16520504e1d 2026-03-30 13:34:11,202 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/4db3d00d-4574-4023-becf-7779522ca496 2026-03-30 13:34:11,216 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-89074803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01289985', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6356298687965184431', 'uuid-lslong': '10818061592204100963'}, 'enable': 'true', 'created': '2026-03-30T13:34:08', 'last-modified': '2026-03-30T13:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.420690'} 2026-03-30 13:34:11,221 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 13:34:11,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89074803 passed 2026-03-30 13:34:11,222 - DEBUG - ====Verifying policy data for ctest-vn-89074803 in API_Server ====== 2026-03-30 13:34:11,222 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:11,227 - DEBUG - Requesting: http://10.0.0.41:8082/domain/60f5938c-0bef-4b1b-b6de-9bdb7ee5b82f 2026-03-30 13:34:11,237 - DEBUG - Requesting: http://10.0.0.41:8082/project/001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:11,311 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/58361bfa-c672-41af-9621-79b3999f4563 2026-03-30 13:34:11,320 - DEBUG - ==>Verifying data for policy with id: fd16454f-0b18-48f1-858a-a5ccf5453f23, fqn: ['default-domain', 'ctest-TestBasicPolicy-01289985', 'ctest-policy-allow-all-27580210'] 2026-03-30 13:34:11,320 - INFO - VN ctest-vn-89074803 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 13:34:11,320 - DEBUG - Verifying the vn in opserver 2026-03-30 13:34:11,320 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-89074803 virtual network link through opserver 10.0.0.41 2026-03-30 13:34:11,321 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-30 13:34:11,331 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-89074803', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-89074803?flat'} 2026-03-30 13:34:11,331 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-89074803 is found in opserver 2026-03-30 13:34:11,340 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 13:34:11,344 - DEBUG - VRF ids for VN ctest-vn-89074803: {} 2026-03-30 13:34:11,402 - DEBUG - Services list from nova: [, , ] 2026-03-30 13:34:12,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5568-1) 2026-03-30 13:34:13,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5568-1) 2026-03-30 13:34:13,676 - INFO - Waiting for VM ctest-TestBasicPolicy-01289985-79216571 to be up.. 2026-03-30 13:34:13,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 13:34:18,938 - DEBUG - VM is in ACTIVE state now 2026-03-30 13:34:18,938 - INFO - VM name : ctest-TestBasicPolicy-01289985-79216571 2026-03-30 13:34:19,195 - DEBUG - VM ctest-TestBasicPolicy-01289985-79216571 ID is 73fcf351-c9fe-4e53-941e-55b39d7d7b79 2026-03-30 13:34:19,230 - DEBUG - VM ctest-TestBasicPolicy-01289985-79216571 launched on Node cn-jenkins-deploy-platform-ansible-os-5568-1 2026-03-30 13:34:19,430 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/73fcf351-c9fe-4e53-941e-55b39d7d7b79 2026-03-30 13:34:19,450 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/0360a829-134c-4fd2-9986-020666e488c9 2026-03-30 13:34:22,774 - 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 1017ms') 2026-03-30 13:34:22,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01289985-79216571 failed! 2026-03-30 13:34:22,834 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01289985:ctest-vn-68581990 is 48.251.112.129 and allocation pool is NOT set 2026-03-30 13:34:24,902 - 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=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.807 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.807/2.141/3.476/1.334 ms') 2026-03-30 13:34:24,902 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01289985-79216571 passed 2026-03-30 13:34:25,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:34:25,071 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01289985-79216571, IP 48.251.112.131, Port 22 2026-03-30 13:34:25,138 - 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-03-30 13:34:25,225 - DEBUG - VM ctest-TestBasicPolicy-01289985-79216571 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-30 13:34:30,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:34:30,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01289985-79216571, IP 48.251.112.131, Port 22 2026-03-30 13:34:30,383 - DEBUG - VM ctest-TestBasicPolicy-01289985-79216571 is ready for SSH connections 2026-03-30 13:34:30,383 - INFO - Waiting for VM ctest-TestBasicPolicy-01289985-29583703 to be up.. 2026-03-30 13:34:30,463 - DEBUG - VM is in ACTIVE state now 2026-03-30 13:34:30,464 - INFO - VM name : ctest-TestBasicPolicy-01289985-29583703 2026-03-30 13:34:30,552 - DEBUG - VM ctest-TestBasicPolicy-01289985-29583703 ID is 5a5ed93d-d5e0-4d2d-9f57-9438de499c78 2026-03-30 13:34:30,552 - DEBUG - VM ctest-TestBasicPolicy-01289985-29583703 launched on Node cn-jenkins-deploy-platform-ansible-os-5568-1 2026-03-30 13:34:30,632 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5a5ed93d-d5e0-4d2d-9f57-9438de499c78 2026-03-30 13:34:30,640 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/51d0fca6-33a0-4e97-9ef0-f8ac6c5ba9f7 2026-03-30 13:34:31,884 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.388/1.884/3.380/1.496 ms') 2026-03-30 13:34:31,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01289985-29583703 passed 2026-03-30 13:34:32,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:34:32,039 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01289985-29583703, IP 150.62.122.195, Port 22 2026-03-30 13:34:32,195 - DEBUG - VM ctest-TestBasicPolicy-01289985-29583703 is ready for SSH connections 2026-03-30 13:34:32,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:34:32,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.62.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-30 13:34:32,195 - DEBUG - ping -s 56 -c 3 -W 1 150.62.122.195 2026-03-30 13:34:35,962 - DEBUG - PING 150.62.122.195 (150.62.122.195): 56 data bytes 64 bytes from 150.62.122.195: seq=0 ttl=63 time=3.670 ms 64 bytes from 150.62.122.195: seq=1 ttl=63 time=1.517 ms 64 bytes from 150.62.122.195: seq=2 ttl=63 time=1.231 ms --- 150.62.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.231/2.139/3.670 ms 2026-03-30 13:34:35,962 - INFO - Ping to IP 150.62.122.195 from VM ctest-TestBasicPolicy-01289985-79216571 passed 2026-03-30 13:34:36,146 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd16454f-0b18-48f1-858a-a5ccf5453f23", "href": "http://10.0.0.41:8082/network-policy/fd16454f-0b18-48f1-858a-a5ccf5453f23"}} 2026-03-30 13:34:36,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:34:36,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.62.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-30 13:34:36,147 - DEBUG - ping -s 56 -c 3 -W 1 150.62.122.195 2026-03-30 13:34:39,374 - DEBUG - PING 150.62.122.195 (150.62.122.195): 56 data bytes --- 150.62.122.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-30 13:34:39,374 - WARNING - Ping to IP 150.62.122.195 from VM ctest-TestBasicPolicy-01289985-79216571 failed 2026-03-30 13:34:39,374 - INFO - Deleting VM ctest-TestBasicPolicy-01289985-29583703 2026-03-30 13:34:39,470 - INFO - Deleting VM ctest-TestBasicPolicy-01289985-79216571 2026-03-30 13:34:39,923 - INFO - Deleted policy ctest-policy-allow-all-27580210 2026-03-30 13:34:39,923 - INFO - Deleting VN ctest-vn-89074803 2026-03-30 13:34:39,972 - DEBUG - VN 58361bfa-c672-41af-9621-79b3999f4563 still in use: Unable to complete operation on network 58361bfa-c672-41af-9621-79b3999f4563. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58849004-d559-446f-9961-c54120faad12'] 2026-03-30 13:34:39,972 - WARNING - Deleting VN ctest-vn-89074803 failed..Will retry 2026-03-30 13:34:42,094 - DEBUG - Response for deleting network () 2026-03-30 13:34:42,094 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cc9c450e-43cf-4ce8-b6c4-b16520504e1d 2026-03-30 13:34:42,100 - DEBUG - Response Code: 404 2026-03-30 13:34:42,100 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:42,106 - DEBUG - Requesting: http://10.0.0.41:8082/domain/60f5938c-0bef-4b1b-b6de-9bdb7ee5b82f 2026-03-30 13:34:42,160 - DEBUG - Requesting: http://10.0.0.41:8082/project/001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:42,231 - INFO - Validated that VN ctest-vn-89074803 is not found in API Server 2026-03-30 13:34:42,243 - DEBUG - VN ctest-vn-89074803 is not present in Agent 10.0.0.41 2026-03-30 13:34:42,243 - INFO - Validated that VN ctest-vn-89074803 is not in any agent 2026-03-30 13:34:42,259 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89074803 info 2026-03-30 13:34:42,259 - INFO - Deleting VN ctest-vn-68581990 2026-03-30 13:34:42,379 - DEBUG - Response for deleting network () 2026-03-30 13:34:42,379 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/390880f5-4de9-40a1-b5c0-6577639429c0 2026-03-30 13:34:42,387 - DEBUG - Response Code: 404 2026-03-30 13:34:42,387 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-30 13:34:42,395 - DEBUG - Requesting: http://10.0.0.41:8082/domain/60f5938c-0bef-4b1b-b6de-9bdb7ee5b82f 2026-03-30 13:34:42,447 - DEBUG - Requesting: http://10.0.0.41:8082/project/001a2f8b-acd2-41d9-a308-0b75ea11478f 2026-03-30 13:34:42,516 - INFO - Validated that VN ctest-vn-68581990 is not found in API Server 2026-03-30 13:34:42,529 - DEBUG - VN ctest-vn-68581990 is not present in Agent 10.0.0.41 2026-03-30 13:34:42,529 - INFO - Validated that VN ctest-vn-68581990 is not in any agent 2026-03-30 13:34:42,548 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68581990 info 2026-03-30 13:34:42,808 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 13:34:42,808 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-03-30 13:34:42,809 - INFO - -------------------------------------------------------------------------------- 2026-03-30 13:34:43,534 - INFO - Deleted project: ctest-TestBasicPolicy-01289985, ID : 001a2f8b-acd2-41d9-a308-0b75ea11478f