2025-07-30 17:09:46,611 - INFO - Domain Default found not creating
2025-07-30 17:09:46,899 - INFO - Project ctest-TestRouters-32778570 not found, creating it
2025-07-30 17:09:47,444 - INFO - Created Project:ctest-TestRouters-32778570, ID : 5f4d55ac-4635-4b7c-a3d7-4b166ae686a1
2025-07-30 17:09:49,062 - INFO - ================================================================================
2025-07-30 17:09:49,062 - INFO - STARTING TEST : test_basic_router_behavior
2025-07-30 17:09:49,062 - 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-07-30 17:09:49,359 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-30 17:09:49,359 - INFO - Initial checks done. Running the testcase now
2025-07-30 17:09:49,360 - INFO -
2025-07-30 17:09:50,014 - DEBUG - Response for create_network : {'network': {'id': '83568f7a-40db-42eb-ac72-3c7ea8205edc', 'name': 'ctest-vn1-40942418', 'tenant_id': '5f4d55ac46354b7ca3d74b166ae686a1', 'project_id': '5f4d55ac46354b7ca3d74b166ae686a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32778570', 'ctest-vn1-40942418'], 'port_security_enabled': True, 'description': ''}}
2025-07-30 17:09:50,177 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2874933-2cea-40a1-8677-df92b71c53ad', 'name': '', 'tenant_id': '5f4d55ac46354b7ca3d74b166ae686a1', 'network_id': '83568f7a-40db-42eb-ac72-3c7ea8205edc', 'ip_version': 4, 'cidr': '83.82.147.128/26', 'allocation_pools': [{'start': '83.82.147.130', 'end': '83.82.147.190'}], 'gateway_ip': '83.82.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.82.147.130', 'tags': [], 'project_id': '5f4d55ac46354b7ca3d74b166ae686a1'}}
2025-07-30 17:09:50,193 - INFO - Created VN ctest-vn1-40942418
2025-07-30 17:09:50,244 - DEBUG - VN ctest-vn1-40942418 UUID is 83568f7a-40db-42eb-ac72-3c7ea8205edc
2025-07-30 17:09:50,769 - DEBUG - Response for create_network : {'network': {'id': '38fd9f9f-3bbe-4a95-966e-6b132bcac54d', 'name': 'ctest-vn2-48604237', 'tenant_id': '5f4d55ac46354b7ca3d74b166ae686a1', 'project_id': '5f4d55ac46354b7ca3d74b166ae686a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32778570', 'ctest-vn2-48604237'], 'port_security_enabled': True, 'description': ''}}
2025-07-30 17:09:51,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '002a5bb5-55ce-4a0f-b965-e240cddf30f5', 'name': '', 'tenant_id': '5f4d55ac46354b7ca3d74b166ae686a1', 'network_id': '38fd9f9f-3bbe-4a95-966e-6b132bcac54d', 'ip_version': 4, 'cidr': '168.253.236.64/26', 'allocation_pools': [{'start': '168.253.236.66', 'end': '168.253.236.126'}], 'gateway_ip': '168.253.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.253.236.66', 'tags': [], 'project_id': '5f4d55ac46354b7ca3d74b166ae686a1'}}
2025-07-30 17:09:51,086 - INFO - Created VN ctest-vn2-48604237
2025-07-30 17:09:51,141 - DEBUG - VN ctest-vn2-48604237 UUID is 38fd9f9f-3bbe-4a95-966e-6b132bcac54d
2025-07-30 17:09:51,414 - DEBUG - Services list from nova: [, , ]
2025-07-30 17:09:52,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1)
2025-07-30 17:09:54,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1)
2025-07-30 17:09:54,090 - INFO - Adding interface with subnet_id d2874933-2cea-40a1-8677-df92b71c53ad, port_id None to router d2c2cff7-cbd0-4dbf-9b49-e016cdf95920
2025-07-30 17:09:54,413 - INFO - Waiting for VM ctest-vn1-vm1-29658440 to be up..
2025-07-30 17:09:54,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-30 17:09:59,688 - DEBUG - VM is in ACTIVE state now
2025-07-30 17:09:59,688 - INFO - VM name : ctest-vn1-vm1-29658440
2025-07-30 17:09:59,776 - DEBUG - VM ctest-vn1-vm1-29658440 ID is 3e399dad-ec5e-4a67-9071-7ac3ad8dd2a3
2025-07-30 17:09:59,804 - DEBUG - VM ctest-vn1-vm1-29658440 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1
2025-07-30 17:09:59,915 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3e399dad-ec5e-4a67-9071-7ac3ad8dd2a3
2025-07-30 17:10:00,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3e399dad-ec5e-4a67-9071-7ac3ad8dd2a3
2025-07-30 17:10:00,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/005bff72-47aa-49d1-8f19-c0cc355bffc0
2025-07-30 17:10:03,565 - 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 1019ms')
2025-07-30 17:10:03,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29658440 failed!
2025-07-30 17:10:03,632 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-32778570:ctest-vn1-40942418 is 83.82.147.129 and allocation pool is NOT set
2025-07-30 17:10:05,715 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.226/3.983/5.740/1.757 ms')
2025-07-30 17:10:05,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29658440 passed
2025-07-30 17:10:05,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:05,896 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29658440, IP 83.82.147.131, Port 22
2025-07-30 17:10:05,963 - 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-07-30 17:10:06,080 - DEBUG - VM ctest-vn1-vm1-29658440 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-30 17:10:11,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:11,081 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29658440, IP 83.82.147.131, Port 22
2025-07-30 17:10:11,265 - DEBUG - VM ctest-vn1-vm1-29658440 is ready for SSH connections
2025-07-30 17:10:11,265 - INFO - Waiting for VM ctest-vn2-vm1-74904339 to be up..
2025-07-30 17:10:11,447 - DEBUG - VM is in ACTIVE state now
2025-07-30 17:10:11,447 - INFO - VM name : ctest-vn2-vm1-74904339
2025-07-30 17:10:11,609 - DEBUG - VM ctest-vn2-vm1-74904339 ID is 57a9e083-a728-45ef-9da9-5f491ab92750
2025-07-30 17:10:11,610 - DEBUG - VM ctest-vn2-vm1-74904339 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1
2025-07-30 17:10:11,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/57a9e083-a728-45ef-9da9-5f491ab92750
2025-07-30 17:10:11,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ee55e6f7-f90f-4166-b44c-0591fd6dc41f
2025-07-30 17:10:13,131 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.812 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.812/2.566/4.320/1.754 ms')
2025-07-30 17:10:13,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74904339 passed
2025-07-30 17:10:13,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:13,309 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74904339, IP 168.253.236.67, Port 22
2025-07-30 17:10:13,500 - DEBUG - VM ctest-vn2-vm1-74904339 is ready for SSH connections
2025-07-30 17:10:13,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:13,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.253.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-30 17:10:13,502 - DEBUG - ping -s 56 -c 3 -W 1 168.253.236.67
2025-07-30 17:10:18,804 - DEBUG - PING 168.253.236.67 (168.253.236.67): 56 data bytes
--- 168.253.236.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-30 17:10:18,804 - WARNING - Ping to IP 168.253.236.67 from VM ctest-vn1-vm1-29658440 failed
2025-07-30 17:10:18,804 - INFO - Adding interface with subnet_id 002a5bb5-55ce-4a0f-b965-e240cddf30f5, port_id None to router d2c2cff7-cbd0-4dbf-9b49-e016cdf95920
2025-07-30 17:10:19,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:19,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.253.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-30 17:10:19,202 - DEBUG - ping -s 56 -c 3 -W 1 168.253.236.67
2025-07-30 17:10:21,518 - DEBUG - PING 168.253.236.67 (168.253.236.67): 56 data bytes
64 bytes from 168.253.236.67: seq=0 ttl=63 time=3.618 ms
64 bytes from 168.253.236.67: seq=1 ttl=63 time=1.862 ms
64 bytes from 168.253.236.67: seq=2 ttl=63 time=1.837 ms
--- 168.253.236.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.837/2.439/3.618 ms
2025-07-30 17:10:21,518 - INFO - Ping to IP 168.253.236.67 from VM ctest-vn1-vm1-29658440 passed
2025-07-30 17:10:21,518 - INFO - Deleting interface with subnet_id d2874933-2cea-40a1-8677-df92b71c53ad, port_id None from router d2c2cff7-cbd0-4dbf-9b49-e016cdf95920
2025-07-30 17:10:21,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:21,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.253.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-30 17:10:21,761 - DEBUG - ping -s 56 -c 3 -W 1 168.253.236.67
2025-07-30 17:10:25,025 - DEBUG - PING 168.253.236.67 (168.253.236.67): 56 data bytes
--- 168.253.236.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-30 17:10:25,026 - WARNING - Ping to IP 168.253.236.67 from VM ctest-vn1-vm1-29658440 failed
2025-07-30 17:10:25,026 - INFO - Adding interface with subnet_id d2874933-2cea-40a1-8677-df92b71c53ad, port_id None to router d2c2cff7-cbd0-4dbf-9b49-e016cdf95920
2025-07-30 17:10:25,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 17:10:25,422 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.253.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-30 17:10:25,422 - DEBUG - ping -s 56 -c 3 -W 1 168.253.236.67
2025-07-30 17:10:27,685 - DEBUG - PING 168.253.236.67 (168.253.236.67): 56 data bytes
64 bytes from 168.253.236.67: seq=0 ttl=63 time=2.068 ms
64 bytes from 168.253.236.67: seq=1 ttl=63 time=2.401 ms
64 bytes from 168.253.236.67: seq=2 ttl=63 time=2.123 ms
--- 168.253.236.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.068/2.197/2.401 ms
2025-07-30 17:10:27,686 - INFO - Ping to IP 168.253.236.67 from VM ctest-vn1-vm1-29658440 passed
2025-07-30 17:10:27,686 - INFO - Deleting interface with subnet_id 002a5bb5-55ce-4a0f-b965-e240cddf30f5, port_id None from router d2c2cff7-cbd0-4dbf-9b49-e016cdf95920
2025-07-30 17:10:27,924 - INFO - Deleting interface with subnet_id d2874933-2cea-40a1-8677-df92b71c53ad, port_id None from router d2c2cff7-cbd0-4dbf-9b49-e016cdf95920
2025-07-30 17:10:28,123 - INFO - Deleting VM ctest-vn2-vm1-74904339
2025-07-30 17:10:28,196 - INFO - Deleting VM ctest-vn1-vm1-29658440
2025-07-30 17:10:28,290 - INFO - Deleting VN ctest-vn2-48604237
2025-07-30 17:10:28,377 - DEBUG - VN 38fd9f9f-3bbe-4a95-966e-6b132bcac54d still in use: Unable to complete operation on network 38fd9f9f-3bbe-4a95-966e-6b132bcac54d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9b3d4a82-f3f8-4d49-a3c1-3795ed99b339']
2025-07-30 17:10:28,377 - WARNING - Deleting VN ctest-vn2-48604237 failed..Will retry
2025-07-30 17:10:30,603 - DEBUG - Response for deleting network ()
2025-07-30 17:10:30,603 - INFO - Deleting VN ctest-vn1-40942418
2025-07-30 17:10:30,751 - DEBUG - Response for deleting network ()
2025-07-30 17:10:31,052 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 17:10:31,053 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-07-30 17:10:31,053 - INFO - --------------------------------------------------------------------------------
2025-07-30 17:10:32,056 - INFO - Deleted project: ctest-TestRouters-32778570, ID : 5f4d55ac-4635-4b7c-a3d7-4b166ae686a1