2025-09-15 07:48:08,939 - INFO - Domain Default found not creating
2025-09-15 07:48:09,127 - INFO - Project ctest-TestRouters-54282442 not found, creating it
2025-09-15 07:48:09,635 - INFO - Created Project:ctest-TestRouters-54282442, ID : 44fc2e7d-04dd-4abf-983b-2daa4e8418e5
2025-09-15 07:48:11,304 - INFO - ================================================================================
2025-09-15 07:48:11,304 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-15 07:48:11,304 - 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-15 07:48:11,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-15 07:48:11,583 - INFO - Initial checks done. Running the testcase now
2025-09-15 07:48:11,583 - INFO -
2025-09-15 07:48:12,243 - DEBUG - Response for create_network : {'network': {'id': 'd018c904-8252-48fe-acfd-f9554a08c604', 'name': 'ctest-vn1-02487734', 'tenant_id': '44fc2e7d04dd4abf983b2daa4e8418e5', 'project_id': '44fc2e7d04dd4abf983b2daa4e8418e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54282442', 'ctest-vn1-02487734'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 07:48:12,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '55a0980d-f886-48bd-8ded-da2360682d8e', 'name': '', 'tenant_id': '44fc2e7d04dd4abf983b2daa4e8418e5', 'network_id': 'd018c904-8252-48fe-acfd-f9554a08c604', 'ip_version': 4, 'cidr': '202.68.230.0/26', 'allocation_pools': [{'start': '202.68.230.2', 'end': '202.68.230.62'}], 'gateway_ip': '202.68.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.68.230.2', 'tags': [], 'project_id': '44fc2e7d04dd4abf983b2daa4e8418e5'}}
2025-09-15 07:48:12,445 - INFO - Created VN ctest-vn1-02487734
2025-09-15 07:48:12,499 - DEBUG - VN ctest-vn1-02487734 UUID is d018c904-8252-48fe-acfd-f9554a08c604
2025-09-15 07:48:12,832 - DEBUG - Response for create_network : {'network': {'id': '1c9332d0-cf2b-4e97-ac39-0a13b4f51dfa', 'name': 'ctest-vn2-77375622', 'tenant_id': '44fc2e7d04dd4abf983b2daa4e8418e5', 'project_id': '44fc2e7d04dd4abf983b2daa4e8418e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54282442', 'ctest-vn2-77375622'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 07:48:13,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e594baa-3239-41e9-9c64-53d7f4313bfd', 'name': '', 'tenant_id': '44fc2e7d04dd4abf983b2daa4e8418e5', 'network_id': '1c9332d0-cf2b-4e97-ac39-0a13b4f51dfa', 'ip_version': 4, 'cidr': '5.254.184.64/26', 'allocation_pools': [{'start': '5.254.184.66', 'end': '5.254.184.126'}], 'gateway_ip': '5.254.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.254.184.66', 'tags': [], 'project_id': '44fc2e7d04dd4abf983b2daa4e8418e5'}}
2025-09-15 07:48:13,029 - INFO - Created VN ctest-vn2-77375622
2025-09-15 07:48:13,083 - DEBUG - VN ctest-vn2-77375622 UUID is 1c9332d0-cf2b-4e97-ac39-0a13b4f51dfa
2025-09-15 07:48:13,276 - DEBUG - Services list from nova: [, , ]
2025-09-15 07:48:14,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4111-1)
2025-09-15 07:48:15,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4111-1)
2025-09-15 07:48:15,888 - INFO - Adding interface with subnet_id 55a0980d-f886-48bd-8ded-da2360682d8e, port_id None to router b2a9510e-b5a4-4bfc-bf8f-8691e4ee0a40
2025-09-15 07:48:16,232 - INFO - Waiting for VM ctest-vn1-vm1-56220239 to be up..
2025-09-15 07:48:16,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 07:48:21,457 - DEBUG - VM is in ACTIVE state now
2025-09-15 07:48:21,457 - INFO - VM name : ctest-vn1-vm1-56220239
2025-09-15 07:48:21,544 - DEBUG - VM ctest-vn1-vm1-56220239 ID is 87eee861-dd4c-4310-b172-7615580f36e0
2025-09-15 07:48:21,566 - DEBUG - VM ctest-vn1-vm1-56220239 launched on Node cn-jenkins-deploy-platform-ansible-os-4111-1
2025-09-15 07:48:21,650 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/87eee861-dd4c-4310-b172-7615580f36e0
2025-09-15 07:48:21,985 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/87eee861-dd4c-4310-b172-7615580f36e0
2025-09-15 07:48:22,021 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/670b67ce-d832-47b6-9586-043ee8dcb50b
2025-09-15 07:48:25,296 - 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 1030ms')
2025-09-15 07:48:25,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56220239 failed!
2025-09-15 07:48:25,351 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-54282442:ctest-vn1-02487734 is 202.68.230.1 and allocation pool is NOT set
2025-09-15 07:48:27,417 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.515/2.936/4.358/1.421 ms')
2025-09-15 07:48:27,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56220239 passed
2025-09-15 07:48:27,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:27,575 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56220239, IP 202.68.230.3, Port 22
2025-09-15 07:48:27,641 - 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-15 07:48:27,734 - DEBUG - VM ctest-vn1-vm1-56220239 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 07:48:32,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:32,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56220239, IP 202.68.230.3, Port 22
2025-09-15 07:48:32,901 - DEBUG - VM ctest-vn1-vm1-56220239 is ready for SSH connections
2025-09-15 07:48:32,901 - INFO - Waiting for VM ctest-vn2-vm1-86581865 to be up..
2025-09-15 07:48:32,992 - DEBUG - VM is in ACTIVE state now
2025-09-15 07:48:32,992 - INFO - VM name : ctest-vn2-vm1-86581865
2025-09-15 07:48:33,083 - DEBUG - VM ctest-vn2-vm1-86581865 ID is 8a58c71f-cf55-40f6-a398-d6b670e2dd91
2025-09-15 07:48:33,083 - DEBUG - VM ctest-vn2-vm1-86581865 launched on Node cn-jenkins-deploy-platform-ansible-os-4111-1
2025-09-15 07:48:33,175 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8a58c71f-cf55-40f6-a398-d6b670e2dd91
2025-09-15 07:48:33,185 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a44a45cf-8bab-473f-8495-0ba186ef5b49
2025-09-15 07:48:34,431 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.795/3.189/1.393 ms')
2025-09-15 07:48:34,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-86581865 passed
2025-09-15 07:48:34,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:34,583 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-86581865, IP 5.254.184.67, Port 22
2025-09-15 07:48:34,739 - DEBUG - VM ctest-vn2-vm1-86581865 is ready for SSH connections
2025-09-15 07:48:34,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:34,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.254.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-15 07:48:34,739 - DEBUG - ping -s 56 -c 3 -W 1 5.254.184.67
2025-09-15 07:48:39,835 - DEBUG - PING 5.254.184.67 (5.254.184.67): 56 data bytes
--- 5.254.184.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-15 07:48:39,836 - WARNING - Ping to IP 5.254.184.67 from VM ctest-vn1-vm1-56220239 failed
2025-09-15 07:48:39,836 - INFO - Adding interface with subnet_id 9e594baa-3239-41e9-9c64-53d7f4313bfd, port_id None to router b2a9510e-b5a4-4bfc-bf8f-8691e4ee0a40
2025-09-15 07:48:40,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:40,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.254.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-15 07:48:40,087 - DEBUG - ping -s 56 -c 3 -W 1 5.254.184.67
2025-09-15 07:48:43,318 - DEBUG - PING 5.254.184.67 (5.254.184.67): 56 data bytes
64 bytes from 5.254.184.67: seq=1 ttl=63 time=2.898 ms
64 bytes from 5.254.184.67: seq=2 ttl=63 time=0.825 ms
--- 5.254.184.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.825/1.861/2.898 ms
2025-09-15 07:48:43,318 - WARNING - Ping to IP 5.254.184.67 from VM ctest-vn1-vm1-56220239 failed
2025-09-15 07:48:44,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.254.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-15 07:48:44,319 - DEBUG - ping -s 56 -c 3 -W 1 5.254.184.67
2025-09-15 07:48:46,568 - DEBUG - PING 5.254.184.67 (5.254.184.67): 56 data bytes
64 bytes from 5.254.184.67: seq=0 ttl=63 time=1.699 ms
64 bytes from 5.254.184.67: seq=1 ttl=63 time=0.975 ms
64 bytes from 5.254.184.67: seq=2 ttl=63 time=0.899 ms
--- 5.254.184.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.899/1.191/1.699 ms
2025-09-15 07:48:46,569 - INFO - Ping to IP 5.254.184.67 from VM ctest-vn1-vm1-56220239 passed
2025-09-15 07:48:46,569 - INFO - Deleting interface with subnet_id 55a0980d-f886-48bd-8ded-da2360682d8e, port_id None from router b2a9510e-b5a4-4bfc-bf8f-8691e4ee0a40
2025-09-15 07:48:46,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:46,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.254.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-15 07:48:46,696 - DEBUG - ping -s 56 -c 3 -W 1 5.254.184.67
2025-09-15 07:48:49,925 - DEBUG - PING 5.254.184.67 (5.254.184.67): 56 data bytes
--- 5.254.184.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-15 07:48:49,925 - WARNING - Ping to IP 5.254.184.67 from VM ctest-vn1-vm1-56220239 failed
2025-09-15 07:48:49,925 - INFO - Adding interface with subnet_id 55a0980d-f886-48bd-8ded-da2360682d8e, port_id None to router b2a9510e-b5a4-4bfc-bf8f-8691e4ee0a40
2025-09-15 07:48:50,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 07:48:50,152 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.254.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-15 07:48:50,153 - DEBUG - ping -s 56 -c 3 -W 1 5.254.184.67
2025-09-15 07:48:52,391 - DEBUG - PING 5.254.184.67 (5.254.184.67): 56 data bytes
64 bytes from 5.254.184.67: seq=0 ttl=63 time=1.591 ms
64 bytes from 5.254.184.67: seq=1 ttl=63 time=0.967 ms
64 bytes from 5.254.184.67: seq=2 ttl=63 time=0.889 ms
--- 5.254.184.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.889/1.149/1.591 ms
2025-09-15 07:48:52,391 - INFO - Ping to IP 5.254.184.67 from VM ctest-vn1-vm1-56220239 passed
2025-09-15 07:48:52,391 - INFO - Deleting interface with subnet_id 9e594baa-3239-41e9-9c64-53d7f4313bfd, port_id None from router b2a9510e-b5a4-4bfc-bf8f-8691e4ee0a40
2025-09-15 07:48:52,509 - INFO - Deleting interface with subnet_id 55a0980d-f886-48bd-8ded-da2360682d8e, port_id None from router b2a9510e-b5a4-4bfc-bf8f-8691e4ee0a40
2025-09-15 07:48:52,684 - INFO - Deleting VM ctest-vn2-vm1-86581865
2025-09-15 07:48:52,766 - INFO - Deleting VM ctest-vn1-vm1-56220239
2025-09-15 07:48:52,849 - INFO - Deleting VN ctest-vn2-77375622
2025-09-15 07:48:52,886 - DEBUG - VN 1c9332d0-cf2b-4e97-ac39-0a13b4f51dfa still in use: Unable to complete operation on network 1c9332d0-cf2b-4e97-ac39-0a13b4f51dfa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-28cd8b4a-3d3e-4321-bf4b-c606ae8bfb50']
2025-09-15 07:48:52,886 - WARNING - Deleting VN ctest-vn2-77375622 failed..Will retry
2025-09-15 07:48:54,989 - DEBUG - Response for deleting network ()
2025-09-15 07:48:54,989 - INFO - Deleting VN ctest-vn1-02487734
2025-09-15 07:48:55,094 - DEBUG - Response for deleting network ()
2025-09-15 07:48:55,353 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 07:48:55,353 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-09-15 07:48:55,353 - INFO - --------------------------------------------------------------------------------
2025-09-15 07:48:56,110 - INFO - Deleted project: ctest-TestRouters-54282442, ID : 44fc2e7d-04dd-4abf-983b-2daa4e8418e5