2025-10-24 19:41:04,048 - INFO - Domain Default found not creating 2025-10-24 19:41:04,194 - INFO - Project ctest-TestRouters-76521051 not found, creating it 2025-10-24 19:41:04,670 - INFO - Created Project:ctest-TestRouters-76521051, ID : 8ded7e4c-0a05-4cb9-8461-5846aa20917d 2025-10-24 19:41:06,202 - INFO - ================================================================================ 2025-10-24 19:41:06,202 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-24 19:41:06,202 - 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-24 19:41:06,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-24 19:41:06,461 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:41:06,461 - INFO - 2025-10-24 19:41:06,985 - DEBUG - Response for create_network : {'network': {'id': 'c10b4d78-7fae-4bcf-a93b-dc9e6d3fe337', 'name': 'ctest-vn1-80608980', 'tenant_id': '8ded7e4c0a054cb984615846aa20917d', 'project_id': '8ded7e4c0a054cb984615846aa20917d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76521051', 'ctest-vn1-80608980'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:41:07,185 - DEBUG - Response for create_subnet : {'subnet': {'id': '016a9d64-7f4d-4971-8d75-dc6eb58af695', 'name': '', 'tenant_id': '8ded7e4c0a054cb984615846aa20917d', 'network_id': 'c10b4d78-7fae-4bcf-a93b-dc9e6d3fe337', 'ip_version': 4, 'cidr': '33.253.223.128/26', 'allocation_pools': [{'start': '33.253.223.130', 'end': '33.253.223.190'}], 'gateway_ip': '33.253.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.253.223.130', 'tags': [], 'project_id': '8ded7e4c0a054cb984615846aa20917d'}} 2025-10-24 19:41:07,204 - INFO - Created VN ctest-vn1-80608980 2025-10-24 19:41:07,256 - DEBUG - VN ctest-vn1-80608980 UUID is c10b4d78-7fae-4bcf-a93b-dc9e6d3fe337 2025-10-24 19:41:07,602 - DEBUG - Response for create_network : {'network': {'id': '4736ce64-32c1-4b96-bb7a-b5300c06156d', 'name': 'ctest-vn2-86252486', 'tenant_id': '8ded7e4c0a054cb984615846aa20917d', 'project_id': '8ded7e4c0a054cb984615846aa20917d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76521051', 'ctest-vn2-86252486'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:41:07,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '55bb815e-f19e-4073-a0e3-50ff1d0e9973', 'name': '', 'tenant_id': '8ded7e4c0a054cb984615846aa20917d', 'network_id': '4736ce64-32c1-4b96-bb7a-b5300c06156d', 'ip_version': 4, 'cidr': '166.203.218.192/26', 'allocation_pools': [{'start': '166.203.218.194', 'end': '166.203.218.254'}], 'gateway_ip': '166.203.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.203.218.194', 'tags': [], 'project_id': '8ded7e4c0a054cb984615846aa20917d'}} 2025-10-24 19:41:07,807 - INFO - Created VN ctest-vn2-86252486 2025-10-24 19:41:07,860 - DEBUG - VN ctest-vn2-86252486 UUID is 4736ce64-32c1-4b96-bb7a-b5300c06156d 2025-10-24 19:41:08,104 - DEBUG - Services list from nova: [, , ] 2025-10-24 19:41:09,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:41:10,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:41:10,328 - INFO - Adding interface with subnet_id 016a9d64-7f4d-4971-8d75-dc6eb58af695, port_id None to router 7a956cb4-3935-4fa8-9821-d1909a7afd02 2025-10-24 19:41:10,612 - INFO - Waiting for VM ctest-vn1-vm1-73729818 to be up.. 2025-10-24 19:41:10,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 19:41:15,766 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:41:15,766 - INFO - VM name : ctest-vn1-vm1-73729818 2025-10-24 19:41:15,836 - DEBUG - VM ctest-vn1-vm1-73729818 ID is 3382d921-e67c-482a-b69d-8c854dc49d7d 2025-10-24 19:41:15,854 - DEBUG - VM ctest-vn1-vm1-73729818 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:41:15,926 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3382d921-e67c-482a-b69d-8c854dc49d7d 2025-10-24 19:41:16,218 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3382d921-e67c-482a-b69d-8c854dc49d7d 2025-10-24 19:41:16,248 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5508422b-0d70-4727-9c68-0b8fc0ef43ea 2025-10-24 19:41:19,522 - 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 1031ms') 2025-10-24 19:41:19,523 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73729818 failed! 2025-10-24 19:41:19,581 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76521051:ctest-vn1-80608980 is 33.253.223.129 and allocation pool is NOT set 2025-10-24 19:41:21,637 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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 = 0.425/1.547/2.669/1.122 ms') 2025-10-24 19:41:21,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73729818 passed 2025-10-24 19:41:21,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:21,788 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73729818, IP 33.253.223.131, Port 22 2025-10-24 19:41:21,943 - DEBUG - VM ctest-vn1-vm1-73729818 is ready for SSH connections 2025-10-24 19:41:21,943 - INFO - Waiting for VM ctest-vn2-vm1-33812502 to be up.. 2025-10-24 19:41:22,015 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:41:22,015 - INFO - VM name : ctest-vn2-vm1-33812502 2025-10-24 19:41:22,083 - DEBUG - VM ctest-vn2-vm1-33812502 ID is 0d53ef25-6e70-4489-9df0-592458eb9156 2025-10-24 19:41:22,084 - DEBUG - VM ctest-vn2-vm1-33812502 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:41:22,151 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0d53ef25-6e70-4489-9df0-592458eb9156 2025-10-24 19:41:22,159 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5bd40851-c17d-4c58-b8d0-a659db397596 2025-10-24 19:41:23,387 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.602/2.753/1.150 ms') 2025-10-24 19:41:23,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-33812502 passed 2025-10-24 19:41:23,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:23,536 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-33812502, IP 166.203.218.195, Port 22 2025-10-24 19:41:23,696 - DEBUG - VM ctest-vn2-vm1-33812502 is ready for SSH connections 2025-10-24 19:41:23,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:23,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.203.218.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:41:23,696 - DEBUG - ping -s 56 -c 3 -W 1 166.203.218.195 2025-10-24 19:41:28,704 - DEBUG - PING 166.203.218.195 (166.203.218.195): 56 data bytes --- 166.203.218.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 19:41:28,704 - WARNING - Ping to IP 166.203.218.195 from VM ctest-vn1-vm1-73729818 failed 2025-10-24 19:41:28,704 - INFO - Adding interface with subnet_id 55bb815e-f19e-4073-a0e3-50ff1d0e9973, port_id None to router 7a956cb4-3935-4fa8-9821-d1909a7afd02 2025-10-24 19:41:28,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:28,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.203.218.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:41:28,948 - DEBUG - ping -s 56 -c 3 -W 1 166.203.218.195 2025-10-24 19:41:31,165 - DEBUG - PING 166.203.218.195 (166.203.218.195): 56 data bytes 64 bytes from 166.203.218.195: seq=0 ttl=63 time=2.552 ms 64 bytes from 166.203.218.195: seq=1 ttl=63 time=1.013 ms 64 bytes from 166.203.218.195: seq=2 ttl=63 time=0.963 ms --- 166.203.218.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/1.509/2.552 ms 2025-10-24 19:41:31,165 - INFO - Ping to IP 166.203.218.195 from VM ctest-vn1-vm1-73729818 passed 2025-10-24 19:41:31,165 - INFO - Deleting interface with subnet_id 016a9d64-7f4d-4971-8d75-dc6eb58af695, port_id None from router 7a956cb4-3935-4fa8-9821-d1909a7afd02 2025-10-24 19:41:31,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:31,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.203.218.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:41:31,272 - DEBUG - ping -s 56 -c 3 -W 1 166.203.218.195 2025-10-24 19:41:34,479 - DEBUG - PING 166.203.218.195 (166.203.218.195): 56 data bytes --- 166.203.218.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 19:41:34,479 - WARNING - Ping to IP 166.203.218.195 from VM ctest-vn1-vm1-73729818 failed 2025-10-24 19:41:34,480 - INFO - Adding interface with subnet_id 016a9d64-7f4d-4971-8d75-dc6eb58af695, port_id None to router 7a956cb4-3935-4fa8-9821-d1909a7afd02 2025-10-24 19:41:34,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:41:34,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.203.218.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:41:34,698 - DEBUG - ping -s 56 -c 3 -W 1 166.203.218.195 2025-10-24 19:41:36,910 - DEBUG - PING 166.203.218.195 (166.203.218.195): 56 data bytes 64 bytes from 166.203.218.195: seq=0 ttl=63 time=1.392 ms 64 bytes from 166.203.218.195: seq=1 ttl=63 time=0.922 ms 64 bytes from 166.203.218.195: seq=2 ttl=63 time=0.839 ms --- 166.203.218.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.051/1.392 ms 2025-10-24 19:41:36,910 - INFO - Ping to IP 166.203.218.195 from VM ctest-vn1-vm1-73729818 passed 2025-10-24 19:41:36,910 - INFO - Deleting interface with subnet_id 55bb815e-f19e-4073-a0e3-50ff1d0e9973, port_id None from router 7a956cb4-3935-4fa8-9821-d1909a7afd02 2025-10-24 19:41:37,017 - INFO - Deleting interface with subnet_id 016a9d64-7f4d-4971-8d75-dc6eb58af695, port_id None from router 7a956cb4-3935-4fa8-9821-d1909a7afd02 2025-10-24 19:41:37,184 - INFO - Deleting VM ctest-vn2-vm1-33812502 2025-10-24 19:41:37,247 - INFO - Deleting VM ctest-vn1-vm1-73729818 2025-10-24 19:41:37,310 - INFO - Deleting VN ctest-vn2-86252486 2025-10-24 19:41:37,344 - DEBUG - VN 4736ce64-32c1-4b96-bb7a-b5300c06156d still in use: Unable to complete operation on network 4736ce64-32c1-4b96-bb7a-b5300c06156d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50226072-11e4-4f23-8927-3ee14f5869e1'] 2025-10-24 19:41:37,344 - WARNING - Deleting VN ctest-vn2-86252486 failed..Will retry 2025-10-24 19:41:39,451 - DEBUG - Response for deleting network () 2025-10-24 19:41:39,451 - INFO - Deleting VN ctest-vn1-80608980 2025-10-24 19:41:39,541 - DEBUG - Response for deleting network () 2025-10-24 19:41:39,804 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 19:41:39,804 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-10-24 19:41:39,804 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:41:40,511 - INFO - Deleted project: ctest-TestRouters-76521051, ID : 8ded7e4c-0a05-4cb9-8461-5846aa20917d