2025-10-09 16:31:30,054 - INFO - Domain Default found not creating 2025-10-09 16:31:30,256 - INFO - Project ctest-TestRP-04537305 not found, creating it 2025-10-09 16:31:30,750 - INFO - Created Project:ctest-TestRP-04537305, ID : bd2fbdd5-16e8-47bb-9b6c-04a97a8924dc 2025-10-09 16:31:32,324 - DEBUG - Services list from nova: [, , ] 2025-10-09 16:31:32,324 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4267-1']} 2025-10-09 16:31:32,327 - INFO - ================================================================================ 2025-10-09 16:31:32,327 - INFO - STARTING TEST : test_rp_interface 2025-10-09 16:31:32,327 - 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-09 16:31:32,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-10-09 16:31:32,602 - INFO - Initial checks done. Running the testcase now 2025-10-09 16:31:32,602 - INFO - 2025-10-09 16:31:33,193 - DEBUG - Response for create_network : {'network': {'id': 'e7ec30ca-09e9-4b6e-8ac4-722c32baea4c', 'name': 'ctest-bgpaas_vn-36860594', 'tenant_id': 'bd2fbdd516e847bb9b6c04a97a8924dc', 'project_id': 'bd2fbdd516e847bb9b6c04a97a8924dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-04537305', 'ctest-bgpaas_vn-36860594'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:31:33,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '99af8e0c-bbe7-42f6-b7bc-d5564063280d', 'name': '', 'tenant_id': 'bd2fbdd516e847bb9b6c04a97a8924dc', 'network_id': 'e7ec30ca-09e9-4b6e-8ac4-722c32baea4c', 'ip_version': 4, 'cidr': '143.22.250.0/26', 'allocation_pools': [{'start': '143.22.250.2', 'end': '143.22.250.62'}], 'gateway_ip': '143.22.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.22.250.2', 'tags': [], 'project_id': 'bd2fbdd516e847bb9b6c04a97a8924dc'}} 2025-10-09 16:31:33,398 - INFO - Created VN ctest-bgpaas_vn-36860594 2025-10-09 16:31:33,452 - DEBUG - VN ctest-bgpaas_vn-36860594 UUID is e7ec30ca-09e9-4b6e-8ac4-722c32baea4c 2025-10-09 16:31:33,940 - DEBUG - Response for create_network : {'network': {'id': 'e69e40ab-385d-46e9-9e12-1708c7e84697', 'name': 'ctest-bgpaas_vn-01917637', 'tenant_id': 'bd2fbdd516e847bb9b6c04a97a8924dc', 'project_id': 'bd2fbdd516e847bb9b6c04a97a8924dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-04537305', 'ctest-bgpaas_vn-01917637'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:31:34,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3f60729-f02c-4dda-9751-d6f8b1f7b279', 'name': '', 'tenant_id': 'bd2fbdd516e847bb9b6c04a97a8924dc', 'network_id': 'e69e40ab-385d-46e9-9e12-1708c7e84697', 'ip_version': 4, 'cidr': '181.195.175.192/26', 'allocation_pools': [{'start': '181.195.175.194', 'end': '181.195.175.254'}], 'gateway_ip': '181.195.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.195.175.194', 'tags': [], 'project_id': 'bd2fbdd516e847bb9b6c04a97a8924dc'}} 2025-10-09 16:31:34,129 - INFO - Created VN ctest-bgpaas_vn-01917637 2025-10-09 16:31:34,184 - DEBUG - VN ctest-bgpaas_vn-01917637 UUID is e69e40ab-385d-46e9-9e12-1708c7e84697 2025-10-09 16:31:35,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1) 2025-10-09 16:31:36,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1) 2025-10-09 16:31:36,880 - INFO - Waiting for VM test_vm to be up.. 2025-10-09 16:31:36,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 16:31:42,055 - DEBUG - VM is in ACTIVE state now 2025-10-09 16:31:42,055 - INFO - VM name : test_vm 2025-10-09 16:31:42,147 - DEBUG - VM test_vm ID is 570554e3-7f4b-4f2d-aaa0-943bd1290854 2025-10-09 16:31:42,166 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1 2025-10-09 16:31:42,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/570554e3-7f4b-4f2d-aaa0-943bd1290854 2025-10-09 16:31:42,595 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/570554e3-7f4b-4f2d-aaa0-943bd1290854 2025-10-09 16:31:42,634 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/49846fad-1fed-4ee4-8664-0702d1cec6f4 2025-10-09 16:31:45,920 - 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-09 16:31:45,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-09 16:31:45,981 - DEBUG - Gateway for vn default-domain:ctest-TestRP-04537305:ctest-bgpaas_vn-36860594 is 143.22.250.1 and allocation pool is NOT set 2025-10-09 16:31:48,051 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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.258/2.745/4.233/1.487 ms') 2025-10-09 16:31:48,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-09 16:31:48,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:48,201 - DEBUG - Waiting to SSH to VM test_vm, IP 143.22.250.3, Port 22 2025-10-09 16:31:48,266 - 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-09 16:31:48,367 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 16:31:53,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:53,368 - DEBUG - Waiting to SSH to VM test_vm, IP 143.22.250.3, Port 22 2025-10-09 16:31:53,528 - DEBUG - VM test_vm is ready for SSH connections 2025-10-09 16:31:53,528 - INFO - Waiting for VM test2_vm to be up.. 2025-10-09 16:31:53,623 - DEBUG - VM is in ACTIVE state now 2025-10-09 16:31:53,623 - INFO - VM name : test2_vm 2025-10-09 16:31:53,708 - DEBUG - VM test2_vm ID is 019726ae-f39f-4040-ba5b-36e9ffb91264 2025-10-09 16:31:53,708 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1 2025-10-09 16:31:53,801 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/019726ae-f39f-4040-ba5b-36e9ffb91264 2025-10-09 16:31:53,811 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2cbe633f-0275-4aca-b9bb-38308735ca76 2025-10-09 16:31:55,059 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.578 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.578/2.236/3.894/1.658 ms') 2025-10-09 16:31:55,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-09 16:31:55,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:55,213 - DEBUG - Waiting to SSH to VM test2_vm, IP 181.195.175.195, Port 22 2025-10-09 16:31:55,367 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-09 16:31:55,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:55,530 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-04537305:ctest-bgpaas_vn-36860594:ctest-bgpaas_vn-36860594.inet.0 2025-10-09 16:31:56,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:56,551 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-04537305:ctest-bgpaas_vn-36860594:ctest-bgpaas_vn-36860594.inet.0 2025-10-09 16:31:56,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:56,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.195.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 16:31:56,566 - DEBUG - ping -s 56 -c 3 -W 1 181.195.175.195 2025-10-09 16:32:00,281 - DEBUG - PING 181.195.175.195 (181.195.175.195): 56 data bytes 64 bytes from 181.195.175.195: seq=0 ttl=63 time=5.106 ms 64 bytes from 181.195.175.195: seq=1 ttl=63 time=1.228 ms 64 bytes from 181.195.175.195: seq=2 ttl=63 time=1.286 ms --- 181.195.175.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.228/2.540/5.106 ms 2025-10-09 16:32:00,282 - INFO - Ping to IP 181.195.175.195 from VM test_vm passed 2025-10-09 16:32:00,350 - INFO - Deleting VM test2_vm 2025-10-09 16:32:00,436 - INFO - Deleting VM test_vm 2025-10-09 16:32:00,515 - INFO - Deleting VN ctest-bgpaas_vn-01917637 2025-10-09 16:32:00,562 - DEBUG - VN e69e40ab-385d-46e9-9e12-1708c7e84697 still in use: Unable to complete operation on network e69e40ab-385d-46e9-9e12-1708c7e84697. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6f45b17d-4c72-4ecd-b869-ed1ed73b401b'] 2025-10-09 16:32:00,562 - WARNING - Deleting VN ctest-bgpaas_vn-01917637 failed..Will retry 2025-10-09 16:32:02,687 - DEBUG - Response for deleting network () 2025-10-09 16:32:02,687 - INFO - Deleting VN ctest-bgpaas_vn-36860594 2025-10-09 16:32:02,804 - DEBUG - Response for deleting network () 2025-10-09 16:32:03,068 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 16:32:03,068 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-10-09 16:32:03,068 - INFO - -------------------------------------------------------------------------------- 2025-10-09 16:32:03,829 - INFO - Deleted project: ctest-TestRP-04537305, ID : bd2fbdd5-16e8-47bb-9b6c-04a97a8924dc