2025-11-20 13:44:34,320 - INFO - Domain Default found not creating 2025-11-20 13:44:34,627 - INFO - Project ctest-TestRP-69335544 not found, creating it 2025-11-20 13:44:35,324 - INFO - Created Project:ctest-TestRP-69335544, ID : 33c50c69-f6ec-4e7b-8824-9c2cc20ac9f7 2025-11-20 13:44:37,798 - DEBUG - Services list from nova: [, , ] 2025-11-20 13:44:37,798 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4774-1']} 2025-11-20 13:44:37,803 - INFO - ================================================================================ 2025-11-20 13:44:37,803 - INFO - STARTING TEST : test_rp_interface 2025-11-20 13:44:37,803 - 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-20 13:44:38,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2025-11-20 13:44:38,124 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:44:38,124 - INFO - 2025-11-20 13:44:39,027 - DEBUG - Response for create_network : {'network': {'id': 'a55ecd47-9a03-419f-9c95-59a2b3417a4d', 'name': 'ctest-bgpaas_vn-79396275', 'tenant_id': '33c50c69f6ec4e7b88249c2cc20ac9f7', 'project_id': '33c50c69f6ec4e7b88249c2cc20ac9f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-69335544', 'ctest-bgpaas_vn-79396275'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:44:39,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '1596cc8c-88c2-4c42-920e-4b2b2b3ff941', 'name': '', 'tenant_id': '33c50c69f6ec4e7b88249c2cc20ac9f7', 'network_id': 'a55ecd47-9a03-419f-9c95-59a2b3417a4d', 'ip_version': 4, 'cidr': '154.212.235.192/26', 'allocation_pools': [{'start': '154.212.235.194', 'end': '154.212.235.254'}], 'gateway_ip': '154.212.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.212.235.194', 'tags': [], 'project_id': '33c50c69f6ec4e7b88249c2cc20ac9f7'}} 2025-11-20 13:44:39,255 - INFO - Created VN ctest-bgpaas_vn-79396275 2025-11-20 13:44:39,311 - DEBUG - VN ctest-bgpaas_vn-79396275 UUID is a55ecd47-9a03-419f-9c95-59a2b3417a4d 2025-11-20 13:44:39,915 - DEBUG - Response for create_network : {'network': {'id': '5d57dcc0-3a26-4d82-a355-c602d380a554', 'name': 'ctest-bgpaas_vn-20898921', 'tenant_id': '33c50c69f6ec4e7b88249c2cc20ac9f7', 'project_id': '33c50c69f6ec4e7b88249c2cc20ac9f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-69335544', 'ctest-bgpaas_vn-20898921'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:44:40,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '5947264e-38ff-45b5-ad58-3c13732c19ee', 'name': '', 'tenant_id': '33c50c69f6ec4e7b88249c2cc20ac9f7', 'network_id': '5d57dcc0-3a26-4d82-a355-c602d380a554', 'ip_version': 4, 'cidr': '129.32.160.64/26', 'allocation_pools': [{'start': '129.32.160.66', 'end': '129.32.160.126'}], 'gateway_ip': '129.32.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.32.160.66', 'tags': [], 'project_id': '33c50c69f6ec4e7b88249c2cc20ac9f7'}} 2025-11-20 13:44:40,200 - INFO - Created VN ctest-bgpaas_vn-20898921 2025-11-20 13:44:40,259 - DEBUG - VN ctest-bgpaas_vn-20898921 UUID is 5d57dcc0-3a26-4d82-a355-c602d380a554 2025-11-20 13:44:42,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1) 2025-11-20 13:44:43,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1) 2025-11-20 13:44:43,710 - INFO - Waiting for VM test_vm to be up.. 2025-11-20 13:44:43,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 13:44:48,912 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:44:48,913 - INFO - VM name : test_vm 2025-11-20 13:44:49,001 - DEBUG - VM test_vm ID is 26ab0204-3a3f-47c8-a0f2-6b0f592dbcac 2025-11-20 13:44:49,025 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1 2025-11-20 13:44:49,107 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/26ab0204-3a3f-47c8-a0f2-6b0f592dbcac 2025-11-20 13:44:49,423 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/26ab0204-3a3f-47c8-a0f2-6b0f592dbcac 2025-11-20 13:44:49,469 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/fbe08e0d-9fca-4d60-96b1-82c999a976ba 2025-11-20 13:44:52,754 - 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 1031ms') 2025-11-20 13:44:52,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-20 13:44:52,815 - DEBUG - Gateway for vn default-domain:ctest-TestRP-69335544:ctest-bgpaas_vn-79396275 is 154.212.235.193 and allocation pool is NOT set 2025-11-20 13:44:54,888 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 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 = 3.486/4.390/5.295/0.904 ms') 2025-11-20 13:44:54,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-20 13:44:55,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:44:55,047 - DEBUG - Waiting to SSH to VM test_vm, IP 154.212.235.195, Port 22 2025-11-20 13:44:55,113 - 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-20 13:44:55,308 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 13:45:00,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:45:00,309 - DEBUG - Waiting to SSH to VM test_vm, IP 154.212.235.195, Port 22 2025-11-20 13:45:00,485 - DEBUG - VM test_vm is ready for SSH connections 2025-11-20 13:45:00,485 - INFO - Waiting for VM test2_vm to be up.. 2025-11-20 13:45:00,585 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:45:00,585 - INFO - VM name : test2_vm 2025-11-20 13:45:00,672 - DEBUG - VM test2_vm ID is a9afb534-5c9d-4338-b82e-28dde60fc9f3 2025-11-20 13:45:00,673 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1 2025-11-20 13:45:00,766 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a9afb534-5c9d-4338-b82e-28dde60fc9f3 2025-11-20 13:45:00,778 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f3c79f67-dd10-4b85-8708-ae4cf3454527 2025-11-20 13:45:02,057 - 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=9.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.544/5.154/9.765/4.610 ms') 2025-11-20 13:45:02,058 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-20 13:45:02,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:45:02,227 - DEBUG - Waiting to SSH to VM test2_vm, IP 129.32.160.67, Port 22 2025-11-20 13:45:02,396 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-20 13:45:02,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:45:02,564 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-69335544:ctest-bgpaas_vn-79396275:ctest-bgpaas_vn-79396275.inet.0 2025-11-20 13:45:02,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:45:02,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.32.160.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-20 13:45:02,575 - DEBUG - ping -s 56 -c 3 -W 1 129.32.160.67 2025-11-20 13:45:06,440 - DEBUG - PING 129.32.160.67 (129.32.160.67): 56 data bytes 64 bytes from 129.32.160.67: seq=0 ttl=63 time=3.877 ms 64 bytes from 129.32.160.67: seq=1 ttl=63 time=1.398 ms 64 bytes from 129.32.160.67: seq=2 ttl=63 time=1.071 ms --- 129.32.160.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.071/2.115/3.877 ms 2025-11-20 13:45:06,440 - INFO - Ping to IP 129.32.160.67 from VM test_vm passed 2025-11-20 13:45:06,545 - INFO - Deleting VM test2_vm 2025-11-20 13:45:06,625 - INFO - Deleting VM test_vm 2025-11-20 13:45:06,742 - INFO - Deleting VN ctest-bgpaas_vn-20898921 2025-11-20 13:45:06,797 - DEBUG - VN 5d57dcc0-3a26-4d82-a355-c602d380a554 still in use: Unable to complete operation on network 5d57dcc0-3a26-4d82-a355-c602d380a554. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23e3bd32-3ae1-4002-9f7d-d27b3ba446a3'] 2025-11-20 13:45:06,798 - WARNING - Deleting VN ctest-bgpaas_vn-20898921 failed..Will retry 2025-11-20 13:45:09,009 - DEBUG - Response for deleting network () 2025-11-20 13:45:09,010 - INFO - Deleting VN ctest-bgpaas_vn-79396275 2025-11-20 13:45:09,124 - DEBUG - Response for deleting network () 2025-11-20 13:45:09,415 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:45:09,415 - INFO - END TEST : test_rp_interface : PASSED[0:00:32] 2025-11-20 13:45:09,416 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:45:10,254 - INFO - Deleted project: ctest-TestRP-69335544, ID : 33c50c69-f6ec-4e7b-8824-9c2cc20ac9f7