2025-10-23 11:45:38,786 - INFO - Domain Default found not creating 2025-10-23 11:45:38,931 - INFO - Project ctest-TestRouters-79884719 not found, creating it 2025-10-23 11:45:39,386 - INFO - Created Project:ctest-TestRouters-79884719, ID : 8a273916-a373-4052-9b13-0669ff08426e 2025-10-23 11:45:40,760 - INFO - ================================================================================ 2025-10-23 11:45:40,760 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 11:45:40,760 - 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-10-23 11:45:41,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-23 11:45:41,012 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:45:41,013 - INFO - 2025-10-23 11:45:41,518 - DEBUG - Response for create_network : {'network': {'id': 'b2b75b42-d030-4477-bd94-494d51b1a64e', 'name': 'ctest-vn1-04710154', 'tenant_id': '8a273916a37340529b130669ff08426e', 'project_id': '8a273916a37340529b130669ff08426e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79884719', 'ctest-vn1-04710154'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:45:41,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ede319ab-7471-4deb-8374-c9275d35ea65', 'name': '', 'tenant_id': '8a273916a37340529b130669ff08426e', 'network_id': 'b2b75b42-d030-4477-bd94-494d51b1a64e', 'ip_version': 4, 'cidr': '221.31.134.64/26', 'allocation_pools': [{'start': '221.31.134.66', 'end': '221.31.134.126'}], 'gateway_ip': '221.31.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.31.134.66', 'tags': [], 'project_id': '8a273916a37340529b130669ff08426e'}} 2025-10-23 11:45:41,786 - INFO - Created VN ctest-vn1-04710154 2025-10-23 11:45:41,844 - DEBUG - VN ctest-vn1-04710154 UUID is b2b75b42-d030-4477-bd94-494d51b1a64e 2025-10-23 11:45:42,194 - DEBUG - Response for create_network : {'network': {'id': 'e34612d2-649c-448a-8ff6-4c87f450f014', 'name': 'ctest-vn2-67511750', 'tenant_id': '8a273916a37340529b130669ff08426e', 'project_id': '8a273916a37340529b130669ff08426e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79884719', 'ctest-vn2-67511750'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:45:42,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '1801e2c6-d6ad-49ed-aa90-d6df935c1514', 'name': '', 'tenant_id': '8a273916a37340529b130669ff08426e', 'network_id': 'e34612d2-649c-448a-8ff6-4c87f450f014', 'ip_version': 4, 'cidr': '91.238.2.64/26', 'allocation_pools': [{'start': '91.238.2.66', 'end': '91.238.2.126'}], 'gateway_ip': '91.238.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.238.2.66', 'tags': [], 'project_id': '8a273916a37340529b130669ff08426e'}} 2025-10-23 11:45:42,432 - INFO - Created VN ctest-vn2-67511750 2025-10-23 11:45:42,488 - DEBUG - VN ctest-vn2-67511750 UUID is e34612d2-649c-448a-8ff6-4c87f450f014 2025-10-23 11:45:42,718 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:45:43,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4459-1) 2025-10-23 11:45:44,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4459-1) 2025-10-23 11:45:44,979 - INFO - Adding interface with subnet_id ede319ab-7471-4deb-8374-c9275d35ea65, port_id None to router 5b29db7d-b99b-4ea2-a12f-f63ee2624afb 2025-10-23 11:45:45,276 - INFO - Waiting for VM ctest-vn1-vm1-54169949 to be up.. 2025-10-23 11:45:45,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:45:50,468 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:45:50,468 - INFO - VM name : ctest-vn1-vm1-54169949 2025-10-23 11:45:50,541 - DEBUG - VM ctest-vn1-vm1-54169949 ID is d7c66304-fd54-40c9-9f27-a6370fed12f0 2025-10-23 11:45:50,557 - DEBUG - VM ctest-vn1-vm1-54169949 launched on Node cn-jenkins-deploy-platform-ansible-os-4459-1 2025-10-23 11:45:50,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d7c66304-fd54-40c9-9f27-a6370fed12f0 2025-10-23 11:45:50,912 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d7c66304-fd54-40c9-9f27-a6370fed12f0 2025-10-23 11:45:50,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/182755a4-1626-4310-b0d7-d6b6f19fd623 2025-10-23 11:45:54,196 - 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 1012ms') 2025-10-23 11:45:54,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54169949 failed! 2025-10-23 11:45:54,252 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-79884719:ctest-vn1-04710154 is 221.31.134.65 and allocation pool is NOT set 2025-10-23 11:45:56,317 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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.372/1.615/2.858/1.243 ms') 2025-10-23 11:45:56,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54169949 passed 2025-10-23 11:45:56,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:56,468 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54169949, IP 221.31.134.67, Port 22 2025-10-23 11:45:56,619 - DEBUG - VM ctest-vn1-vm1-54169949 is ready for SSH connections 2025-10-23 11:45:56,619 - INFO - Waiting for VM ctest-vn2-vm1-28505658 to be up.. 2025-10-23 11:45:56,680 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:45:56,680 - INFO - VM name : ctest-vn2-vm1-28505658 2025-10-23 11:45:56,742 - DEBUG - VM ctest-vn2-vm1-28505658 ID is 29652b2c-4668-4578-b9fd-812b6b68199e 2025-10-23 11:45:56,742 - DEBUG - VM ctest-vn2-vm1-28505658 launched on Node cn-jenkins-deploy-platform-ansible-os-4459-1 2025-10-23 11:45:56,802 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/29652b2c-4668-4578-b9fd-812b6b68199e 2025-10-23 11:45:56,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9455ff76-3741-4547-88a6-1757635ba590 2025-10-23 11:45:58,043 - 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=4.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.85 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.845/3.201/4.558/1.356 ms') 2025-10-23 11:45:58,043 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-28505658 passed 2025-10-23 11:45:58,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:58,192 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-28505658, IP 91.238.2.67, Port 22 2025-10-23 11:45:58,347 - DEBUG - VM ctest-vn2-vm1-28505658 is ready for SSH connections 2025-10-23 11:45:58,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:58,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.238.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:45:58,348 - DEBUG - ping -s 56 -c 3 -W 1 91.238.2.67 2025-10-23 11:46:03,015 - DEBUG - PING 91.238.2.67 (91.238.2.67): 56 data bytes --- 91.238.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:46:03,015 - WARNING - Ping to IP 91.238.2.67 from VM ctest-vn1-vm1-54169949 failed 2025-10-23 11:46:03,015 - INFO - Adding interface with subnet_id 1801e2c6-d6ad-49ed-aa90-d6df935c1514, port_id None to router 5b29db7d-b99b-4ea2-a12f-f63ee2624afb 2025-10-23 11:46:03,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:46:03,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.238.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:46:03,266 - DEBUG - ping -s 56 -c 3 -W 1 91.238.2.67 2025-10-23 11:46:06,472 - DEBUG - PING 91.238.2.67 (91.238.2.67): 56 data bytes 64 bytes from 91.238.2.67: seq=1 ttl=63 time=2.861 ms 64 bytes from 91.238.2.67: seq=2 ttl=63 time=0.781 ms --- 91.238.2.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.781/1.821/2.861 ms 2025-10-23 11:46:06,472 - WARNING - Ping to IP 91.238.2.67 from VM ctest-vn1-vm1-54169949 failed 2025-10-23 11:46:07,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.238.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:46:07,473 - DEBUG - ping -s 56 -c 3 -W 1 91.238.2.67 2025-10-23 11:46:09,694 - DEBUG - PING 91.238.2.67 (91.238.2.67): 56 data bytes 64 bytes from 91.238.2.67: seq=0 ttl=63 time=1.303 ms 64 bytes from 91.238.2.67: seq=1 ttl=63 time=1.133 ms 64 bytes from 91.238.2.67: seq=2 ttl=63 time=0.849 ms --- 91.238.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.095/1.303 ms 2025-10-23 11:46:09,694 - INFO - Ping to IP 91.238.2.67 from VM ctest-vn1-vm1-54169949 passed 2025-10-23 11:46:09,695 - INFO - Deleting interface with subnet_id ede319ab-7471-4deb-8374-c9275d35ea65, port_id None from router 5b29db7d-b99b-4ea2-a12f-f63ee2624afb 2025-10-23 11:46:09,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:46:09,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.238.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:46:09,809 - DEBUG - ping -s 56 -c 3 -W 1 91.238.2.67 2025-10-23 11:46:13,048 - DEBUG - PING 91.238.2.67 (91.238.2.67): 56 data bytes --- 91.238.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:46:13,048 - WARNING - Ping to IP 91.238.2.67 from VM ctest-vn1-vm1-54169949 failed 2025-10-23 11:46:13,048 - INFO - Adding interface with subnet_id ede319ab-7471-4deb-8374-c9275d35ea65, port_id None to router 5b29db7d-b99b-4ea2-a12f-f63ee2624afb 2025-10-23 11:46:13,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:46:13,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.238.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:46:13,241 - DEBUG - ping -s 56 -c 3 -W 1 91.238.2.67 2025-10-23 11:46:15,444 - DEBUG - PING 91.238.2.67 (91.238.2.67): 56 data bytes 64 bytes from 91.238.2.67: seq=0 ttl=63 time=1.430 ms 64 bytes from 91.238.2.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 91.238.2.67: seq=2 ttl=63 time=0.854 ms --- 91.238.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.030/1.430 ms 2025-10-23 11:46:15,444 - INFO - Ping to IP 91.238.2.67 from VM ctest-vn1-vm1-54169949 passed 2025-10-23 11:46:15,444 - INFO - Deleting interface with subnet_id 1801e2c6-d6ad-49ed-aa90-d6df935c1514, port_id None from router 5b29db7d-b99b-4ea2-a12f-f63ee2624afb 2025-10-23 11:46:15,554 - INFO - Deleting interface with subnet_id ede319ab-7471-4deb-8374-c9275d35ea65, port_id None from router 5b29db7d-b99b-4ea2-a12f-f63ee2624afb 2025-10-23 11:46:15,727 - INFO - Deleting VM ctest-vn2-vm1-28505658 2025-10-23 11:46:15,803 - INFO - Deleting VM ctest-vn1-vm1-54169949 2025-10-23 11:46:15,878 - INFO - Deleting VN ctest-vn2-67511750 2025-10-23 11:46:15,915 - DEBUG - VN e34612d2-649c-448a-8ff6-4c87f450f014 still in use: Unable to complete operation on network e34612d2-649c-448a-8ff6-4c87f450f014. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-864df030-c924-4460-91fc-9ce46be3080c'] 2025-10-23 11:46:15,915 - WARNING - Deleting VN ctest-vn2-67511750 failed..Will retry 2025-10-23 11:46:18,003 - DEBUG - Response for deleting network () 2025-10-23 11:46:18,003 - INFO - Deleting VN ctest-vn1-04710154 2025-10-23 11:46:18,088 - DEBUG - Response for deleting network () 2025-10-23 11:46:18,339 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 11:46:18,339 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-23 11:46:18,340 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:46:18,984 - INFO - Deleted project: ctest-TestRouters-79884719, ID : 8a273916-a373-4052-9b13-0669ff08426e