2025-10-23 18:27:14,979 - INFO - Domain Default found not creating
2025-10-23 18:27:15,116 - INFO - Project ctest-TestRouters-04948437 not found, creating it
2025-10-23 18:27:15,551 - INFO - Created Project:ctest-TestRouters-04948437, ID : 168a6ac8-5224-43d8-88d1-edf8a4b65218
2025-10-23 18:27:16,970 - INFO - ================================================================================
2025-10-23 18:27:16,970 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-23 18:27:16,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-23 18:27:17,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-23 18:27:17,228 - INFO - Initial checks done. Running the testcase now
2025-10-23 18:27:17,228 - INFO -
2025-10-23 18:27:17,860 - DEBUG - Response for create_network : {'network': {'id': '84266b05-5b5e-4d5b-9115-287588549142', 'name': 'ctest-vn1-12963330', 'tenant_id': '168a6ac8522443d888d1edf8a4b65218', 'project_id': '168a6ac8522443d888d1edf8a4b65218', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04948437', 'ctest-vn1-12963330'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 18:27:18,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '44fb79d8-af93-4934-939d-46cb126caa7c', 'name': '', 'tenant_id': '168a6ac8522443d888d1edf8a4b65218', 'network_id': '84266b05-5b5e-4d5b-9115-287588549142', 'ip_version': 4, 'cidr': '143.0.82.192/26', 'allocation_pools': [{'start': '143.0.82.194', 'end': '143.0.82.254'}], 'gateway_ip': '143.0.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.0.82.194', 'tags': [], 'project_id': '168a6ac8522443d888d1edf8a4b65218'}}
2025-10-23 18:27:18,069 - INFO - Created VN ctest-vn1-12963330
2025-10-23 18:27:18,121 - DEBUG - VN ctest-vn1-12963330 UUID is 84266b05-5b5e-4d5b-9115-287588549142
2025-10-23 18:27:18,440 - DEBUG - Response for create_network : {'network': {'id': '51235966-2b1f-49b8-b122-b13d8309d5ba', 'name': 'ctest-vn2-48172122', 'tenant_id': '168a6ac8522443d888d1edf8a4b65218', 'project_id': '168a6ac8522443d888d1edf8a4b65218', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04948437', 'ctest-vn2-48172122'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 18:27:18,642 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3f35622-4dfd-4b34-89af-ea44bf8850a7', 'name': '', 'tenant_id': '168a6ac8522443d888d1edf8a4b65218', 'network_id': '51235966-2b1f-49b8-b122-b13d8309d5ba', 'ip_version': 4, 'cidr': '30.244.200.128/26', 'allocation_pools': [{'start': '30.244.200.130', 'end': '30.244.200.190'}], 'gateway_ip': '30.244.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.244.200.130', 'tags': [], 'project_id': '168a6ac8522443d888d1edf8a4b65218'}}
2025-10-23 18:27:18,661 - INFO - Created VN ctest-vn2-48172122
2025-10-23 18:27:18,715 - DEBUG - VN ctest-vn2-48172122 UUID is 51235966-2b1f-49b8-b122-b13d8309d5ba
2025-10-23 18:27:18,930 - DEBUG - Services list from nova: [, , ]
2025-10-23 18:27:19,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1)
2025-10-23 18:27:21,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1)
2025-10-23 18:27:21,193 - INFO - Adding interface with subnet_id 44fb79d8-af93-4934-939d-46cb126caa7c, port_id None to router 6e877b42-96d5-4309-9eb2-5256424b7bfb
2025-10-23 18:27:21,476 - INFO - Waiting for VM ctest-vn1-vm1-24649474 to be up..
2025-10-23 18:27:21,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 18:27:26,710 - DEBUG - VM is in ACTIVE state now
2025-10-23 18:27:26,710 - INFO - VM name : ctest-vn1-vm1-24649474
2025-10-23 18:27:26,781 - DEBUG - VM ctest-vn1-vm1-24649474 ID is cd680f10-ab2b-421f-9d80-0622ffa9fb58
2025-10-23 18:27:26,799 - DEBUG - VM ctest-vn1-vm1-24649474 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1
2025-10-23 18:27:26,875 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cd680f10-ab2b-421f-9d80-0622ffa9fb58
2025-10-23 18:27:27,171 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cd680f10-ab2b-421f-9d80-0622ffa9fb58
2025-10-23 18:27:27,198 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e3bdc75b-2850-4ba5-88d8-d9481f835e11
2025-10-23 18:27:30,463 - 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 1030ms')
2025-10-23 18:27:30,463 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24649474 failed!
2025-10-23 18:27:30,521 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-04948437:ctest-vn1-12963330 is 143.0.82.193 and allocation pool is NOT set
2025-10-23 18:27:32,587 - 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=5.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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 = 1.517/3.741/5.965/2.224 ms')
2025-10-23 18:27:32,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24649474 passed
2025-10-23 18:27:32,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:32,733 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24649474, IP 143.0.82.195, Port 22
2025-10-23 18:27:32,889 - DEBUG - VM ctest-vn1-vm1-24649474 is ready for SSH connections
2025-10-23 18:27:32,889 - INFO - Waiting for VM ctest-vn2-vm1-90488957 to be up..
2025-10-23 18:27:32,966 - DEBUG - VM is in ACTIVE state now
2025-10-23 18:27:32,966 - INFO - VM name : ctest-vn2-vm1-90488957
2025-10-23 18:27:33,076 - DEBUG - VM ctest-vn2-vm1-90488957 ID is 2ed2077e-a5d2-4940-b9aa-85791f641525
2025-10-23 18:27:33,077 - DEBUG - VM ctest-vn2-vm1-90488957 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1
2025-10-23 18:27:33,147 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2ed2077e-a5d2-4940-b9aa-85791f641525
2025-10-23 18:27:33,157 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/05243f9f-e479-4400-840c-d688f64564ae
2025-10-23 18:27:34,399 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.41 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 = 2.405/2.584/2.763/0.179 ms')
2025-10-23 18:27:34,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90488957 passed
2025-10-23 18:27:34,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:34,546 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90488957, IP 30.244.200.131, Port 22
2025-10-23 18:27:34,601 - 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-23 18:27:34,664 - DEBUG - VM ctest-vn2-vm1-90488957 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 18:27:39,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:39,665 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90488957, IP 30.244.200.131, Port 22
2025-10-23 18:27:39,828 - DEBUG - VM ctest-vn2-vm1-90488957 is ready for SSH connections
2025-10-23 18:27:39,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:39,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.244.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-23 18:27:39,829 - DEBUG - ping -s 56 -c 3 -W 1 30.244.200.131
2025-10-23 18:27:44,822 - DEBUG - PING 30.244.200.131 (30.244.200.131): 56 data bytes
--- 30.244.200.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-23 18:27:44,822 - WARNING - Ping to IP 30.244.200.131 from VM ctest-vn1-vm1-24649474 failed
2025-10-23 18:27:44,823 - INFO - Adding interface with subnet_id a3f35622-4dfd-4b34-89af-ea44bf8850a7, port_id None to router 6e877b42-96d5-4309-9eb2-5256424b7bfb
2025-10-23 18:27:45,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:45,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.244.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-23 18:27:45,076 - DEBUG - ping -s 56 -c 3 -W 1 30.244.200.131
2025-10-23 18:27:48,278 - DEBUG - PING 30.244.200.131 (30.244.200.131): 56 data bytes
64 bytes from 30.244.200.131: seq=1 ttl=63 time=2.589 ms
64 bytes from 30.244.200.131: seq=2 ttl=63 time=1.078 ms
--- 30.244.200.131 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.078/1.833/2.589 ms
2025-10-23 18:27:48,278 - WARNING - Ping to IP 30.244.200.131 from VM ctest-vn1-vm1-24649474 failed
2025-10-23 18:27:49,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.244.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-23 18:27:49,279 - DEBUG - ping -s 56 -c 3 -W 1 30.244.200.131
2025-10-23 18:27:51,503 - DEBUG - PING 30.244.200.131 (30.244.200.131): 56 data bytes
64 bytes from 30.244.200.131: seq=0 ttl=63 time=1.700 ms
64 bytes from 30.244.200.131: seq=1 ttl=63 time=1.141 ms
64 bytes from 30.244.200.131: seq=2 ttl=63 time=0.949 ms
--- 30.244.200.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.949/1.263/1.700 ms
2025-10-23 18:27:51,504 - INFO - Ping to IP 30.244.200.131 from VM ctest-vn1-vm1-24649474 passed
2025-10-23 18:27:51,504 - INFO - Deleting interface with subnet_id 44fb79d8-af93-4934-939d-46cb126caa7c, port_id None from router 6e877b42-96d5-4309-9eb2-5256424b7bfb
2025-10-23 18:27:51,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:51,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.244.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-23 18:27:51,626 - DEBUG - ping -s 56 -c 3 -W 1 30.244.200.131
2025-10-23 18:27:54,829 - DEBUG - PING 30.244.200.131 (30.244.200.131): 56 data bytes
--- 30.244.200.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-23 18:27:54,829 - WARNING - Ping to IP 30.244.200.131 from VM ctest-vn1-vm1-24649474 failed
2025-10-23 18:27:54,830 - INFO - Adding interface with subnet_id 44fb79d8-af93-4934-939d-46cb126caa7c, port_id None to router 6e877b42-96d5-4309-9eb2-5256424b7bfb
2025-10-23 18:27:55,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 18:27:55,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.244.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-23 18:27:55,028 - DEBUG - ping -s 56 -c 3 -W 1 30.244.200.131
2025-10-23 18:27:57,221 - DEBUG - PING 30.244.200.131 (30.244.200.131): 56 data bytes
64 bytes from 30.244.200.131: seq=0 ttl=63 time=1.387 ms
64 bytes from 30.244.200.131: seq=1 ttl=63 time=0.809 ms
64 bytes from 30.244.200.131: seq=2 ttl=63 time=0.756 ms
--- 30.244.200.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.756/0.984/1.387 ms
2025-10-23 18:27:57,221 - INFO - Ping to IP 30.244.200.131 from VM ctest-vn1-vm1-24649474 passed
2025-10-23 18:27:57,221 - INFO - Deleting interface with subnet_id a3f35622-4dfd-4b34-89af-ea44bf8850a7, port_id None from router 6e877b42-96d5-4309-9eb2-5256424b7bfb
2025-10-23 18:27:57,328 - INFO - Deleting interface with subnet_id 44fb79d8-af93-4934-939d-46cb126caa7c, port_id None from router 6e877b42-96d5-4309-9eb2-5256424b7bfb
2025-10-23 18:27:57,483 - INFO - Deleting VM ctest-vn2-vm1-90488957
2025-10-23 18:27:57,555 - INFO - Deleting VM ctest-vn1-vm1-24649474
2025-10-23 18:27:57,630 - INFO - Deleting VN ctest-vn2-48172122
2025-10-23 18:27:57,663 - DEBUG - VN 51235966-2b1f-49b8-b122-b13d8309d5ba still in use: Unable to complete operation on network 51235966-2b1f-49b8-b122-b13d8309d5ba. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e55577e3-0792-4392-9283-8ae5f40c3670']
2025-10-23 18:27:57,663 - WARNING - Deleting VN ctest-vn2-48172122 failed..Will retry
2025-10-23 18:27:59,765 - DEBUG - Response for deleting network ()
2025-10-23 18:27:59,765 - INFO - Deleting VN ctest-vn1-12963330
2025-10-23 18:27:59,860 - DEBUG - Response for deleting network ()
2025-10-23 18:28:00,119 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 18:28:00,119 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-23 18:28:00,119 - INFO - --------------------------------------------------------------------------------
2025-10-23 18:28:00,785 - INFO - Deleted project: ctest-TestRouters-04948437, ID : 168a6ac8-5224-43d8-88d1-edf8a4b65218