2025-09-18 19:03:30,896 - INFO - Domain Default found not creating
2025-09-18 19:03:31,036 - INFO - Project ctest-TestRouters-10383150 not found, creating it
2025-09-18 19:03:31,518 - INFO - Created Project:ctest-TestRouters-10383150, ID : 4c7f24a9-3b06-4e7c-885b-02ab5b52d8c3
2025-09-18 19:03:33,006 - INFO - ================================================================================
2025-09-18 19:03:33,007 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-18 19:03:33,007 - 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-09-18 19:03:33,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-09-18 19:03:33,260 - INFO - Initial checks done. Running the testcase now
2025-09-18 19:03:33,260 - INFO -
2025-09-18 19:03:33,818 - DEBUG - Response for create_network : {'network': {'id': '13439824-751a-46aa-aad0-d314a48bdf72', 'name': 'ctest-vn1-38569278', 'tenant_id': '4c7f24a93b064e7c885b02ab5b52d8c3', 'project_id': '4c7f24a93b064e7c885b02ab5b52d8c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10383150', 'ctest-vn1-38569278'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 19:03:34,015 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1043320-4d66-4d83-a1b6-b1a575defb1d', 'name': '', 'tenant_id': '4c7f24a93b064e7c885b02ab5b52d8c3', 'network_id': '13439824-751a-46aa-aad0-d314a48bdf72', 'ip_version': 4, 'cidr': '205.216.84.64/26', 'allocation_pools': [{'start': '205.216.84.66', 'end': '205.216.84.126'}], 'gateway_ip': '205.216.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.216.84.66', 'tags': [], 'project_id': '4c7f24a93b064e7c885b02ab5b52d8c3'}}
2025-09-18 19:03:34,031 - INFO - Created VN ctest-vn1-38569278
2025-09-18 19:03:34,083 - DEBUG - VN ctest-vn1-38569278 UUID is 13439824-751a-46aa-aad0-d314a48bdf72
2025-09-18 19:03:34,416 - DEBUG - Response for create_network : {'network': {'id': 'df5f3b5b-fd06-44a9-a17c-aa724003523d', 'name': 'ctest-vn2-02192749', 'tenant_id': '4c7f24a93b064e7c885b02ab5b52d8c3', 'project_id': '4c7f24a93b064e7c885b02ab5b52d8c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10383150', 'ctest-vn2-02192749'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 19:03:34,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '80d9b7c0-2b69-4d52-b33e-762e30b7bbb9', 'name': '', 'tenant_id': '4c7f24a93b064e7c885b02ab5b52d8c3', 'network_id': 'df5f3b5b-fd06-44a9-a17c-aa724003523d', 'ip_version': 4, 'cidr': '203.183.218.0/26', 'allocation_pools': [{'start': '203.183.218.2', 'end': '203.183.218.62'}], 'gateway_ip': '203.183.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.183.218.2', 'tags': [], 'project_id': '4c7f24a93b064e7c885b02ab5b52d8c3'}}
2025-09-18 19:03:34,683 - INFO - Created VN ctest-vn2-02192749
2025-09-18 19:03:34,739 - DEBUG - VN ctest-vn2-02192749 UUID is df5f3b5b-fd06-44a9-a17c-aa724003523d
2025-09-18 19:03:34,958 - DEBUG - Services list from nova: [, , ]
2025-09-18 19:03:35,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1)
2025-09-18 19:03:37,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1)
2025-09-18 19:03:37,254 - INFO - Adding interface with subnet_id c1043320-4d66-4d83-a1b6-b1a575defb1d, port_id None to router 13444f9c-977c-496a-a937-31eaf7e4ffca
2025-09-18 19:03:37,513 - INFO - Waiting for VM ctest-vn1-vm1-54013127 to be up..
2025-09-18 19:03:37,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 19:03:42,717 - DEBUG - VM is in ACTIVE state now
2025-09-18 19:03:42,718 - INFO - VM name : ctest-vn1-vm1-54013127
2025-09-18 19:03:42,789 - DEBUG - VM ctest-vn1-vm1-54013127 ID is efb474a5-1a06-498e-b8cd-e808bc499539
2025-09-18 19:03:42,809 - DEBUG - VM ctest-vn1-vm1-54013127 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1
2025-09-18 19:03:42,882 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/efb474a5-1a06-498e-b8cd-e808bc499539
2025-09-18 19:03:43,176 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/efb474a5-1a06-498e-b8cd-e808bc499539
2025-09-18 19:03:43,205 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/79bf2b5d-5460-4d1a-93d8-27726ec970b9
2025-09-18 19:03:46,461 - 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-09-18 19:03:46,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54013127 failed!
2025-09-18 19:03:46,519 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10383150:ctest-vn1-38569278 is 205.216.84.65 and allocation pool is NOT set
2025-09-18 19:03:48,579 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.871 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.871/2.395/3.919/1.524 ms')
2025-09-18 19:03:48,579 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54013127 passed
2025-09-18 19:03:48,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:48,731 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54013127, IP 205.216.84.67, Port 22
2025-09-18 19:03:48,786 - 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-09-18 19:03:48,854 - DEBUG - VM ctest-vn1-vm1-54013127 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 19:03:53,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:53,855 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54013127, IP 205.216.84.67, Port 22
2025-09-18 19:03:54,010 - DEBUG - VM ctest-vn1-vm1-54013127 is ready for SSH connections
2025-09-18 19:03:54,010 - INFO - Waiting for VM ctest-vn2-vm1-68812320 to be up..
2025-09-18 19:03:54,082 - DEBUG - VM is in ACTIVE state now
2025-09-18 19:03:54,082 - INFO - VM name : ctest-vn2-vm1-68812320
2025-09-18 19:03:54,149 - DEBUG - VM ctest-vn2-vm1-68812320 ID is 8bf9c2d5-621b-4c90-9926-a714a07d1f5b
2025-09-18 19:03:54,149 - DEBUG - VM ctest-vn2-vm1-68812320 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1
2025-09-18 19:03:54,212 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8bf9c2d5-621b-4c90-9926-a714a07d1f5b
2025-09-18 19:03:54,219 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5280a179-310b-4950-aef8-56bbc959b778
2025-09-18 19:03:55,444 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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.357/1.489/2.622/1.132 ms')
2025-09-18 19:03:55,444 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-68812320 passed
2025-09-18 19:03:55,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:55,591 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-68812320, IP 203.183.218.3, Port 22
2025-09-18 19:03:55,751 - DEBUG - VM ctest-vn2-vm1-68812320 is ready for SSH connections
2025-09-18 19:03:55,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:03:55,751 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.183.218.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-09-18 19:03:55,751 - DEBUG - ping -s 56 -c 3 -W 1 203.183.218.3
2025-09-18 19:04:00,404 - DEBUG - PING 203.183.218.3 (203.183.218.3): 56 data bytes
--- 203.183.218.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-18 19:04:00,404 - WARNING - Ping to IP 203.183.218.3 from VM ctest-vn1-vm1-54013127 failed
2025-09-18 19:04:00,404 - INFO - Adding interface with subnet_id 80d9b7c0-2b69-4d52-b33e-762e30b7bbb9, port_id None to router 13444f9c-977c-496a-a937-31eaf7e4ffca
2025-09-18 19:04:00,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:04:00,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.183.218.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-09-18 19:04:00,638 - DEBUG - ping -s 56 -c 3 -W 1 203.183.218.3
2025-09-18 19:04:03,871 - DEBUG - PING 203.183.218.3 (203.183.218.3): 56 data bytes
64 bytes from 203.183.218.3: seq=1 ttl=63 time=2.581 ms
64 bytes from 203.183.218.3: seq=2 ttl=63 time=0.877 ms
--- 203.183.218.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.877/1.729/2.581 ms
2025-09-18 19:04:03,871 - WARNING - Ping to IP 203.183.218.3 from VM ctest-vn1-vm1-54013127 failed
2025-09-18 19:04:04,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.183.218.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-09-18 19:04:04,872 - DEBUG - ping -s 56 -c 3 -W 1 203.183.218.3
2025-09-18 19:04:07,079 - DEBUG - PING 203.183.218.3 (203.183.218.3): 56 data bytes
64 bytes from 203.183.218.3: seq=0 ttl=63 time=1.454 ms
64 bytes from 203.183.218.3: seq=1 ttl=63 time=0.914 ms
64 bytes from 203.183.218.3: seq=2 ttl=63 time=0.747 ms
--- 203.183.218.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.747/1.038/1.454 ms
2025-09-18 19:04:07,079 - INFO - Ping to IP 203.183.218.3 from VM ctest-vn1-vm1-54013127 passed
2025-09-18 19:04:07,079 - INFO - Deleting interface with subnet_id c1043320-4d66-4d83-a1b6-b1a575defb1d, port_id None from router 13444f9c-977c-496a-a937-31eaf7e4ffca
2025-09-18 19:04:07,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:04:07,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.183.218.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-09-18 19:04:07,208 - DEBUG - ping -s 56 -c 3 -W 1 203.183.218.3
2025-09-18 19:04:10,440 - DEBUG - PING 203.183.218.3 (203.183.218.3): 56 data bytes
--- 203.183.218.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-18 19:04:10,440 - WARNING - Ping to IP 203.183.218.3 from VM ctest-vn1-vm1-54013127 failed
2025-09-18 19:04:10,440 - INFO - Adding interface with subnet_id c1043320-4d66-4d83-a1b6-b1a575defb1d, port_id None to router 13444f9c-977c-496a-a937-31eaf7e4ffca
2025-09-18 19:04:10,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 19:04:10,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.183.218.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-09-18 19:04:10,632 - DEBUG - ping -s 56 -c 3 -W 1 203.183.218.3
2025-09-18 19:04:12,829 - DEBUG - PING 203.183.218.3 (203.183.218.3): 56 data bytes
64 bytes from 203.183.218.3: seq=0 ttl=63 time=1.407 ms
64 bytes from 203.183.218.3: seq=1 ttl=63 time=0.847 ms
64 bytes from 203.183.218.3: seq=2 ttl=63 time=0.816 ms
--- 203.183.218.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.816/1.023/1.407 ms
2025-09-18 19:04:12,829 - INFO - Ping to IP 203.183.218.3 from VM ctest-vn1-vm1-54013127 passed
2025-09-18 19:04:12,829 - INFO - Deleting interface with subnet_id 80d9b7c0-2b69-4d52-b33e-762e30b7bbb9, port_id None from router 13444f9c-977c-496a-a937-31eaf7e4ffca
2025-09-18 19:04:12,939 - INFO - Deleting interface with subnet_id c1043320-4d66-4d83-a1b6-b1a575defb1d, port_id None from router 13444f9c-977c-496a-a937-31eaf7e4ffca
2025-09-18 19:04:13,118 - INFO - Deleting VM ctest-vn2-vm1-68812320
2025-09-18 19:04:13,189 - INFO - Deleting VM ctest-vn1-vm1-54013127
2025-09-18 19:04:13,265 - INFO - Deleting VN ctest-vn2-02192749
2025-09-18 19:04:13,307 - DEBUG - VN df5f3b5b-fd06-44a9-a17c-aa724003523d still in use: Unable to complete operation on network df5f3b5b-fd06-44a9-a17c-aa724003523d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b96f9149-f834-4119-8364-600a5a773b90']
2025-09-18 19:04:13,307 - WARNING - Deleting VN ctest-vn2-02192749 failed..Will retry
2025-09-18 19:04:15,415 - DEBUG - Response for deleting network ()
2025-09-18 19:04:15,415 - INFO - Deleting VN ctest-vn1-38569278
2025-09-18 19:04:15,522 - DEBUG - Response for deleting network ()
2025-09-18 19:04:15,776 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 19:04:15,776 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-09-18 19:04:15,776 - INFO - --------------------------------------------------------------------------------
2025-09-18 19:04:16,446 - INFO - Deleted project: ctest-TestRouters-10383150, ID : 4c7f24a9-3b06-4e7c-885b-02ab5b52d8c3