2025-10-27 09:02:46,975 - INFO - Domain Default found not creating
2025-10-27 09:02:47,268 - INFO - Project ctest-TestRouters-41646941 not found, creating it
2025-10-27 09:02:47,777 - INFO - Created Project:ctest-TestRouters-41646941, ID : 6ed89a2c-34d4-4ec2-8a71-151bab36e113
2025-10-27 09:02:49,443 - INFO - ================================================================================
2025-10-27 09:02:49,443 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-27 09:02:49,443 - 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-27 09:02:49,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-27 09:02:49,712 - INFO - Initial checks done. Running the testcase now
2025-10-27 09:02:49,712 - INFO -
2025-10-27 09:02:50,418 - DEBUG - Response for create_network : {'network': {'id': 'fde52036-29ed-4216-8fb9-fea4a9fb8a8a', 'name': 'ctest-vn1-62562804', 'tenant_id': '6ed89a2c34d44ec28a71151bab36e113', 'project_id': '6ed89a2c34d44ec28a71151bab36e113', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41646941', 'ctest-vn1-62562804'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 09:02:50,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '771b2f1b-4eec-4e9a-91bc-8554e0dacc75', 'name': '', 'tenant_id': '6ed89a2c34d44ec28a71151bab36e113', 'network_id': 'fde52036-29ed-4216-8fb9-fea4a9fb8a8a', 'ip_version': 4, 'cidr': '94.205.12.192/26', 'allocation_pools': [{'start': '94.205.12.194', 'end': '94.205.12.254'}], 'gateway_ip': '94.205.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.205.12.194', 'tags': [], 'project_id': '6ed89a2c34d44ec28a71151bab36e113'}}
2025-10-27 09:02:50,748 - INFO - Created VN ctest-vn1-62562804
2025-10-27 09:02:50,800 - DEBUG - VN ctest-vn1-62562804 UUID is fde52036-29ed-4216-8fb9-fea4a9fb8a8a
2025-10-27 09:02:51,182 - DEBUG - Response for create_network : {'network': {'id': '6270c32f-dd96-4acb-8dbf-70bf356e94c3', 'name': 'ctest-vn2-77010246', 'tenant_id': '6ed89a2c34d44ec28a71151bab36e113', 'project_id': '6ed89a2c34d44ec28a71151bab36e113', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41646941', 'ctest-vn2-77010246'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 09:02:51,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0c0f75f-1414-4950-a039-d9323946082a', 'name': '', 'tenant_id': '6ed89a2c34d44ec28a71151bab36e113', 'network_id': '6270c32f-dd96-4acb-8dbf-70bf356e94c3', 'ip_version': 4, 'cidr': '112.51.70.192/26', 'allocation_pools': [{'start': '112.51.70.194', 'end': '112.51.70.254'}], 'gateway_ip': '112.51.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.51.70.194', 'tags': [], 'project_id': '6ed89a2c34d44ec28a71151bab36e113'}}
2025-10-27 09:02:51,435 - INFO - Created VN ctest-vn2-77010246
2025-10-27 09:02:51,488 - DEBUG - VN ctest-vn2-77010246 UUID is 6270c32f-dd96-4acb-8dbf-70bf356e94c3
2025-10-27 09:02:51,699 - DEBUG - Services list from nova: [, , ]
2025-10-27 09:02:52,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1)
2025-10-27 09:02:54,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1)
2025-10-27 09:02:54,609 - INFO - Adding interface with subnet_id 771b2f1b-4eec-4e9a-91bc-8554e0dacc75, port_id None to router a4f86941-e046-42cc-b627-4f7ef62ce51c
2025-10-27 09:02:54,964 - INFO - Waiting for VM ctest-vn1-vm1-06418346 to be up..
2025-10-27 09:02:55,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 09:03:00,201 - DEBUG - VM is in ACTIVE state now
2025-10-27 09:03:00,201 - INFO - VM name : ctest-vn1-vm1-06418346
2025-10-27 09:03:00,315 - DEBUG - VM ctest-vn1-vm1-06418346 ID is a5ac5341-dcf2-4126-a343-03ed2bf20042
2025-10-27 09:03:00,342 - DEBUG - VM ctest-vn1-vm1-06418346 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1
2025-10-27 09:03:00,461 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a5ac5341-dcf2-4126-a343-03ed2bf20042
2025-10-27 09:03:00,850 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a5ac5341-dcf2-4126-a343-03ed2bf20042
2025-10-27 09:03:00,892 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a9a5b20a-8c7d-4655-bd27-8e287a05d481
2025-10-27 09:03:04,164 - 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 1010ms')
2025-10-27 09:03:04,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06418346 failed!
2025-10-27 09:03:04,232 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41646941:ctest-vn1-62562804 is 94.205.12.193 and allocation pool is NOT set
2025-10-27 09:03:06,306 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 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 = 3.251/3.707/4.164/0.456 ms')
2025-10-27 09:03:06,306 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06418346 passed
2025-10-27 09:03:06,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:06,461 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06418346, IP 94.205.12.195, Port 22
2025-10-27 09:03:06,527 - 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-10-27 09:03:06,638 - DEBUG - VM ctest-vn1-vm1-06418346 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 09:03:11,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:11,639 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06418346, IP 94.205.12.195, Port 22
2025-10-27 09:03:11,806 - DEBUG - VM ctest-vn1-vm1-06418346 is ready for SSH connections
2025-10-27 09:03:11,806 - INFO - Waiting for VM ctest-vn2-vm1-39056429 to be up..
2025-10-27 09:03:11,902 - DEBUG - VM is in ACTIVE state now
2025-10-27 09:03:11,903 - INFO - VM name : ctest-vn2-vm1-39056429
2025-10-27 09:03:11,989 - DEBUG - VM ctest-vn2-vm1-39056429 ID is b074374a-f0b6-4fce-94de-bd6db0509f83
2025-10-27 09:03:11,989 - DEBUG - VM ctest-vn2-vm1-39056429 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1
2025-10-27 09:03:12,090 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b074374a-f0b6-4fce-94de-bd6db0509f83
2025-10-27 09:03:12,101 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/890e52c0-30a1-45be-8124-98358e0954cd
2025-10-27 09:03:13,351 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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.518/2.011/3.504/1.493 ms')
2025-10-27 09:03:13,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-39056429 passed
2025-10-27 09:03:13,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:13,467 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-39056429, IP 112.51.70.195, Port 22
2025-10-27 09:03:13,638 - DEBUG - VM ctest-vn2-vm1-39056429 is ready for SSH connections
2025-10-27 09:03:13,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:13,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.51.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 09:03:13,639 - DEBUG - ping -s 56 -c 3 -W 1 112.51.70.195
2025-10-27 09:03:18,871 - DEBUG - PING 112.51.70.195 (112.51.70.195): 56 data bytes
--- 112.51.70.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-27 09:03:18,871 - WARNING - Ping to IP 112.51.70.195 from VM ctest-vn1-vm1-06418346 failed
2025-10-27 09:03:18,871 - INFO - Adding interface with subnet_id d0c0f75f-1414-4950-a039-d9323946082a, port_id None to router a4f86941-e046-42cc-b627-4f7ef62ce51c
2025-10-27 09:03:19,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:19,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.51.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 09:03:19,167 - DEBUG - ping -s 56 -c 3 -W 1 112.51.70.195
2025-10-27 09:03:22,407 - DEBUG - PING 112.51.70.195 (112.51.70.195): 56 data bytes
64 bytes from 112.51.70.195: seq=1 ttl=63 time=3.909 ms
64 bytes from 112.51.70.195: seq=2 ttl=63 time=1.343 ms
--- 112.51.70.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.343/2.626/3.909 ms
2025-10-27 09:03:22,407 - WARNING - Ping to IP 112.51.70.195 from VM ctest-vn1-vm1-06418346 failed
2025-10-27 09:03:23,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.51.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 09:03:23,408 - DEBUG - ping -s 56 -c 3 -W 1 112.51.70.195
2025-10-27 09:03:25,654 - DEBUG - PING 112.51.70.195 (112.51.70.195): 56 data bytes
64 bytes from 112.51.70.195: seq=0 ttl=63 time=1.820 ms
64 bytes from 112.51.70.195: seq=1 ttl=63 time=0.994 ms
64 bytes from 112.51.70.195: seq=2 ttl=63 time=1.124 ms
--- 112.51.70.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.994/1.312/1.820 ms
2025-10-27 09:03:25,654 - INFO - Ping to IP 112.51.70.195 from VM ctest-vn1-vm1-06418346 passed
2025-10-27 09:03:25,654 - INFO - Deleting interface with subnet_id 771b2f1b-4eec-4e9a-91bc-8554e0dacc75, port_id None from router a4f86941-e046-42cc-b627-4f7ef62ce51c
2025-10-27 09:03:25,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:25,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.51.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 09:03:25,853 - DEBUG - ping -s 56 -c 3 -W 1 112.51.70.195
2025-10-27 09:03:29,090 - DEBUG - PING 112.51.70.195 (112.51.70.195): 56 data bytes
--- 112.51.70.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-27 09:03:29,090 - WARNING - Ping to IP 112.51.70.195 from VM ctest-vn1-vm1-06418346 failed
2025-10-27 09:03:29,090 - INFO - Adding interface with subnet_id 771b2f1b-4eec-4e9a-91bc-8554e0dacc75, port_id None to router a4f86941-e046-42cc-b627-4f7ef62ce51c
2025-10-27 09:03:29,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:29,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.51.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 09:03:29,352 - DEBUG - ping -s 56 -c 3 -W 1 112.51.70.195
2025-10-27 09:03:31,595 - DEBUG - PING 112.51.70.195 (112.51.70.195): 56 data bytes
64 bytes from 112.51.70.195: seq=0 ttl=63 time=1.503 ms
64 bytes from 112.51.70.195: seq=1 ttl=63 time=0.929 ms
64 bytes from 112.51.70.195: seq=2 ttl=63 time=1.099 ms
--- 112.51.70.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.929/1.177/1.503 ms
2025-10-27 09:03:31,595 - INFO - Ping to IP 112.51.70.195 from VM ctest-vn1-vm1-06418346 passed
2025-10-27 09:03:31,595 - INFO - Deleting interface with subnet_id d0c0f75f-1414-4950-a039-d9323946082a, port_id None from router a4f86941-e046-42cc-b627-4f7ef62ce51c
2025-10-27 09:03:31,720 - INFO - Deleting interface with subnet_id 771b2f1b-4eec-4e9a-91bc-8554e0dacc75, port_id None from router a4f86941-e046-42cc-b627-4f7ef62ce51c
2025-10-27 09:03:31,930 - INFO - Deleting VM ctest-vn2-vm1-39056429
2025-10-27 09:03:32,011 - INFO - Deleting VM ctest-vn1-vm1-06418346
2025-10-27 09:03:32,091 - INFO - Deleting VN ctest-vn2-77010246
2025-10-27 09:03:32,129 - DEBUG - VN 6270c32f-dd96-4acb-8dbf-70bf356e94c3 still in use: Unable to complete operation on network 6270c32f-dd96-4acb-8dbf-70bf356e94c3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-06298573-5178-48db-9328-d7ee1e6398d5']
2025-10-27 09:03:32,130 - WARNING - Deleting VN ctest-vn2-77010246 failed..Will retry
2025-10-27 09:03:34,269 - DEBUG - Response for deleting network ()
2025-10-27 09:03:34,270 - INFO - Deleting VN ctest-vn1-62562804
2025-10-27 09:03:34,402 - DEBUG - Response for deleting network ()
2025-10-27 09:03:34,677 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:03:34,677 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-10-27 09:03:34,678 - INFO - --------------------------------------------------------------------------------
2025-10-27 09:03:35,432 - INFO - Deleted project: ctest-TestRouters-41646941, ID : 6ed89a2c-34d4-4ec2-8a71-151bab36e113