2025-10-21 17:51:22,910 - INFO - Domain Default found not creating 2025-10-21 17:51:23,264 - INFO - Project ctest-TestRP-73597154 not found, creating it 2025-10-21 17:51:23,999 - INFO - Created Project:ctest-TestRP-73597154, ID : f44c313c-f245-479a-93bb-7d3377d6e02f 2025-10-21 17:51:26,263 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:51:26,263 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4402-1']} 2025-10-21 17:51:26,268 - INFO - ================================================================================ 2025-10-21 17:51:26,268 - INFO - STARTING TEST : test_rp_interface 2025-10-21 17:51:26,268 - INFO - TEST DESCRIPTION : 1. Create a routing policy with interface match. 2. Launch VMs. 3. Attach policy to VN and confirm if policy takes hold. 2025-10-21 17:51:26,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-10-21 17:51:26,602 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:51:26,602 - INFO - 2025-10-21 17:51:27,365 - DEBUG - Response for create_network : {'network': {'id': 'ca933174-9940-4daa-8209-9a77a1e38761', 'name': 'ctest-bgpaas_vn-09421313', 'tenant_id': 'f44c313cf245479a93bb7d3377d6e02f', 'project_id': 'f44c313cf245479a93bb7d3377d6e02f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-73597154', 'ctest-bgpaas_vn-09421313'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:51:27,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '145c202e-ff6b-445c-93ec-c8f8a694dbc5', 'name': '', 'tenant_id': 'f44c313cf245479a93bb7d3377d6e02f', 'network_id': 'ca933174-9940-4daa-8209-9a77a1e38761', 'ip_version': 4, 'cidr': '162.218.18.128/26', 'allocation_pools': [{'start': '162.218.18.130', 'end': '162.218.18.190'}], 'gateway_ip': '162.218.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.218.18.130', 'tags': [], 'project_id': 'f44c313cf245479a93bb7d3377d6e02f'}} 2025-10-21 17:51:27,610 - INFO - Created VN ctest-bgpaas_vn-09421313 2025-10-21 17:51:27,667 - DEBUG - VN ctest-bgpaas_vn-09421313 UUID is ca933174-9940-4daa-8209-9a77a1e38761 2025-10-21 17:51:28,271 - DEBUG - Response for create_network : {'network': {'id': '79a8a24d-6ea5-49e2-a3ec-695a52baace2', 'name': 'ctest-bgpaas_vn-03275527', 'tenant_id': 'f44c313cf245479a93bb7d3377d6e02f', 'project_id': 'f44c313cf245479a93bb7d3377d6e02f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-73597154', 'ctest-bgpaas_vn-03275527'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:51:28,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b307fcb4-1865-454f-b2f9-a2f5b42ee2ff', 'name': '', 'tenant_id': 'f44c313cf245479a93bb7d3377d6e02f', 'network_id': '79a8a24d-6ea5-49e2-a3ec-695a52baace2', 'ip_version': 4, 'cidr': '150.187.14.0/26', 'allocation_pools': [{'start': '150.187.14.2', 'end': '150.187.14.62'}], 'gateway_ip': '150.187.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.187.14.2', 'tags': [], 'project_id': 'f44c313cf245479a93bb7d3377d6e02f'}} 2025-10-21 17:51:28,551 - INFO - Created VN ctest-bgpaas_vn-03275527 2025-10-21 17:51:28,607 - DEBUG - VN ctest-bgpaas_vn-03275527 UUID is 79a8a24d-6ea5-49e2-a3ec-695a52baace2 2025-10-21 17:51:30,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1) 2025-10-21 17:51:32,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1) 2025-10-21 17:51:32,131 - INFO - Waiting for VM test_vm to be up.. 2025-10-21 17:51:32,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:51:37,366 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:51:37,366 - INFO - VM name : test_vm 2025-10-21 17:51:37,511 - DEBUG - VM test_vm ID is c60e4634-144b-4c01-9668-fc336dc9609c 2025-10-21 17:51:37,546 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1 2025-10-21 17:51:37,791 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c60e4634-144b-4c01-9668-fc336dc9609c 2025-10-21 17:51:38,125 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c60e4634-144b-4c01-9668-fc336dc9609c 2025-10-21 17:51:38,196 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/0ba901dd-6ba1-48d0-990b-f7bb1280685d 2025-10-21 17:51:41,528 - 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 1008ms') 2025-10-21 17:51:41,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-21 17:51:41,591 - DEBUG - Gateway for vn default-domain:ctest-TestRP-73597154:ctest-bgpaas_vn-09421313 is 162.218.18.129 and allocation pool is NOT set 2025-10-21 17:51:43,665 - 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=13.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 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 = 1.695/7.445/13.196/5.750 ms') 2025-10-21 17:51:43,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-21 17:51:43,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:43,827 - DEBUG - Waiting to SSH to VM test_vm, IP 162.218.18.131, Port 22 2025-10-21 17:51:43,905 - 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': ''} 2025-10-21 17:51:44,048 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 17:51:49,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:49,049 - DEBUG - Waiting to SSH to VM test_vm, IP 162.218.18.131, Port 22 2025-10-21 17:51:49,233 - DEBUG - VM test_vm is ready for SSH connections 2025-10-21 17:51:49,233 - INFO - Waiting for VM test2_vm to be up.. 2025-10-21 17:51:49,399 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:51:49,400 - INFO - VM name : test2_vm 2025-10-21 17:51:49,522 - DEBUG - VM test2_vm ID is 45ae7698-06c9-4a54-8c0f-67b8a15bd555 2025-10-21 17:51:49,522 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1 2025-10-21 17:51:49,617 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/45ae7698-06c9-4a54-8c0f-67b8a15bd555 2025-10-21 17:51:49,629 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/eb14b2c4-1655-42a0-8b31-b18e38317d95 2025-10-21 17:51:50,948 - 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=9.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.857 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.857/4.939/9.021/4.082 ms') 2025-10-21 17:51:50,949 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-21 17:51:51,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:51,140 - DEBUG - Waiting to SSH to VM test2_vm, IP 150.187.14.3, Port 22 2025-10-21 17:51:51,333 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-21 17:51:51,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:51,572 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-73597154:ctest-bgpaas_vn-09421313:ctest-bgpaas_vn-09421313.inet.0 2025-10-21 17:51:51,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:51,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.187.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-21 17:51:51,593 - DEBUG - ping -s 56 -c 3 -W 1 150.187.14.3 2025-10-21 17:51:55,795 - DEBUG - PING 150.187.14.3 (150.187.14.3): 56 data bytes 64 bytes from 150.187.14.3: seq=0 ttl=63 time=3.813 ms 64 bytes from 150.187.14.3: seq=1 ttl=63 time=2.576 ms 64 bytes from 150.187.14.3: seq=2 ttl=63 time=1.998 ms --- 150.187.14.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.998/2.795/3.813 ms 2025-10-21 17:51:55,795 - INFO - Ping to IP 150.187.14.3 from VM test_vm passed 2025-10-21 17:51:55,939 - INFO - Deleting VM test2_vm 2025-10-21 17:51:56,021 - INFO - Deleting VM test_vm 2025-10-21 17:51:56,106 - INFO - Deleting VN ctest-bgpaas_vn-03275527 2025-10-21 17:51:56,167 - DEBUG - VN 79a8a24d-6ea5-49e2-a3ec-695a52baace2 still in use: Unable to complete operation on network 79a8a24d-6ea5-49e2-a3ec-695a52baace2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-584bbafe-d562-4cd9-9fa6-297ec2bf51cb'] 2025-10-21 17:51:56,168 - WARNING - Deleting VN ctest-bgpaas_vn-03275527 failed..Will retry 2025-10-21 17:51:58,399 - DEBUG - Response for deleting network () 2025-10-21 17:51:58,399 - INFO - Deleting VN ctest-bgpaas_vn-09421313 2025-10-21 17:51:58,538 - DEBUG - Response for deleting network () 2025-10-21 17:51:58,822 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:51:58,822 - INFO - END TEST : test_rp_interface : PASSED[0:00:32]
2025-10-21 17:51:58,823 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:51:59,666 - INFO - Deleted project: ctest-TestRP-73597154, ID : f44c313c-f245-479a-93bb-7d3377d6e02f