2025-09-05 12:45:41,348 - INFO - Domain Default found not creating 2025-09-05 12:45:41,500 - INFO - Project ctest-TestRP-15996850 not found, creating it 2025-09-05 12:45:41,946 - INFO - Created Project:ctest-TestRP-15996850, ID : b290cdd3-243b-4239-aa32-fa29ac9b7b03 2025-09-05 12:45:43,500 - DEBUG - Services list from nova: [, , ] 2025-09-05 12:45:43,500 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4024-1']} 2025-09-05 12:45:43,503 - INFO - ================================================================================ 2025-09-05 12:45:43,503 - INFO - STARTING TEST : test_rp_interface 2025-09-05 12:45:43,503 - 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-05 12:45:43,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 12:45:43,763 - INFO - Initial checks done. Running the testcase now 2025-09-05 12:45:43,763 - INFO - 2025-09-05 12:45:44,351 - DEBUG - Response for create_network : {'network': {'id': 'a6cf2c54-a062-421f-84cc-b72db700fc0f', 'name': 'ctest-bgpaas_vn-64646505', 'tenant_id': 'b290cdd3243b4239aa32fa29ac9b7b03', 'project_id': 'b290cdd3243b4239aa32fa29ac9b7b03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-15996850', 'ctest-bgpaas_vn-64646505'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:45:44,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1abd109-5d3f-4b60-8d78-1198b52a9cb7', 'name': '', 'tenant_id': 'b290cdd3243b4239aa32fa29ac9b7b03', 'network_id': 'a6cf2c54-a062-421f-84cc-b72db700fc0f', 'ip_version': 4, 'cidr': '217.52.3.0/26', 'allocation_pools': [{'start': '217.52.3.2', 'end': '217.52.3.62'}], 'gateway_ip': '217.52.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.52.3.2', 'tags': [], 'project_id': 'b290cdd3243b4239aa32fa29ac9b7b03'}} 2025-09-05 12:45:44,569 - INFO - Created VN ctest-bgpaas_vn-64646505 2025-09-05 12:45:44,621 - DEBUG - VN ctest-bgpaas_vn-64646505 UUID is a6cf2c54-a062-421f-84cc-b72db700fc0f 2025-09-05 12:45:45,125 - DEBUG - Response for create_network : {'network': {'id': '904cc5ab-60bd-4c48-93ba-3b06961972ca', 'name': 'ctest-bgpaas_vn-53506242', 'tenant_id': 'b290cdd3243b4239aa32fa29ac9b7b03', 'project_id': 'b290cdd3243b4239aa32fa29ac9b7b03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-15996850', 'ctest-bgpaas_vn-53506242'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:45:45,344 - DEBUG - Response for create_subnet : {'subnet': {'id': '34cd5989-577f-4a58-9cfa-34ecf810696a', 'name': '', 'tenant_id': 'b290cdd3243b4239aa32fa29ac9b7b03', 'network_id': '904cc5ab-60bd-4c48-93ba-3b06961972ca', 'ip_version': 4, 'cidr': '194.219.188.192/26', 'allocation_pools': [{'start': '194.219.188.194', 'end': '194.219.188.254'}], 'gateway_ip': '194.219.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.219.188.194', 'tags': [], 'project_id': 'b290cdd3243b4239aa32fa29ac9b7b03'}} 2025-09-05 12:45:45,362 - INFO - Created VN ctest-bgpaas_vn-53506242 2025-09-05 12:45:45,413 - DEBUG - VN ctest-bgpaas_vn-53506242 UUID is 904cc5ab-60bd-4c48-93ba-3b06961972ca 2025-09-05 12:45:46,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:45:48,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:45:48,090 - INFO - Waiting for VM test_vm to be up.. 2025-09-05 12:45:48,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 12:45:53,249 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:45:53,249 - INFO - VM name : test_vm 2025-09-05 12:45:53,331 - DEBUG - VM test_vm ID is e8a7b0d2-de7a-4b31-b2da-3bc9fc36e817 2025-09-05 12:45:53,350 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:45:53,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e8a7b0d2-de7a-4b31-b2da-3bc9fc36e817 2025-09-05 12:45:53,759 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e8a7b0d2-de7a-4b31-b2da-3bc9fc36e817 2025-09-05 12:45:53,790 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ce4dc788-6251-4dae-bb22-8d51be2335c5 2025-09-05 12:45:57,039 - 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 1010ms') 2025-09-05 12:45:57,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-05 12:45:57,093 - DEBUG - Gateway for vn default-domain:ctest-TestRP-15996850:ctest-bgpaas_vn-64646505 is 217.52.3.1 and allocation pool is NOT set 2025-09-05 12:45:59,151 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.914 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 = 0.914/2.565/4.216/1.651 ms') 2025-09-05 12:45:59,151 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-05 12:45:59,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:45:59,301 - DEBUG - Waiting to SSH to VM test_vm, IP 217.52.3.3, Port 22 2025-09-05 12:45:59,372 - 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-05 12:45:59,446 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-05 12:46:04,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:46:04,447 - DEBUG - Waiting to SSH to VM test_vm, IP 217.52.3.3, Port 22 2025-09-05 12:46:04,605 - DEBUG - VM test_vm is ready for SSH connections 2025-09-05 12:46:04,606 - INFO - Waiting for VM test2_vm to be up.. 2025-09-05 12:46:04,698 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:46:04,699 - INFO - VM name : test2_vm 2025-09-05 12:46:04,775 - DEBUG - VM test2_vm ID is 40f5b98c-57ed-42f4-aba4-831ef0b0fc95 2025-09-05 12:46:04,775 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:46:04,853 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40f5b98c-57ed-42f4-aba4-831ef0b0fc95 2025-09-05 12:46:04,861 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/999db3f8-21c7-43bc-bbfb-3b19437afd34 2025-09-05 12:46:06,106 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.799/3.218/1.419 ms') 2025-09-05 12:46:06,106 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-05 12:46:06,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:46:06,257 - DEBUG - Waiting to SSH to VM test2_vm, IP 194.219.188.195, Port 22 2025-09-05 12:46:06,412 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-05 12:46:06,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:46:06,575 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-15996850:ctest-bgpaas_vn-64646505:ctest-bgpaas_vn-64646505.inet.0 2025-09-05 12:46:06,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:46:06,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.219.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:46:06,586 - DEBUG - ping -s 56 -c 3 -W 1 194.219.188.195 2025-09-05 12:46:10,308 - DEBUG - PING 194.219.188.195 (194.219.188.195): 56 data bytes 64 bytes from 194.219.188.195: seq=0 ttl=63 time=3.953 ms 64 bytes from 194.219.188.195: seq=1 ttl=63 time=1.186 ms 64 bytes from 194.219.188.195: seq=2 ttl=63 time=0.729 ms --- 194.219.188.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.729/1.956/3.953 ms 2025-09-05 12:46:10,308 - INFO - Ping to IP 194.219.188.195 from VM test_vm passed 2025-09-05 12:46:10,377 - INFO - Deleting VM test2_vm 2025-09-05 12:46:10,450 - INFO - Deleting VM test_vm 2025-09-05 12:46:10,525 - INFO - Deleting VN ctest-bgpaas_vn-53506242 2025-09-05 12:46:10,565 - DEBUG - VN 904cc5ab-60bd-4c48-93ba-3b06961972ca still in use: Unable to complete operation on network 904cc5ab-60bd-4c48-93ba-3b06961972ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67a971df-2654-42c9-8035-7085775ff0c1'] 2025-09-05 12:46:10,565 - WARNING - Deleting VN ctest-bgpaas_vn-53506242 failed..Will retry 2025-09-05 12:46:12,663 - DEBUG - Response for deleting network () 2025-09-05 12:46:12,663 - INFO - Deleting VN ctest-bgpaas_vn-64646505 2025-09-05 12:46:12,755 - DEBUG - Response for deleting network () 2025-09-05 12:46:13,018 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 12:46:13,018 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-09-05 12:46:13,018 - INFO - -------------------------------------------------------------------------------- 2025-09-05 12:46:13,734 - INFO - Deleted project: ctest-TestRP-15996850, ID : b290cdd3-243b-4239-aa32-fa29ac9b7b03