2025-11-14 17:19:03,110 - INFO - Domain Default found not creating
2025-11-14 17:19:03,464 - INFO - Project ctest-TestRP-26462967 not found, creating it
2025-11-14 17:19:04,083 - INFO - Created Project:ctest-TestRP-26462967, ID : 97b267a1-4b52-496d-ac4c-c9cbeb6ec0c8
2025-11-14 17:19:06,332 - DEBUG - Services list from nova: [, , ]
2025-11-14 17:19:06,332 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4732-1']}
2025-11-14 17:19:06,335 - INFO - ================================================================================
2025-11-14 17:19:06,335 - INFO - STARTING TEST : test_rp_interface
2025-11-14 17:19:06,335 - 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-14 17:19:06,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-11-14 17:19:06,613 - INFO - Initial checks done. Running the testcase now
2025-11-14 17:19:06,613 - INFO -
2025-11-14 17:19:07,359 - DEBUG - Response for create_network : {'network': {'id': 'acf1107e-0e99-4a83-b9b8-5c356000ce1f', 'name': 'ctest-bgpaas_vn-80946253', 'tenant_id': '97b267a14b52496dac4cc9cbeb6ec0c8', 'project_id': '97b267a14b52496dac4cc9cbeb6ec0c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-26462967', 'ctest-bgpaas_vn-80946253'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 17:19:07,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e654833-03df-44b8-be7c-9ee47f4d9bd6', 'name': '', 'tenant_id': '97b267a14b52496dac4cc9cbeb6ec0c8', 'network_id': 'acf1107e-0e99-4a83-b9b8-5c356000ce1f', 'ip_version': 4, 'cidr': '43.213.142.128/26', 'allocation_pools': [{'start': '43.213.142.130', 'end': '43.213.142.190'}], 'gateway_ip': '43.213.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.213.142.130', 'tags': [], 'project_id': '97b267a14b52496dac4cc9cbeb6ec0c8'}}
2025-11-14 17:19:07,666 - INFO - Created VN ctest-bgpaas_vn-80946253
2025-11-14 17:19:07,727 - DEBUG - VN ctest-bgpaas_vn-80946253 UUID is acf1107e-0e99-4a83-b9b8-5c356000ce1f
2025-11-14 17:19:08,241 - DEBUG - Response for create_network : {'network': {'id': 'd4e734a8-9280-4a94-8aab-73da735c6686', 'name': 'ctest-bgpaas_vn-80541524', 'tenant_id': '97b267a14b52496dac4cc9cbeb6ec0c8', 'project_id': '97b267a14b52496dac4cc9cbeb6ec0c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-26462967', 'ctest-bgpaas_vn-80541524'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 17:19:08,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '14299cbf-bcd9-4c67-976b-0fdc8718aab6', 'name': '', 'tenant_id': '97b267a14b52496dac4cc9cbeb6ec0c8', 'network_id': 'd4e734a8-9280-4a94-8aab-73da735c6686', 'ip_version': 4, 'cidr': '211.77.100.64/26', 'allocation_pools': [{'start': '211.77.100.66', 'end': '211.77.100.126'}], 'gateway_ip': '211.77.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.77.100.66', 'tags': [], 'project_id': '97b267a14b52496dac4cc9cbeb6ec0c8'}}
2025-11-14 17:19:08,452 - INFO - Created VN ctest-bgpaas_vn-80541524
2025-11-14 17:19:08,504 - DEBUG - VN ctest-bgpaas_vn-80541524 UUID is d4e734a8-9280-4a94-8aab-73da735c6686
2025-11-14 17:19:10,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1)
2025-11-14 17:19:11,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1)
2025-11-14 17:19:11,919 - INFO - Waiting for VM test_vm to be up..
2025-11-14 17:19:12,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-14 17:19:17,184 - DEBUG - VM is in ACTIVE state now
2025-11-14 17:19:17,184 - INFO - VM name : test_vm
2025-11-14 17:19:17,329 - DEBUG - VM test_vm ID is 92739e6b-f0b7-4d23-8f4b-bb51714dff17
2025-11-14 17:19:17,361 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1
2025-11-14 17:19:17,463 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/92739e6b-f0b7-4d23-8f4b-bb51714dff17
2025-11-14 17:19:17,773 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/92739e6b-f0b7-4d23-8f4b-bb51714dff17
2025-11-14 17:19:17,831 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e948e93b-bdfe-4b35-9562-c727a7bb48ae
2025-11-14 17:19:21,133 - 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 1018ms')
2025-11-14 17:19:21,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-11-14 17:19:21,212 - DEBUG - Gateway for vn default-domain:ctest-TestRP-26462967:ctest-bgpaas_vn-80946253 is 43.213.142.129 and allocation pool is NOT set
2025-11-14 17:19:23,298 - 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=3.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.062/2.473/3.885/1.411 ms')
2025-11-14 17:19:23,299 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-11-14 17:19:23,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:19:23,488 - DEBUG - Waiting to SSH to VM test_vm, IP 43.213.142.131, Port 22
2025-11-14 17:19:23,675 - DEBUG - VM test_vm is ready for SSH connections
2025-11-14 17:19:23,676 - INFO - Waiting for VM test2_vm to be up..
2025-11-14 17:19:23,840 - DEBUG - VM is in ACTIVE state now
2025-11-14 17:19:23,840 - INFO - VM name : test2_vm
2025-11-14 17:19:23,942 - DEBUG - VM test2_vm ID is c0cf45ea-fed8-43a4-b59e-ffbd7c9853d1
2025-11-14 17:19:23,943 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1
2025-11-14 17:19:24,066 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c0cf45ea-fed8-43a4-b59e-ffbd7c9853d1
2025-11-14 17:19:24,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/30c677fc-6cc6-46d5-9cd1-b9a4da9788bb
2025-11-14 17:19:25,352 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.72 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 = 3.269/3.496/3.723/0.227 ms')
2025-11-14 17:19:25,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed
2025-11-14 17:19:25,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:19:25,532 - DEBUG - Waiting to SSH to VM test2_vm, IP 211.77.100.67, Port 22
2025-11-14 17:19:25,612 - 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-14 17:19:25,695 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-11-14 17:19:30,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:19:30,696 - DEBUG - Waiting to SSH to VM test2_vm, IP 211.77.100.67, Port 22
2025-11-14 17:19:30,895 - DEBUG - VM test2_vm is ready for SSH connections
2025-11-14 17:19:31,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:19:31,124 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26462967:ctest-bgpaas_vn-80946253:ctest-bgpaas_vn-80946253.inet.0
2025-11-14 17:19:31,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:19:31,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.77.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-14 17:19:31,140 - DEBUG - ping -s 56 -c 3 -W 1 211.77.100.67
2025-11-14 17:19:35,260 - DEBUG - PING 211.77.100.67 (211.77.100.67): 56 data bytes
64 bytes from 211.77.100.67: seq=0 ttl=63 time=5.285 ms
64 bytes from 211.77.100.67: seq=1 ttl=63 time=1.543 ms
64 bytes from 211.77.100.67: seq=2 ttl=63 time=1.868 ms
--- 211.77.100.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.543/2.898/5.285 ms
2025-11-14 17:19:35,261 - INFO - Ping to IP 211.77.100.67 from VM test_vm passed
2025-11-14 17:19:35,356 - INFO - Deleting VM test2_vm
2025-11-14 17:19:35,435 - INFO - Deleting VM test_vm
2025-11-14 17:19:35,520 - INFO - Deleting VN ctest-bgpaas_vn-80541524
2025-11-14 17:19:35,580 - DEBUG - VN d4e734a8-9280-4a94-8aab-73da735c6686 still in use: Unable to complete operation on network d4e734a8-9280-4a94-8aab-73da735c6686. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-becefa70-f5e2-4bb4-879f-fa0f5fa6fcdc']
2025-11-14 17:19:35,580 - WARNING - Deleting VN ctest-bgpaas_vn-80541524 failed..Will retry
2025-11-14 17:19:37,864 - DEBUG - Response for deleting network ()
2025-11-14 17:19:37,864 - INFO - Deleting VN ctest-bgpaas_vn-80946253
2025-11-14 17:19:38,016 - DEBUG - Response for deleting network ()
2025-11-14 17:19:38,327 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 17:19:38,327 - INFO - END TEST : test_rp_interface : PASSED[0:00:32]
2025-11-14 17:19:38,328 - INFO - --------------------------------------------------------------------------------
2025-11-14 17:19:39,195 - INFO - Deleted project: ctest-TestRP-26462967, ID : 97b267a1-4b52-496d-ac4c-c9cbeb6ec0c8