2025-10-09 20:30:30,980 - INFO - Domain Default found not creating 2025-10-09 20:30:31,292 - INFO - Project ctest-TestRP-77910475 not found, creating it 2025-10-09 20:30:31,985 - INFO - Created Project:ctest-TestRP-77910475, ID : 99b7e03b-e9e5-4695-a822-d98a8481dc1d 2025-10-09 20:30:34,088 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:30:34,088 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4277-1']} 2025-10-09 20:30:34,095 - INFO - ================================================================================ 2025-10-09 20:30:34,095 - INFO - STARTING TEST : test_rp_interface 2025-10-09 20:30:34,095 - 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-09 20:30:34,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-09 20:30:34,383 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:30:34,383 - INFO - 2025-10-09 20:30:35,183 - DEBUG - Response for create_network : {'network': {'id': 'e21896d4-a198-455c-b571-a8df03d29179', 'name': 'ctest-bgpaas_vn-74820991', 'tenant_id': '99b7e03be9e54695a822d98a8481dc1d', 'project_id': '99b7e03be9e54695a822d98a8481dc1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-77910475', 'ctest-bgpaas_vn-74820991'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:30:35,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '16163a10-7a08-4ef3-9e23-c6c50896d554', 'name': '', 'tenant_id': '99b7e03be9e54695a822d98a8481dc1d', 'network_id': 'e21896d4-a198-455c-b571-a8df03d29179', 'ip_version': 4, 'cidr': '43.205.134.192/26', 'allocation_pools': [{'start': '43.205.134.194', 'end': '43.205.134.254'}], 'gateway_ip': '43.205.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.205.134.194', 'tags': [], 'project_id': '99b7e03be9e54695a822d98a8481dc1d'}} 2025-10-09 20:30:35,502 - INFO - Created VN ctest-bgpaas_vn-74820991 2025-10-09 20:30:35,558 - DEBUG - VN ctest-bgpaas_vn-74820991 UUID is e21896d4-a198-455c-b571-a8df03d29179 2025-10-09 20:30:36,192 - DEBUG - Response for create_network : {'network': {'id': '1f5ce797-a808-4e7b-9b4e-1db17b98617b', 'name': 'ctest-bgpaas_vn-17410930', 'tenant_id': '99b7e03be9e54695a822d98a8481dc1d', 'project_id': '99b7e03be9e54695a822d98a8481dc1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-77910475', 'ctest-bgpaas_vn-17410930'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:30:36,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '043a4c22-4c27-4be2-9cc6-9f36f8dc643f', 'name': '', 'tenant_id': '99b7e03be9e54695a822d98a8481dc1d', 'network_id': '1f5ce797-a808-4e7b-9b4e-1db17b98617b', 'ip_version': 4, 'cidr': '207.255.76.64/26', 'allocation_pools': [{'start': '207.255.76.66', 'end': '207.255.76.126'}], 'gateway_ip': '207.255.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.255.76.66', 'tags': [], 'project_id': '99b7e03be9e54695a822d98a8481dc1d'}} 2025-10-09 20:30:36,484 - INFO - Created VN ctest-bgpaas_vn-17410930 2025-10-09 20:30:36,546 - DEBUG - VN ctest-bgpaas_vn-17410930 UUID is 1f5ce797-a808-4e7b-9b4e-1db17b98617b 2025-10-09 20:30:38,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:30:39,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:30:39,818 - INFO - Waiting for VM test_vm to be up.. 2025-10-09 20:30:39,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:30:45,090 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:30:45,090 - INFO - VM name : test_vm 2025-10-09 20:30:45,222 - DEBUG - VM test_vm ID is d2b16218-d384-4cff-91a5-fee93eafab9a 2025-10-09 20:30:45,269 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:30:45,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d2b16218-d384-4cff-91a5-fee93eafab9a 2025-10-09 20:30:45,702 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d2b16218-d384-4cff-91a5-fee93eafab9a 2025-10-09 20:30:45,757 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f73b4e58-8bb4-474c-a005-a1ab74e25e1d 2025-10-09 20:30:49,036 - 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-10-09 20:30:49,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-09 20:30:49,114 - DEBUG - Gateway for vn default-domain:ctest-TestRP-77910475:ctest-bgpaas_vn-74820991 is 43.205.134.193 and allocation pool is NOT set 2025-10-09 20:30:51,191 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.588 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.588/2.471/4.354/1.883 ms') 2025-10-09 20:30:51,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-09 20:30:51,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:51,374 - DEBUG - Waiting to SSH to VM test_vm, IP 43.205.134.195, Port 22 2025-10-09 20:30:51,443 - 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-09 20:30:51,602 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 20:30:56,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:56,603 - DEBUG - Waiting to SSH to VM test_vm, IP 43.205.134.195, Port 22 2025-10-09 20:30:56,806 - DEBUG - VM test_vm is ready for SSH connections 2025-10-09 20:30:56,806 - INFO - Waiting for VM test2_vm to be up.. 2025-10-09 20:30:56,952 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:30:56,953 - INFO - VM name : test2_vm 2025-10-09 20:30:57,097 - DEBUG - VM test2_vm ID is 652d00bd-ae40-45df-989c-9df166f9bcbc 2025-10-09 20:30:57,097 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:30:57,255 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/652d00bd-ae40-45df-989c-9df166f9bcbc 2025-10-09 20:30:57,280 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3f71e38e-860f-4a98-acd8-8c4a91f91798 2025-10-09 20:30:58,595 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.526/2.164/3.802/1.638 ms') 2025-10-09 20:30:58,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-09 20:30:58,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:58,779 - DEBUG - Waiting to SSH to VM test2_vm, IP 207.255.76.67, Port 22 2025-10-09 20:30:58,958 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-09 20:30:59,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:59,191 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-77910475:ctest-bgpaas_vn-74820991:ctest-bgpaas_vn-74820991.inet.0 2025-10-09 20:30:59,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:59,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.255.76.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:30:59,211 - DEBUG - ping -s 56 -c 3 -W 1 207.255.76.67 2025-10-09 20:31:03,287 - DEBUG - PING 207.255.76.67 (207.255.76.67): 56 data bytes 64 bytes from 207.255.76.67: seq=0 ttl=63 time=5.270 ms 64 bytes from 207.255.76.67: seq=1 ttl=63 time=2.476 ms 64 bytes from 207.255.76.67: seq=2 ttl=63 time=5.003 ms --- 207.255.76.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.476/4.249/5.270 ms 2025-10-09 20:31:03,287 - INFO - Ping to IP 207.255.76.67 from VM test_vm passed 2025-10-09 20:31:03,350 - INFO - Deleting VM test2_vm 2025-10-09 20:31:03,519 - INFO - Deleting VM test_vm 2025-10-09 20:31:03,601 - INFO - Deleting VN ctest-bgpaas_vn-17410930 2025-10-09 20:31:03,648 - DEBUG - VN 1f5ce797-a808-4e7b-9b4e-1db17b98617b still in use: Unable to complete operation on network 1f5ce797-a808-4e7b-9b4e-1db17b98617b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3045cf1-d6ed-4d1e-b4c6-7da73dcdb073'] 2025-10-09 20:31:03,648 - WARNING - Deleting VN ctest-bgpaas_vn-17410930 failed..Will retry 2025-10-09 20:31:05,856 - DEBUG - Response for deleting network () 2025-10-09 20:31:05,856 - INFO - Deleting VN ctest-bgpaas_vn-74820991 2025-10-09 20:31:05,998 - DEBUG - Response for deleting network () 2025-10-09 20:31:06,297 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:31:06,297 - INFO - END TEST : test_rp_interface : PASSED[0:00:32]
2025-10-09 20:31:06,298 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:31:07,231 - INFO - Deleted project: ctest-TestRP-77910475, ID : 99b7e03b-e9e5-4695-a822-d98a8481dc1d