2025-09-24 21:53:30,004 - INFO - Domain Default found not creating 2025-09-24 21:53:30,169 - INFO - Project ctest-TestRouters-21955681 not found, creating it 2025-09-24 21:53:30,694 - INFO - Created Project:ctest-TestRouters-21955681, ID : 8add2f7d-0658-442e-afe1-1dca8cd1c92b 2025-09-24 21:53:32,429 - INFO - ================================================================================ 2025-09-24 21:53:32,429 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-24 21:53:32,429 - 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-24 21:53:32,688 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 21:53:32,688 - INFO - Initial checks done. Running the testcase now 2025-09-24 21:53:32,688 - INFO - 2025-09-24 21:53:33,284 - DEBUG - Response for create_network : {'network': {'id': '13b72535-7324-4c88-b2f8-513b400a3806', 'name': 'ctest-vn1-83936355', 'tenant_id': '8add2f7d0658442eafe11dca8cd1c92b', 'project_id': '8add2f7d0658442eafe11dca8cd1c92b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21955681', 'ctest-vn1-83936355'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:53:33,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '387957f5-ec51-4cfd-a406-94791b2a66ea', 'name': '', 'tenant_id': '8add2f7d0658442eafe11dca8cd1c92b', 'network_id': '13b72535-7324-4c88-b2f8-513b400a3806', 'ip_version': 4, 'cidr': '21.183.124.64/26', 'allocation_pools': [{'start': '21.183.124.66', 'end': '21.183.124.126'}], 'gateway_ip': '21.183.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.183.124.66', 'tags': [], 'project_id': '8add2f7d0658442eafe11dca8cd1c92b'}} 2025-09-24 21:53:33,529 - INFO - Created VN ctest-vn1-83936355 2025-09-24 21:53:33,586 - DEBUG - VN ctest-vn1-83936355 UUID is 13b72535-7324-4c88-b2f8-513b400a3806 2025-09-24 21:53:33,932 - DEBUG - Response for create_network : {'network': {'id': 'b996c88a-8750-47dd-8af7-ef5354f1c15c', 'name': 'ctest-vn2-33964749', 'tenant_id': '8add2f7d0658442eafe11dca8cd1c92b', 'project_id': '8add2f7d0658442eafe11dca8cd1c92b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21955681', 'ctest-vn2-33964749'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:53:34,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '25567863-ea01-4184-af06-216b7ffdfe0f', 'name': '', 'tenant_id': '8add2f7d0658442eafe11dca8cd1c92b', 'network_id': 'b996c88a-8750-47dd-8af7-ef5354f1c15c', 'ip_version': 4, 'cidr': '169.86.93.0/26', 'allocation_pools': [{'start': '169.86.93.2', 'end': '169.86.93.62'}], 'gateway_ip': '169.86.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.86.93.2', 'tags': [], 'project_id': '8add2f7d0658442eafe11dca8cd1c92b'}} 2025-09-24 21:53:34,188 - INFO - Created VN ctest-vn2-33964749 2025-09-24 21:53:34,241 - DEBUG - VN ctest-vn2-33964749 UUID is b996c88a-8750-47dd-8af7-ef5354f1c15c 2025-09-24 21:53:34,441 - DEBUG - Services list from nova: [, , ] 2025-09-24 21:53:35,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4184-1) 2025-09-24 21:53:36,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4184-1) 2025-09-24 21:53:36,990 - INFO - Adding interface with subnet_id 387957f5-ec51-4cfd-a406-94791b2a66ea, port_id None to router 15099214-950c-434e-a347-bb34ed6e2087 2025-09-24 21:53:37,294 - INFO - Waiting for VM ctest-vn1-vm1-29954956 to be up.. 2025-09-24 21:53:37,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 21:53:42,507 - DEBUG - VM is in ACTIVE state now 2025-09-24 21:53:42,507 - INFO - VM name : ctest-vn1-vm1-29954956 2025-09-24 21:53:42,590 - DEBUG - VM ctest-vn1-vm1-29954956 ID is 0471f237-54fd-460a-9191-26a59b7dec1e 2025-09-24 21:53:42,610 - DEBUG - VM ctest-vn1-vm1-29954956 launched on Node cn-jenkins-deploy-platform-ansible-os-4184-1 2025-09-24 21:53:42,686 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/0471f237-54fd-460a-9191-26a59b7dec1e 2025-09-24 21:53:42,998 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/0471f237-54fd-460a-9191-26a59b7dec1e 2025-09-24 21:53:43,030 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/323c3442-e8a3-4d30-867f-1c6bf523db3f 2025-09-24 21:53:46,301 - 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 1025ms') 2025-09-24 21:53:46,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29954956 failed! 2025-09-24 21:53:46,358 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21955681:ctest-vn1-83936355 is 21.183.124.65 and allocation pool is NOT set 2025-09-24 21:53:48,420 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.095/2.927/4.760/1.832 ms') 2025-09-24 21:53:48,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29954956 passed 2025-09-24 21:53:48,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:48,574 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29954956, IP 21.183.124.67, Port 22 2025-09-24 21:53:48,729 - DEBUG - VM ctest-vn1-vm1-29954956 is ready for SSH connections 2025-09-24 21:53:48,729 - INFO - Waiting for VM ctest-vn2-vm1-23874664 to be up.. 2025-09-24 21:53:48,819 - DEBUG - VM is in ACTIVE state now 2025-09-24 21:53:48,819 - INFO - VM name : ctest-vn2-vm1-23874664 2025-09-24 21:53:48,898 - DEBUG - VM ctest-vn2-vm1-23874664 ID is 3f86b9cc-aba1-414e-965c-3172564e27a3 2025-09-24 21:53:48,898 - DEBUG - VM ctest-vn2-vm1-23874664 launched on Node cn-jenkins-deploy-platform-ansible-os-4184-1 2025-09-24 21:53:48,976 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3f86b9cc-aba1-414e-965c-3172564e27a3 2025-09-24 21:53:48,986 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/1b34883c-1ffe-46bb-b9d3-5888635cca8c 2025-09-24 21:53:50,232 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/2.145/3.762/1.616 ms') 2025-09-24 21:53:50,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-23874664 passed 2025-09-24 21:53:50,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:50,386 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-23874664, IP 169.86.93.3, Port 22 2025-09-24 21:53:50,554 - DEBUG - VM ctest-vn2-vm1-23874664 is ready for SSH connections 2025-09-24 21:53:50,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:50,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.86.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:53:50,554 - DEBUG - ping -s 56 -c 3 -W 1 169.86.93.3 2025-09-24 21:53:55,260 - DEBUG - PING 169.86.93.3 (169.86.93.3): 56 data bytes --- 169.86.93.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 21:53:55,260 - WARNING - Ping to IP 169.86.93.3 from VM ctest-vn1-vm1-29954956 failed 2025-09-24 21:53:55,260 - INFO - Adding interface with subnet_id 25567863-ea01-4184-af06-216b7ffdfe0f, port_id None to router 15099214-950c-434e-a347-bb34ed6e2087 2025-09-24 21:53:55,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:55,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.86.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:53:55,524 - DEBUG - ping -s 56 -c 3 -W 1 169.86.93.3 2025-09-24 21:53:58,763 - DEBUG - PING 169.86.93.3 (169.86.93.3): 56 data bytes 64 bytes from 169.86.93.3: seq=1 ttl=63 time=3.082 ms 64 bytes from 169.86.93.3: seq=2 ttl=63 time=0.946 ms --- 169.86.93.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.946/2.014/3.082 ms 2025-09-24 21:53:58,763 - WARNING - Ping to IP 169.86.93.3 from VM ctest-vn1-vm1-29954956 failed 2025-09-24 21:53:59,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.86.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:53:59,764 - DEBUG - ping -s 56 -c 3 -W 1 169.86.93.3 2025-09-24 21:54:01,986 - DEBUG - PING 169.86.93.3 (169.86.93.3): 56 data bytes 64 bytes from 169.86.93.3: seq=0 ttl=63 time=1.704 ms 64 bytes from 169.86.93.3: seq=1 ttl=63 time=1.036 ms 64 bytes from 169.86.93.3: seq=2 ttl=63 time=1.086 ms --- 169.86.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/1.275/1.704 ms 2025-09-24 21:54:01,986 - INFO - Ping to IP 169.86.93.3 from VM ctest-vn1-vm1-29954956 passed 2025-09-24 21:54:01,987 - INFO - Deleting interface with subnet_id 387957f5-ec51-4cfd-a406-94791b2a66ea, port_id None from router 15099214-950c-434e-a347-bb34ed6e2087 2025-09-24 21:54:02,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:54:02,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.86.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:54:02,118 - DEBUG - ping -s 56 -c 3 -W 1 169.86.93.3 2025-09-24 21:54:05,344 - DEBUG - PING 169.86.93.3 (169.86.93.3): 56 data bytes --- 169.86.93.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 21:54:05,344 - WARNING - Ping to IP 169.86.93.3 from VM ctest-vn1-vm1-29954956 failed 2025-09-24 21:54:05,344 - INFO - Adding interface with subnet_id 387957f5-ec51-4cfd-a406-94791b2a66ea, port_id None to router 15099214-950c-434e-a347-bb34ed6e2087 2025-09-24 21:54:05,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:54:05,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.86.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:54:05,580 - DEBUG - ping -s 56 -c 3 -W 1 169.86.93.3 2025-09-24 21:54:07,796 - DEBUG - PING 169.86.93.3 (169.86.93.3): 56 data bytes 64 bytes from 169.86.93.3: seq=0 ttl=63 time=2.120 ms 64 bytes from 169.86.93.3: seq=1 ttl=63 time=1.232 ms 64 bytes from 169.86.93.3: seq=2 ttl=63 time=1.128 ms --- 169.86.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.128/1.493/2.120 ms 2025-09-24 21:54:07,797 - INFO - Ping to IP 169.86.93.3 from VM ctest-vn1-vm1-29954956 passed 2025-09-24 21:54:07,797 - INFO - Deleting interface with subnet_id 25567863-ea01-4184-af06-216b7ffdfe0f, port_id None from router 15099214-950c-434e-a347-bb34ed6e2087 2025-09-24 21:54:07,945 - INFO - Deleting interface with subnet_id 387957f5-ec51-4cfd-a406-94791b2a66ea, port_id None from router 15099214-950c-434e-a347-bb34ed6e2087 2025-09-24 21:54:08,140 - INFO - Deleting VM ctest-vn2-vm1-23874664 2025-09-24 21:54:08,219 - INFO - Deleting VM ctest-vn1-vm1-29954956 2025-09-24 21:54:08,307 - INFO - Deleting VN ctest-vn2-33964749 2025-09-24 21:54:08,348 - DEBUG - VN b996c88a-8750-47dd-8af7-ef5354f1c15c still in use: Unable to complete operation on network b996c88a-8750-47dd-8af7-ef5354f1c15c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5a4ca7c-5f93-4b04-a7ba-febdbd38f56b'] 2025-09-24 21:54:08,348 - WARNING - Deleting VN ctest-vn2-33964749 failed..Will retry 2025-09-24 21:54:10,466 - DEBUG - Response for deleting network () 2025-09-24 21:54:10,467 - INFO - Deleting VN ctest-vn1-83936355 2025-09-24 21:54:10,576 - DEBUG - Response for deleting network () 2025-09-24 21:54:10,835 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 21:54:10,836 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-24 21:54:10,836 - INFO - -------------------------------------------------------------------------------- 2025-09-24 21:54:11,541 - INFO - Deleted project: ctest-TestRouters-21955681, ID : 8add2f7d-0658-442e-afe1-1dca8cd1c92b