2025-11-03 09:11:18,366 - INFO - Domain Default found not creating
2025-11-03 09:11:18,552 - INFO - Project ctest-TestRouters-76210111 not found, creating it
2025-11-03 09:11:19,071 - INFO - Created Project:ctest-TestRouters-76210111, ID : a917f694-8789-4233-86c3-159f937298b8
2025-11-03 09:11:20,801 - INFO - ================================================================================
2025-11-03 09:11:20,801 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-03 09:11:20,802 - 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-03 09:11:21,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with
2025-11-03 09:11:21,088 - INFO - Initial checks done. Running the testcase now
2025-11-03 09:11:21,088 - INFO -
2025-11-03 09:11:21,793 - DEBUG - Response for create_network : {'network': {'id': '07e006be-dc91-48a7-a0a7-e7c7a4102aa9', 'name': 'ctest-vn1-39398008', 'tenant_id': 'a917f6948789423386c3159f937298b8', 'project_id': 'a917f6948789423386c3159f937298b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76210111', 'ctest-vn1-39398008'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 09:11:22,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a69fdc6e-a851-4ce2-bd10-5d1ef970f817', 'name': '', 'tenant_id': 'a917f6948789423386c3159f937298b8', 'network_id': '07e006be-dc91-48a7-a0a7-e7c7a4102aa9', 'ip_version': 4, 'cidr': '2.15.125.192/26', 'allocation_pools': [{'start': '2.15.125.194', 'end': '2.15.125.254'}], 'gateway_ip': '2.15.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.15.125.194', 'tags': [], 'project_id': 'a917f6948789423386c3159f937298b8'}}
2025-11-03 09:11:22,029 - INFO - Created VN ctest-vn1-39398008
2025-11-03 09:11:22,082 - DEBUG - VN ctest-vn1-39398008 UUID is 07e006be-dc91-48a7-a0a7-e7c7a4102aa9
2025-11-03 09:11:22,449 - DEBUG - Response for create_network : {'network': {'id': '73af940d-be99-4762-816d-78839dd35115', 'name': 'ctest-vn2-24562487', 'tenant_id': 'a917f6948789423386c3159f937298b8', 'project_id': 'a917f6948789423386c3159f937298b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76210111', 'ctest-vn2-24562487'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 09:11:22,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c013b970-f3a6-4ecc-919f-d9a1c9d2bc41', 'name': '', 'tenant_id': 'a917f6948789423386c3159f937298b8', 'network_id': '73af940d-be99-4762-816d-78839dd35115', 'ip_version': 4, 'cidr': '94.230.138.128/26', 'allocation_pools': [{'start': '94.230.138.130', 'end': '94.230.138.190'}], 'gateway_ip': '94.230.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.230.138.130', 'tags': [], 'project_id': 'a917f6948789423386c3159f937298b8'}}
2025-11-03 09:11:22,725 - INFO - Created VN ctest-vn2-24562487
2025-11-03 09:11:22,783 - DEBUG - VN ctest-vn2-24562487 UUID is 73af940d-be99-4762-816d-78839dd35115
2025-11-03 09:11:22,978 - DEBUG - Services list from nova: [, , ]
2025-11-03 09:11:24,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1)
2025-11-03 09:11:25,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1)
2025-11-03 09:11:25,910 - INFO - Adding interface with subnet_id a69fdc6e-a851-4ce2-bd10-5d1ef970f817, port_id None to router 610eb398-ab92-42d6-b11e-c320dab3968c
2025-11-03 09:11:26,304 - INFO - Waiting for VM ctest-vn1-vm1-47048136 to be up..
2025-11-03 09:11:26,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 09:11:31,526 - DEBUG - VM is in ACTIVE state now
2025-11-03 09:11:31,526 - INFO - VM name : ctest-vn1-vm1-47048136
2025-11-03 09:11:31,611 - DEBUG - VM ctest-vn1-vm1-47048136 ID is db50458c-287c-47d9-bc5c-a841e9d40e76
2025-11-03 09:11:31,631 - DEBUG - VM ctest-vn1-vm1-47048136 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1
2025-11-03 09:11:31,720 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/db50458c-287c-47d9-bc5c-a841e9d40e76
2025-11-03 09:11:32,069 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/db50458c-287c-47d9-bc5c-a841e9d40e76
2025-11-03 09:11:32,101 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a01e12db-20b1-4978-af6f-020da460c17e
2025-11-03 09:11:35,349 - 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 1005ms')
2025-11-03 09:11:35,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47048136 failed!
2025-11-03 09:11:35,406 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76210111:ctest-vn1-39398008 is 2.15.125.193 and allocation pool is NOT set
2025-11-03 09:11:37,472 - 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=6.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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 = 1.982/4.088/6.195/2.106 ms')
2025-11-03 09:11:37,472 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47048136 passed
2025-11-03 09:11:37,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:11:37,626 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47048136, IP 2.15.125.195, Port 22
2025-11-03 09:11:37,692 - 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-03 09:11:37,774 - DEBUG - VM ctest-vn1-vm1-47048136 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-03 09:11:42,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:11:42,775 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47048136, IP 2.15.125.195, Port 22
2025-11-03 09:11:42,934 - DEBUG - VM ctest-vn1-vm1-47048136 is ready for SSH connections
2025-11-03 09:11:42,934 - INFO - Waiting for VM ctest-vn2-vm1-01579577 to be up..
2025-11-03 09:11:43,007 - DEBUG - VM is in ACTIVE state now
2025-11-03 09:11:43,007 - INFO - VM name : ctest-vn2-vm1-01579577
2025-11-03 09:11:43,080 - DEBUG - VM ctest-vn2-vm1-01579577 ID is ef4f586c-7ea2-4db1-b92d-46deb75b1e19
2025-11-03 09:11:43,081 - DEBUG - VM ctest-vn2-vm1-01579577 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1
2025-11-03 09:11:43,152 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ef4f586c-7ea2-4db1-b92d-46deb75b1e19
2025-11-03 09:11:43,160 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/35b8a9da-b449-4ac2-82c2-643a361e8a0c
2025-11-03 09:11:44,403 - 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.399 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.399/1.791/3.184/1.392 ms')
2025-11-03 09:11:44,403 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-01579577 passed
2025-11-03 09:11:44,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:11:44,562 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01579577, IP 94.230.138.131, Port 22
2025-11-03 09:11:44,718 - DEBUG - VM ctest-vn2-vm1-01579577 is ready for SSH connections
2025-11-03 09:11:44,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:11:44,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.230.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-11-03 09:11:44,718 - DEBUG - ping -s 56 -c 3 -W 1 94.230.138.131
2025-11-03 09:11:49,785 - DEBUG - PING 94.230.138.131 (94.230.138.131): 56 data bytes
--- 94.230.138.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-03 09:11:49,785 - WARNING - Ping to IP 94.230.138.131 from VM ctest-vn1-vm1-47048136 failed
2025-11-03 09:11:49,785 - INFO - Adding interface with subnet_id c013b970-f3a6-4ecc-919f-d9a1c9d2bc41, port_id None to router 610eb398-ab92-42d6-b11e-c320dab3968c
2025-11-03 09:11:50,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:11:50,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.230.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-11-03 09:11:50,034 - DEBUG - ping -s 56 -c 3 -W 1 94.230.138.131
2025-11-03 09:11:53,258 - DEBUG - PING 94.230.138.131 (94.230.138.131): 56 data bytes
64 bytes from 94.230.138.131: seq=1 ttl=63 time=2.831 ms
64 bytes from 94.230.138.131: seq=2 ttl=63 time=0.876 ms
--- 94.230.138.131 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.876/1.853/2.831 ms
2025-11-03 09:11:53,259 - WARNING - Ping to IP 94.230.138.131 from VM ctest-vn1-vm1-47048136 failed
2025-11-03 09:11:54,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.230.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-11-03 09:11:54,259 - DEBUG - ping -s 56 -c 3 -W 1 94.230.138.131
2025-11-03 09:11:56,487 - DEBUG - PING 94.230.138.131 (94.230.138.131): 56 data bytes
64 bytes from 94.230.138.131: seq=0 ttl=63 time=1.413 ms
64 bytes from 94.230.138.131: seq=1 ttl=63 time=0.916 ms
64 bytes from 94.230.138.131: seq=2 ttl=63 time=0.989 ms
--- 94.230.138.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.916/1.106/1.413 ms
2025-11-03 09:11:56,487 - INFO - Ping to IP 94.230.138.131 from VM ctest-vn1-vm1-47048136 passed
2025-11-03 09:11:56,488 - INFO - Deleting interface with subnet_id a69fdc6e-a851-4ce2-bd10-5d1ef970f817, port_id None from router 610eb398-ab92-42d6-b11e-c320dab3968c
2025-11-03 09:11:56,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:11:56,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.230.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-11-03 09:11:56,615 - DEBUG - ping -s 56 -c 3 -W 1 94.230.138.131
2025-11-03 09:11:59,835 - DEBUG - PING 94.230.138.131 (94.230.138.131): 56 data bytes
--- 94.230.138.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-03 09:11:59,835 - WARNING - Ping to IP 94.230.138.131 from VM ctest-vn1-vm1-47048136 failed
2025-11-03 09:11:59,835 - INFO - Adding interface with subnet_id a69fdc6e-a851-4ce2-bd10-5d1ef970f817, port_id None to router 610eb398-ab92-42d6-b11e-c320dab3968c
2025-11-03 09:12:00,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:12:00,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.230.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-11-03 09:12:00,050 - DEBUG - ping -s 56 -c 3 -W 1 94.230.138.131
2025-11-03 09:12:02,286 - DEBUG - PING 94.230.138.131 (94.230.138.131): 56 data bytes
64 bytes from 94.230.138.131: seq=0 ttl=63 time=1.947 ms
64 bytes from 94.230.138.131: seq=1 ttl=63 time=1.157 ms
64 bytes from 94.230.138.131: seq=2 ttl=63 time=1.087 ms
--- 94.230.138.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.087/1.397/1.947 ms
2025-11-03 09:12:02,287 - INFO - Ping to IP 94.230.138.131 from VM ctest-vn1-vm1-47048136 passed
2025-11-03 09:12:02,287 - INFO - Deleting interface with subnet_id c013b970-f3a6-4ecc-919f-d9a1c9d2bc41, port_id None from router 610eb398-ab92-42d6-b11e-c320dab3968c
2025-11-03 09:12:02,416 - INFO - Deleting interface with subnet_id a69fdc6e-a851-4ce2-bd10-5d1ef970f817, port_id None from router 610eb398-ab92-42d6-b11e-c320dab3968c
2025-11-03 09:12:02,619 - INFO - Deleting VM ctest-vn2-vm1-01579577
2025-11-03 09:12:02,695 - INFO - Deleting VM ctest-vn1-vm1-47048136
2025-11-03 09:12:02,775 - INFO - Deleting VN ctest-vn2-24562487
2025-11-03 09:12:02,819 - DEBUG - VN 73af940d-be99-4762-816d-78839dd35115 still in use: Unable to complete operation on network 73af940d-be99-4762-816d-78839dd35115. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5cd68c73-6218-4540-8d1a-640db74eaa88']
2025-11-03 09:12:02,820 - WARNING - Deleting VN ctest-vn2-24562487 failed..Will retry
2025-11-03 09:12:04,938 - DEBUG - Response for deleting network ()
2025-11-03 09:12:04,939 - INFO - Deleting VN ctest-vn1-39398008
2025-11-03 09:12:05,040 - DEBUG - Response for deleting network ()
2025-11-03 09:12:05,300 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 09:12:05,301 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-11-03 09:12:05,301 - INFO - --------------------------------------------------------------------------------
2025-11-03 09:12:06,010 - INFO - Deleted project: ctest-TestRouters-76210111, ID : a917f694-8789-4233-86c3-159f937298b8