2025-09-11 02:11:35,787 - INFO - Domain Default found not creating 2025-09-11 02:11:35,924 - INFO - Project ctest-TestRouters-29609677 not found, creating it 2025-09-11 02:11:36,478 - INFO - Created Project:ctest-TestRouters-29609677, ID : cd1fe073-38f9-4766-b29b-998ff0dd8186 2025-09-11 02:11:37,942 - INFO - ================================================================================ 2025-09-11 02:11:37,942 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 02:11:37,942 - 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-11 02:11:39,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-09-11 02:11:39,205 - INFO - Initial checks done. Running the testcase now 2025-09-11 02:11:39,205 - INFO - 2025-09-11 02:11:39,861 - DEBUG - Response for create_network : {'network': {'id': 'bcb9c8e1-1aaa-410f-8310-c86ce7bbe819', 'name': 'ctest-vn1-07009025', 'tenant_id': 'cd1fe07338f94766b29b998ff0dd8186', 'project_id': 'cd1fe07338f94766b29b998ff0dd8186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29609677', 'ctest-vn1-07009025'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:11:40,120 - DEBUG - Response for create_subnet : {'subnet': {'id': '2482ce2d-f8e0-44fb-a7a9-02b862ff629d', 'name': '', 'tenant_id': 'cd1fe07338f94766b29b998ff0dd8186', 'network_id': 'bcb9c8e1-1aaa-410f-8310-c86ce7bbe819', 'ip_version': 4, 'cidr': '3.183.174.192/26', 'allocation_pools': [{'start': '3.183.174.194', 'end': '3.183.174.254'}], 'gateway_ip': '3.183.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.183.174.194', 'tags': [], 'project_id': 'cd1fe07338f94766b29b998ff0dd8186'}} 2025-09-11 02:11:40,144 - INFO - Created VN ctest-vn1-07009025 2025-09-11 02:11:40,156 - DEBUG - VN ctest-vn1-07009025 UUID is bcb9c8e1-1aaa-410f-8310-c86ce7bbe819 2025-09-11 02:11:40,482 - DEBUG - Response for create_network : {'network': {'id': 'f041338e-c961-453b-adb3-63cd456230a4', 'name': 'ctest-vn2-77635250', 'tenant_id': 'cd1fe07338f94766b29b998ff0dd8186', 'project_id': 'cd1fe07338f94766b29b998ff0dd8186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29609677', 'ctest-vn2-77635250'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:11:40,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '48acd011-165e-47ee-85d7-3eb08509af54', 'name': '', 'tenant_id': 'cd1fe07338f94766b29b998ff0dd8186', 'network_id': 'f041338e-c961-453b-adb3-63cd456230a4', 'ip_version': 4, 'cidr': '79.131.123.64/26', 'allocation_pools': [{'start': '79.131.123.66', 'end': '79.131.123.126'}], 'gateway_ip': '79.131.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.131.123.66', 'tags': [], 'project_id': 'cd1fe07338f94766b29b998ff0dd8186'}} 2025-09-11 02:11:40,734 - INFO - Created VN ctest-vn2-77635250 2025-09-11 02:11:40,746 - DEBUG - VN ctest-vn2-77635250 UUID is f041338e-c961-453b-adb3-63cd456230a4 2025-09-11 02:11:40,912 - DEBUG - Services list from nova: [, , , ] 2025-09-11 02:11:41,895 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-1) 2025-09-11 02:11:43,107 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-2) 2025-09-11 02:11:43,223 - INFO - Adding interface with subnet_id 2482ce2d-f8e0-44fb-a7a9-02b862ff629d, port_id None to router 0cc49ec5-0316-46f5-ac18-123e453dd54c 2025-09-11 02:11:43,632 - INFO - Waiting for VM ctest-vn1-vm1-30468003 to be up.. 2025-09-11 02:11:43,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 02:11:48,939 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:11:48,939 - INFO - VM name : ctest-vn1-vm1-30468003 2025-09-11 02:11:49,100 - DEBUG - VM ctest-vn1-vm1-30468003 ID is 01cbdb06-e311-4044-b6f4-1067332bb497 2025-09-11 02:11:49,126 - DEBUG - VM ctest-vn1-vm1-30468003 launched on Node an-jenkins-deploy-platform-ansible-os-4079-1 2025-09-11 02:11:49,210 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/01cbdb06-e311-4044-b6f4-1067332bb497 2025-09-11 02:11:49,514 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/01cbdb06-e311-4044-b6f4-1067332bb497 2025-09-11 02:11:49,553 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8dd617ad-19b2-4979-a282-5ce112863efa 2025-09-11 02:11:52,719 - 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 1001ms') 2025-09-11 02:11:52,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30468003 failed! 2025-09-11 02:11:52,733 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-29609677:ctest-vn1-07009025 is 3.183.174.193 and allocation pool is NOT set 2025-09-11 02:11:54,802 - 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.12 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 1000ms\r\nrtt min/avg/max/mdev = 1.519/2.818/4.117/1.299 ms') 2025-09-11 02:11:54,802 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30468003 passed 2025-09-11 02:11:54,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:54,871 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30468003, IP 3.183.174.195, Port 22 2025-09-11 02:11:54,941 - 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-11 02:11:55,020 - DEBUG - VM ctest-vn1-vm1-30468003 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 02:12:00,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:12:00,022 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30468003, IP 3.183.174.195, Port 22 2025-09-11 02:12:00,194 - DEBUG - VM ctest-vn1-vm1-30468003 is ready for SSH connections 2025-09-11 02:12:00,194 - INFO - Waiting for VM ctest-vn2-vm1-66065402 to be up.. 2025-09-11 02:12:00,271 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:12:00,271 - INFO - VM name : ctest-vn2-vm1-66065402 2025-09-11 02:12:00,355 - DEBUG - VM ctest-vn2-vm1-66065402 ID is 755d5e66-d421-4e13-ad85-1ea867c85f44 2025-09-11 02:12:00,355 - DEBUG - VM ctest-vn2-vm1-66065402 launched on Node an-jenkins-deploy-platform-ansible-os-4079-2 2025-09-11 02:12:00,441 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/755d5e66-d421-4e13-ad85-1ea867c85f44 2025-09-11 02:12:00,450 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/aa733b80-766f-43a8-9bf5-e3192fcc66f0 2025-09-11 02:12:01,617 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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 = 0.504/2.196/3.888/1.692 ms') 2025-09-11 02:12:01,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-66065402 passed 2025-09-11 02:12:01,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:12:01,691 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66065402, IP 79.131.123.67, Port 22 2025-09-11 02:12:01,869 - DEBUG - VM ctest-vn2-vm1-66065402 is ready for SSH connections 2025-09-11 02:12:01,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:12:01,870 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.131.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 02:12:01,870 - DEBUG - ping -s 56 -c 3 -W 1 79.131.123.67 2025-09-11 02:12:05,804 - DEBUG - PING 79.131.123.67 (79.131.123.67): 56 data bytes --- 79.131.123.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 02:12:05,804 - WARNING - Ping to IP 79.131.123.67 from VM ctest-vn1-vm1-30468003 failed 2025-09-11 02:12:05,804 - INFO - Adding interface with subnet_id 48acd011-165e-47ee-85d7-3eb08509af54, port_id None to router 0cc49ec5-0316-46f5-ac18-123e453dd54c 2025-09-11 02:12:06,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:12:06,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.131.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 02:12:06,197 - DEBUG - ping -s 56 -c 3 -W 1 79.131.123.67 2025-09-11 02:12:09,412 - DEBUG - PING 79.131.123.67 (79.131.123.67): 56 data bytes 64 bytes from 79.131.123.67: seq=1 ttl=63 time=6.003 ms 64 bytes from 79.131.123.67: seq=2 ttl=63 time=1.481 ms --- 79.131.123.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.481/3.742/6.003 ms 2025-09-11 02:12:09,412 - WARNING - Ping to IP 79.131.123.67 from VM ctest-vn1-vm1-30468003 failed 2025-09-11 02:12:10,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.131.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 02:12:10,414 - DEBUG - ping -s 56 -c 3 -W 1 79.131.123.67 2025-09-11 02:12:12,624 - DEBUG - PING 79.131.123.67 (79.131.123.67): 56 data bytes 64 bytes from 79.131.123.67: seq=0 ttl=63 time=4.849 ms 64 bytes from 79.131.123.67: seq=1 ttl=63 time=1.125 ms 64 bytes from 79.131.123.67: seq=2 ttl=63 time=1.432 ms --- 79.131.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.125/2.468/4.849 ms 2025-09-11 02:12:12,624 - INFO - Ping to IP 79.131.123.67 from VM ctest-vn1-vm1-30468003 passed 2025-09-11 02:12:12,624 - INFO - Deleting interface with subnet_id 2482ce2d-f8e0-44fb-a7a9-02b862ff629d, port_id None from router 0cc49ec5-0316-46f5-ac18-123e453dd54c 2025-09-11 02:12:12,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:12:12,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.131.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 02:12:12,837 - DEBUG - ping -s 56 -c 3 -W 1 79.131.123.67 2025-09-11 02:12:16,026 - DEBUG - PING 79.131.123.67 (79.131.123.67): 56 data bytes --- 79.131.123.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 02:12:16,026 - WARNING - Ping to IP 79.131.123.67 from VM ctest-vn1-vm1-30468003 failed 2025-09-11 02:12:16,027 - INFO - Adding interface with subnet_id 2482ce2d-f8e0-44fb-a7a9-02b862ff629d, port_id None to router 0cc49ec5-0316-46f5-ac18-123e453dd54c 2025-09-11 02:12:16,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:12:16,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.131.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 02:12:16,418 - DEBUG - ping -s 56 -c 3 -W 1 79.131.123.67 2025-09-11 02:12:18,672 - DEBUG - PING 79.131.123.67 (79.131.123.67): 56 data bytes 64 bytes from 79.131.123.67: seq=0 ttl=63 time=7.067 ms 64 bytes from 79.131.123.67: seq=1 ttl=63 time=1.981 ms 64 bytes from 79.131.123.67: seq=2 ttl=63 time=2.542 ms --- 79.131.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.981/3.863/7.067 ms 2025-09-11 02:12:18,672 - INFO - Ping to IP 79.131.123.67 from VM ctest-vn1-vm1-30468003 passed 2025-09-11 02:12:18,672 - INFO - Deleting interface with subnet_id 48acd011-165e-47ee-85d7-3eb08509af54, port_id None from router 0cc49ec5-0316-46f5-ac18-123e453dd54c 2025-09-11 02:12:18,982 - INFO - Deleting interface with subnet_id 2482ce2d-f8e0-44fb-a7a9-02b862ff629d, port_id None from router 0cc49ec5-0316-46f5-ac18-123e453dd54c 2025-09-11 02:12:19,345 - INFO - Deleting VM ctest-vn2-vm1-66065402 2025-09-11 02:12:19,462 - INFO - Deleting VM ctest-vn1-vm1-30468003 2025-09-11 02:12:19,543 - INFO - Deleting VN ctest-vn2-77635250 2025-09-11 02:12:19,585 - DEBUG - VN f041338e-c961-453b-adb3-63cd456230a4 still in use: Unable to complete operation on network f041338e-c961-453b-adb3-63cd456230a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1656597e-b414-47b6-8899-95c2b8747de8'] 2025-09-11 02:12:19,585 - WARNING - Deleting VN ctest-vn2-77635250 failed..Will retry 2025-09-11 02:12:21,753 - DEBUG - Response for deleting network () 2025-09-11 02:12:21,753 - INFO - Deleting VN ctest-vn1-07009025 2025-09-11 02:12:21,921 - DEBUG - Response for deleting network () 2025-09-11 02:12:23,214 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 02:12:23,214 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:46] 2025-09-11 02:12:23,214 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:12:23,985 - INFO - Deleted project: ctest-TestRouters-29609677, ID : cd1fe073-38f9-4766-b29b-998ff0dd8186