2025-09-11 19:19:21,949 - INFO - Domain Default found not creating 2025-09-11 19:19:22,094 - INFO - Project ctest-TestRP-22759105 not found, creating it 2025-09-11 19:19:22,541 - INFO - Created Project:ctest-TestRP-22759105, ID : d9e56702-1090-452c-9dce-3ea1310d0074 2025-09-11 19:19:24,047 - DEBUG - Services list from nova: [, , ] 2025-09-11 19:19:24,047 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4097-1']} 2025-09-11 19:19:24,050 - INFO - ================================================================================ 2025-09-11 19:19:24,050 - INFO - STARTING TEST : test_rp_interface 2025-09-11 19:19:24,050 - 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-11 19:19:24,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 19:19:24,305 - INFO - Initial checks done. Running the testcase now 2025-09-11 19:19:24,305 - INFO - 2025-09-11 19:19:24,865 - DEBUG - Response for create_network : {'network': {'id': '68bf7041-8abe-4416-9aed-da5fb269a82d', 'name': 'ctest-bgpaas_vn-88035289', 'tenant_id': 'd9e567021090452c9dce3ea1310d0074', 'project_id': 'd9e567021090452c9dce3ea1310d0074', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-22759105', 'ctest-bgpaas_vn-88035289'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:19:25,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '5263e1c2-1515-4fc9-a059-2385b0959fe3', 'name': '', 'tenant_id': 'd9e567021090452c9dce3ea1310d0074', 'network_id': '68bf7041-8abe-4416-9aed-da5fb269a82d', 'ip_version': 4, 'cidr': '104.96.135.128/26', 'allocation_pools': [{'start': '104.96.135.130', 'end': '104.96.135.190'}], 'gateway_ip': '104.96.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.96.135.130', 'tags': [], 'project_id': 'd9e567021090452c9dce3ea1310d0074'}} 2025-09-11 19:19:25,030 - INFO - Created VN ctest-bgpaas_vn-88035289 2025-09-11 19:19:25,082 - DEBUG - VN ctest-bgpaas_vn-88035289 UUID is 68bf7041-8abe-4416-9aed-da5fb269a82d 2025-09-11 19:19:25,558 - DEBUG - Response for create_network : {'network': {'id': '6c9227e6-1b15-466e-b927-13aa2d4daef0', 'name': 'ctest-bgpaas_vn-21765126', 'tenant_id': 'd9e567021090452c9dce3ea1310d0074', 'project_id': 'd9e567021090452c9dce3ea1310d0074', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-22759105', 'ctest-bgpaas_vn-21765126'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:19:25,757 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa0c81a5-e971-44cc-9eb7-bee184a2f20a', 'name': '', 'tenant_id': 'd9e567021090452c9dce3ea1310d0074', 'network_id': '6c9227e6-1b15-466e-b927-13aa2d4daef0', 'ip_version': 4, 'cidr': '72.19.214.128/26', 'allocation_pools': [{'start': '72.19.214.130', 'end': '72.19.214.190'}], 'gateway_ip': '72.19.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.19.214.130', 'tags': [], 'project_id': 'd9e567021090452c9dce3ea1310d0074'}} 2025-09-11 19:19:25,775 - INFO - Created VN ctest-bgpaas_vn-21765126 2025-09-11 19:19:25,826 - DEBUG - VN ctest-bgpaas_vn-21765126 UUID is 6c9227e6-1b15-466e-b927-13aa2d4daef0 2025-09-11 19:19:27,212 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:19:28,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:19:28,388 - INFO - Waiting for VM test_vm to be up.. 2025-09-11 19:19:28,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 19:19:33,549 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:19:33,549 - INFO - VM name : test_vm 2025-09-11 19:19:33,633 - DEBUG - VM test_vm ID is 27859d52-dbca-4b47-89ab-9b54b6244188 2025-09-11 19:19:33,654 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:19:33,734 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27859d52-dbca-4b47-89ab-9b54b6244188 2025-09-11 19:19:34,036 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27859d52-dbca-4b47-89ab-9b54b6244188 2025-09-11 19:19:34,070 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/39dcc994-d6c9-4f23-9f26-8dee6e0e2c03 2025-09-11 19:19:37,325 - 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-11 19:19:37,325 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-11 19:19:37,378 - DEBUG - Gateway for vn default-domain:ctest-TestRP-22759105:ctest-bgpaas_vn-88035289 is 104.96.135.129 and allocation pool is NOT set 2025-09-11 19:19:39,444 - 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=7.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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 = 3.434/5.610/7.786/2.176 ms') 2025-09-11 19:19:39,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-11 19:19:39,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:39,598 - DEBUG - Waiting to SSH to VM test_vm, IP 104.96.135.131, Port 22 2025-09-11 19:19:39,665 - 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-09-11 19:19:39,750 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 19:19:44,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:44,750 - DEBUG - Waiting to SSH to VM test_vm, IP 104.96.135.131, Port 22 2025-09-11 19:19:44,906 - DEBUG - VM test_vm is ready for SSH connections 2025-09-11 19:19:44,906 - INFO - Waiting for VM test2_vm to be up.. 2025-09-11 19:19:44,980 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:19:44,980 - INFO - VM name : test2_vm 2025-09-11 19:19:45,055 - DEBUG - VM test2_vm ID is 11606073-a19c-483e-840f-1bfe6195a81b 2025-09-11 19:19:45,055 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:19:45,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/11606073-a19c-483e-840f-1bfe6195a81b 2025-09-11 19:19:45,135 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c029a855-1b93-46d4-ac7b-356768a03951 2025-09-11 19:19:46,362 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.634/2.849/1.215 ms') 2025-09-11 19:19:46,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-11 19:19:46,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:46,510 - DEBUG - Waiting to SSH to VM test2_vm, IP 72.19.214.131, Port 22 2025-09-11 19:19:46,666 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-11 19:19:46,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:46,816 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-22759105:ctest-bgpaas_vn-88035289:ctest-bgpaas_vn-88035289.inet.0 2025-09-11 19:19:46,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:46,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.19.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:19:46,826 - DEBUG - ping -s 56 -c 3 -W 1 72.19.214.131 2025-09-11 19:19:50,466 - DEBUG - PING 72.19.214.131 (72.19.214.131): 56 data bytes 64 bytes from 72.19.214.131: seq=0 ttl=63 time=3.528 ms 64 bytes from 72.19.214.131: seq=1 ttl=63 time=0.990 ms 64 bytes from 72.19.214.131: seq=2 ttl=63 time=0.953 ms --- 72.19.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.823/3.528 ms 2025-09-11 19:19:50,466 - INFO - Ping to IP 72.19.214.131 from VM test_vm passed 2025-09-11 19:19:50,544 - INFO - Deleting VM test2_vm 2025-09-11 19:19:50,658 - INFO - Deleting VM test_vm 2025-09-11 19:19:50,752 - INFO - Deleting VN ctest-bgpaas_vn-21765126 2025-09-11 19:19:50,795 - DEBUG - VN 6c9227e6-1b15-466e-b927-13aa2d4daef0 still in use: Unable to complete operation on network 6c9227e6-1b15-466e-b927-13aa2d4daef0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d73793f6-ec1a-4b78-995d-f3282e4f9a03'] 2025-09-11 19:19:50,795 - WARNING - Deleting VN ctest-bgpaas_vn-21765126 failed..Will retry 2025-09-11 19:19:52,904 - DEBUG - Response for deleting network () 2025-09-11 19:19:52,905 - INFO - Deleting VN ctest-bgpaas_vn-88035289 2025-09-11 19:19:53,005 - DEBUG - Response for deleting network () 2025-09-11 19:19:53,260 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 19:19:53,260 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-09-11 19:19:53,260 - INFO - -------------------------------------------------------------------------------- 2025-09-11 19:19:53,926 - INFO - Deleted project: ctest-TestRP-22759105, ID : d9e56702-1090-452c-9dce-3ea1310d0074