2025-10-27 15:31:48,716 - INFO - Domain Default found not creating 2025-10-27 15:31:48,896 - INFO - Project ctest-TestRP-42907385 not found, creating it 2025-10-27 15:31:49,429 - INFO - Created Project:ctest-TestRP-42907385, ID : a34bbcfc-4d62-4cc3-a1af-ccfcfa4474c5 2025-10-27 15:31:51,146 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:31:51,146 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4508-1']} 2025-10-27 15:31:51,149 - INFO - ================================================================================ 2025-10-27 15:31:51,149 - INFO - STARTING TEST : test_rp_interface 2025-10-27 15:31:51,149 - 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-10-27 15:31:51,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 15:31:51,407 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:31:51,407 - INFO - 2025-10-27 15:31:52,035 - DEBUG - Response for create_network : {'network': {'id': 'ead6dcf4-363e-44c1-9599-40deebae4083', 'name': 'ctest-bgpaas_vn-09018095', 'tenant_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5', 'project_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-42907385', 'ctest-bgpaas_vn-09018095'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:31:52,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '64d67edf-5b0a-425f-87d8-eea59fb5275a', 'name': '', 'tenant_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5', 'network_id': 'ead6dcf4-363e-44c1-9599-40deebae4083', 'ip_version': 4, 'cidr': '145.98.159.128/26', 'allocation_pools': [{'start': '145.98.159.130', 'end': '145.98.159.190'}], 'gateway_ip': '145.98.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.98.159.130', 'tags': [], 'project_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5'}} 2025-10-27 15:31:52,278 - INFO - Created VN ctest-bgpaas_vn-09018095 2025-10-27 15:31:52,332 - DEBUG - VN ctest-bgpaas_vn-09018095 UUID is ead6dcf4-363e-44c1-9599-40deebae4083 2025-10-27 15:31:52,818 - DEBUG - Response for create_network : {'network': {'id': '506aa323-9283-4d2b-9b88-bf3fc247307e', 'name': 'ctest-bgpaas_vn-77427618', 'tenant_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5', 'project_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-42907385', 'ctest-bgpaas_vn-77427618'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:31:53,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e6bca81-6caf-45e1-aa94-65996064afcb', 'name': '', 'tenant_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5', 'network_id': '506aa323-9283-4d2b-9b88-bf3fc247307e', 'ip_version': 4, 'cidr': '45.20.19.0/26', 'allocation_pools': [{'start': '45.20.19.2', 'end': '45.20.19.62'}], 'gateway_ip': '45.20.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.20.19.2', 'tags': [], 'project_id': 'a34bbcfc4d624cc3a1afccfcfa4474c5'}} 2025-10-27 15:31:53,021 - INFO - Created VN ctest-bgpaas_vn-77427618 2025-10-27 15:31:53,076 - DEBUG - VN ctest-bgpaas_vn-77427618 UUID is 506aa323-9283-4d2b-9b88-bf3fc247307e 2025-10-27 15:31:54,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:31:55,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:31:55,767 - INFO - Waiting for VM test_vm to be up.. 2025-10-27 15:31:55,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:32:00,952 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:32:00,953 - INFO - VM name : test_vm 2025-10-27 15:32:01,039 - DEBUG - VM test_vm ID is 23641f60-8dd5-47d0-884f-b2e3664df52b 2025-10-27 15:32:01,063 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:32:01,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/23641f60-8dd5-47d0-884f-b2e3664df52b 2025-10-27 15:32:01,461 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/23641f60-8dd5-47d0-884f-b2e3664df52b 2025-10-27 15:32:01,498 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bdf00762-28a5-453f-966d-5ae55ab40b4c 2025-10-27 15:32:04,747 - 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 1006ms') 2025-10-27 15:32:04,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-27 15:32:04,805 - DEBUG - Gateway for vn default-domain:ctest-TestRP-42907385:ctest-bgpaas_vn-09018095 is 145.98.159.129 and allocation pool is NOT set 2025-10-27 15:32:06,874 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.484/6.387/10.290/3.903 ms') 2025-10-27 15:32:06,874 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-27 15:32:07,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:32:07,024 - DEBUG - Waiting to SSH to VM test_vm, IP 145.98.159.131, Port 22 2025-10-27 15:32:07,093 - 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-10-27 15:32:07,185 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 15:32:12,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:32:12,186 - DEBUG - Waiting to SSH to VM test_vm, IP 145.98.159.131, Port 22 2025-10-27 15:32:12,358 - DEBUG - VM test_vm is ready for SSH connections 2025-10-27 15:32:12,359 - INFO - Waiting for VM test2_vm to be up.. 2025-10-27 15:32:12,447 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:32:12,447 - INFO - VM name : test2_vm 2025-10-27 15:32:12,658 - DEBUG - VM test2_vm ID is 8b7ece03-a869-4074-b576-10a8f68e7698 2025-10-27 15:32:12,659 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:32:12,736 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b7ece03-a869-4074-b576-10a8f68e7698 2025-10-27 15:32:12,745 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b5bc1ca3-a02a-46dc-a97c-a21569ef6521 2025-10-27 15:32:13,991 - 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=0.647 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.647/1.956/3.265/1.309 ms') 2025-10-27 15:32:13,992 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-27 15:32:14,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:32:14,148 - DEBUG - Waiting to SSH to VM test2_vm, IP 45.20.19.3, Port 22 2025-10-27 15:32:14,315 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-27 15:32:14,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:32:14,469 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-42907385:ctest-bgpaas_vn-09018095:ctest-bgpaas_vn-09018095.inet.0 2025-10-27 15:32:15,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:32:15,489 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-42907385:ctest-bgpaas_vn-09018095:ctest-bgpaas_vn-09018095.inet.0 2025-10-27 15:32:15,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:32:15,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.20.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:32:15,502 - DEBUG - ping -s 56 -c 3 -W 1 45.20.19.3 2025-10-27 15:32:19,179 - DEBUG - PING 45.20.19.3 (45.20.19.3): 56 data bytes 64 bytes from 45.20.19.3: seq=0 ttl=63 time=3.844 ms 64 bytes from 45.20.19.3: seq=1 ttl=63 time=0.977 ms 64 bytes from 45.20.19.3: seq=2 ttl=63 time=0.965 ms --- 45.20.19.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/1.928/3.844 ms 2025-10-27 15:32:19,179 - INFO - Ping to IP 45.20.19.3 from VM test_vm passed 2025-10-27 15:32:19,238 - INFO - Deleting VM test2_vm 2025-10-27 15:32:19,326 - INFO - Deleting VM test_vm 2025-10-27 15:32:19,418 - INFO - Deleting VN ctest-bgpaas_vn-77427618 2025-10-27 15:32:19,460 - DEBUG - VN 506aa323-9283-4d2b-9b88-bf3fc247307e still in use: Unable to complete operation on network 506aa323-9283-4d2b-9b88-bf3fc247307e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2bf9fb9-9edd-4559-b008-25c5bcd6c040'] 2025-10-27 15:32:19,460 - WARNING - Deleting VN ctest-bgpaas_vn-77427618 failed..Will retry 2025-10-27 15:32:21,590 - DEBUG - Response for deleting network () 2025-10-27 15:32:21,590 - INFO - Deleting VN ctest-bgpaas_vn-09018095 2025-10-27 15:32:21,708 - DEBUG - Response for deleting network () 2025-10-27 15:32:21,966 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:32:21,966 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-10-27 15:32:21,967 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:32:22,693 - INFO - Deleted project: ctest-TestRP-42907385, ID : a34bbcfc-4d62-4cc3-a1af-ccfcfa4474c5