2025-11-24 20:30:19,725 - INFO - Domain Default found not creating
2025-11-24 20:30:19,887 - INFO - Project ctest-TestRouters-55968392 not found, creating it
2025-11-24 20:30:20,366 - INFO - Created Project:ctest-TestRouters-55968392, ID : 6f8026f6-9fdc-4008-84f0-e7980dc253ab
2025-11-24 20:30:21,945 - INFO - ================================================================================
2025-11-24 20:30:21,946 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-24 20:30:21,946 - 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-24 20:30:22,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-11-24 20:30:22,220 - INFO - Initial checks done. Running the testcase now
2025-11-24 20:30:22,220 - INFO -
2025-11-24 20:30:22,791 - DEBUG - Response for create_network : {'network': {'id': '1a0f2aae-8794-4b99-9703-fe5857d3ce8f', 'name': 'ctest-vn1-81893766', 'tenant_id': '6f8026f69fdc400884f0e7980dc253ab', 'project_id': '6f8026f69fdc400884f0e7980dc253ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55968392', 'ctest-vn1-81893766'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 20:30:23,000 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6229b26-a171-40d4-a7e1-6c7ccb54c3cb', 'name': '', 'tenant_id': '6f8026f69fdc400884f0e7980dc253ab', 'network_id': '1a0f2aae-8794-4b99-9703-fe5857d3ce8f', 'ip_version': 4, 'cidr': '220.231.25.0/26', 'allocation_pools': [{'start': '220.231.25.2', 'end': '220.231.25.62'}], 'gateway_ip': '220.231.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.231.25.2', 'tags': [], 'project_id': '6f8026f69fdc400884f0e7980dc253ab'}}
2025-11-24 20:30:23,019 - INFO - Created VN ctest-vn1-81893766
2025-11-24 20:30:23,074 - DEBUG - VN ctest-vn1-81893766 UUID is 1a0f2aae-8794-4b99-9703-fe5857d3ce8f
2025-11-24 20:30:23,397 - DEBUG - Response for create_network : {'network': {'id': '1246174e-c892-46c3-a6f3-b12bbf574419', 'name': 'ctest-vn2-24167407', 'tenant_id': '6f8026f69fdc400884f0e7980dc253ab', 'project_id': '6f8026f69fdc400884f0e7980dc253ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55968392', 'ctest-vn2-24167407'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 20:30:23,604 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db1e953e-a20d-45e2-9bd4-189060119461', 'name': '', 'tenant_id': '6f8026f69fdc400884f0e7980dc253ab', 'network_id': '1246174e-c892-46c3-a6f3-b12bbf574419', 'ip_version': 4, 'cidr': '169.99.255.0/26', 'allocation_pools': [{'start': '169.99.255.2', 'end': '169.99.255.62'}], 'gateway_ip': '169.99.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.99.255.2', 'tags': [], 'project_id': '6f8026f69fdc400884f0e7980dc253ab'}}
2025-11-24 20:30:23,624 - INFO - Created VN ctest-vn2-24167407
2025-11-24 20:30:23,678 - DEBUG - VN ctest-vn2-24167407 UUID is 1246174e-c892-46c3-a6f3-b12bbf574419
2025-11-24 20:30:23,866 - DEBUG - Services list from nova: [, , ]
2025-11-24 20:30:25,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4815-1)
2025-11-24 20:30:26,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4815-1)
2025-11-24 20:30:26,295 - INFO - Adding interface with subnet_id c6229b26-a171-40d4-a7e1-6c7ccb54c3cb, port_id None to router 0ecd64cb-8fde-42b4-83be-cf8ff707e15b
2025-11-24 20:30:26,591 - INFO - Waiting for VM ctest-vn1-vm1-00087570 to be up..
2025-11-24 20:30:26,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-24 20:30:31,775 - DEBUG - VM is in ACTIVE state now
2025-11-24 20:30:31,775 - INFO - VM name : ctest-vn1-vm1-00087570
2025-11-24 20:30:31,852 - DEBUG - VM ctest-vn1-vm1-00087570 ID is d9fc49f7-3663-4da4-a0a0-23e1ac5ab57d
2025-11-24 20:30:31,876 - DEBUG - VM ctest-vn1-vm1-00087570 launched on Node cn-jenkins-deploy-platform-ansible-os-4815-1
2025-11-24 20:30:31,945 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d9fc49f7-3663-4da4-a0a0-23e1ac5ab57d
2025-11-24 20:30:32,248 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d9fc49f7-3663-4da4-a0a0-23e1ac5ab57d
2025-11-24 20:30:32,296 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/abd14eec-3aaa-44cf-b947-216710289ad1
2025-11-24 20:30:35,569 - 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 1025ms')
2025-11-24 20:30:35,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00087570 failed!
2025-11-24 20:30:35,622 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55968392:ctest-vn1-81893766 is 220.231.25.1 and allocation pool is NOT set
2025-11-24 20:30:37,689 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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 = 2.132/3.638/5.144/1.506 ms')
2025-11-24 20:30:37,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00087570 passed
2025-11-24 20:30:37,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:37,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00087570, IP 220.231.25.3, Port 22
2025-11-24 20:30:37,904 - 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-24 20:30:37,982 - DEBUG - VM ctest-vn1-vm1-00087570 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 20:30:42,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:42,983 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00087570, IP 220.231.25.3, Port 22
2025-11-24 20:30:43,148 - DEBUG - VM ctest-vn1-vm1-00087570 is ready for SSH connections
2025-11-24 20:30:43,148 - INFO - Waiting for VM ctest-vn2-vm1-07701174 to be up..
2025-11-24 20:30:43,232 - DEBUG - VM is in ACTIVE state now
2025-11-24 20:30:43,232 - INFO - VM name : ctest-vn2-vm1-07701174
2025-11-24 20:30:43,309 - DEBUG - VM ctest-vn2-vm1-07701174 ID is b53a7f52-8ad4-4af0-8a0c-a3633fa00ed4
2025-11-24 20:30:43,309 - DEBUG - VM ctest-vn2-vm1-07701174 launched on Node cn-jenkins-deploy-platform-ansible-os-4815-1
2025-11-24 20:30:43,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b53a7f52-8ad4-4af0-8a0c-a3633fa00ed4
2025-11-24 20:30:43,390 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ffdf718b-c1c3-4d91-ab0d-522feba21fb7
2025-11-24 20:30:44,636 - 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.72 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 1001ms\r\nrtt min/avg/max/mdev = 0.357/2.039/3.722/1.682 ms')
2025-11-24 20:30:44,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-07701174 passed
2025-11-24 20:30:44,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:44,786 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07701174, IP 169.99.255.3, Port 22
2025-11-24 20:30:44,952 - DEBUG - VM ctest-vn2-vm1-07701174 is ready for SSH connections
2025-11-24 20:30:44,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:44,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.99.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 20:30:44,952 - DEBUG - ping -s 56 -c 3 -W 1 169.99.255.3
2025-11-24 20:30:49,633 - DEBUG - PING 169.99.255.3 (169.99.255.3): 56 data bytes
--- 169.99.255.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-24 20:30:49,633 - WARNING - Ping to IP 169.99.255.3 from VM ctest-vn1-vm1-00087570 failed
2025-11-24 20:30:49,634 - INFO - Adding interface with subnet_id db1e953e-a20d-45e2-9bd4-189060119461, port_id None to router 0ecd64cb-8fde-42b4-83be-cf8ff707e15b
2025-11-24 20:30:49,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:49,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.99.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 20:30:49,898 - DEBUG - ping -s 56 -c 3 -W 1 169.99.255.3
2025-11-24 20:30:53,115 - DEBUG - PING 169.99.255.3 (169.99.255.3): 56 data bytes
64 bytes from 169.99.255.3: seq=1 ttl=63 time=2.468 ms
64 bytes from 169.99.255.3: seq=2 ttl=63 time=1.038 ms
--- 169.99.255.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.038/1.753/2.468 ms
2025-11-24 20:30:53,115 - WARNING - Ping to IP 169.99.255.3 from VM ctest-vn1-vm1-00087570 failed
2025-11-24 20:30:54,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.99.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 20:30:54,116 - DEBUG - ping -s 56 -c 3 -W 1 169.99.255.3
2025-11-24 20:30:56,332 - DEBUG - PING 169.99.255.3 (169.99.255.3): 56 data bytes
64 bytes from 169.99.255.3: seq=0 ttl=63 time=1.249 ms
64 bytes from 169.99.255.3: seq=1 ttl=63 time=1.088 ms
64 bytes from 169.99.255.3: seq=2 ttl=63 time=1.140 ms
--- 169.99.255.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.088/1.159/1.249 ms
2025-11-24 20:30:56,332 - INFO - Ping to IP 169.99.255.3 from VM ctest-vn1-vm1-00087570 passed
2025-11-24 20:30:56,332 - INFO - Deleting interface with subnet_id c6229b26-a171-40d4-a7e1-6c7ccb54c3cb, port_id None from router 0ecd64cb-8fde-42b4-83be-cf8ff707e15b
2025-11-24 20:30:56,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:56,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.99.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 20:30:56,459 - DEBUG - ping -s 56 -c 3 -W 1 169.99.255.3
2025-11-24 20:30:59,682 - DEBUG - PING 169.99.255.3 (169.99.255.3): 56 data bytes
--- 169.99.255.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-24 20:30:59,682 - WARNING - Ping to IP 169.99.255.3 from VM ctest-vn1-vm1-00087570 failed
2025-11-24 20:30:59,682 - INFO - Adding interface with subnet_id c6229b26-a171-40d4-a7e1-6c7ccb54c3cb, port_id None to router 0ecd64cb-8fde-42b4-83be-cf8ff707e15b
2025-11-24 20:30:59,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:59,916 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.99.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 20:30:59,917 - DEBUG - ping -s 56 -c 3 -W 1 169.99.255.3
2025-11-24 20:31:02,153 - DEBUG - PING 169.99.255.3 (169.99.255.3): 56 data bytes
64 bytes from 169.99.255.3: seq=0 ttl=63 time=1.425 ms
64 bytes from 169.99.255.3: seq=1 ttl=63 time=1.083 ms
64 bytes from 169.99.255.3: seq=2 ttl=63 time=1.914 ms
--- 169.99.255.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.083/1.474/1.914 ms
2025-11-24 20:31:02,153 - INFO - Ping to IP 169.99.255.3 from VM ctest-vn1-vm1-00087570 passed
2025-11-24 20:31:02,153 - INFO - Deleting interface with subnet_id db1e953e-a20d-45e2-9bd4-189060119461, port_id None from router 0ecd64cb-8fde-42b4-83be-cf8ff707e15b
2025-11-24 20:31:02,271 - INFO - Deleting interface with subnet_id c6229b26-a171-40d4-a7e1-6c7ccb54c3cb, port_id None from router 0ecd64cb-8fde-42b4-83be-cf8ff707e15b
2025-11-24 20:31:02,458 - INFO - Deleting VM ctest-vn2-vm1-07701174
2025-11-24 20:31:02,542 - INFO - Deleting VM ctest-vn1-vm1-00087570
2025-11-24 20:31:02,624 - INFO - Deleting VN ctest-vn2-24167407
2025-11-24 20:31:02,667 - DEBUG - VN 1246174e-c892-46c3-a6f3-b12bbf574419 still in use: Unable to complete operation on network 1246174e-c892-46c3-a6f3-b12bbf574419. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-beaa9f55-3b67-4b88-8c8d-7675710b4b73']
2025-11-24 20:31:02,667 - WARNING - Deleting VN ctest-vn2-24167407 failed..Will retry
2025-11-24 20:31:04,772 - DEBUG - Response for deleting network ()
2025-11-24 20:31:04,772 - INFO - Deleting VN ctest-vn1-81893766
2025-11-24 20:31:04,875 - DEBUG - Response for deleting network ()
2025-11-24 20:31:05,129 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 20:31:05,129 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-11-24 20:31:05,129 - INFO - --------------------------------------------------------------------------------
2025-11-24 20:31:05,849 - INFO - Deleted project: ctest-TestRouters-55968392, ID : 6f8026f6-9fdc-4008-84f0-e7980dc253ab