2025-08-04 02:17:13,843 - INFO - Domain Default found not creating 2025-08-04 02:17:14,021 - INFO - Project ctest-TestRP-99573302 not found, creating it 2025-08-04 02:17:14,533 - INFO - Created Project:ctest-TestRP-99573302, ID : 7e8663ce-7d0b-4941-9951-a46d39ea53b4 2025-08-04 02:17:16,022 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:17:16,022 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3746-1']} 2025-08-04 02:17:16,024 - INFO - ================================================================================ 2025-08-04 02:17:16,025 - INFO - STARTING TEST : test_rp_interface 2025-08-04 02:17:16,025 - 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-08-04 02:17:16,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-04 02:17:16,283 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:17:16,283 - INFO - 2025-08-04 02:17:16,838 - DEBUG - Response for create_network : {'network': {'id': 'e70d38a1-60ef-4e2e-b3fc-42a0f03fd5ce', 'name': 'ctest-bgpaas_vn-94863081', 'tenant_id': '7e8663ce7d0b49419951a46d39ea53b4', 'project_id': '7e8663ce7d0b49419951a46d39ea53b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-99573302', 'ctest-bgpaas_vn-94863081'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:17:17,049 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b68c0794-9066-42dd-b324-bdc0199d2eb9', 'name': '', 'tenant_id': '7e8663ce7d0b49419951a46d39ea53b4', 'network_id': 'e70d38a1-60ef-4e2e-b3fc-42a0f03fd5ce', 'ip_version': 4, 'cidr': '6.47.146.128/26', 'allocation_pools': [{'start': '6.47.146.130', 'end': '6.47.146.190'}], 'gateway_ip': '6.47.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.47.146.130', 'tags': [], 'project_id': '7e8663ce7d0b49419951a46d39ea53b4'}} 2025-08-04 02:17:17,067 - INFO - Created VN ctest-bgpaas_vn-94863081 2025-08-04 02:17:17,121 - DEBUG - VN ctest-bgpaas_vn-94863081 UUID is e70d38a1-60ef-4e2e-b3fc-42a0f03fd5ce 2025-08-04 02:17:17,602 - DEBUG - Response for create_network : {'network': {'id': 'dce3abe6-9185-4c17-aa68-fa2ac7f27910', 'name': 'ctest-bgpaas_vn-25699241', 'tenant_id': '7e8663ce7d0b49419951a46d39ea53b4', 'project_id': '7e8663ce7d0b49419951a46d39ea53b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-99573302', 'ctest-bgpaas_vn-25699241'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:17:17,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc0756da-a7e0-4180-8b73-a8683309b3c8', 'name': '', 'tenant_id': '7e8663ce7d0b49419951a46d39ea53b4', 'network_id': 'dce3abe6-9185-4c17-aa68-fa2ac7f27910', 'ip_version': 4, 'cidr': '51.244.123.128/26', 'allocation_pools': [{'start': '51.244.123.130', 'end': '51.244.123.190'}], 'gateway_ip': '51.244.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.244.123.130', 'tags': [], 'project_id': '7e8663ce7d0b49419951a46d39ea53b4'}} 2025-08-04 02:17:17,847 - INFO - Created VN ctest-bgpaas_vn-25699241 2025-08-04 02:17:17,901 - DEBUG - VN ctest-bgpaas_vn-25699241 UUID is dce3abe6-9185-4c17-aa68-fa2ac7f27910 2025-08-04 02:17:19,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:17:20,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:17:20,475 - INFO - Waiting for VM test_vm to be up.. 2025-08-04 02:17:20,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:17:25,639 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:17:25,640 - INFO - VM name : test_vm 2025-08-04 02:17:25,712 - DEBUG - VM test_vm ID is a3dfc47f-3624-4b99-85c5-916d308ba3f9 2025-08-04 02:17:25,737 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:17:25,806 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a3dfc47f-3624-4b99-85c5-916d308ba3f9 2025-08-04 02:17:26,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a3dfc47f-3624-4b99-85c5-916d308ba3f9 2025-08-04 02:17:26,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1633d42f-6cee-454e-a7f3-5f244b3ea258 2025-08-04 02:17:29,391 - 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 1011ms') 2025-08-04 02:17:29,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-04 02:17:29,449 - DEBUG - Gateway for vn default-domain:ctest-TestRP-99573302:ctest-bgpaas_vn-94863081 is 6.47.146.129 and allocation pool is NOT set 2025-08-04 02:17:31,514 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 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 = 0.613/2.618/4.624/2.005 ms') 2025-08-04 02:17:31,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-04 02:17:31,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:17:31,673 - DEBUG - Waiting to SSH to VM test_vm, IP 6.47.146.131, Port 22 2025-08-04 02:17:31,738 - 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-08-04 02:17:31,819 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 02:17:36,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:17:36,820 - DEBUG - Waiting to SSH to VM test_vm, IP 6.47.146.131, Port 22 2025-08-04 02:17:36,981 - DEBUG - VM test_vm is ready for SSH connections 2025-08-04 02:17:36,981 - INFO - Waiting for VM test2_vm to be up.. 2025-08-04 02:17:37,061 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:17:37,061 - INFO - VM name : test2_vm 2025-08-04 02:17:37,142 - DEBUG - VM test2_vm ID is c01579be-de9d-4cab-9d7e-dfce2a754b82 2025-08-04 02:17:37,142 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:17:37,215 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c01579be-de9d-4cab-9d7e-dfce2a754b82 2025-08-04 02:17:37,225 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b05b525d-8f1f-421b-893d-5aedfe7ae7ee 2025-08-04 02:17:38,469 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.696/2.862/1.165 ms') 2025-08-04 02:17:38,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-04 02:17:38,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:17:38,621 - DEBUG - Waiting to SSH to VM test2_vm, IP 51.244.123.131, Port 22 2025-08-04 02:17:38,776 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-04 02:17:38,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:17:38,947 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-99573302:ctest-bgpaas_vn-94863081:ctest-bgpaas_vn-94863081.inet.0 2025-08-04 02:17:38,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:17:38,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.244.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:17:38,958 - DEBUG - ping -s 56 -c 3 -W 1 51.244.123.131 2025-08-04 02:17:42,994 - DEBUG - PING 51.244.123.131 (51.244.123.131): 56 data bytes 64 bytes from 51.244.123.131: seq=0 ttl=63 time=3.669 ms 64 bytes from 51.244.123.131: seq=1 ttl=63 time=0.871 ms 64 bytes from 51.244.123.131: seq=2 ttl=63 time=0.944 ms --- 51.244.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.828/3.669 ms 2025-08-04 02:17:42,994 - INFO - Ping to IP 51.244.123.131 from VM test_vm passed 2025-08-04 02:17:43,093 - INFO - Deleting VM test2_vm 2025-08-04 02:17:43,169 - INFO - Deleting VM test_vm 2025-08-04 02:17:43,259 - INFO - Deleting VN ctest-bgpaas_vn-25699241 2025-08-04 02:17:43,311 - DEBUG - VN dce3abe6-9185-4c17-aa68-fa2ac7f27910 still in use: Unable to complete operation on network dce3abe6-9185-4c17-aa68-fa2ac7f27910. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-886a6ee8-6947-4b8d-96ae-33aa111305f5'] 2025-08-04 02:17:43,311 - WARNING - Deleting VN ctest-bgpaas_vn-25699241 failed..Will retry 2025-08-04 02:17:45,445 - DEBUG - Response for deleting network () 2025-08-04 02:17:45,445 - INFO - Deleting VN ctest-bgpaas_vn-94863081 2025-08-04 02:17:45,564 - DEBUG - Response for deleting network () 2025-08-04 02:17:45,825 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:17:45,825 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-08-04 02:17:45,825 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:17:46,522 - INFO - Deleted project: ctest-TestRP-99573302, ID : 7e8663ce-7d0b-4941-9951-a46d39ea53b4