2025-11-12 03:26:10,379 - INFO - Domain Default found not creating 2025-11-12 03:26:10,503 - INFO - Project ctest-TestRP-17218309 not found, creating it 2025-11-12 03:26:10,959 - INFO - Created Project:ctest-TestRP-17218309, ID : fe8ab8ee-3786-4ee5-862e-72386ee403bd 2025-11-12 03:26:12,774 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:26:12,774 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4698-1']} 2025-11-12 03:26:12,776 - INFO - ================================================================================ 2025-11-12 03:26:12,776 - INFO - STARTING TEST : test_rp_interface 2025-11-12 03:26:12,776 - 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-12 03:26:13,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 03:26:13,031 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:26:13,032 - INFO - 2025-11-12 03:26:13,549 - DEBUG - Response for create_network : {'network': {'id': 'bbbd57fe-65ab-4bad-bd85-d02e78b6bd63', 'name': 'ctest-bgpaas_vn-45841086', 'tenant_id': 'fe8ab8ee37864ee5862e72386ee403bd', 'project_id': 'fe8ab8ee37864ee5862e72386ee403bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-17218309', 'ctest-bgpaas_vn-45841086'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:26:13,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b924376-8b58-435b-b750-2cfdde42de8b', 'name': '', 'tenant_id': 'fe8ab8ee37864ee5862e72386ee403bd', 'network_id': 'bbbd57fe-65ab-4bad-bd85-d02e78b6bd63', 'ip_version': 4, 'cidr': '113.43.177.0/26', 'allocation_pools': [{'start': '113.43.177.2', 'end': '113.43.177.62'}], 'gateway_ip': '113.43.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.43.177.2', 'tags': [], 'project_id': 'fe8ab8ee37864ee5862e72386ee403bd'}} 2025-11-12 03:26:13,740 - INFO - Created VN ctest-bgpaas_vn-45841086 2025-11-12 03:26:13,795 - DEBUG - VN ctest-bgpaas_vn-45841086 UUID is bbbd57fe-65ab-4bad-bd85-d02e78b6bd63 2025-11-12 03:26:14,267 - DEBUG - Response for create_network : {'network': {'id': '24e741d1-1dad-45dc-9719-8645ca99f599', 'name': 'ctest-bgpaas_vn-89874116', 'tenant_id': 'fe8ab8ee37864ee5862e72386ee403bd', 'project_id': 'fe8ab8ee37864ee5862e72386ee403bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-17218309', 'ctest-bgpaas_vn-89874116'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:26:14,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '7612503b-9be5-4837-b16b-5efdc4996df3', 'name': '', 'tenant_id': 'fe8ab8ee37864ee5862e72386ee403bd', 'network_id': '24e741d1-1dad-45dc-9719-8645ca99f599', 'ip_version': 4, 'cidr': '118.227.150.64/26', 'allocation_pools': [{'start': '118.227.150.66', 'end': '118.227.150.126'}], 'gateway_ip': '118.227.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.227.150.66', 'tags': [], 'project_id': 'fe8ab8ee37864ee5862e72386ee403bd'}} 2025-11-12 03:26:14,465 - INFO - Created VN ctest-bgpaas_vn-89874116 2025-11-12 03:26:14,515 - DEBUG - VN ctest-bgpaas_vn-89874116 UUID is 24e741d1-1dad-45dc-9719-8645ca99f599 2025-11-12 03:26:15,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:26:16,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:26:16,891 - INFO - Waiting for VM test_vm to be up.. 2025-11-12 03:26:16,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:26:22,047 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:26:22,047 - INFO - VM name : test_vm 2025-11-12 03:26:22,112 - DEBUG - VM test_vm ID is c3132f5a-e363-481d-96b9-db08ba93d89c 2025-11-12 03:26:22,130 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:26:22,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3132f5a-e363-481d-96b9-db08ba93d89c 2025-11-12 03:26:22,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3132f5a-e363-481d-96b9-db08ba93d89c 2025-11-12 03:26:22,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9d708b73-fdbf-435b-8e85-09173710c445 2025-11-12 03:26:25,772 - 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 1032ms') 2025-11-12 03:26:25,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-12 03:26:25,827 - DEBUG - Gateway for vn default-domain:ctest-TestRP-17218309:ctest-bgpaas_vn-45841086 is 113.43.177.1 and allocation pool is NOT set 2025-11-12 03:26:27,889 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.332 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 = 0.332/1.641/2.951/1.309 ms') 2025-11-12 03:26:27,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-12 03:26:28,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:26:28,039 - DEBUG - Waiting to SSH to VM test_vm, IP 113.43.177.3, Port 22 2025-11-12 03:26:28,095 - 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-11-12 03:26:28,159 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 03:26:33,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:26:33,160 - DEBUG - Waiting to SSH to VM test_vm, IP 113.43.177.3, Port 22 2025-11-12 03:26:33,329 - DEBUG - VM test_vm is ready for SSH connections 2025-11-12 03:26:33,329 - INFO - Waiting for VM test2_vm to be up.. 2025-11-12 03:26:33,403 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:26:33,403 - INFO - VM name : test2_vm 2025-11-12 03:26:33,475 - DEBUG - VM test2_vm ID is fdc38c73-c9f2-434b-8572-c37b22c8e343 2025-11-12 03:26:33,476 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:26:33,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdc38c73-c9f2-434b-8572-c37b22c8e343 2025-11-12 03:26:33,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ef1a968-cbd2-4620-94ec-6412389001e5 2025-11-12 03:26:34,778 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.485/2.625/1.140 ms') 2025-11-12 03:26:34,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-12 03:26:34,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:26:34,931 - DEBUG - Waiting to SSH to VM test2_vm, IP 118.227.150.67, Port 22 2025-11-12 03:26:35,082 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-12 03:26:35,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:26:35,236 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-17218309:ctest-bgpaas_vn-45841086:ctest-bgpaas_vn-45841086.inet.0 2025-11-12 03:26:35,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:26:35,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.227.150.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:26:35,245 - DEBUG - ping -s 56 -c 3 -W 1 118.227.150.67 2025-11-12 03:26:38,911 - DEBUG - PING 118.227.150.67 (118.227.150.67): 56 data bytes 64 bytes from 118.227.150.67: seq=0 ttl=63 time=3.583 ms 64 bytes from 118.227.150.67: seq=1 ttl=63 time=0.684 ms 64 bytes from 118.227.150.67: seq=2 ttl=63 time=0.728 ms --- 118.227.150.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.684/1.665/3.583 ms 2025-11-12 03:26:38,911 - INFO - Ping to IP 118.227.150.67 from VM test_vm passed 2025-11-12 03:26:38,961 - INFO - Deleting VM test2_vm 2025-11-12 03:26:39,120 - INFO - Deleting VM test_vm 2025-11-12 03:26:39,193 - INFO - Deleting VN ctest-bgpaas_vn-89874116 2025-11-12 03:26:39,230 - DEBUG - VN 24e741d1-1dad-45dc-9719-8645ca99f599 still in use: Unable to complete operation on network 24e741d1-1dad-45dc-9719-8645ca99f599. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fa6fd5e-5f82-4acd-a366-4346f9205c5c'] 2025-11-12 03:26:39,230 - WARNING - Deleting VN ctest-bgpaas_vn-89874116 failed..Will retry 2025-11-12 03:26:41,309 - DEBUG - Response for deleting network () 2025-11-12 03:26:41,309 - INFO - Deleting VN ctest-bgpaas_vn-45841086 2025-11-12 03:26:41,395 - DEBUG - Response for deleting network () 2025-11-12 03:26:41,652 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 03:26:41,652 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-11-12 03:26:41,652 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:26:42,280 - INFO - Deleted project: ctest-TestRP-17218309, ID : fe8ab8ee-3786-4ee5-862e-72386ee403bd