2025-11-17 20:46:37,301 - INFO - Domain Default found not creating
2025-11-17 20:46:37,518 - INFO - Project ctest-TestRP-33167669 not found, creating it
2025-11-17 20:46:38,028 - INFO - Created Project:ctest-TestRP-33167669, ID : d2a71d95-b598-4243-9591-01d877322e7c
2025-11-17 20:46:39,641 - DEBUG - Services list from nova: [, , ]
2025-11-17 20:46:39,641 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4747-1']}
2025-11-17 20:46:39,644 - INFO - ================================================================================
2025-11-17 20:46:39,644 - INFO - STARTING TEST : test_rp_interface
2025-11-17 20:46:39,644 - 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-17 20:46:39,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-11-17 20:46:39,903 - INFO - Initial checks done. Running the testcase now
2025-11-17 20:46:39,903 - INFO -
2025-11-17 20:46:40,483 - DEBUG - Response for create_network : {'network': {'id': '9ac23668-0716-4bf7-9eba-c839617e9061', 'name': 'ctest-bgpaas_vn-43055286', 'tenant_id': 'd2a71d95b5984243959101d877322e7c', 'project_id': 'd2a71d95b5984243959101d877322e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-33167669', 'ctest-bgpaas_vn-43055286'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:46:40,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c74e7557-ea43-4010-baae-5b8cf37b3a02', 'name': '', 'tenant_id': 'd2a71d95b5984243959101d877322e7c', 'network_id': '9ac23668-0716-4bf7-9eba-c839617e9061', 'ip_version': 4, 'cidr': '219.162.118.192/26', 'allocation_pools': [{'start': '219.162.118.194', 'end': '219.162.118.254'}], 'gateway_ip': '219.162.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.162.118.194', 'tags': [], 'project_id': 'd2a71d95b5984243959101d877322e7c'}}
2025-11-17 20:46:40,703 - INFO - Created VN ctest-bgpaas_vn-43055286
2025-11-17 20:46:40,756 - DEBUG - VN ctest-bgpaas_vn-43055286 UUID is 9ac23668-0716-4bf7-9eba-c839617e9061
2025-11-17 20:46:41,242 - DEBUG - Response for create_network : {'network': {'id': 'c6678fb7-cf94-48f3-8dc1-b6bbce578bfc', 'name': 'ctest-bgpaas_vn-01880528', 'tenant_id': 'd2a71d95b5984243959101d877322e7c', 'project_id': 'd2a71d95b5984243959101d877322e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-33167669', 'ctest-bgpaas_vn-01880528'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:46:41,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '9be0c2b9-91bd-4d35-b785-8ce5f9628b14', 'name': '', 'tenant_id': 'd2a71d95b5984243959101d877322e7c', 'network_id': 'c6678fb7-cf94-48f3-8dc1-b6bbce578bfc', 'ip_version': 4, 'cidr': '120.49.118.64/26', 'allocation_pools': [{'start': '120.49.118.66', 'end': '120.49.118.126'}], 'gateway_ip': '120.49.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.49.118.66', 'tags': [], 'project_id': 'd2a71d95b5984243959101d877322e7c'}}
2025-11-17 20:46:41,416 - INFO - Created VN ctest-bgpaas_vn-01880528
2025-11-17 20:46:41,472 - DEBUG - VN ctest-bgpaas_vn-01880528 UUID is c6678fb7-cf94-48f3-8dc1-b6bbce578bfc
2025-11-17 20:46:42,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1)
2025-11-17 20:46:44,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1)
2025-11-17 20:46:44,162 - INFO - Waiting for VM test_vm to be up..
2025-11-17 20:46:44,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 20:46:49,323 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:46:49,323 - INFO - VM name : test_vm
2025-11-17 20:46:49,403 - DEBUG - VM test_vm ID is 9bbaa33b-2199-4d40-873f-d0433c6095cd
2025-11-17 20:46:49,423 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1
2025-11-17 20:46:49,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9bbaa33b-2199-4d40-873f-d0433c6095cd
2025-11-17 20:46:49,789 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9bbaa33b-2199-4d40-873f-d0433c6095cd
2025-11-17 20:46:49,826 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/435a49b5-f411-45a7-b677-76e7f5921939
2025-11-17 20:46:53,081 - 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 1017ms')
2025-11-17 20:46:53,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-11-17 20:46:53,136 - DEBUG - Gateway for vn default-domain:ctest-TestRP-33167669:ctest-bgpaas_vn-43055286 is 219.162.118.193 and allocation pool is NOT set
2025-11-17 20:46:55,200 - 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=11.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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.011/7.419/11.828/4.408 ms')
2025-11-17 20:46:55,200 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-11-17 20:46:55,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:46:55,352 - DEBUG - Waiting to SSH to VM test_vm, IP 219.162.118.195, Port 22
2025-11-17 20:46:55,518 - DEBUG - VM test_vm is ready for SSH connections
2025-11-17 20:46:55,518 - INFO - Waiting for VM test2_vm to be up..
2025-11-17 20:46:55,594 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:46:55,594 - INFO - VM name : test2_vm
2025-11-17 20:46:55,669 - DEBUG - VM test2_vm ID is 578356af-a9eb-4fd8-8fc0-6c34562e7b7b
2025-11-17 20:46:55,669 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1
2025-11-17 20:46:55,743 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/578356af-a9eb-4fd8-8fc0-6c34562e7b7b
2025-11-17 20:46:55,754 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/19e927c2-5b0f-41fc-a216-a9efc19c4f40
2025-11-17 20:46:56,998 - 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=4.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.353/3.012/4.672/1.659 ms')
2025-11-17 20:46:56,999 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed
2025-11-17 20:46:57,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:46:57,148 - DEBUG - Waiting to SSH to VM test2_vm, IP 120.49.118.67, Port 22
2025-11-17 20:46:57,214 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-17 20:46:57,290 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 20:47:02,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:47:02,291 - DEBUG - Waiting to SSH to VM test2_vm, IP 120.49.118.67, Port 22
2025-11-17 20:47:02,447 - DEBUG - VM test2_vm is ready for SSH connections
2025-11-17 20:47:02,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:47:02,602 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-33167669:ctest-bgpaas_vn-43055286:ctest-bgpaas_vn-43055286.inet.0
2025-11-17 20:47:02,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:47:02,612 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.49.118.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-17 20:47:02,612 - DEBUG - ping -s 56 -c 3 -W 1 120.49.118.67
2025-11-17 20:47:06,327 - DEBUG - PING 120.49.118.67 (120.49.118.67): 56 data bytes
64 bytes from 120.49.118.67: seq=0 ttl=63 time=5.177 ms
64 bytes from 120.49.118.67: seq=1 ttl=63 time=0.882 ms
64 bytes from 120.49.118.67: seq=2 ttl=63 time=0.891 ms
--- 120.49.118.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.882/2.316/5.177 ms
2025-11-17 20:47:06,327 - INFO - Ping to IP 120.49.118.67 from VM test_vm passed
2025-11-17 20:47:06,386 - INFO - Deleting VM test2_vm
2025-11-17 20:47:06,463 - INFO - Deleting VM test_vm
2025-11-17 20:47:06,531 - INFO - Deleting VN ctest-bgpaas_vn-01880528
2025-11-17 20:47:06,575 - DEBUG - VN c6678fb7-cf94-48f3-8dc1-b6bbce578bfc still in use: Unable to complete operation on network c6678fb7-cf94-48f3-8dc1-b6bbce578bfc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5589739b-2531-45bf-aa70-07eddd2bb748']
2025-11-17 20:47:06,576 - WARNING - Deleting VN ctest-bgpaas_vn-01880528 failed..Will retry
2025-11-17 20:47:08,676 - DEBUG - Response for deleting network ()
2025-11-17 20:47:08,676 - INFO - Deleting VN ctest-bgpaas_vn-43055286
2025-11-17 20:47:08,783 - DEBUG - Response for deleting network ()
2025-11-17 20:47:09,041 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:47:09,041 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-11-17 20:47:09,041 - INFO - --------------------------------------------------------------------------------
2025-11-17 20:47:09,767 - INFO - Deleted project: ctest-TestRP-33167669, ID : d2a71d95-b598-4243-9591-01d877322e7c