2025-09-18 12:42:20,412 - INFO - Domain Default found not creating 2025-09-18 12:42:20,568 - INFO - Project ctest-TestRouters-99197276 not found, creating it 2025-09-18 12:42:21,018 - INFO - Created Project:ctest-TestRouters-99197276, ID : f9077ffb-6223-466e-99b5-e4d3f97fa1de 2025-09-18 12:42:22,554 - INFO - ================================================================================ 2025-09-18 12:42:22,554 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-18 12:42:22,555 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-09-18 12:42:22,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-09-18 12:42:22,809 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:42:22,809 - INFO - 2025-09-18 12:42:23,347 - DEBUG - Response for create_network : {'network': {'id': '22a700e4-770d-4ed4-b464-31fd281fb2c4', 'name': 'ctest-vn1-67835833', 'tenant_id': 'f9077ffb6223466e99b5e4d3f97fa1de', 'project_id': 'f9077ffb6223466e99b5e4d3f97fa1de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99197276', 'ctest-vn1-67835833'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:42:23,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '70f34562-7563-4b7a-9525-dd2bbed99f81', 'name': '', 'tenant_id': 'f9077ffb6223466e99b5e4d3f97fa1de', 'network_id': '22a700e4-770d-4ed4-b464-31fd281fb2c4', 'ip_version': 4, 'cidr': '17.207.54.128/26', 'allocation_pools': [{'start': '17.207.54.130', 'end': '17.207.54.190'}], 'gateway_ip': '17.207.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.207.54.130', 'tags': [], 'project_id': 'f9077ffb6223466e99b5e4d3f97fa1de'}} 2025-09-18 12:42:23,542 - INFO - Created VN ctest-vn1-67835833 2025-09-18 12:42:23,595 - DEBUG - VN ctest-vn1-67835833 UUID is 22a700e4-770d-4ed4-b464-31fd281fb2c4 2025-09-18 12:42:23,954 - DEBUG - Response for create_network : {'network': {'id': '78507933-ff87-4c3d-9d11-d460fba3a02f', 'name': 'ctest-vn2-04327468', 'tenant_id': 'f9077ffb6223466e99b5e4d3f97fa1de', 'project_id': 'f9077ffb6223466e99b5e4d3f97fa1de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99197276', 'ctest-vn2-04327468'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:42:24,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '98096b13-2f5c-4b42-919b-1b1c4de98285', 'name': '', 'tenant_id': 'f9077ffb6223466e99b5e4d3f97fa1de', 'network_id': '78507933-ff87-4c3d-9d11-d460fba3a02f', 'ip_version': 4, 'cidr': '27.28.24.128/26', 'allocation_pools': [{'start': '27.28.24.130', 'end': '27.28.24.190'}], 'gateway_ip': '27.28.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.28.24.130', 'tags': [], 'project_id': 'f9077ffb6223466e99b5e4d3f97fa1de'}} 2025-09-18 12:42:24,199 - INFO - Created VN ctest-vn2-04327468 2025-09-18 12:42:24,251 - DEBUG - VN ctest-vn2-04327468 UUID is 78507933-ff87-4c3d-9d11-d460fba3a02f 2025-09-18 12:42:24,494 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:42:25,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4137-1) 2025-09-18 12:42:26,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4137-1) 2025-09-18 12:42:26,805 - INFO - Adding interface with subnet_id 70f34562-7563-4b7a-9525-dd2bbed99f81, port_id None to router bba2d62a-ffa2-47ed-a00c-51d8334a92d5 2025-09-18 12:42:27,049 - INFO - Waiting for VM ctest-vn1-vm1-39127446 to be up.. 2025-09-18 12:42:27,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:42:32,218 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:32,218 - INFO - VM name : ctest-vn1-vm1-39127446 2025-09-18 12:42:32,292 - DEBUG - VM ctest-vn1-vm1-39127446 ID is e4a03204-3548-46e7-99ec-6daf3bd8e3a3 2025-09-18 12:42:32,311 - DEBUG - VM ctest-vn1-vm1-39127446 launched on Node cn-jenkins-deploy-platform-ansible-os-4137-1 2025-09-18 12:42:32,396 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e4a03204-3548-46e7-99ec-6daf3bd8e3a3 2025-09-18 12:42:32,699 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e4a03204-3548-46e7-99ec-6daf3bd8e3a3 2025-09-18 12:42:32,730 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ca3f5b2b-b1a2-4abd-843a-7b2ae967c333 2025-09-18 12:42:35,986 - 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 1019ms') 2025-09-18 12:42:35,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39127446 failed! 2025-09-18 12:42:36,043 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99197276:ctest-vn1-67835833 is 17.207.54.129 and allocation pool is NOT set 2025-09-18 12:42:38,109 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.17 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 = 2.173/3.231/4.290/1.058 ms') 2025-09-18 12:42:38,109 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39127446 passed 2025-09-18 12:42:38,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:38,259 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39127446, IP 17.207.54.131, Port 22 2025-09-18 12:42:38,423 - DEBUG - VM ctest-vn1-vm1-39127446 is ready for SSH connections 2025-09-18 12:42:38,423 - INFO - Waiting for VM ctest-vn2-vm1-34740815 to be up.. 2025-09-18 12:42:38,495 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:38,496 - INFO - VM name : ctest-vn2-vm1-34740815 2025-09-18 12:42:38,572 - DEBUG - VM ctest-vn2-vm1-34740815 ID is 0103d9be-a282-4cc1-8180-478e7b9102b6 2025-09-18 12:42:38,572 - DEBUG - VM ctest-vn2-vm1-34740815 launched on Node cn-jenkins-deploy-platform-ansible-os-4137-1 2025-09-18 12:42:38,657 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0103d9be-a282-4cc1-8180-478e7b9102b6 2025-09-18 12:42:38,666 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/10bac378-a08a-4bd9-aca2-672146000fbd 2025-09-18 12:42:39,907 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.06 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 = 1.057/2.362/3.668/1.305 ms') 2025-09-18 12:42:39,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34740815 passed 2025-09-18 12:42:40,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:40,057 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34740815, IP 27.28.24.131, Port 22 2025-09-18 12:42:40,218 - DEBUG - VM ctest-vn2-vm1-34740815 is ready for SSH connections 2025-09-18 12:42:40,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:40,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.28.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:42:40,218 - DEBUG - ping -s 56 -c 3 -W 1 27.28.24.131 2025-09-18 12:42:44,881 - DEBUG - PING 27.28.24.131 (27.28.24.131): 56 data bytes --- 27.28.24.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 12:42:44,881 - WARNING - Ping to IP 27.28.24.131 from VM ctest-vn1-vm1-39127446 failed 2025-09-18 12:42:44,881 - INFO - Adding interface with subnet_id 98096b13-2f5c-4b42-919b-1b1c4de98285, port_id None to router bba2d62a-ffa2-47ed-a00c-51d8334a92d5 2025-09-18 12:42:45,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:45,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.28.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:42:45,097 - DEBUG - ping -s 56 -c 3 -W 1 27.28.24.131 2025-09-18 12:42:47,300 - DEBUG - PING 27.28.24.131 (27.28.24.131): 56 data bytes 64 bytes from 27.28.24.131: seq=0 ttl=63 time=2.920 ms 64 bytes from 27.28.24.131: seq=1 ttl=63 time=0.780 ms 64 bytes from 27.28.24.131: seq=2 ttl=63 time=0.726 ms --- 27.28.24.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.475/2.920 ms 2025-09-18 12:42:47,300 - INFO - Ping to IP 27.28.24.131 from VM ctest-vn1-vm1-39127446 passed 2025-09-18 12:42:47,300 - INFO - Deleting interface with subnet_id 70f34562-7563-4b7a-9525-dd2bbed99f81, port_id None from router bba2d62a-ffa2-47ed-a00c-51d8334a92d5 2025-09-18 12:42:47,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:47,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.28.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:42:47,398 - DEBUG - ping -s 56 -c 3 -W 1 27.28.24.131 2025-09-18 12:42:50,607 - DEBUG - PING 27.28.24.131 (27.28.24.131): 56 data bytes --- 27.28.24.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 12:42:50,607 - WARNING - Ping to IP 27.28.24.131 from VM ctest-vn1-vm1-39127446 failed 2025-09-18 12:42:50,607 - INFO - Adding interface with subnet_id 70f34562-7563-4b7a-9525-dd2bbed99f81, port_id None to router bba2d62a-ffa2-47ed-a00c-51d8334a92d5 2025-09-18 12:42:50,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:50,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.28.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:42:50,803 - DEBUG - ping -s 56 -c 3 -W 1 27.28.24.131 2025-09-18 12:42:53,002 - DEBUG - PING 27.28.24.131 (27.28.24.131): 56 data bytes 64 bytes from 27.28.24.131: seq=0 ttl=63 time=1.468 ms 64 bytes from 27.28.24.131: seq=1 ttl=63 time=0.830 ms 64 bytes from 27.28.24.131: seq=2 ttl=63 time=0.828 ms --- 27.28.24.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.042/1.468 ms 2025-09-18 12:42:53,002 - INFO - Ping to IP 27.28.24.131 from VM ctest-vn1-vm1-39127446 passed 2025-09-18 12:42:53,002 - INFO - Deleting interface with subnet_id 98096b13-2f5c-4b42-919b-1b1c4de98285, port_id None from router bba2d62a-ffa2-47ed-a00c-51d8334a92d5 2025-09-18 12:42:53,111 - INFO - Deleting interface with subnet_id 70f34562-7563-4b7a-9525-dd2bbed99f81, port_id None from router bba2d62a-ffa2-47ed-a00c-51d8334a92d5 2025-09-18 12:42:53,281 - INFO - Deleting VM ctest-vn2-vm1-34740815 2025-09-18 12:42:53,352 - INFO - Deleting VM ctest-vn1-vm1-39127446 2025-09-18 12:42:53,420 - INFO - Deleting VN ctest-vn2-04327468 2025-09-18 12:42:53,459 - DEBUG - VN 78507933-ff87-4c3d-9d11-d460fba3a02f still in use: Unable to complete operation on network 78507933-ff87-4c3d-9d11-d460fba3a02f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b4b08c2-d3cc-48de-88ce-76c9fd31709e'] 2025-09-18 12:42:53,459 - WARNING - Deleting VN ctest-vn2-04327468 failed..Will retry 2025-09-18 12:42:55,545 - DEBUG - Response for deleting network () 2025-09-18 12:42:55,545 - INFO - Deleting VN ctest-vn1-67835833 2025-09-18 12:42:55,630 - DEBUG - Response for deleting network () 2025-09-18 12:42:55,895 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 12:42:55,895 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-09-18 12:42:55,895 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:42:56,545 - INFO - Deleted project: ctest-TestRouters-99197276, ID : f9077ffb-6223-466e-99b5-e4d3f97fa1de