2025-11-01 07:43:26,081 - INFO - Domain Default found not creating 2025-11-01 07:43:26,351 - INFO - Project ctest-TestRP-52064065 not found, creating it 2025-11-01 07:43:26,961 - INFO - Created Project:ctest-TestRP-52064065, ID : 6911bd99-206d-4733-a658-61d55ff90ed8 2025-11-01 07:43:28,917 - DEBUG - Services list from nova: [, , ] 2025-11-01 07:43:28,917 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4586-1']} 2025-11-01 07:43:28,921 - INFO - ================================================================================ 2025-11-01 07:43:28,921 - INFO - STARTING TEST : test_rp_interface 2025-11-01 07:43:28,921 - 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-11-01 07:43:29,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 07:43:29,223 - INFO - Initial checks done. Running the testcase now 2025-11-01 07:43:29,223 - INFO - 2025-11-01 07:43:29,937 - DEBUG - Response for create_network : {'network': {'id': 'ab46b8fc-3941-478b-80fd-3258eb184a2f', 'name': 'ctest-bgpaas_vn-58529891', 'tenant_id': '6911bd99206d4733a65861d55ff90ed8', 'project_id': '6911bd99206d4733a65861d55ff90ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-52064065', 'ctest-bgpaas_vn-58529891'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 07:43:30,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baef54fb-730e-4baa-9a7d-994cb5d6f039', 'name': '', 'tenant_id': '6911bd99206d4733a65861d55ff90ed8', 'network_id': 'ab46b8fc-3941-478b-80fd-3258eb184a2f', 'ip_version': 4, 'cidr': '169.190.11.128/26', 'allocation_pools': [{'start': '169.190.11.130', 'end': '169.190.11.190'}], 'gateway_ip': '169.190.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.190.11.130', 'tags': [], 'project_id': '6911bd99206d4733a65861d55ff90ed8'}} 2025-11-01 07:43:30,148 - INFO - Created VN ctest-bgpaas_vn-58529891 2025-11-01 07:43:30,203 - DEBUG - VN ctest-bgpaas_vn-58529891 UUID is ab46b8fc-3941-478b-80fd-3258eb184a2f 2025-11-01 07:43:30,735 - DEBUG - Response for create_network : {'network': {'id': '08379413-f001-4224-854b-97ea3b4deadc', 'name': 'ctest-bgpaas_vn-85871942', 'tenant_id': '6911bd99206d4733a65861d55ff90ed8', 'project_id': '6911bd99206d4733a65861d55ff90ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-52064065', 'ctest-bgpaas_vn-85871942'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 07:43:30,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '681ea670-13de-4016-96c2-fa8757c1106f', 'name': '', 'tenant_id': '6911bd99206d4733a65861d55ff90ed8', 'network_id': '08379413-f001-4224-854b-97ea3b4deadc', 'ip_version': 4, 'cidr': '167.96.123.64/26', 'allocation_pools': [{'start': '167.96.123.66', 'end': '167.96.123.126'}], 'gateway_ip': '167.96.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.96.123.66', 'tags': [], 'project_id': '6911bd99206d4733a65861d55ff90ed8'}} 2025-11-01 07:43:30,965 - INFO - Created VN ctest-bgpaas_vn-85871942 2025-11-01 07:43:31,021 - DEBUG - VN ctest-bgpaas_vn-85871942 UUID is 08379413-f001-4224-854b-97ea3b4deadc 2025-11-01 07:43:32,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4586-1) 2025-11-01 07:43:34,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4586-1) 2025-11-01 07:43:34,139 - INFO - Waiting for VM test_vm to be up.. 2025-11-01 07:43:34,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 07:43:39,336 - DEBUG - VM is in ACTIVE state now 2025-11-01 07:43:39,336 - INFO - VM name : test_vm 2025-11-01 07:43:39,428 - DEBUG - VM test_vm ID is dbe5cd3e-ece9-4d11-b5c8-7bc502b35319 2025-11-01 07:43:39,452 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4586-1 2025-11-01 07:43:39,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dbe5cd3e-ece9-4d11-b5c8-7bc502b35319 2025-11-01 07:43:39,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dbe5cd3e-ece9-4d11-b5c8-7bc502b35319 2025-11-01 07:43:39,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d54a5bd-62d4-494e-92f7-287e43534f4f 2025-11-01 07:43:43,140 - 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 1006ms') 2025-11-01 07:43:43,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-01 07:43:43,195 - DEBUG - Gateway for vn default-domain:ctest-TestRP-52064065:ctest-bgpaas_vn-58529891 is 169.190.11.129 and allocation pool is NOT set 2025-11-01 07:43:45,262 - 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=9.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.053/5.057/9.061/4.004 ms') 2025-11-01 07:43:45,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-01 07:43:45,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:43:45,419 - DEBUG - Waiting to SSH to VM test_vm, IP 169.190.11.131, Port 22 2025-11-01 07:43:45,485 - 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-11-01 07:43:45,588 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 07:43:50,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:43:50,589 - DEBUG - Waiting to SSH to VM test_vm, IP 169.190.11.131, Port 22 2025-11-01 07:43:50,763 - DEBUG - VM test_vm is ready for SSH connections 2025-11-01 07:43:50,763 - INFO - Waiting for VM test2_vm to be up.. 2025-11-01 07:43:50,887 - DEBUG - VM is in ACTIVE state now 2025-11-01 07:43:50,887 - INFO - VM name : test2_vm 2025-11-01 07:43:51,036 - DEBUG - VM test2_vm ID is f18cde43-d593-4b1e-a76e-ab8313264e4e 2025-11-01 07:43:51,036 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4586-1 2025-11-01 07:43:51,169 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f18cde43-d593-4b1e-a76e-ab8313264e4e 2025-11-01 07:43:51,188 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/08f4ff6e-16ad-464a-8436-a64449318a9d 2025-11-01 07:43:52,490 - 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=6.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.534 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.534/3.597/6.660/3.063 ms') 2025-11-01 07:43:52,490 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-01 07:43:52,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:43:52,655 - DEBUG - Waiting to SSH to VM test2_vm, IP 167.96.123.67, Port 22 2025-11-01 07:43:52,833 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-01 07:43:53,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:43:53,013 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52064065:ctest-bgpaas_vn-58529891:ctest-bgpaas_vn-58529891.inet.0 2025-11-01 07:43:53,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:43:53,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.96.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 07:43:53,027 - DEBUG - ping -s 56 -c 3 -W 1 167.96.123.67 2025-11-01 07:43:57,001 - DEBUG - PING 167.96.123.67 (167.96.123.67): 56 data bytes 64 bytes from 167.96.123.67: seq=0 ttl=63 time=4.437 ms 64 bytes from 167.96.123.67: seq=1 ttl=63 time=1.711 ms 64 bytes from 167.96.123.67: seq=2 ttl=63 time=1.200 ms --- 167.96.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.200/2.449/4.437 ms 2025-11-01 07:43:57,001 - INFO - Ping to IP 167.96.123.67 from VM test_vm passed 2025-11-01 07:43:57,110 - INFO - Deleting VM test2_vm 2025-11-01 07:43:57,198 - INFO - Deleting VM test_vm 2025-11-01 07:43:57,312 - INFO - Deleting VN ctest-bgpaas_vn-85871942 2025-11-01 07:43:57,364 - DEBUG - VN 08379413-f001-4224-854b-97ea3b4deadc still in use: Unable to complete operation on network 08379413-f001-4224-854b-97ea3b4deadc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aba14380-4380-4115-84bd-f297b52201b4'] 2025-11-01 07:43:57,365 - WARNING - Deleting VN ctest-bgpaas_vn-85871942 failed..Will retry 2025-11-01 07:43:59,535 - DEBUG - Response for deleting network () 2025-11-01 07:43:59,535 - INFO - Deleting VN ctest-bgpaas_vn-58529891 2025-11-01 07:43:59,663 - DEBUG - Response for deleting network () 2025-11-01 07:43:59,940 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 07:43:59,940 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-11-01 07:43:59,940 - INFO - -------------------------------------------------------------------------------- 2025-11-01 07:44:00,695 - INFO - Deleted project: ctest-TestRP-52064065, ID : 6911bd99-206d-4733-a658-61d55ff90ed8