2025-09-08 02:12:54,259 - INFO - Domain Default found not creating 2025-09-08 02:12:54,409 - INFO - Project ctest-TestRP-90125537 not found, creating it 2025-09-08 02:12:54,891 - INFO - Created Project:ctest-TestRP-90125537, ID : 739314fc-2cac-4d10-96ff-4be4882d4f7b 2025-09-08 02:12:56,356 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:12:56,356 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4038-1']} 2025-09-08 02:12:56,359 - INFO - ================================================================================ 2025-09-08 02:12:56,359 - INFO - STARTING TEST : test_rp_interface 2025-09-08 02:12:56,359 - 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-09-08 02:12:56,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 02:12:56,612 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:12:56,612 - INFO - 2025-09-08 02:12:57,202 - DEBUG - Response for create_network : {'network': {'id': 'cef5907c-1895-428c-93dc-bb6929115934', 'name': 'ctest-bgpaas_vn-41996908', 'tenant_id': '739314fc2cac4d1096ff4be4882d4f7b', 'project_id': '739314fc2cac4d1096ff4be4882d4f7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-90125537', 'ctest-bgpaas_vn-41996908'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:57,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '088c658d-3fb5-419f-9e7f-55a81dd84d12', 'name': '', 'tenant_id': '739314fc2cac4d1096ff4be4882d4f7b', 'network_id': 'cef5907c-1895-428c-93dc-bb6929115934', 'ip_version': 4, 'cidr': '89.124.52.128/26', 'allocation_pools': [{'start': '89.124.52.130', 'end': '89.124.52.190'}], 'gateway_ip': '89.124.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.124.52.130', 'tags': [], 'project_id': '739314fc2cac4d1096ff4be4882d4f7b'}} 2025-09-08 02:12:57,415 - INFO - Created VN ctest-bgpaas_vn-41996908 2025-09-08 02:12:57,466 - DEBUG - VN ctest-bgpaas_vn-41996908 UUID is cef5907c-1895-428c-93dc-bb6929115934 2025-09-08 02:12:57,962 - DEBUG - Response for create_network : {'network': {'id': '45f98ef4-eeb2-488c-ab27-31412038c439', 'name': 'ctest-bgpaas_vn-23850956', 'tenant_id': '739314fc2cac4d1096ff4be4882d4f7b', 'project_id': '739314fc2cac4d1096ff4be4882d4f7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-90125537', 'ctest-bgpaas_vn-23850956'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:58,142 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa590ec1-9768-43b2-8e53-dbfd4e1d27bf', 'name': '', 'tenant_id': '739314fc2cac4d1096ff4be4882d4f7b', 'network_id': '45f98ef4-eeb2-488c-ab27-31412038c439', 'ip_version': 4, 'cidr': '118.111.189.192/26', 'allocation_pools': [{'start': '118.111.189.194', 'end': '118.111.189.254'}], 'gateway_ip': '118.111.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.111.189.194', 'tags': [], 'project_id': '739314fc2cac4d1096ff4be4882d4f7b'}} 2025-09-08 02:12:58,158 - INFO - Created VN ctest-bgpaas_vn-23850956 2025-09-08 02:12:58,210 - DEBUG - VN ctest-bgpaas_vn-23850956 UUID is 45f98ef4-eeb2-488c-ab27-31412038c439 2025-09-08 02:12:59,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:13:00,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:13:00,699 - INFO - Waiting for VM test_vm to be up.. 2025-09-08 02:13:00,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:13:05,848 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:13:05,848 - INFO - VM name : test_vm 2025-09-08 02:13:05,923 - DEBUG - VM test_vm ID is 71659b05-0339-4cd6-9b82-749c3d7fb8ac 2025-09-08 02:13:05,943 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:13:06,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71659b05-0339-4cd6-9b82-749c3d7fb8ac 2025-09-08 02:13:06,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71659b05-0339-4cd6-9b82-749c3d7fb8ac 2025-09-08 02:13:06,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/45d53df8-b069-4ed3-9cfd-c10aa7aaf9d0 2025-09-08 02:13:09,629 - 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 1027ms') 2025-09-08 02:13:09,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-08 02:13:09,690 - DEBUG - Gateway for vn default-domain:ctest-TestRP-90125537:ctest-bgpaas_vn-41996908 is 89.124.52.129 and allocation pool is NOT set 2025-09-08 02:13:11,752 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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 = 0.417/3.577/6.738/3.160 ms') 2025-09-08 02:13:11,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-08 02:13:11,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:13:11,898 - DEBUG - Waiting to SSH to VM test_vm, IP 89.124.52.131, Port 22 2025-09-08 02:13:12,054 - DEBUG - VM test_vm is ready for SSH connections 2025-09-08 02:13:12,054 - INFO - Waiting for VM test2_vm to be up.. 2025-09-08 02:13:12,122 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:13:12,122 - INFO - VM name : test2_vm 2025-09-08 02:13:12,277 - DEBUG - VM test2_vm ID is 4db01086-83d2-430c-9f12-da6975ef2d45 2025-09-08 02:13:12,277 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:13:12,343 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4db01086-83d2-430c-9f12-da6975ef2d45 2025-09-08 02:13:12,352 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e6d2ae5-1adb-40ea-a60e-565bb9e3e03d 2025-09-08 02:13:13,584 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.747 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.747/1.898/3.050/1.151 ms') 2025-09-08 02:13:13,584 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-08 02:13:13,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:13:13,734 - DEBUG - Waiting to SSH to VM test2_vm, IP 118.111.189.195, Port 22 2025-09-08 02:13:13,800 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-08 02:13:13,867 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-08 02:13:18,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:13:18,867 - DEBUG - Waiting to SSH to VM test2_vm, IP 118.111.189.195, Port 22 2025-09-08 02:13:19,026 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-08 02:13:19,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:13:19,179 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-90125537:ctest-bgpaas_vn-41996908:ctest-bgpaas_vn-41996908.inet.0 2025-09-08 02:13:19,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:13:19,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.111.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:13:19,197 - DEBUG - ping -s 56 -c 3 -W 1 118.111.189.195 2025-09-08 02:13:23,150 - DEBUG - PING 118.111.189.195 (118.111.189.195): 56 data bytes 64 bytes from 118.111.189.195: seq=0 ttl=63 time=3.891 ms 64 bytes from 118.111.189.195: seq=1 ttl=63 time=0.925 ms 64 bytes from 118.111.189.195: seq=2 ttl=63 time=0.984 ms --- 118.111.189.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.933/3.891 ms 2025-09-08 02:13:23,150 - INFO - Ping to IP 118.111.189.195 from VM test_vm passed 2025-09-08 02:13:23,199 - INFO - Deleting VM test2_vm 2025-09-08 02:13:23,266 - INFO - Deleting VM test_vm 2025-09-08 02:13:23,347 - INFO - Deleting VN ctest-bgpaas_vn-23850956 2025-09-08 02:13:23,382 - DEBUG - VN 45f98ef4-eeb2-488c-ab27-31412038c439 still in use: Unable to complete operation on network 45f98ef4-eeb2-488c-ab27-31412038c439. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b95153f8-8a8a-4c0d-bfe9-759b26a08b50'] 2025-09-08 02:13:23,384 - WARNING - Deleting VN ctest-bgpaas_vn-23850956 failed..Will retry 2025-09-08 02:13:25,474 - DEBUG - Response for deleting network () 2025-09-08 02:13:25,475 - INFO - Deleting VN ctest-bgpaas_vn-41996908 2025-09-08 02:13:25,575 - DEBUG - Response for deleting network () 2025-09-08 02:13:25,827 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:13:25,827 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-09-08 02:13:25,827 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:13:26,481 - INFO - Deleted project: ctest-TestRP-90125537, ID : 739314fc-2cac-4d10-96ff-4be4882d4f7b