2025-10-17 21:31:52,534 - INFO - Domain Default found not creating 2025-10-17 21:31:52,697 - INFO - Project ctest-TestRouters-29023255 not found, creating it 2025-10-17 21:31:53,192 - INFO - Created Project:ctest-TestRouters-29023255, ID : 28f0615f-a52c-44f8-8ea4-03d5de1aab11 2025-10-17 21:31:54,970 - INFO - ================================================================================ 2025-10-17 21:31:54,970 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-17 21:31:54,970 - 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-17 21:31:55,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-10-17 21:31:55,252 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:31:55,252 - INFO - 2025-10-17 21:31:55,926 - DEBUG - Response for create_network : {'network': {'id': 'b52f7965-48be-4243-ac1a-07d3184cce65', 'name': 'ctest-vn1-33757591', 'tenant_id': '28f0615fa52c44f88ea403d5de1aab11', 'project_id': '28f0615fa52c44f88ea403d5de1aab11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29023255', 'ctest-vn1-33757591'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:31:56,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f7903f6-d415-4546-8b55-d77eb75024c0', 'name': '', 'tenant_id': '28f0615fa52c44f88ea403d5de1aab11', 'network_id': 'b52f7965-48be-4243-ac1a-07d3184cce65', 'ip_version': 4, 'cidr': '84.101.230.0/26', 'allocation_pools': [{'start': '84.101.230.2', 'end': '84.101.230.62'}], 'gateway_ip': '84.101.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.101.230.2', 'tags': [], 'project_id': '28f0615fa52c44f88ea403d5de1aab11'}} 2025-10-17 21:31:56,176 - INFO - Created VN ctest-vn1-33757591 2025-10-17 21:31:56,230 - DEBUG - VN ctest-vn1-33757591 UUID is b52f7965-48be-4243-ac1a-07d3184cce65 2025-10-17 21:31:56,544 - DEBUG - Response for create_network : {'network': {'id': 'fb331401-94cd-4fdd-9abc-7c50d95f4cbb', 'name': 'ctest-vn2-65821427', 'tenant_id': '28f0615fa52c44f88ea403d5de1aab11', 'project_id': '28f0615fa52c44f88ea403d5de1aab11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29023255', 'ctest-vn2-65821427'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:31:56,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '03bc0001-e111-4229-9fb0-1443f3207029', 'name': '', 'tenant_id': '28f0615fa52c44f88ea403d5de1aab11', 'network_id': 'fb331401-94cd-4fdd-9abc-7c50d95f4cbb', 'ip_version': 4, 'cidr': '67.131.103.128/26', 'allocation_pools': [{'start': '67.131.103.130', 'end': '67.131.103.190'}], 'gateway_ip': '67.131.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.131.103.130', 'tags': [], 'project_id': '28f0615fa52c44f88ea403d5de1aab11'}} 2025-10-17 21:31:56,729 - INFO - Created VN ctest-vn2-65821427 2025-10-17 21:31:56,782 - DEBUG - VN ctest-vn2-65821427 UUID is fb331401-94cd-4fdd-9abc-7c50d95f4cbb 2025-10-17 21:31:56,972 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:31:58,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4358-1) 2025-10-17 21:31:59,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4358-1) 2025-10-17 21:31:59,652 - INFO - Adding interface with subnet_id 1f7903f6-d415-4546-8b55-d77eb75024c0, port_id None to router a1d212d6-744e-470f-967f-7ad0e7236fb6 2025-10-17 21:31:59,962 - INFO - Waiting for VM ctest-vn1-vm1-81690872 to be up.. 2025-10-17 21:32:00,073 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:32:05,175 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:32:05,175 - INFO - VM name : ctest-vn1-vm1-81690872 2025-10-17 21:32:05,278 - DEBUG - VM ctest-vn1-vm1-81690872 ID is 4d8be69c-e736-49ec-9f45-02285c84978f 2025-10-17 21:32:05,306 - DEBUG - VM ctest-vn1-vm1-81690872 launched on Node cn-jenkins-deploy-platform-ansible-os-4358-1 2025-10-17 21:32:05,397 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4d8be69c-e736-49ec-9f45-02285c84978f 2025-10-17 21:32:05,713 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4d8be69c-e736-49ec-9f45-02285c84978f 2025-10-17 21:32:05,752 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d24e1716-832b-47d8-bc74-1a3ded6b564a 2025-10-17 21:32:09,030 - 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 1021ms') 2025-10-17 21:32:09,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81690872 failed! 2025-10-17 21:32:09,090 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-29023255:ctest-vn1-33757591 is 84.101.230.1 and allocation pool is NOT set 2025-10-17 21:32:11,155 - 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=6.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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.166/3.791/6.416/2.625 ms') 2025-10-17 21:32:11,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81690872 passed 2025-10-17 21:32:11,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:11,318 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81690872, IP 84.101.230.3, Port 22 2025-10-17 21:32:11,494 - DEBUG - VM ctest-vn1-vm1-81690872 is ready for SSH connections 2025-10-17 21:32:11,494 - INFO - Waiting for VM ctest-vn2-vm1-48292946 to be up.. 2025-10-17 21:32:11,596 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:32:11,596 - INFO - VM name : ctest-vn2-vm1-48292946 2025-10-17 21:32:11,680 - DEBUG - VM ctest-vn2-vm1-48292946 ID is 0a873f50-fa29-4dcd-b11d-e19b757afbfb 2025-10-17 21:32:11,680 - DEBUG - VM ctest-vn2-vm1-48292946 launched on Node cn-jenkins-deploy-platform-ansible-os-4358-1 2025-10-17 21:32:11,765 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0a873f50-fa29-4dcd-b11d-e19b757afbfb 2025-10-17 21:32:11,775 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/be85edee-d25a-49f0-9d63-1da21fad5662 2025-10-17 21:32:13,029 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.142/2.809/4.476/1.667 ms') 2025-10-17 21:32:13,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48292946 passed 2025-10-17 21:32:13,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:13,186 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48292946, IP 67.131.103.131, Port 22 2025-10-17 21:32:13,252 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-17 21:32:13,340 - DEBUG - VM ctest-vn2-vm1-48292946 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 21:32:18,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:18,341 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48292946, IP 67.131.103.131, Port 22 2025-10-17 21:32:18,513 - DEBUG - VM ctest-vn2-vm1-48292946 is ready for SSH connections 2025-10-17 21:32:18,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:18,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.131.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:32:18,513 - DEBUG - ping -s 56 -c 3 -W 1 67.131.103.131 2025-10-17 21:32:23,648 - DEBUG - PING 67.131.103.131 (67.131.103.131): 56 data bytes --- 67.131.103.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 21:32:23,649 - WARNING - Ping to IP 67.131.103.131 from VM ctest-vn1-vm1-81690872 failed 2025-10-17 21:32:23,649 - INFO - Adding interface with subnet_id 03bc0001-e111-4229-9fb0-1443f3207029, port_id None to router a1d212d6-744e-470f-967f-7ad0e7236fb6 2025-10-17 21:32:23,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:23,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.131.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:32:23,927 - DEBUG - ping -s 56 -c 3 -W 1 67.131.103.131 2025-10-17 21:32:27,152 - DEBUG - PING 67.131.103.131 (67.131.103.131): 56 data bytes 64 bytes from 67.131.103.131: seq=1 ttl=63 time=4.247 ms 64 bytes from 67.131.103.131: seq=2 ttl=63 time=1.174 ms --- 67.131.103.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.174/2.710/4.247 ms 2025-10-17 21:32:27,152 - WARNING - Ping to IP 67.131.103.131 from VM ctest-vn1-vm1-81690872 failed 2025-10-17 21:32:28,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.131.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:32:28,154 - DEBUG - ping -s 56 -c 3 -W 1 67.131.103.131 2025-10-17 21:32:30,382 - DEBUG - PING 67.131.103.131 (67.131.103.131): 56 data bytes 64 bytes from 67.131.103.131: seq=0 ttl=63 time=2.679 ms 64 bytes from 67.131.103.131: seq=1 ttl=63 time=1.354 ms 64 bytes from 67.131.103.131: seq=2 ttl=63 time=1.226 ms --- 67.131.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.226/1.753/2.679 ms 2025-10-17 21:32:30,382 - INFO - Ping to IP 67.131.103.131 from VM ctest-vn1-vm1-81690872 passed 2025-10-17 21:32:30,382 - INFO - Deleting interface with subnet_id 1f7903f6-d415-4546-8b55-d77eb75024c0, port_id None from router a1d212d6-744e-470f-967f-7ad0e7236fb6 2025-10-17 21:32:30,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:30,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.131.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:32:30,523 - DEBUG - ping -s 56 -c 3 -W 1 67.131.103.131 2025-10-17 21:32:33,759 - DEBUG - PING 67.131.103.131 (67.131.103.131): 56 data bytes --- 67.131.103.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 21:32:33,759 - WARNING - Ping to IP 67.131.103.131 from VM ctest-vn1-vm1-81690872 failed 2025-10-17 21:32:33,759 - INFO - Adding interface with subnet_id 1f7903f6-d415-4546-8b55-d77eb75024c0, port_id None to router a1d212d6-744e-470f-967f-7ad0e7236fb6 2025-10-17 21:32:34,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:32:34,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.131.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:32:34,005 - DEBUG - ping -s 56 -c 3 -W 1 67.131.103.131 2025-10-17 21:32:36,235 - DEBUG - PING 67.131.103.131 (67.131.103.131): 56 data bytes 64 bytes from 67.131.103.131: seq=0 ttl=63 time=1.949 ms 64 bytes from 67.131.103.131: seq=1 ttl=63 time=1.456 ms 64 bytes from 67.131.103.131: seq=2 ttl=63 time=0.969 ms --- 67.131.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/1.458/1.949 ms 2025-10-17 21:32:36,235 - INFO - Ping to IP 67.131.103.131 from VM ctest-vn1-vm1-81690872 passed 2025-10-17 21:32:36,235 - INFO - Deleting interface with subnet_id 03bc0001-e111-4229-9fb0-1443f3207029, port_id None from router a1d212d6-744e-470f-967f-7ad0e7236fb6 2025-10-17 21:32:36,368 - INFO - Deleting interface with subnet_id 1f7903f6-d415-4546-8b55-d77eb75024c0, port_id None from router a1d212d6-744e-470f-967f-7ad0e7236fb6 2025-10-17 21:32:36,621 - INFO - Deleting VM ctest-vn2-vm1-48292946 2025-10-17 21:32:36,724 - INFO - Deleting VM ctest-vn1-vm1-81690872 2025-10-17 21:32:36,814 - INFO - Deleting VN ctest-vn2-65821427 2025-10-17 21:32:36,857 - DEBUG - VN fb331401-94cd-4fdd-9abc-7c50d95f4cbb still in use: Unable to complete operation on network fb331401-94cd-4fdd-9abc-7c50d95f4cbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f41a0401-1cd6-436f-adaa-373cda138f06'] 2025-10-17 21:32:36,857 - WARNING - Deleting VN ctest-vn2-65821427 failed..Will retry 2025-10-17 21:32:38,990 - DEBUG - Response for deleting network () 2025-10-17 21:32:38,990 - INFO - Deleting VN ctest-vn1-33757591 2025-10-17 21:32:39,112 - DEBUG - Response for deleting network () 2025-10-17 21:32:39,372 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 21:32:39,373 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-10-17 21:32:39,373 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:32:40,106 - INFO - Deleted project: ctest-TestRouters-29023255, ID : 28f0615f-a52c-44f8-8ea4-03d5de1aab11