2025-08-18 02:20:13,681 - INFO - Domain Default found not creating
2025-08-18 02:20:13,816 - INFO - Project ctest-TestRouters-03769533 not found, creating it
2025-08-18 02:20:14,302 - INFO - Created Project:ctest-TestRouters-03769533, ID : 8408350b-0824-4c54-ba60-c25f171b2a3a
2025-08-18 02:20:15,738 - INFO - ================================================================================
2025-08-18 02:20:15,738 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-18 02:20:15,738 - 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-08-18 02:20:17,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-18 02:20:17,007 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:20:17,007 - INFO -
2025-08-18 02:20:17,679 - DEBUG - Response for create_network : {'network': {'id': '7901c72e-461c-4ed0-9f24-b774e2752c9e', 'name': 'ctest-vn1-47941647', 'tenant_id': '8408350b08244c54ba60c25f171b2a3a', 'project_id': '8408350b08244c54ba60c25f171b2a3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03769533', 'ctest-vn1-47941647'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:20:17,921 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcf63357-0aa8-4d40-b24e-f7ee9d0cc5bc', 'name': '', 'tenant_id': '8408350b08244c54ba60c25f171b2a3a', 'network_id': '7901c72e-461c-4ed0-9f24-b774e2752c9e', 'ip_version': 4, 'cidr': '146.70.34.64/26', 'allocation_pools': [{'start': '146.70.34.66', 'end': '146.70.34.126'}], 'gateway_ip': '146.70.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.70.34.66', 'tags': [], 'project_id': '8408350b08244c54ba60c25f171b2a3a'}}
2025-08-18 02:20:17,944 - INFO - Created VN ctest-vn1-47941647
2025-08-18 02:20:17,956 - DEBUG - VN ctest-vn1-47941647 UUID is 7901c72e-461c-4ed0-9f24-b774e2752c9e
2025-08-18 02:20:18,329 - DEBUG - Response for create_network : {'network': {'id': 'eb5cfe5e-a1eb-47b3-afd7-868d0450636d', 'name': 'ctest-vn2-64374586', 'tenant_id': '8408350b08244c54ba60c25f171b2a3a', 'project_id': '8408350b08244c54ba60c25f171b2a3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03769533', 'ctest-vn2-64374586'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:20:18,580 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e976564c-28eb-49d3-8586-f9f586e14afd', 'name': '', 'tenant_id': '8408350b08244c54ba60c25f171b2a3a', 'network_id': 'eb5cfe5e-a1eb-47b3-afd7-868d0450636d', 'ip_version': 4, 'cidr': '204.94.124.192/26', 'allocation_pools': [{'start': '204.94.124.194', 'end': '204.94.124.254'}], 'gateway_ip': '204.94.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.94.124.194', 'tags': [], 'project_id': '8408350b08244c54ba60c25f171b2a3a'}}
2025-08-18 02:20:18,605 - INFO - Created VN ctest-vn2-64374586
2025-08-18 02:20:18,618 - DEBUG - VN ctest-vn2-64374586 UUID is eb5cfe5e-a1eb-47b3-afd7-868d0450636d
2025-08-18 02:20:18,751 - DEBUG - Services list from nova: [, , , ]
2025-08-18 02:20:19,712 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-1)
2025-08-18 02:20:21,039 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-2)
2025-08-18 02:20:21,156 - INFO - Adding interface with subnet_id fcf63357-0aa8-4d40-b24e-f7ee9d0cc5bc, port_id None to router 8ccb5ed2-6873-457c-b2a9-bf9c84d02c33
2025-08-18 02:20:21,518 - INFO - Waiting for VM ctest-vn1-vm1-84560934 to be up..
2025-08-18 02:20:21,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 02:20:26,710 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:20:26,710 - INFO - VM name : ctest-vn1-vm1-84560934
2025-08-18 02:20:26,783 - DEBUG - VM ctest-vn1-vm1-84560934 ID is 1c1c7765-b833-4389-a7b4-d459b8269a2c
2025-08-18 02:20:26,813 - DEBUG - VM ctest-vn1-vm1-84560934 launched on Node an-jenkins-deploy-platform-ansible-os-3870-1
2025-08-18 02:20:26,898 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1c1c7765-b833-4389-a7b4-d459b8269a2c
2025-08-18 02:20:27,189 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1c1c7765-b833-4389-a7b4-d459b8269a2c
2025-08-18 02:20:27,223 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a39b97ed-ac3d-45ce-81c1-d207720984da
2025-08-18 02:20:30,442 - 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 1022ms')
2025-08-18 02:20:30,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84560934 failed!
2025-08-18 02:20:30,457 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-03769533:ctest-vn1-47941647 is 146.70.34.65 and allocation pool is NOT set
2025-08-18 02:20:32,523 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.84 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 = 3.844/4.134/4.425/0.290 ms')
2025-08-18 02:20:32,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84560934 passed
2025-08-18 02:20:32,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:32,596 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84560934, IP 146.70.34.67, Port 22
2025-08-18 02:20:32,674 - 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-08-18 02:20:32,755 - DEBUG - VM ctest-vn1-vm1-84560934 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-18 02:20:37,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:37,757 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84560934, IP 146.70.34.67, Port 22
2025-08-18 02:20:37,924 - DEBUG - VM ctest-vn1-vm1-84560934 is ready for SSH connections
2025-08-18 02:20:37,924 - INFO - Waiting for VM ctest-vn2-vm1-35535018 to be up..
2025-08-18 02:20:38,019 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:20:38,019 - INFO - VM name : ctest-vn2-vm1-35535018
2025-08-18 02:20:38,093 - DEBUG - VM ctest-vn2-vm1-35535018 ID is 2bb139f2-560a-4ea5-b4c1-4b5e2971ce41
2025-08-18 02:20:38,093 - DEBUG - VM ctest-vn2-vm1-35535018 launched on Node an-jenkins-deploy-platform-ansible-os-3870-2
2025-08-18 02:20:38,164 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2bb139f2-560a-4ea5-b4c1-4b5e2971ce41
2025-08-18 02:20:38,174 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7c425b6a-8ecb-42a1-beaa-85ccb217e783
2025-08-18 02:20:39,340 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.592 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.592/2.092/3.592/1.500 ms')
2025-08-18 02:20:39,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-35535018 passed
2025-08-18 02:20:39,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:39,412 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35535018, IP 204.94.124.195, Port 22
2025-08-18 02:20:39,579 - DEBUG - VM ctest-vn2-vm1-35535018 is ready for SSH connections
2025-08-18 02:20:39,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:39,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.94.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-18 02:20:39,580 - DEBUG - ping -s 56 -c 3 -W 1 204.94.124.195
2025-08-18 02:20:43,487 - DEBUG - PING 204.94.124.195 (204.94.124.195): 56 data bytes
--- 204.94.124.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-18 02:20:43,488 - WARNING - Ping to IP 204.94.124.195 from VM ctest-vn1-vm1-84560934 failed
2025-08-18 02:20:43,488 - INFO - Adding interface with subnet_id e976564c-28eb-49d3-8586-f9f586e14afd, port_id None to router 8ccb5ed2-6873-457c-b2a9-bf9c84d02c33
2025-08-18 02:20:43,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:43,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.94.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-18 02:20:43,860 - DEBUG - ping -s 56 -c 3 -W 1 204.94.124.195
2025-08-18 02:20:47,061 - DEBUG - PING 204.94.124.195 (204.94.124.195): 56 data bytes
64 bytes from 204.94.124.195: seq=1 ttl=63 time=4.931 ms
64 bytes from 204.94.124.195: seq=2 ttl=63 time=1.129 ms
--- 204.94.124.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.129/3.030/4.931 ms
2025-08-18 02:20:47,062 - WARNING - Ping to IP 204.94.124.195 from VM ctest-vn1-vm1-84560934 failed
2025-08-18 02:20:48,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.94.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-18 02:20:48,062 - DEBUG - ping -s 56 -c 3 -W 1 204.94.124.195
2025-08-18 02:20:50,267 - DEBUG - PING 204.94.124.195 (204.94.124.195): 56 data bytes
64 bytes from 204.94.124.195: seq=0 ttl=63 time=2.786 ms
64 bytes from 204.94.124.195: seq=1 ttl=63 time=1.115 ms
64 bytes from 204.94.124.195: seq=2 ttl=63 time=1.205 ms
--- 204.94.124.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.115/1.702/2.786 ms
2025-08-18 02:20:50,267 - INFO - Ping to IP 204.94.124.195 from VM ctest-vn1-vm1-84560934 passed
2025-08-18 02:20:50,268 - INFO - Deleting interface with subnet_id fcf63357-0aa8-4d40-b24e-f7ee9d0cc5bc, port_id None from router 8ccb5ed2-6873-457c-b2a9-bf9c84d02c33
2025-08-18 02:20:50,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:50,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.94.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-18 02:20:50,530 - DEBUG - ping -s 56 -c 3 -W 1 204.94.124.195
2025-08-18 02:20:53,719 - DEBUG - PING 204.94.124.195 (204.94.124.195): 56 data bytes
--- 204.94.124.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-18 02:20:53,720 - WARNING - Ping to IP 204.94.124.195 from VM ctest-vn1-vm1-84560934 failed
2025-08-18 02:20:53,720 - INFO - Adding interface with subnet_id fcf63357-0aa8-4d40-b24e-f7ee9d0cc5bc, port_id None to router 8ccb5ed2-6873-457c-b2a9-bf9c84d02c33
2025-08-18 02:20:54,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:20:54,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.94.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-18 02:20:54,052 - DEBUG - ping -s 56 -c 3 -W 1 204.94.124.195
2025-08-18 02:20:56,259 - DEBUG - PING 204.94.124.195 (204.94.124.195): 56 data bytes
64 bytes from 204.94.124.195: seq=0 ttl=63 time=4.154 ms
64 bytes from 204.94.124.195: seq=1 ttl=63 time=1.101 ms
64 bytes from 204.94.124.195: seq=2 ttl=63 time=1.191 ms
--- 204.94.124.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.101/2.148/4.154 ms
2025-08-18 02:20:56,259 - INFO - Ping to IP 204.94.124.195 from VM ctest-vn1-vm1-84560934 passed
2025-08-18 02:20:56,260 - INFO - Deleting interface with subnet_id e976564c-28eb-49d3-8586-f9f586e14afd, port_id None from router 8ccb5ed2-6873-457c-b2a9-bf9c84d02c33
2025-08-18 02:20:56,481 - INFO - Deleting interface with subnet_id fcf63357-0aa8-4d40-b24e-f7ee9d0cc5bc, port_id None from router 8ccb5ed2-6873-457c-b2a9-bf9c84d02c33
2025-08-18 02:20:56,807 - INFO - Deleting VM ctest-vn2-vm1-35535018
2025-08-18 02:20:56,896 - INFO - Deleting VM ctest-vn1-vm1-84560934
2025-08-18 02:20:56,970 - INFO - Deleting VN ctest-vn2-64374586
2025-08-18 02:20:57,012 - DEBUG - VN eb5cfe5e-a1eb-47b3-afd7-868d0450636d still in use: Unable to complete operation on network eb5cfe5e-a1eb-47b3-afd7-868d0450636d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-855c2a8f-ef89-4c5d-882d-c3279761dab8']
2025-08-18 02:20:57,012 - WARNING - Deleting VN ctest-vn2-64374586 failed..Will retry
2025-08-18 02:20:59,214 - DEBUG - Response for deleting network ()
2025-08-18 02:20:59,214 - INFO - Deleting VN ctest-vn1-47941647
2025-08-18 02:20:59,366 - DEBUG - Response for deleting network ()
2025-08-18 02:21:00,632 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:21:00,632 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-08-18 02:21:00,632 - INFO - --------------------------------------------------------------------------------
2025-08-18 02:21:01,386 - INFO - Deleted project: ctest-TestRouters-03769533, ID : 8408350b-0824-4c54-ba60-c25f171b2a3a