2025-10-23 21:00:29,141 - INFO - Domain Default found not creating 2025-10-23 21:00:29,302 - INFO - Project ctest-TestRP-71896020 not found, creating it 2025-10-23 21:00:29,769 - INFO - Created Project:ctest-TestRP-71896020, ID : c55aa505-616d-4f60-8c80-bf50e7288a83 2025-10-23 21:00:31,442 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:00:31,443 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4467-1']} 2025-10-23 21:00:31,446 - INFO - ================================================================================ 2025-10-23 21:00:31,446 - INFO - STARTING TEST : test_rp_interface 2025-10-23 21:00:31,446 - 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-23 21:00:31,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.17': '0'}} with 2025-10-23 21:00:31,721 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:00:31,721 - INFO - 2025-10-23 21:00:32,328 - DEBUG - Response for create_network : {'network': {'id': '52b7d55a-28ca-4321-ae1e-59241f0d36b2', 'name': 'ctest-bgpaas_vn-08756759', 'tenant_id': 'c55aa505616d4f608c80bf50e7288a83', 'project_id': 'c55aa505616d4f608c80bf50e7288a83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-71896020', 'ctest-bgpaas_vn-08756759'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:00:32,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dece3952-be6c-4f9f-b95a-f9df9aa7459b', 'name': '', 'tenant_id': 'c55aa505616d4f608c80bf50e7288a83', 'network_id': '52b7d55a-28ca-4321-ae1e-59241f0d36b2', 'ip_version': 4, 'cidr': '122.211.68.64/26', 'allocation_pools': [{'start': '122.211.68.66', 'end': '122.211.68.126'}], 'gateway_ip': '122.211.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.211.68.66', 'tags': [], 'project_id': 'c55aa505616d4f608c80bf50e7288a83'}} 2025-10-23 21:00:32,551 - INFO - Created VN ctest-bgpaas_vn-08756759 2025-10-23 21:00:32,602 - DEBUG - VN ctest-bgpaas_vn-08756759 UUID is 52b7d55a-28ca-4321-ae1e-59241f0d36b2 2025-10-23 21:00:33,086 - DEBUG - Response for create_network : {'network': {'id': '15391aa9-b3a9-45b7-aa04-8892a50467a4', 'name': 'ctest-bgpaas_vn-68656241', 'tenant_id': 'c55aa505616d4f608c80bf50e7288a83', 'project_id': 'c55aa505616d4f608c80bf50e7288a83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-71896020', 'ctest-bgpaas_vn-68656241'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:00:33,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '646ce37c-72dc-4f89-a0c1-76401f9f0ab9', 'name': '', 'tenant_id': 'c55aa505616d4f608c80bf50e7288a83', 'network_id': '15391aa9-b3a9-45b7-aa04-8892a50467a4', 'ip_version': 4, 'cidr': '158.43.199.64/26', 'allocation_pools': [{'start': '158.43.199.66', 'end': '158.43.199.126'}], 'gateway_ip': '158.43.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.43.199.66', 'tags': [], 'project_id': 'c55aa505616d4f608c80bf50e7288a83'}} 2025-10-23 21:00:33,285 - INFO - Created VN ctest-bgpaas_vn-68656241 2025-10-23 21:00:33,338 - DEBUG - VN ctest-bgpaas_vn-68656241 UUID is 15391aa9-b3a9-45b7-aa04-8892a50467a4 2025-10-23 21:00:34,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4467-1) 2025-10-23 21:00:36,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4467-1) 2025-10-23 21:00:36,009 - INFO - Waiting for VM test_vm to be up.. 2025-10-23 21:00:36,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:00:41,190 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:00:41,190 - INFO - VM name : test_vm 2025-10-23 21:00:41,277 - DEBUG - VM test_vm ID is 46026e7d-8f01-4f2f-9a81-4dfa50459834 2025-10-23 21:00:41,300 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4467-1 2025-10-23 21:00:41,392 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/46026e7d-8f01-4f2f-9a81-4dfa50459834 2025-10-23 21:00:41,727 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/46026e7d-8f01-4f2f-9a81-4dfa50459834 2025-10-23 21:00:41,761 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/2e97562a-97f0-4881-a3cf-8652d91e89d7 2025-10-23 21:00:45,018 - 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 1026ms') 2025-10-23 21:00:45,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-23 21:00:45,078 - DEBUG - Gateway for vn default-domain:ctest-TestRP-71896020:ctest-bgpaas_vn-08756759 is 122.211.68.65 and allocation pool is NOT set 2025-10-23 21:00:47,146 - 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=4.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.233/2.950/4.668/1.717 ms') 2025-10-23 21:00:47,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-23 21:00:47,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:00:47,298 - DEBUG - Waiting to SSH to VM test_vm, IP 122.211.68.67, Port 22 2025-10-23 21:00:47,367 - 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-23 21:00:47,457 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 21:00:52,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:00:52,458 - DEBUG - Waiting to SSH to VM test_vm, IP 122.211.68.67, Port 22 2025-10-23 21:00:52,613 - DEBUG - VM test_vm is ready for SSH connections 2025-10-23 21:00:52,614 - INFO - Waiting for VM test2_vm to be up.. 2025-10-23 21:00:52,687 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:00:52,688 - INFO - VM name : test2_vm 2025-10-23 21:00:52,760 - DEBUG - VM test2_vm ID is 2dbba477-6be6-4249-b68a-a2e53e1bb6ff 2025-10-23 21:00:52,760 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4467-1 2025-10-23 21:00:52,840 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/2dbba477-6be6-4249-b68a-a2e53e1bb6ff 2025-10-23 21:00:52,849 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/09f5ed15-64d2-4520-a0c8-8ecdbc7dc96d 2025-10-23 21:00:54,089 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.998/3.574/1.576 ms') 2025-10-23 21:00:54,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-23 21:00:54,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:00:54,242 - DEBUG - Waiting to SSH to VM test2_vm, IP 158.43.199.67, Port 22 2025-10-23 21:00:54,397 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-23 21:00:54,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:00:54,553 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-71896020:ctest-bgpaas_vn-08756759:ctest-bgpaas_vn-08756759.inet.0 2025-10-23 21:00:55,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:00:55,570 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-71896020:ctest-bgpaas_vn-08756759:ctest-bgpaas_vn-08756759.inet.0 2025-10-23 21:00:55,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:00:55,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.43.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-23 21:00:55,580 - DEBUG - ping -s 56 -c 3 -W 1 158.43.199.67 2025-10-23 21:00:59,287 - DEBUG - PING 158.43.199.67 (158.43.199.67): 56 data bytes 64 bytes from 158.43.199.67: seq=0 ttl=63 time=4.546 ms 64 bytes from 158.43.199.67: seq=1 ttl=63 time=0.931 ms 64 bytes from 158.43.199.67: seq=2 ttl=63 time=1.076 ms --- 158.43.199.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/2.184/4.546 ms 2025-10-23 21:00:59,287 - INFO - Ping to IP 158.43.199.67 from VM test_vm passed 2025-10-23 21:00:59,345 - INFO - Deleting VM test2_vm 2025-10-23 21:00:59,543 - INFO - Deleting VM test_vm 2025-10-23 21:00:59,614 - INFO - Deleting VN ctest-bgpaas_vn-68656241 2025-10-23 21:00:59,658 - DEBUG - VN 15391aa9-b3a9-45b7-aa04-8892a50467a4 still in use: Unable to complete operation on network 15391aa9-b3a9-45b7-aa04-8892a50467a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f8f5392-de84-462e-a3e9-0c3f742e31f8'] 2025-10-23 21:00:59,658 - WARNING - Deleting VN ctest-bgpaas_vn-68656241 failed..Will retry 2025-10-23 21:01:01,769 - DEBUG - Response for deleting network () 2025-10-23 21:01:01,769 - INFO - Deleting VN ctest-bgpaas_vn-08756759 2025-10-23 21:01:01,879 - DEBUG - Response for deleting network () 2025-10-23 21:01:02,143 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:01:02,143 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-10-23 21:01:02,143 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:01:02,882 - INFO - Deleted project: ctest-TestRP-71896020, ID : c55aa505-616d-4f60-8c80-bf50e7288a83