2025-08-07 02:17:24,792 - INFO - Domain Default found not creating 2025-08-07 02:17:24,952 - INFO - Project ctest-TestRP-89249977 not found, creating it 2025-08-07 02:17:25,424 - INFO - Created Project:ctest-TestRP-89249977, ID : 2ef3a59b-8be3-4c04-ab58-339f391a2fbe 2025-08-07 02:17:27,008 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:17:27,008 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3766-1']} 2025-08-07 02:17:27,011 - INFO - ================================================================================ 2025-08-07 02:17:27,011 - INFO - STARTING TEST : test_rp_interface 2025-08-07 02:17:27,011 - 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-08-07 02:17:27,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-08-07 02:17:27,268 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:17:27,268 - INFO - 2025-08-07 02:17:27,867 - DEBUG - Response for create_network : {'network': {'id': '28cb3b1d-71e8-4eed-b9d9-3108fd1fe3ba', 'name': 'ctest-bgpaas_vn-95667290', 'tenant_id': '2ef3a59b8be34c04ab58339f391a2fbe', 'project_id': '2ef3a59b8be34c04ab58339f391a2fbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-89249977', 'ctest-bgpaas_vn-95667290'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:17:28,033 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2c306c8-111c-4d8e-9f1c-daa98a7580c2', 'name': '', 'tenant_id': '2ef3a59b8be34c04ab58339f391a2fbe', 'network_id': '28cb3b1d-71e8-4eed-b9d9-3108fd1fe3ba', 'ip_version': 4, 'cidr': '223.149.241.192/26', 'allocation_pools': [{'start': '223.149.241.194', 'end': '223.149.241.254'}], 'gateway_ip': '223.149.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.149.241.194', 'tags': [], 'project_id': '2ef3a59b8be34c04ab58339f391a2fbe'}} 2025-08-07 02:17:28,054 - INFO - Created VN ctest-bgpaas_vn-95667290 2025-08-07 02:17:28,109 - DEBUG - VN ctest-bgpaas_vn-95667290 UUID is 28cb3b1d-71e8-4eed-b9d9-3108fd1fe3ba 2025-08-07 02:17:28,620 - DEBUG - Response for create_network : {'network': {'id': '3194855b-651f-4744-92c0-987a38f8a80b', 'name': 'ctest-bgpaas_vn-09874603', 'tenant_id': '2ef3a59b8be34c04ab58339f391a2fbe', 'project_id': '2ef3a59b8be34c04ab58339f391a2fbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-89249977', 'ctest-bgpaas_vn-09874603'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:17:28,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '11bb7a64-69fb-47d4-935e-7deac82f78a8', 'name': '', 'tenant_id': '2ef3a59b8be34c04ab58339f391a2fbe', 'network_id': '3194855b-651f-4744-92c0-987a38f8a80b', 'ip_version': 4, 'cidr': '102.105.184.128/26', 'allocation_pools': [{'start': '102.105.184.130', 'end': '102.105.184.190'}], 'gateway_ip': '102.105.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.105.184.130', 'tags': [], 'project_id': '2ef3a59b8be34c04ab58339f391a2fbe'}} 2025-08-07 02:17:28,822 - INFO - Created VN ctest-bgpaas_vn-09874603 2025-08-07 02:17:28,873 - DEBUG - VN ctest-bgpaas_vn-09874603 UUID is 3194855b-651f-4744-92c0-987a38f8a80b 2025-08-07 02:17:30,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:17:31,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:17:31,503 - INFO - Waiting for VM test_vm to be up.. 2025-08-07 02:17:31,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:17:36,666 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:36,667 - INFO - VM name : test_vm 2025-08-07 02:17:36,738 - DEBUG - VM test_vm ID is 3aaaf625-d100-4a5a-a949-a28b1a17e5aa 2025-08-07 02:17:36,757 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:17:36,826 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3aaaf625-d100-4a5a-a949-a28b1a17e5aa 2025-08-07 02:17:37,162 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3aaaf625-d100-4a5a-a949-a28b1a17e5aa 2025-08-07 02:17:37,196 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/edf3970e-bc5d-450c-ad82-fc433db08c26 2025-08-07 02:17:40,448 - 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-08-07 02:17:40,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-07 02:17:40,509 - DEBUG - Gateway for vn default-domain:ctest-TestRP-89249977:ctest-bgpaas_vn-95667290 is 223.149.241.193 and allocation pool is NOT set 2025-08-07 02:17:42,567 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.641 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.641/2.368/4.095/1.727 ms') 2025-08-07 02:17:42,567 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-07 02:17:42,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:42,721 - DEBUG - Waiting to SSH to VM test_vm, IP 223.149.241.195, Port 22 2025-08-07 02:17:42,787 - 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-08-07 02:17:42,884 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:17:47,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:47,885 - DEBUG - Waiting to SSH to VM test_vm, IP 223.149.241.195, Port 22 2025-08-07 02:17:48,061 - DEBUG - VM test_vm is ready for SSH connections 2025-08-07 02:17:48,061 - INFO - Waiting for VM test2_vm to be up.. 2025-08-07 02:17:48,133 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:48,133 - INFO - VM name : test2_vm 2025-08-07 02:17:48,206 - DEBUG - VM test2_vm ID is 8a0218f8-419a-4041-aef9-64b4860bc029 2025-08-07 02:17:48,207 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:17:48,279 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/8a0218f8-419a-4041-aef9-64b4860bc029 2025-08-07 02:17:48,288 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/f95e1fca-453f-4ad1-8fe1-9c7fbedbdc9a 2025-08-07 02:17:49,533 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.839/3.198/1.359 ms') 2025-08-07 02:17:49,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-07 02:17:49,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:49,689 - DEBUG - Waiting to SSH to VM test2_vm, IP 102.105.184.131, Port 22 2025-08-07 02:17:49,845 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-07 02:17:50,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:50,012 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-89249977:ctest-bgpaas_vn-95667290:ctest-bgpaas_vn-95667290.inet.0 2025-08-07 02:17:50,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:50,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.105.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-08-07 02:17:50,025 - DEBUG - ping -s 56 -c 3 -W 1 102.105.184.131 2025-08-07 02:17:53,701 - DEBUG - PING 102.105.184.131 (102.105.184.131): 56 data bytes 64 bytes from 102.105.184.131: seq=0 ttl=63 time=3.731 ms 64 bytes from 102.105.184.131: seq=1 ttl=63 time=0.792 ms 64 bytes from 102.105.184.131: seq=2 ttl=63 time=1.047 ms --- 102.105.184.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.856/3.731 ms 2025-08-07 02:17:53,701 - INFO - Ping to IP 102.105.184.131 from VM test_vm passed 2025-08-07 02:17:53,768 - INFO - Deleting VM test2_vm 2025-08-07 02:17:53,838 - INFO - Deleting VM test_vm 2025-08-07 02:17:53,912 - INFO - Deleting VN ctest-bgpaas_vn-09874603 2025-08-07 02:17:53,960 - DEBUG - VN 3194855b-651f-4744-92c0-987a38f8a80b still in use: Unable to complete operation on network 3194855b-651f-4744-92c0-987a38f8a80b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e3bf3c9-1e97-49e1-bffe-b663bded3bc8'] 2025-08-07 02:17:53,960 - WARNING - Deleting VN ctest-bgpaas_vn-09874603 failed..Will retry 2025-08-07 02:17:56,075 - DEBUG - Response for deleting network () 2025-08-07 02:17:56,075 - INFO - Deleting VN ctest-bgpaas_vn-95667290 2025-08-07 02:17:56,177 - DEBUG - Response for deleting network () 2025-08-07 02:17:56,440 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:17:56,440 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-08-07 02:17:56,440 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:17:57,174 - INFO - Deleted project: ctest-TestRP-89249977, ID : 2ef3a59b-8be3-4c04-ab58-339f391a2fbe