2025-08-11 15:50:02,131 - INFO - Domain Default found not creating
2025-08-11 15:50:02,275 - INFO - Project ctest-TestRouters-48472790 not found, creating it
2025-08-11 15:50:02,728 - INFO - Created Project:ctest-TestRouters-48472790, ID : a8083209-9c7c-45e8-904d-c654132a6f41
2025-08-11 15:50:04,255 - INFO - ================================================================================
2025-08-11 15:50:04,255 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-11 15:50:04,255 - 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-08-11 15:50:04,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-11 15:50:04,519 - INFO - Initial checks done. Running the testcase now
2025-08-11 15:50:04,520 - INFO -
2025-08-11 15:50:05,100 - DEBUG - Response for create_network : {'network': {'id': 'd329e3b8-355c-4113-b75f-9e8f8520b284', 'name': 'ctest-vn1-78707033', 'tenant_id': 'a80832099c7c45e8904dc654132a6f41', 'project_id': 'a80832099c7c45e8904dc654132a6f41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48472790', 'ctest-vn1-78707033'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:50:05,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbeb04b0-8261-4018-adbb-4571282bb4c6', 'name': '', 'tenant_id': 'a80832099c7c45e8904dc654132a6f41', 'network_id': 'd329e3b8-355c-4113-b75f-9e8f8520b284', 'ip_version': 4, 'cidr': '194.176.28.192/26', 'allocation_pools': [{'start': '194.176.28.194', 'end': '194.176.28.254'}], 'gateway_ip': '194.176.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.176.28.194', 'tags': [], 'project_id': 'a80832099c7c45e8904dc654132a6f41'}}
2025-08-11 15:50:05,316 - INFO - Created VN ctest-vn1-78707033
2025-08-11 15:50:05,370 - DEBUG - VN ctest-vn1-78707033 UUID is d329e3b8-355c-4113-b75f-9e8f8520b284
2025-08-11 15:50:05,768 - DEBUG - Response for create_network : {'network': {'id': '0344469c-557f-4922-99f1-023e75e1fb07', 'name': 'ctest-vn2-31633907', 'tenant_id': 'a80832099c7c45e8904dc654132a6f41', 'project_id': 'a80832099c7c45e8904dc654132a6f41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48472790', 'ctest-vn2-31633907'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:50:05,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '131da24a-e778-4011-a156-89152fa4b7d0', 'name': '', 'tenant_id': 'a80832099c7c45e8904dc654132a6f41', 'network_id': '0344469c-557f-4922-99f1-023e75e1fb07', 'ip_version': 4, 'cidr': '114.121.33.64/26', 'allocation_pools': [{'start': '114.121.33.66', 'end': '114.121.33.126'}], 'gateway_ip': '114.121.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.121.33.66', 'tags': [], 'project_id': 'a80832099c7c45e8904dc654132a6f41'}}
2025-08-11 15:50:06,012 - INFO - Created VN ctest-vn2-31633907
2025-08-11 15:50:06,066 - DEBUG - VN ctest-vn2-31633907 UUID is 0344469c-557f-4922-99f1-023e75e1fb07
2025-08-11 15:50:06,292 - DEBUG - Services list from nova: [, , ]
2025-08-11 15:50:07,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3812-1)
2025-08-11 15:50:08,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3812-1)
2025-08-11 15:50:08,775 - INFO - Adding interface with subnet_id bbeb04b0-8261-4018-adbb-4571282bb4c6, port_id None to router a513598d-4baf-4a40-b292-97f645544625
2025-08-11 15:50:09,202 - INFO - Waiting for VM ctest-vn1-vm1-98915129 to be up..
2025-08-11 15:50:09,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 15:50:14,392 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:50:14,392 - INFO - VM name : ctest-vn1-vm1-98915129
2025-08-11 15:50:14,462 - DEBUG - VM ctest-vn1-vm1-98915129 ID is 69b00694-cc47-402e-ad51-0671c72072c2
2025-08-11 15:50:14,481 - DEBUG - VM ctest-vn1-vm1-98915129 launched on Node cn-jenkins-deploy-platform-ansible-os-3812-1
2025-08-11 15:50:14,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69b00694-cc47-402e-ad51-0671c72072c2
2025-08-11 15:50:14,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69b00694-cc47-402e-ad51-0671c72072c2
2025-08-11 15:50:14,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f521e843-6542-4bb3-867d-c6370a4dc2d5
2025-08-11 15:50:18,172 - 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 1011ms')
2025-08-11 15:50:18,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98915129 failed!
2025-08-11 15:50:18,227 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48472790:ctest-vn1-78707033 is 194.176.28.193 and allocation pool is NOT set
2025-08-11 15:50:20,288 - 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=3.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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 = 0.429/1.973/3.517/1.544 ms')
2025-08-11 15:50:20,288 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98915129 passed
2025-08-11 15:50:20,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:50:20,454 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98915129, IP 194.176.28.195, Port 22
2025-08-11 15:50:20,618 - DEBUG - VM ctest-vn1-vm1-98915129 is ready for SSH connections
2025-08-11 15:50:20,618 - INFO - Waiting for VM ctest-vn2-vm1-45760761 to be up..
2025-08-11 15:50:20,692 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:50:20,692 - INFO - VM name : ctest-vn2-vm1-45760761
2025-08-11 15:50:20,762 - DEBUG - VM ctest-vn2-vm1-45760761 ID is 9452a3a5-0ea5-47ac-bc2d-75786fcd753c
2025-08-11 15:50:20,762 - DEBUG - VM ctest-vn2-vm1-45760761 launched on Node cn-jenkins-deploy-platform-ansible-os-3812-1
2025-08-11 15:50:20,842 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9452a3a5-0ea5-47ac-bc2d-75786fcd753c
2025-08-11 15:50:20,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fbc1dfe-cc27-4478-8364-f7e71ec563b0
2025-08-11 15:50:22,101 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.367/1.773/3.180/1.406 ms')
2025-08-11 15:50:22,101 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45760761 passed
2025-08-11 15:50:22,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:50:22,254 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45760761, IP 114.121.33.67, Port 22
2025-08-11 15:50:22,425 - DEBUG - VM ctest-vn2-vm1-45760761 is ready for SSH connections
2025-08-11 15:50:22,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:50:22,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.121.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 15:50:22,426 - DEBUG - ping -s 56 -c 3 -W 1 114.121.33.67
2025-08-11 15:50:27,103 - DEBUG - PING 114.121.33.67 (114.121.33.67): 56 data bytes
--- 114.121.33.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-11 15:50:27,103 - WARNING - Ping to IP 114.121.33.67 from VM ctest-vn1-vm1-98915129 failed
2025-08-11 15:50:27,104 - INFO - Adding interface with subnet_id 131da24a-e778-4011-a156-89152fa4b7d0, port_id None to router a513598d-4baf-4a40-b292-97f645544625
2025-08-11 15:50:27,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:50:27,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.121.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 15:50:27,342 - DEBUG - ping -s 56 -c 3 -W 1 114.121.33.67
2025-08-11 15:50:30,552 - DEBUG - PING 114.121.33.67 (114.121.33.67): 56 data bytes
64 bytes from 114.121.33.67: seq=1 ttl=63 time=2.512 ms
64 bytes from 114.121.33.67: seq=2 ttl=63 time=0.835 ms
--- 114.121.33.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.835/1.673/2.512 ms
2025-08-11 15:50:30,552 - WARNING - Ping to IP 114.121.33.67 from VM ctest-vn1-vm1-98915129 failed
2025-08-11 15:50:31,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.121.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 15:50:31,553 - DEBUG - ping -s 56 -c 3 -W 1 114.121.33.67
2025-08-11 15:50:33,767 - DEBUG - PING 114.121.33.67 (114.121.33.67): 56 data bytes
64 bytes from 114.121.33.67: seq=0 ttl=63 time=1.287 ms
64 bytes from 114.121.33.67: seq=1 ttl=63 time=0.743 ms
64 bytes from 114.121.33.67: seq=2 ttl=63 time=0.703 ms
--- 114.121.33.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.703/0.911/1.287 ms
2025-08-11 15:50:33,767 - INFO - Ping to IP 114.121.33.67 from VM ctest-vn1-vm1-98915129 passed
2025-08-11 15:50:33,767 - INFO - Deleting interface with subnet_id bbeb04b0-8261-4018-adbb-4571282bb4c6, port_id None from router a513598d-4baf-4a40-b292-97f645544625
2025-08-11 15:50:33,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:50:33,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.121.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 15:50:33,876 - DEBUG - ping -s 56 -c 3 -W 1 114.121.33.67
2025-08-11 15:50:37,085 - DEBUG - PING 114.121.33.67 (114.121.33.67): 56 data bytes
--- 114.121.33.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-11 15:50:37,085 - WARNING - Ping to IP 114.121.33.67 from VM ctest-vn1-vm1-98915129 failed
2025-08-11 15:50:37,085 - INFO - Adding interface with subnet_id bbeb04b0-8261-4018-adbb-4571282bb4c6, port_id None to router a513598d-4baf-4a40-b292-97f645544625
2025-08-11 15:50:37,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:50:37,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.121.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 15:50:37,342 - DEBUG - ping -s 56 -c 3 -W 1 114.121.33.67
2025-08-11 15:50:39,554 - DEBUG - PING 114.121.33.67 (114.121.33.67): 56 data bytes
64 bytes from 114.121.33.67: seq=0 ttl=63 time=1.753 ms
64 bytes from 114.121.33.67: seq=1 ttl=63 time=0.765 ms
64 bytes from 114.121.33.67: seq=2 ttl=63 time=0.759 ms
--- 114.121.33.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.759/1.092/1.753 ms
2025-08-11 15:50:39,554 - INFO - Ping to IP 114.121.33.67 from VM ctest-vn1-vm1-98915129 passed
2025-08-11 15:50:39,554 - INFO - Deleting interface with subnet_id 131da24a-e778-4011-a156-89152fa4b7d0, port_id None from router a513598d-4baf-4a40-b292-97f645544625
2025-08-11 15:50:39,676 - INFO - Deleting interface with subnet_id bbeb04b0-8261-4018-adbb-4571282bb4c6, port_id None from router a513598d-4baf-4a40-b292-97f645544625
2025-08-11 15:50:39,865 - INFO - Deleting VM ctest-vn2-vm1-45760761
2025-08-11 15:50:39,934 - INFO - Deleting VM ctest-vn1-vm1-98915129
2025-08-11 15:50:40,001 - INFO - Deleting VN ctest-vn2-31633907
2025-08-11 15:50:40,037 - DEBUG - VN 0344469c-557f-4922-99f1-023e75e1fb07 still in use: Unable to complete operation on network 0344469c-557f-4922-99f1-023e75e1fb07. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c0a4dbef-0dda-49b6-964d-e63113a41213']
2025-08-11 15:50:40,038 - WARNING - Deleting VN ctest-vn2-31633907 failed..Will retry
2025-08-11 15:50:42,136 - DEBUG - Response for deleting network ()
2025-08-11 15:50:42,136 - INFO - Deleting VN ctest-vn1-78707033
2025-08-11 15:50:42,237 - DEBUG - Response for deleting network ()
2025-08-11 15:50:42,495 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:50:42,495 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-11 15:50:42,495 - INFO - --------------------------------------------------------------------------------
2025-08-11 15:50:43,214 - INFO - Deleted project: ctest-TestRouters-48472790, ID : a8083209-9c7c-45e8-904d-c654132a6f41