2025-11-14 17:16:39,140 - INFO - Domain Default found not creating
2025-11-14 17:16:39,482 - INFO - Project ctest-TestRouters-45072978 not found, creating it
2025-11-14 17:16:39,994 - INFO - Created Project:ctest-TestRouters-45072978, ID : 4fbe413a-44c6-4862-b39d-4c326f239b0f
2025-11-14 17:16:41,558 - INFO - ================================================================================
2025-11-14 17:16:41,558 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-14 17:16:41,558 - 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-11-14 17:16:41,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-11-14 17:16:41,841 - INFO - Initial checks done. Running the testcase now
2025-11-14 17:16:41,841 - INFO -
2025-11-14 17:16:42,424 - DEBUG - Response for create_network : {'network': {'id': '139c4fba-55ee-40f3-ba43-8176c31d7f06', 'name': 'ctest-vn1-36292327', 'tenant_id': '4fbe413a44c64862b39d4c326f239b0f', 'project_id': '4fbe413a44c64862b39d4c326f239b0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45072978', 'ctest-vn1-36292327'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 17:16:42,667 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1b4d8b7-fadf-41b6-a510-f0a75a5aaea7', 'name': '', 'tenant_id': '4fbe413a44c64862b39d4c326f239b0f', 'network_id': '139c4fba-55ee-40f3-ba43-8176c31d7f06', 'ip_version': 4, 'cidr': '173.228.219.192/26', 'allocation_pools': [{'start': '173.228.219.194', 'end': '173.228.219.254'}], 'gateway_ip': '173.228.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.228.219.194', 'tags': [], 'project_id': '4fbe413a44c64862b39d4c326f239b0f'}}
2025-11-14 17:16:42,695 - INFO - Created VN ctest-vn1-36292327
2025-11-14 17:16:42,755 - DEBUG - VN ctest-vn1-36292327 UUID is 139c4fba-55ee-40f3-ba43-8176c31d7f06
2025-11-14 17:16:43,126 - DEBUG - Response for create_network : {'network': {'id': '32143520-a62e-4b0c-8f41-d0d513ad186e', 'name': 'ctest-vn2-45657141', 'tenant_id': '4fbe413a44c64862b39d4c326f239b0f', 'project_id': '4fbe413a44c64862b39d4c326f239b0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45072978', 'ctest-vn2-45657141'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 17:16:43,307 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1b7c984-9774-48ed-bb3b-42f4bceb9f38', 'name': '', 'tenant_id': '4fbe413a44c64862b39d4c326f239b0f', 'network_id': '32143520-a62e-4b0c-8f41-d0d513ad186e', 'ip_version': 4, 'cidr': '219.143.126.64/26', 'allocation_pools': [{'start': '219.143.126.66', 'end': '219.143.126.126'}], 'gateway_ip': '219.143.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.143.126.66', 'tags': [], 'project_id': '4fbe413a44c64862b39d4c326f239b0f'}}
2025-11-14 17:16:43,324 - INFO - Created VN ctest-vn2-45657141
2025-11-14 17:16:43,375 - DEBUG - VN ctest-vn2-45657141 UUID is 32143520-a62e-4b0c-8f41-d0d513ad186e
2025-11-14 17:16:43,614 - DEBUG - Services list from nova: [, , ]
2025-11-14 17:16:44,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1)
2025-11-14 17:16:46,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1)
2025-11-14 17:16:46,404 - INFO - Adding interface with subnet_id f1b4d8b7-fadf-41b6-a510-f0a75a5aaea7, port_id None to router 3c0d9e45-53c7-496a-b5e6-516e6502c9d1
2025-11-14 17:16:46,654 - INFO - Waiting for VM ctest-vn1-vm1-00890155 to be up..
2025-11-14 17:16:46,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-14 17:16:51,864 - DEBUG - VM is in ACTIVE state now
2025-11-14 17:16:51,864 - INFO - VM name : ctest-vn1-vm1-00890155
2025-11-14 17:16:51,973 - DEBUG - VM ctest-vn1-vm1-00890155 ID is 67de7461-f019-4da3-bd7c-22224cd9177c
2025-11-14 17:16:52,002 - DEBUG - VM ctest-vn1-vm1-00890155 launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1
2025-11-14 17:16:52,103 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/67de7461-f019-4da3-bd7c-22224cd9177c
2025-11-14 17:16:52,419 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/67de7461-f019-4da3-bd7c-22224cd9177c
2025-11-14 17:16:52,465 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5ed7d4e3-ada2-49a7-b71e-f11cbc1abbd1
2025-11-14 17:16:55,757 - 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 1000ms')
2025-11-14 17:16:55,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00890155 failed!
2025-11-14 17:16:55,831 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-45072978:ctest-vn1-36292327 is 173.228.219.193 and allocation pool is NOT set
2025-11-14 17:16:57,900 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 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.265/7.510/12.756/5.245 ms')
2025-11-14 17:16:57,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00890155 passed
2025-11-14 17:16:58,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:16:58,072 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00890155, IP 173.228.219.195, Port 22
2025-11-14 17:16:58,137 - 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-11-14 17:16:58,238 - DEBUG - VM ctest-vn1-vm1-00890155 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-14 17:17:03,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:17:03,238 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00890155, IP 173.228.219.195, Port 22
2025-11-14 17:17:03,438 - DEBUG - VM ctest-vn1-vm1-00890155 is ready for SSH connections
2025-11-14 17:17:03,438 - INFO - Waiting for VM ctest-vn2-vm1-54989673 to be up..
2025-11-14 17:17:03,637 - DEBUG - VM is in ACTIVE state now
2025-11-14 17:17:03,637 - INFO - VM name : ctest-vn2-vm1-54989673
2025-11-14 17:17:03,789 - DEBUG - VM ctest-vn2-vm1-54989673 ID is dc859766-fe6a-42f2-8170-508ebf7a5d64
2025-11-14 17:17:03,790 - DEBUG - VM ctest-vn2-vm1-54989673 launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1
2025-11-14 17:17:03,914 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dc859766-fe6a-42f2-8170-508ebf7a5d64
2025-11-14 17:17:03,932 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/33d3c418-da6c-4114-8736-7b22fc72506f
2025-11-14 17:17:05,228 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.624 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.624/2.412/4.200/1.788 ms')
2025-11-14 17:17:05,229 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-54989673 passed
2025-11-14 17:17:05,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:17:05,387 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-54989673, IP 219.143.126.67, Port 22
2025-11-14 17:17:05,577 - DEBUG - VM ctest-vn2-vm1-54989673 is ready for SSH connections
2025-11-14 17:17:05,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:17:05,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.143.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-14 17:17:05,578 - DEBUG - ping -s 56 -c 3 -W 1 219.143.126.67
2025-11-14 17:17:11,104 - DEBUG - PING 219.143.126.67 (219.143.126.67): 56 data bytes
--- 219.143.126.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-14 17:17:11,104 - WARNING - Ping to IP 219.143.126.67 from VM ctest-vn1-vm1-00890155 failed
2025-11-14 17:17:11,105 - INFO - Adding interface with subnet_id f1b7c984-9774-48ed-bb3b-42f4bceb9f38, port_id None to router 3c0d9e45-53c7-496a-b5e6-516e6502c9d1
2025-11-14 17:17:11,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:17:11,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.143.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-14 17:17:11,526 - DEBUG - ping -s 56 -c 3 -W 1 219.143.126.67
2025-11-14 17:17:13,822 - DEBUG - PING 219.143.126.67 (219.143.126.67): 56 data bytes
64 bytes from 219.143.126.67: seq=0 ttl=63 time=3.667 ms
64 bytes from 219.143.126.67: seq=1 ttl=63 time=1.605 ms
64 bytes from 219.143.126.67: seq=2 ttl=63 time=2.236 ms
--- 219.143.126.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.605/2.502/3.667 ms
2025-11-14 17:17:13,823 - INFO - Ping to IP 219.143.126.67 from VM ctest-vn1-vm1-00890155 passed
2025-11-14 17:17:13,823 - INFO - Deleting interface with subnet_id f1b4d8b7-fadf-41b6-a510-f0a75a5aaea7, port_id None from router 3c0d9e45-53c7-496a-b5e6-516e6502c9d1
2025-11-14 17:17:14,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:17:14,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.143.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-14 17:17:14,029 - DEBUG - ping -s 56 -c 3 -W 1 219.143.126.67
2025-11-14 17:17:17,345 - DEBUG - PING 219.143.126.67 (219.143.126.67): 56 data bytes
--- 219.143.126.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-14 17:17:17,345 - WARNING - Ping to IP 219.143.126.67 from VM ctest-vn1-vm1-00890155 failed
2025-11-14 17:17:17,345 - INFO - Adding interface with subnet_id f1b4d8b7-fadf-41b6-a510-f0a75a5aaea7, port_id None to router 3c0d9e45-53c7-496a-b5e6-516e6502c9d1
2025-11-14 17:17:17,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:17:17,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.143.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-14 17:17:17,756 - DEBUG - ping -s 56 -c 3 -W 1 219.143.126.67
2025-11-14 17:17:19,987 - DEBUG - PING 219.143.126.67 (219.143.126.67): 56 data bytes
64 bytes from 219.143.126.67: seq=0 ttl=63 time=1.765 ms
64 bytes from 219.143.126.67: seq=1 ttl=63 time=1.527 ms
64 bytes from 219.143.126.67: seq=2 ttl=63 time=1.995 ms
--- 219.143.126.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.527/1.762/1.995 ms
2025-11-14 17:17:19,988 - INFO - Ping to IP 219.143.126.67 from VM ctest-vn1-vm1-00890155 passed
2025-11-14 17:17:19,988 - INFO - Deleting interface with subnet_id f1b7c984-9774-48ed-bb3b-42f4bceb9f38, port_id None from router 3c0d9e45-53c7-496a-b5e6-516e6502c9d1
2025-11-14 17:17:20,206 - INFO - Deleting interface with subnet_id f1b4d8b7-fadf-41b6-a510-f0a75a5aaea7, port_id None from router 3c0d9e45-53c7-496a-b5e6-516e6502c9d1
2025-11-14 17:17:20,418 - INFO - Deleting VM ctest-vn2-vm1-54989673
2025-11-14 17:17:20,515 - INFO - Deleting VM ctest-vn1-vm1-00890155
2025-11-14 17:17:20,642 - INFO - Deleting VN ctest-vn2-45657141
2025-11-14 17:17:20,722 - DEBUG - VN 32143520-a62e-4b0c-8f41-d0d513ad186e still in use: Unable to complete operation on network 32143520-a62e-4b0c-8f41-d0d513ad186e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0db2ffb7-6e7a-4e25-94b0-327c8420cad3']
2025-11-14 17:17:20,722 - WARNING - Deleting VN ctest-vn2-45657141 failed..Will retry
2025-11-14 17:17:22,913 - DEBUG - Response for deleting network ()
2025-11-14 17:17:22,913 - INFO - Deleting VN ctest-vn1-36292327
2025-11-14 17:17:23,143 - DEBUG - Response for deleting network ()
2025-11-14 17:17:23,417 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 17:17:23,417 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-11-14 17:17:23,417 - INFO - --------------------------------------------------------------------------------
2025-11-14 17:17:24,256 - INFO - Deleted project: ctest-TestRouters-45072978, ID : 4fbe413a-44c6-4862-b39d-4c326f239b0f