2025-11-06 02:23:24,642 - INFO - Domain Default found not creating
2025-11-06 02:23:24,795 - INFO - Project ctest-TestRouters-83224751 not found, creating it
2025-11-06 02:23:25,414 - INFO - Created Project:ctest-TestRouters-83224751, ID : 995e1875-8d3a-4b56-8492-aaf5581400c0
2025-11-06 02:23:27,003 - INFO - ================================================================================
2025-11-06 02:23:27,003 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-06 02:23:27,003 - 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-06 02:23:28,313 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}} with
2025-11-06 02:23:28,313 - INFO - Initial checks done. Running the testcase now
2025-11-06 02:23:28,313 - INFO -
2025-11-06 02:23:29,054 - DEBUG - Response for create_network : {'network': {'id': '91ad4790-8d49-490c-9db3-a9468fcba184', 'name': 'ctest-vn1-33871417', 'tenant_id': '995e18758d3a4b568492aaf5581400c0', 'project_id': '995e18758d3a4b568492aaf5581400c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83224751', 'ctest-vn1-33871417'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 02:23:29,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '25c73775-6b59-45f6-877f-7a944c541cc2', 'name': '', 'tenant_id': '995e18758d3a4b568492aaf5581400c0', 'network_id': '91ad4790-8d49-490c-9db3-a9468fcba184', 'ip_version': 4, 'cidr': '104.121.115.64/26', 'allocation_pools': [{'start': '104.121.115.66', 'end': '104.121.115.126'}], 'gateway_ip': '104.121.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.121.115.66', 'tags': [], 'project_id': '995e18758d3a4b568492aaf5581400c0'}}
2025-11-06 02:23:29,402 - INFO - Created VN ctest-vn1-33871417
2025-11-06 02:23:29,414 - DEBUG - VN ctest-vn1-33871417 UUID is 91ad4790-8d49-490c-9db3-a9468fcba184
2025-11-06 02:23:29,782 - DEBUG - Response for create_network : {'network': {'id': '7ad2389f-2c0b-4db7-8bf1-438ebbebe098', 'name': 'ctest-vn2-57167887', 'tenant_id': '995e18758d3a4b568492aaf5581400c0', 'project_id': '995e18758d3a4b568492aaf5581400c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83224751', 'ctest-vn2-57167887'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 02:23:30,053 - DEBUG - Response for create_subnet : {'subnet': {'id': '525f9b3b-73b5-4f3f-8e30-ce36a3a3e9e8', 'name': '', 'tenant_id': '995e18758d3a4b568492aaf5581400c0', 'network_id': '7ad2389f-2c0b-4db7-8bf1-438ebbebe098', 'ip_version': 4, 'cidr': '166.249.121.128/26', 'allocation_pools': [{'start': '166.249.121.130', 'end': '166.249.121.190'}], 'gateway_ip': '166.249.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.249.121.130', 'tags': [], 'project_id': '995e18758d3a4b568492aaf5581400c0'}}
2025-11-06 02:23:30,076 - INFO - Created VN ctest-vn2-57167887
2025-11-06 02:23:30,088 - DEBUG - VN ctest-vn2-57167887 UUID is 7ad2389f-2c0b-4db7-8bf1-438ebbebe098
2025-11-06 02:23:30,217 - DEBUG - Services list from nova: [, , , ]
2025-11-06 02:23:31,495 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2)
2025-11-06 02:23:32,901 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-1)
2025-11-06 02:23:33,027 - INFO - Adding interface with subnet_id 25c73775-6b59-45f6-877f-7a944c541cc2, port_id None to router fd7d6ad7-a2d3-43e4-8e45-f2987bb23afd
2025-11-06 02:23:33,524 - INFO - Waiting for VM ctest-vn1-vm1-35665008 to be up..
2025-11-06 02:23:33,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-06 02:23:38,790 - DEBUG - VM is in ACTIVE state now
2025-11-06 02:23:38,790 - INFO - VM name : ctest-vn1-vm1-35665008
2025-11-06 02:23:38,889 - DEBUG - VM ctest-vn1-vm1-35665008 ID is fc908848-d688-47d5-836f-421d0fe83bb7
2025-11-06 02:23:38,934 - DEBUG - VM ctest-vn1-vm1-35665008 launched on Node an-jenkins-deploy-platform-ansible-os-4662-2
2025-11-06 02:23:39,025 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fc908848-d688-47d5-836f-421d0fe83bb7
2025-11-06 02:23:39,320 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fc908848-d688-47d5-836f-421d0fe83bb7
2025-11-06 02:23:39,355 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/2fcbdf4e-43b2-4228-9f85-6a6ab2f66ac5
2025-11-06 02:23:42,544 - 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 1026ms')
2025-11-06 02:23:42,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35665008 failed!
2025-11-06 02:23:42,558 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-83224751:ctest-vn1-33871417 is 104.121.115.65 and allocation pool is NOT set
2025-11-06 02:23:46,642 - 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=2 ttl=63 time=10.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.185/10.185/10.185/0.000 ms')
2025-11-06 02:23:46,642 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35665008 passed
2025-11-06 02:23:46,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:23:46,712 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35665008, IP 104.121.115.67, Port 22
2025-11-06 02:23:46,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-11-06 02:23:46,904 - DEBUG - VM ctest-vn1-vm1-35665008 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 02:23:51,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:23:51,904 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35665008, IP 104.121.115.67, Port 22
2025-11-06 02:23:52,077 - DEBUG - VM ctest-vn1-vm1-35665008 is ready for SSH connections
2025-11-06 02:23:52,077 - INFO - Waiting for VM ctest-vn2-vm1-95394221 to be up..
2025-11-06 02:23:52,172 - DEBUG - VM is in ACTIVE state now
2025-11-06 02:23:52,172 - INFO - VM name : ctest-vn2-vm1-95394221
2025-11-06 02:23:52,282 - DEBUG - VM ctest-vn2-vm1-95394221 ID is f92e7eb4-41d6-41e6-82c9-e959c7d2270e
2025-11-06 02:23:52,282 - DEBUG - VM ctest-vn2-vm1-95394221 launched on Node an-jenkins-deploy-platform-ansible-os-4662-1
2025-11-06 02:23:52,370 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f92e7eb4-41d6-41e6-82c9-e959c7d2270e
2025-11-06 02:23:52,382 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/eb1bd812-6480-4d69-8079-a8db538d359f
2025-11-06 02:23:53,544 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/2.079/3.772/1.693 ms')
2025-11-06 02:23:53,544 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-95394221 passed
2025-11-06 02:23:53,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:23:53,621 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-95394221, IP 166.249.121.131, Port 22
2025-11-06 02:23:53,787 - DEBUG - VM ctest-vn2-vm1-95394221 is ready for SSH connections
2025-11-06 02:23:53,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:23:53,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.249.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 02:23:53,787 - DEBUG - ping -s 56 -c 3 -W 1 166.249.121.131
2025-11-06 02:23:57,847 - DEBUG - PING 166.249.121.131 (166.249.121.131): 56 data bytes
--- 166.249.121.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-06 02:23:57,847 - WARNING - Ping to IP 166.249.121.131 from VM ctest-vn1-vm1-35665008 failed
2025-11-06 02:23:57,847 - INFO - Adding interface with subnet_id 525f9b3b-73b5-4f3f-8e30-ce36a3a3e9e8, port_id None to router fd7d6ad7-a2d3-43e4-8e45-f2987bb23afd
2025-11-06 02:23:58,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:23:58,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.249.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 02:23:58,410 - DEBUG - ping -s 56 -c 3 -W 1 166.249.121.131
2025-11-06 02:24:01,640 - DEBUG - PING 166.249.121.131 (166.249.121.131): 56 data bytes
64 bytes from 166.249.121.131: seq=1 ttl=63 time=3.965 ms
64 bytes from 166.249.121.131: seq=2 ttl=63 time=1.822 ms
--- 166.249.121.131 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.822/2.893/3.965 ms
2025-11-06 02:24:01,640 - WARNING - Ping to IP 166.249.121.131 from VM ctest-vn1-vm1-35665008 failed
2025-11-06 02:24:02,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.249.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 02:24:02,641 - DEBUG - ping -s 56 -c 3 -W 1 166.249.121.131
2025-11-06 02:24:04,856 - DEBUG - PING 166.249.121.131 (166.249.121.131): 56 data bytes
64 bytes from 166.249.121.131: seq=0 ttl=63 time=4.628 ms
64 bytes from 166.249.121.131: seq=1 ttl=63 time=1.896 ms
64 bytes from 166.249.121.131: seq=2 ttl=63 time=1.228 ms
--- 166.249.121.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.228/2.584/4.628 ms
2025-11-06 02:24:04,857 - INFO - Ping to IP 166.249.121.131 from VM ctest-vn1-vm1-35665008 passed
2025-11-06 02:24:04,857 - INFO - Deleting interface with subnet_id 25c73775-6b59-45f6-877f-7a944c541cc2, port_id None from router fd7d6ad7-a2d3-43e4-8e45-f2987bb23afd
2025-11-06 02:24:05,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:24:05,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.249.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 02:24:05,130 - DEBUG - ping -s 56 -c 3 -W 1 166.249.121.131
2025-11-06 02:24:08,355 - DEBUG - PING 166.249.121.131 (166.249.121.131): 56 data bytes
--- 166.249.121.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-06 02:24:08,355 - WARNING - Ping to IP 166.249.121.131 from VM ctest-vn1-vm1-35665008 failed
2025-11-06 02:24:08,356 - INFO - Adding interface with subnet_id 25c73775-6b59-45f6-877f-7a944c541cc2, port_id None to router fd7d6ad7-a2d3-43e4-8e45-f2987bb23afd
2025-11-06 02:24:08,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:24:08,768 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.249.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 02:24:08,770 - DEBUG - ping -s 56 -c 3 -W 1 166.249.121.131
2025-11-06 02:24:11,016 - DEBUG - PING 166.249.121.131 (166.249.121.131): 56 data bytes
64 bytes from 166.249.121.131: seq=0 ttl=63 time=2.742 ms
64 bytes from 166.249.121.131: seq=1 ttl=63 time=1.184 ms
64 bytes from 166.249.121.131: seq=2 ttl=63 time=1.279 ms
--- 166.249.121.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.184/1.735/2.742 ms
2025-11-06 02:24:11,017 - INFO - Ping to IP 166.249.121.131 from VM ctest-vn1-vm1-35665008 passed
2025-11-06 02:24:11,017 - INFO - Deleting interface with subnet_id 525f9b3b-73b5-4f3f-8e30-ce36a3a3e9e8, port_id None from router fd7d6ad7-a2d3-43e4-8e45-f2987bb23afd
2025-11-06 02:24:11,293 - INFO - Deleting interface with subnet_id 25c73775-6b59-45f6-877f-7a944c541cc2, port_id None from router fd7d6ad7-a2d3-43e4-8e45-f2987bb23afd
2025-11-06 02:24:11,674 - INFO - Deleting VM ctest-vn2-vm1-95394221
2025-11-06 02:24:11,782 - INFO - Deleting VM ctest-vn1-vm1-35665008
2025-11-06 02:24:11,849 - INFO - Deleting VN ctest-vn2-57167887
2025-11-06 02:24:11,900 - DEBUG - VN 7ad2389f-2c0b-4db7-8bf1-438ebbebe098 still in use: Unable to complete operation on network 7ad2389f-2c0b-4db7-8bf1-438ebbebe098. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5f3d8e7f-9b75-4e63-ae2a-678932f68c32']
2025-11-06 02:24:11,900 - WARNING - Deleting VN ctest-vn2-57167887 failed..Will retry
2025-11-06 02:24:14,094 - DEBUG - Response for deleting network ()
2025-11-06 02:24:14,094 - INFO - Deleting VN ctest-vn1-33871417
2025-11-06 02:24:14,289 - DEBUG - Response for deleting network ()
2025-11-06 02:24:15,584 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:24:15,584 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:48]
2025-11-06 02:24:15,584 - INFO - --------------------------------------------------------------------------------
2025-11-06 02:24:16,359 - INFO - Deleted project: ctest-TestRouters-83224751, ID : 995e1875-8d3a-4b56-8492-aaf5581400c0