2025-09-23 12:14:26,403 - INFO - Domain Default found not creating 2025-09-23 12:14:26,634 - INFO - Project ctest-TestRouters-68525214 not found, creating it 2025-09-23 12:14:27,221 - INFO - Created Project:ctest-TestRouters-68525214, ID : 6261bb57-7c0a-4545-abed-a21d609e5a37 2025-09-23 12:14:29,002 - INFO - ================================================================================ 2025-09-23 12:14:29,002 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-23 12:14:29,002 - 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-23 12:14:29,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-23 12:14:29,280 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:14:29,280 - INFO - 2025-09-23 12:14:29,969 - DEBUG - Response for create_network : {'network': {'id': '7d4faee6-3e14-424b-a3ba-3b7320079f49', 'name': 'ctest-vn1-79108807', 'tenant_id': '6261bb577c0a4545abeda21d609e5a37', 'project_id': '6261bb577c0a4545abeda21d609e5a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68525214', 'ctest-vn1-79108807'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:14:30,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c455819-1a82-47ab-be03-14f8595c4790', 'name': '', 'tenant_id': '6261bb577c0a4545abeda21d609e5a37', 'network_id': '7d4faee6-3e14-424b-a3ba-3b7320079f49', 'ip_version': 4, 'cidr': '7.43.90.64/26', 'allocation_pools': [{'start': '7.43.90.66', 'end': '7.43.90.126'}], 'gateway_ip': '7.43.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.43.90.66', 'tags': [], 'project_id': '6261bb577c0a4545abeda21d609e5a37'}} 2025-09-23 12:14:30,249 - INFO - Created VN ctest-vn1-79108807 2025-09-23 12:14:30,304 - DEBUG - VN ctest-vn1-79108807 UUID is 7d4faee6-3e14-424b-a3ba-3b7320079f49 2025-09-23 12:14:30,656 - DEBUG - Response for create_network : {'network': {'id': 'e0fca29e-6677-4877-8ec3-b7b308f1299e', 'name': 'ctest-vn2-39260288', 'tenant_id': '6261bb577c0a4545abeda21d609e5a37', 'project_id': '6261bb577c0a4545abeda21d609e5a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68525214', 'ctest-vn2-39260288'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:14:30,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe3f9319-2c6c-454d-8a97-8946db6e6d92', 'name': '', 'tenant_id': '6261bb577c0a4545abeda21d609e5a37', 'network_id': 'e0fca29e-6677-4877-8ec3-b7b308f1299e', 'ip_version': 4, 'cidr': '7.8.153.0/26', 'allocation_pools': [{'start': '7.8.153.2', 'end': '7.8.153.62'}], 'gateway_ip': '7.8.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.8.153.2', 'tags': [], 'project_id': '6261bb577c0a4545abeda21d609e5a37'}} 2025-09-23 12:14:30,921 - INFO - Created VN ctest-vn2-39260288 2025-09-23 12:14:30,977 - DEBUG - VN ctest-vn2-39260288 UUID is e0fca29e-6677-4877-8ec3-b7b308f1299e 2025-09-23 12:14:31,182 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:14:32,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:14:33,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:14:34,030 - INFO - Adding interface with subnet_id 4c455819-1a82-47ab-be03-14f8595c4790, port_id None to router 7d054db3-0a57-433b-aee1-05ea02857bf7 2025-09-23 12:14:34,540 - INFO - Waiting for VM ctest-vn1-vm1-16232037 to be up.. 2025-09-23 12:14:34,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:14:39,799 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:14:39,799 - INFO - VM name : ctest-vn1-vm1-16232037 2025-09-23 12:14:39,896 - DEBUG - VM ctest-vn1-vm1-16232037 ID is 701e6aa2-2982-40ca-afe7-11cae6d26c9a 2025-09-23 12:14:39,920 - DEBUG - VM ctest-vn1-vm1-16232037 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:14:40,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/701e6aa2-2982-40ca-afe7-11cae6d26c9a 2025-09-23 12:14:40,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/701e6aa2-2982-40ca-afe7-11cae6d26c9a 2025-09-23 12:14:40,351 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a46e9881-5457-467f-8654-aba9b4e95e3d 2025-09-23 12:14:43,620 - 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 1022ms') 2025-09-23 12:14:43,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16232037 failed! 2025-09-23 12:14:43,685 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-68525214:ctest-vn1-79108807 is 7.43.90.65 and allocation pool is NOT set 2025-09-23 12:14:45,757 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.592 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.592/2.318/4.044/1.726 ms') 2025-09-23 12:14:45,757 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16232037 passed 2025-09-23 12:14:45,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:45,917 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16232037, IP 7.43.90.67, Port 22 2025-09-23 12:14:46,095 - DEBUG - VM ctest-vn1-vm1-16232037 is ready for SSH connections 2025-09-23 12:14:46,095 - INFO - Waiting for VM ctest-vn2-vm1-82266474 to be up.. 2025-09-23 12:14:46,220 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:14:46,220 - INFO - VM name : ctest-vn2-vm1-82266474 2025-09-23 12:14:46,335 - DEBUG - VM ctest-vn2-vm1-82266474 ID is 614ffdd3-c436-42b7-9903-dc4d5d29d31e 2025-09-23 12:14:46,335 - DEBUG - VM ctest-vn2-vm1-82266474 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:14:46,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/614ffdd3-c436-42b7-9903-dc4d5d29d31e 2025-09-23 12:14:46,469 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0e2d2b02-d153-49a9-a213-b9b53871783b 2025-09-23 12:14:47,742 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.966 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.966/2.898/4.830/1.932 ms') 2025-09-23 12:14:47,742 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82266474 passed 2025-09-23 12:14:47,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:47,901 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82266474, IP 7.8.153.3, Port 22 2025-09-23 12:14:48,071 - DEBUG - VM ctest-vn2-vm1-82266474 is ready for SSH connections 2025-09-23 12:14:48,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:48,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.8.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:14:48,072 - DEBUG - ping -s 56 -c 3 -W 1 7.8.153.3 2025-09-23 12:14:53,266 - DEBUG - PING 7.8.153.3 (7.8.153.3): 56 data bytes --- 7.8.153.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:14:53,267 - WARNING - Ping to IP 7.8.153.3 from VM ctest-vn1-vm1-16232037 failed 2025-09-23 12:14:53,267 - INFO - Adding interface with subnet_id fe3f9319-2c6c-454d-8a97-8946db6e6d92, port_id None to router 7d054db3-0a57-433b-aee1-05ea02857bf7 2025-09-23 12:14:53,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:53,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.8.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:14:53,616 - DEBUG - ping -s 56 -c 3 -W 1 7.8.153.3 2025-09-23 12:14:56,837 - DEBUG - PING 7.8.153.3 (7.8.153.3): 56 data bytes 64 bytes from 7.8.153.3: seq=1 ttl=63 time=3.457 ms 64 bytes from 7.8.153.3: seq=2 ttl=63 time=1.509 ms --- 7.8.153.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.509/2.483/3.457 ms 2025-09-23 12:14:56,837 - WARNING - Ping to IP 7.8.153.3 from VM ctest-vn1-vm1-16232037 failed 2025-09-23 12:14:57,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.8.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:14:57,838 - DEBUG - ping -s 56 -c 3 -W 1 7.8.153.3 2025-09-23 12:15:00,069 - DEBUG - PING 7.8.153.3 (7.8.153.3): 56 data bytes 64 bytes from 7.8.153.3: seq=0 ttl=63 time=2.741 ms 64 bytes from 7.8.153.3: seq=1 ttl=63 time=1.184 ms 64 bytes from 7.8.153.3: seq=2 ttl=63 time=1.095 ms --- 7.8.153.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.095/1.673/2.741 ms 2025-09-23 12:15:00,069 - INFO - Ping to IP 7.8.153.3 from VM ctest-vn1-vm1-16232037 passed 2025-09-23 12:15:00,069 - INFO - Deleting interface with subnet_id 4c455819-1a82-47ab-be03-14f8595c4790, port_id None from router 7d054db3-0a57-433b-aee1-05ea02857bf7 2025-09-23 12:15:00,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:15:00,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.8.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:15:00,261 - DEBUG - ping -s 56 -c 3 -W 1 7.8.153.3 2025-09-23 12:15:03,505 - DEBUG - PING 7.8.153.3 (7.8.153.3): 56 data bytes --- 7.8.153.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:15:03,506 - WARNING - Ping to IP 7.8.153.3 from VM ctest-vn1-vm1-16232037 failed 2025-09-23 12:15:03,506 - INFO - Adding interface with subnet_id 4c455819-1a82-47ab-be03-14f8595c4790, port_id None to router 7d054db3-0a57-433b-aee1-05ea02857bf7 2025-09-23 12:15:03,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:15:03,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.8.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:15:03,810 - DEBUG - ping -s 56 -c 3 -W 1 7.8.153.3 2025-09-23 12:15:06,049 - DEBUG - PING 7.8.153.3 (7.8.153.3): 56 data bytes 64 bytes from 7.8.153.3: seq=0 ttl=63 time=2.423 ms 64 bytes from 7.8.153.3: seq=1 ttl=63 time=1.196 ms 64 bytes from 7.8.153.3: seq=2 ttl=63 time=1.762 ms --- 7.8.153.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.196/1.793/2.423 ms 2025-09-23 12:15:06,049 - INFO - Ping to IP 7.8.153.3 from VM ctest-vn1-vm1-16232037 passed 2025-09-23 12:15:06,050 - INFO - Deleting interface with subnet_id fe3f9319-2c6c-454d-8a97-8946db6e6d92, port_id None from router 7d054db3-0a57-433b-aee1-05ea02857bf7 2025-09-23 12:15:06,218 - INFO - Deleting interface with subnet_id 4c455819-1a82-47ab-be03-14f8595c4790, port_id None from router 7d054db3-0a57-433b-aee1-05ea02857bf7 2025-09-23 12:15:06,481 - INFO - Deleting VM ctest-vn2-vm1-82266474 2025-09-23 12:15:06,585 - INFO - Deleting VM ctest-vn1-vm1-16232037 2025-09-23 12:15:06,694 - INFO - Deleting VN ctest-vn2-39260288 2025-09-23 12:15:06,745 - DEBUG - VN e0fca29e-6677-4877-8ec3-b7b308f1299e still in use: Unable to complete operation on network e0fca29e-6677-4877-8ec3-b7b308f1299e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cfbea25e-7c8b-4b48-a901-7772f9563771'] 2025-09-23 12:15:06,746 - WARNING - Deleting VN ctest-vn2-39260288 failed..Will retry 2025-09-23 12:15:08,912 - DEBUG - Response for deleting network () 2025-09-23 12:15:08,913 - INFO - Deleting VN ctest-vn1-79108807 2025-09-23 12:15:09,063 - DEBUG - Response for deleting network () 2025-09-23 12:15:09,337 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:15:09,338 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-09-23 12:15:09,338 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:15:10,122 - INFO - Deleted project: ctest-TestRouters-68525214, ID : 6261bb57-7c0a-4545-abed-a21d609e5a37