2025-09-11 16:54:32,858 - INFO - Domain Default found not creating
2025-09-11 16:54:33,067 - INFO - Project ctest-TestRouters-48537648 not found, creating it
2025-09-11 16:54:33,759 - INFO - Created Project:ctest-TestRouters-48537648, ID : 8a2bf113-6e65-4e40-8f54-3557d9e6967b
2025-09-11 16:54:35,848 - INFO - ================================================================================
2025-09-11 16:54:35,848 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-11 16:54:35,848 - 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-11 16:54:36,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-11 16:54:36,158 - INFO - Initial checks done. Running the testcase now
2025-09-11 16:54:36,158 - INFO -
2025-09-11 16:54:36,855 - DEBUG - Response for create_network : {'network': {'id': 'e31bfa88-2e2b-43ef-bdca-c936506672ce', 'name': 'ctest-vn1-98875909', 'tenant_id': '8a2bf1136e654e408f543557d9e6967b', 'project_id': '8a2bf1136e654e408f543557d9e6967b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48537648', 'ctest-vn1-98875909'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 16:54:37,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dd7254f-a975-41f6-a9da-55262d43d32f', 'name': '', 'tenant_id': '8a2bf1136e654e408f543557d9e6967b', 'network_id': 'e31bfa88-2e2b-43ef-bdca-c936506672ce', 'ip_version': 4, 'cidr': '103.192.79.128/26', 'allocation_pools': [{'start': '103.192.79.130', 'end': '103.192.79.190'}], 'gateway_ip': '103.192.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.192.79.130', 'tags': [], 'project_id': '8a2bf1136e654e408f543557d9e6967b'}}
2025-09-11 16:54:37,085 - INFO - Created VN ctest-vn1-98875909
2025-09-11 16:54:37,139 - DEBUG - VN ctest-vn1-98875909 UUID is e31bfa88-2e2b-43ef-bdca-c936506672ce
2025-09-11 16:54:37,585 - DEBUG - Response for create_network : {'network': {'id': '559575d0-0596-4831-888c-7f3ce6bccfb9', 'name': 'ctest-vn2-78543040', 'tenant_id': '8a2bf1136e654e408f543557d9e6967b', 'project_id': '8a2bf1136e654e408f543557d9e6967b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48537648', 'ctest-vn2-78543040'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 16:54:37,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ac3dcdc-e5c7-46f4-970a-6b691c35ee4b', 'name': '', 'tenant_id': '8a2bf1136e654e408f543557d9e6967b', 'network_id': '559575d0-0596-4831-888c-7f3ce6bccfb9', 'ip_version': 4, 'cidr': '115.65.162.0/26', 'allocation_pools': [{'start': '115.65.162.2', 'end': '115.65.162.62'}], 'gateway_ip': '115.65.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.65.162.2', 'tags': [], 'project_id': '8a2bf1136e654e408f543557d9e6967b'}}
2025-09-11 16:54:37,767 - INFO - Created VN ctest-vn2-78543040
2025-09-11 16:54:37,819 - DEBUG - VN ctest-vn2-78543040 UUID is 559575d0-0596-4831-888c-7f3ce6bccfb9
2025-09-11 16:54:38,086 - DEBUG - Services list from nova: [, , ]
2025-09-11 16:54:39,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4095-1)
2025-09-11 16:54:41,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4095-1)
2025-09-11 16:54:41,239 - INFO - Adding interface with subnet_id 4dd7254f-a975-41f6-a9da-55262d43d32f, port_id None to router 6854a52a-4d33-44a2-a403-8777c2be188c
2025-09-11 16:54:41,519 - INFO - Waiting for VM ctest-vn1-vm1-78194255 to be up..
2025-09-11 16:54:41,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 16:54:46,762 - DEBUG - VM is in ACTIVE state now
2025-09-11 16:54:46,762 - INFO - VM name : ctest-vn1-vm1-78194255
2025-09-11 16:54:46,881 - DEBUG - VM ctest-vn1-vm1-78194255 ID is b238fa9c-5ca4-41e5-b9b8-e6034b6e5b9d
2025-09-11 16:54:46,928 - DEBUG - VM ctest-vn1-vm1-78194255 launched on Node cn-jenkins-deploy-platform-ansible-os-4095-1
2025-09-11 16:54:47,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b238fa9c-5ca4-41e5-b9b8-e6034b6e5b9d
2025-09-11 16:54:47,386 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b238fa9c-5ca4-41e5-b9b8-e6034b6e5b9d
2025-09-11 16:54:47,470 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/122c6aa1-6154-4a8a-98ac-5cc905e54830
2025-09-11 16:54:50,819 - 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 1025ms')
2025-09-11 16:54:50,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78194255 failed!
2025-09-11 16:54:50,927 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48537648:ctest-vn1-98875909 is 103.192.79.129 and allocation pool is NOT set
2025-09-11 16:54:53,000 - 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=8.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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.298/5.002/8.707/3.704 ms')
2025-09-11 16:54:53,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78194255 passed
2025-09-11 16:54:53,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:54:53,188 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78194255, IP 103.192.79.131, Port 22
2025-09-11 16:54:53,270 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-09-11 16:54:53,442 - DEBUG - VM ctest-vn1-vm1-78194255 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-11 16:54:58,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:54:58,444 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78194255, IP 103.192.79.131, Port 22
2025-09-11 16:54:58,648 - DEBUG - VM ctest-vn1-vm1-78194255 is ready for SSH connections
2025-09-11 16:54:58,649 - INFO - Waiting for VM ctest-vn2-vm1-95577378 to be up..
2025-09-11 16:54:58,857 - DEBUG - VM is in ACTIVE state now
2025-09-11 16:54:58,857 - INFO - VM name : ctest-vn2-vm1-95577378
2025-09-11 16:54:59,037 - DEBUG - VM ctest-vn2-vm1-95577378 ID is 60224aba-0715-49e8-87c7-30d23ec96568
2025-09-11 16:54:59,037 - DEBUG - VM ctest-vn2-vm1-95577378 launched on Node cn-jenkins-deploy-platform-ansible-os-4095-1
2025-09-11 16:54:59,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/60224aba-0715-49e8-87c7-30d23ec96568
2025-09-11 16:54:59,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9961e0d7-d7f4-4289-9202-0194b7a4f02b
2025-09-11 16:55:00,501 - 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=3.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.646 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 = 0.646/2.272/3.899/1.626 ms')
2025-09-11 16:55:00,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-95577378 passed
2025-09-11 16:55:00,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:55:00,680 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-95577378, IP 115.65.162.3, Port 22
2025-09-11 16:55:00,869 - DEBUG - VM ctest-vn2-vm1-95577378 is ready for SSH connections
2025-09-11 16:55:00,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:55:00,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.65.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-11 16:55:00,869 - DEBUG - ping -s 56 -c 3 -W 1 115.65.162.3
2025-09-11 16:55:06,340 - DEBUG - PING 115.65.162.3 (115.65.162.3): 56 data bytes
--- 115.65.162.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-11 16:55:06,340 - WARNING - Ping to IP 115.65.162.3 from VM ctest-vn1-vm1-78194255 failed
2025-09-11 16:55:06,341 - INFO - Adding interface with subnet_id 9ac3dcdc-e5c7-46f4-970a-6b691c35ee4b, port_id None to router 6854a52a-4d33-44a2-a403-8777c2be188c
2025-09-11 16:55:06,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:55:06,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.65.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-11 16:55:06,723 - DEBUG - ping -s 56 -c 3 -W 1 115.65.162.3
2025-09-11 16:55:09,050 - DEBUG - PING 115.65.162.3 (115.65.162.3): 56 data bytes
64 bytes from 115.65.162.3: seq=0 ttl=63 time=3.747 ms
64 bytes from 115.65.162.3: seq=1 ttl=63 time=2.052 ms
64 bytes from 115.65.162.3: seq=2 ttl=63 time=1.843 ms
--- 115.65.162.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.843/2.547/3.747 ms
2025-09-11 16:55:09,050 - INFO - Ping to IP 115.65.162.3 from VM ctest-vn1-vm1-78194255 passed
2025-09-11 16:55:09,051 - INFO - Deleting interface with subnet_id 4dd7254f-a975-41f6-a9da-55262d43d32f, port_id None from router 6854a52a-4d33-44a2-a403-8777c2be188c
2025-09-11 16:55:09,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:55:09,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.65.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-11 16:55:09,306 - DEBUG - ping -s 56 -c 3 -W 1 115.65.162.3
2025-09-11 16:55:12,585 - DEBUG - PING 115.65.162.3 (115.65.162.3): 56 data bytes
--- 115.65.162.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-11 16:55:12,585 - WARNING - Ping to IP 115.65.162.3 from VM ctest-vn1-vm1-78194255 failed
2025-09-11 16:55:12,585 - INFO - Adding interface with subnet_id 4dd7254f-a975-41f6-a9da-55262d43d32f, port_id None to router 6854a52a-4d33-44a2-a403-8777c2be188c
2025-09-11 16:55:12,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 16:55:12,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.65.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-11 16:55:12,922 - DEBUG - ping -s 56 -c 3 -W 1 115.65.162.3
2025-09-11 16:55:15,168 - DEBUG - PING 115.65.162.3 (115.65.162.3): 56 data bytes
64 bytes from 115.65.162.3: seq=0 ttl=63 time=1.671 ms
64 bytes from 115.65.162.3: seq=1 ttl=63 time=1.730 ms
64 bytes from 115.65.162.3: seq=2 ttl=63 time=1.828 ms
--- 115.65.162.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.671/1.743/1.828 ms
2025-09-11 16:55:15,168 - INFO - Ping to IP 115.65.162.3 from VM ctest-vn1-vm1-78194255 passed
2025-09-11 16:55:15,169 - INFO - Deleting interface with subnet_id 9ac3dcdc-e5c7-46f4-970a-6b691c35ee4b, port_id None from router 6854a52a-4d33-44a2-a403-8777c2be188c
2025-09-11 16:55:15,415 - INFO - Deleting interface with subnet_id 4dd7254f-a975-41f6-a9da-55262d43d32f, port_id None from router 6854a52a-4d33-44a2-a403-8777c2be188c
2025-09-11 16:55:15,626 - INFO - Deleting VM ctest-vn2-vm1-95577378
2025-09-11 16:55:15,717 - INFO - Deleting VM ctest-vn1-vm1-78194255
2025-09-11 16:55:15,836 - INFO - Deleting VN ctest-vn2-78543040
2025-09-11 16:55:15,886 - DEBUG - VN 559575d0-0596-4831-888c-7f3ce6bccfb9 still in use: Unable to complete operation on network 559575d0-0596-4831-888c-7f3ce6bccfb9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0420175a-6905-4b20-8f93-94f61a3801d4']
2025-09-11 16:55:15,886 - WARNING - Deleting VN ctest-vn2-78543040 failed..Will retry
2025-09-11 16:55:18,128 - DEBUG - Response for deleting network ()
2025-09-11 16:55:18,129 - INFO - Deleting VN ctest-vn1-98875909
2025-09-11 16:55:18,258 - DEBUG - Response for deleting network ()
2025-09-11 16:55:18,566 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:55:18,567 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-09-11 16:55:18,567 - INFO - --------------------------------------------------------------------------------
2025-09-11 16:55:19,527 - INFO - Deleted project: ctest-TestRouters-48537648, ID : 8a2bf113-6e65-4e40-8f54-3557d9e6967b