2025-10-23 21:21:29,815 - INFO - Domain Default found not creating 2025-10-23 21:21:29,970 - INFO - Project ctest-TestRouters-41753407 not found, creating it 2025-10-23 21:21:30,454 - INFO - Created Project:ctest-TestRouters-41753407, ID : 5b3fb77e-6716-4c6d-8dbe-a8e2fdc299e0 2025-10-23 21:21:32,036 - INFO - ================================================================================ 2025-10-23 21:21:32,036 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 21:21:32,036 - 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-10-23 21:21:32,290 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 21:21:32,290 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:21:32,290 - INFO - 2025-10-23 21:21:33,587 - DEBUG - Response for create_network : {'network': {'id': 'c9131121-85f6-44f2-bb63-9cb4ec8e1dbb', 'name': 'ctest-vn1-89957315', 'tenant_id': '5b3fb77e67164c6d8dbea8e2fdc299e0', 'project_id': '5b3fb77e67164c6d8dbea8e2fdc299e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41753407', 'ctest-vn1-89957315'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:21:33,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '41f41262-32c4-43f0-bbf5-bda261b54655', 'name': '', 'tenant_id': '5b3fb77e67164c6d8dbea8e2fdc299e0', 'network_id': 'c9131121-85f6-44f2-bb63-9cb4ec8e1dbb', 'ip_version': 4, 'cidr': '190.254.249.192/26', 'allocation_pools': [{'start': '190.254.249.194', 'end': '190.254.249.254'}], 'gateway_ip': '190.254.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.254.249.194', 'tags': [], 'project_id': '5b3fb77e67164c6d8dbea8e2fdc299e0'}} 2025-10-23 21:21:33,792 - INFO - Created VN ctest-vn1-89957315 2025-10-23 21:21:33,844 - DEBUG - VN ctest-vn1-89957315 UUID is c9131121-85f6-44f2-bb63-9cb4ec8e1dbb 2025-10-23 21:21:34,132 - DEBUG - Response for create_network : {'network': {'id': 'b3fd3c4b-5f03-461a-b709-5e540ea7bfe1', 'name': 'ctest-vn2-19140418', 'tenant_id': '5b3fb77e67164c6d8dbea8e2fdc299e0', 'project_id': '5b3fb77e67164c6d8dbea8e2fdc299e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41753407', 'ctest-vn2-19140418'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:21:34,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '66863a06-73d3-40d3-9d71-76e0629663b5', 'name': '', 'tenant_id': '5b3fb77e67164c6d8dbea8e2fdc299e0', 'network_id': 'b3fd3c4b-5f03-461a-b709-5e540ea7bfe1', 'ip_version': 4, 'cidr': '114.20.151.192/26', 'allocation_pools': [{'start': '114.20.151.194', 'end': '114.20.151.254'}], 'gateway_ip': '114.20.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.20.151.194', 'tags': [], 'project_id': '5b3fb77e67164c6d8dbea8e2fdc299e0'}} 2025-10-23 21:21:34,348 - INFO - Created VN ctest-vn2-19140418 2025-10-23 21:21:34,400 - DEBUG - VN ctest-vn2-19140418 UUID is b3fd3c4b-5f03-461a-b709-5e540ea7bfe1 2025-10-23 21:21:34,584 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:21:35,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1) 2025-10-23 21:21:37,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1) 2025-10-23 21:21:37,163 - INFO - Adding interface with subnet_id 41f41262-32c4-43f0-bbf5-bda261b54655, port_id None to router f97477b8-717a-4a3c-94bc-6a7b7992d474 2025-10-23 21:21:37,459 - INFO - Waiting for VM ctest-vn1-vm1-54688823 to be up.. 2025-10-23 21:21:37,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:21:42,631 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:21:42,631 - INFO - VM name : ctest-vn1-vm1-54688823 2025-10-23 21:21:42,707 - DEBUG - VM ctest-vn1-vm1-54688823 ID is 2629d96e-5444-46eb-8019-2c0186b6f7b2 2025-10-23 21:21:42,726 - DEBUG - VM ctest-vn1-vm1-54688823 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1 2025-10-23 21:21:42,803 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2629d96e-5444-46eb-8019-2c0186b6f7b2 2025-10-23 21:21:43,137 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2629d96e-5444-46eb-8019-2c0186b6f7b2 2025-10-23 21:21:43,169 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e2e76f2-667d-42bb-a427-58be229f13dd 2025-10-23 21:21:46,430 - 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-10-23 21:21:46,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54688823 failed! 2025-10-23 21:21:46,487 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41753407:ctest-vn1-89957315 is 190.254.249.193 and allocation pool is NOT set 2025-10-23 21:21:48,554 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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.370/2.878/4.387/1.508 ms') 2025-10-23 21:21:48,554 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54688823 passed 2025-10-23 21:21:48,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:48,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54688823, IP 190.254.249.195, Port 22 2025-10-23 21:21:48,770 - 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-10-23 21:21:48,850 - DEBUG - VM ctest-vn1-vm1-54688823 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 21:21:53,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:53,850 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54688823, IP 190.254.249.195, Port 22 2025-10-23 21:21:54,007 - DEBUG - VM ctest-vn1-vm1-54688823 is ready for SSH connections 2025-10-23 21:21:54,007 - INFO - Waiting for VM ctest-vn2-vm1-15138412 to be up.. 2025-10-23 21:21:54,087 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:21:54,087 - INFO - VM name : ctest-vn2-vm1-15138412 2025-10-23 21:21:54,162 - DEBUG - VM ctest-vn2-vm1-15138412 ID is fe05e5fd-848c-4209-828e-35160dd1ce99 2025-10-23 21:21:54,163 - DEBUG - VM ctest-vn2-vm1-15138412 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1 2025-10-23 21:21:54,237 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fe05e5fd-848c-4209-828e-35160dd1ce99 2025-10-23 21:21:54,246 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/268de343-5201-4181-97ca-e766c46e5978 2025-10-23 21:21:55,482 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.810/3.160/1.349 ms') 2025-10-23 21:21:55,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15138412 passed 2025-10-23 21:21:55,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:55,636 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15138412, IP 114.20.151.195, Port 22 2025-10-23 21:21:55,805 - DEBUG - VM ctest-vn2-vm1-15138412 is ready for SSH connections 2025-10-23 21:21:55,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:55,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.20.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:21:55,806 - DEBUG - ping -s 56 -c 3 -W 1 114.20.151.195 2025-10-23 21:22:00,878 - DEBUG - PING 114.20.151.195 (114.20.151.195): 56 data bytes --- 114.20.151.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 21:22:00,879 - WARNING - Ping to IP 114.20.151.195 from VM ctest-vn1-vm1-54688823 failed 2025-10-23 21:22:00,879 - INFO - Adding interface with subnet_id 66863a06-73d3-40d3-9d71-76e0629663b5, port_id None to router f97477b8-717a-4a3c-94bc-6a7b7992d474 2025-10-23 21:22:01,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:22:01,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.20.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:22:01,122 - DEBUG - ping -s 56 -c 3 -W 1 114.20.151.195 2025-10-23 21:22:04,351 - DEBUG - PING 114.20.151.195 (114.20.151.195): 56 data bytes 64 bytes from 114.20.151.195: seq=1 ttl=63 time=3.542 ms 64 bytes from 114.20.151.195: seq=2 ttl=63 time=0.952 ms --- 114.20.151.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.952/2.247/3.542 ms 2025-10-23 21:22:04,351 - WARNING - Ping to IP 114.20.151.195 from VM ctest-vn1-vm1-54688823 failed 2025-10-23 21:22:05,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.20.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:22:05,352 - DEBUG - ping -s 56 -c 3 -W 1 114.20.151.195 2025-10-23 21:22:07,621 - DEBUG - PING 114.20.151.195 (114.20.151.195): 56 data bytes 64 bytes from 114.20.151.195: seq=0 ttl=63 time=1.876 ms 64 bytes from 114.20.151.195: seq=1 ttl=63 time=0.882 ms 64 bytes from 114.20.151.195: seq=2 ttl=63 time=0.839 ms --- 114.20.151.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.199/1.876 ms 2025-10-23 21:22:07,622 - INFO - Ping to IP 114.20.151.195 from VM ctest-vn1-vm1-54688823 passed 2025-10-23 21:22:07,622 - INFO - Deleting interface with subnet_id 41f41262-32c4-43f0-bbf5-bda261b54655, port_id None from router f97477b8-717a-4a3c-94bc-6a7b7992d474 2025-10-23 21:22:07,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:22:07,744 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.20.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:22:07,744 - DEBUG - ping -s 56 -c 3 -W 1 114.20.151.195 2025-10-23 21:22:10,971 - DEBUG - PING 114.20.151.195 (114.20.151.195): 56 data bytes --- 114.20.151.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 21:22:10,971 - WARNING - Ping to IP 114.20.151.195 from VM ctest-vn1-vm1-54688823 failed 2025-10-23 21:22:10,971 - INFO - Adding interface with subnet_id 41f41262-32c4-43f0-bbf5-bda261b54655, port_id None to router f97477b8-717a-4a3c-94bc-6a7b7992d474 2025-10-23 21:22:11,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:22:11,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.20.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:22:11,199 - DEBUG - ping -s 56 -c 3 -W 1 114.20.151.195 2025-10-23 21:22:13,419 - DEBUG - PING 114.20.151.195 (114.20.151.195): 56 data bytes 64 bytes from 114.20.151.195: seq=0 ttl=63 time=1.386 ms 64 bytes from 114.20.151.195: seq=1 ttl=63 time=1.036 ms 64 bytes from 114.20.151.195: seq=2 ttl=63 time=0.866 ms --- 114.20.151.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.096/1.386 ms 2025-10-23 21:22:13,420 - INFO - Ping to IP 114.20.151.195 from VM ctest-vn1-vm1-54688823 passed 2025-10-23 21:22:13,420 - INFO - Deleting interface with subnet_id 66863a06-73d3-40d3-9d71-76e0629663b5, port_id None from router f97477b8-717a-4a3c-94bc-6a7b7992d474 2025-10-23 21:22:13,553 - INFO - Deleting interface with subnet_id 41f41262-32c4-43f0-bbf5-bda261b54655, port_id None from router f97477b8-717a-4a3c-94bc-6a7b7992d474 2025-10-23 21:22:13,761 - INFO - Deleting VM ctest-vn2-vm1-15138412 2025-10-23 21:22:13,845 - INFO - Deleting VM ctest-vn1-vm1-54688823 2025-10-23 21:22:13,927 - INFO - Deleting VN ctest-vn2-19140418 2025-10-23 21:22:13,973 - DEBUG - VN b3fd3c4b-5f03-461a-b709-5e540ea7bfe1 still in use: Unable to complete operation on network b3fd3c4b-5f03-461a-b709-5e540ea7bfe1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ed0f449-4900-499c-85c5-709dee04adba'] 2025-10-23 21:22:13,973 - WARNING - Deleting VN ctest-vn2-19140418 failed..Will retry 2025-10-23 21:22:16,085 - DEBUG - Response for deleting network () 2025-10-23 21:22:16,085 - INFO - Deleting VN ctest-vn1-89957315 2025-10-23 21:22:16,208 - DEBUG - Response for deleting network () 2025-10-23 21:22:16,461 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:22:16,461 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-23 21:22:16,461 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:22:17,186 - INFO - Deleted project: ctest-TestRouters-41753407, ID : 5b3fb77e-6716-4c6d-8dbe-a8e2fdc299e0