2025-11-13 12:46:14,281 - INFO - Domain Default found not creating 2025-11-13 12:46:14,427 - INFO - Project ctest-TestRouters-33942174 not found, creating it 2025-11-13 12:46:14,872 - INFO - Created Project:ctest-TestRouters-33942174, ID : 34412da8-9530-4303-a3c4-e60e45c2e83d 2025-11-13 12:46:16,374 - INFO - ================================================================================ 2025-11-13 12:46:16,374 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-13 12:46:16,374 - 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-13 12:46:16,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 12:46:16,636 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:46:16,636 - INFO - 2025-11-13 12:46:17,212 - DEBUG - Response for create_network : {'network': {'id': 'b8507bf1-e091-49d5-a002-9032ae2d6823', 'name': 'ctest-vn1-05055401', 'tenant_id': '34412da895304303a3c4e60e45c2e83d', 'project_id': '34412da895304303a3c4e60e45c2e83d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33942174', 'ctest-vn1-05055401'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:46:17,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '08fa3f5b-3845-44cd-8c0d-cecf07d2dae8', 'name': '', 'tenant_id': '34412da895304303a3c4e60e45c2e83d', 'network_id': 'b8507bf1-e091-49d5-a002-9032ae2d6823', 'ip_version': 4, 'cidr': '31.7.219.192/26', 'allocation_pools': [{'start': '31.7.219.194', 'end': '31.7.219.254'}], 'gateway_ip': '31.7.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.7.219.194', 'tags': [], 'project_id': '34412da895304303a3c4e60e45c2e83d'}} 2025-11-13 12:46:17,457 - INFO - Created VN ctest-vn1-05055401 2025-11-13 12:46:17,510 - DEBUG - VN ctest-vn1-05055401 UUID is b8507bf1-e091-49d5-a002-9032ae2d6823 2025-11-13 12:46:17,925 - DEBUG - Response for create_network : {'network': {'id': '1f03fef5-a8d4-4776-a6a4-833c3e952501', 'name': 'ctest-vn2-71290398', 'tenant_id': '34412da895304303a3c4e60e45c2e83d', 'project_id': '34412da895304303a3c4e60e45c2e83d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33942174', 'ctest-vn2-71290398'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:46:18,180 - DEBUG - Response for create_subnet : {'subnet': {'id': '699dbd77-92c8-459a-b6b5-012be569af01', 'name': '', 'tenant_id': '34412da895304303a3c4e60e45c2e83d', 'network_id': '1f03fef5-a8d4-4776-a6a4-833c3e952501', 'ip_version': 4, 'cidr': '31.73.13.64/26', 'allocation_pools': [{'start': '31.73.13.66', 'end': '31.73.13.126'}], 'gateway_ip': '31.73.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.73.13.66', 'tags': [], 'project_id': '34412da895304303a3c4e60e45c2e83d'}} 2025-11-13 12:46:18,198 - INFO - Created VN ctest-vn2-71290398 2025-11-13 12:46:18,250 - DEBUG - VN ctest-vn2-71290398 UUID is 1f03fef5-a8d4-4776-a6a4-833c3e952501 2025-11-13 12:46:18,418 - DEBUG - Services list from nova: [, , ] 2025-11-13 12:46:19,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1) 2025-11-13 12:46:20,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1) 2025-11-13 12:46:20,702 - INFO - Adding interface with subnet_id 08fa3f5b-3845-44cd-8c0d-cecf07d2dae8, port_id None to router f95ff1cf-1918-40cb-92e0-e7dd9a5627ff 2025-11-13 12:46:20,966 - INFO - Waiting for VM ctest-vn1-vm1-99706369 to be up.. 2025-11-13 12:46:21,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 12:46:26,158 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:46:26,158 - INFO - VM name : ctest-vn1-vm1-99706369 2025-11-13 12:46:26,230 - DEBUG - VM ctest-vn1-vm1-99706369 ID is 94373f51-9bdb-44a8-b301-5e616bb2d98f 2025-11-13 12:46:26,248 - DEBUG - VM ctest-vn1-vm1-99706369 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1 2025-11-13 12:46:26,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/94373f51-9bdb-44a8-b301-5e616bb2d98f 2025-11-13 12:46:26,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/94373f51-9bdb-44a8-b301-5e616bb2d98f 2025-11-13 12:46:26,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/24c5a41f-d5b8-41f6-8dcf-e7a6f28d709e 2025-11-13 12:46:29,888 - 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 1007ms') 2025-11-13 12:46:29,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99706369 failed! 2025-11-13 12:46:29,946 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33942174:ctest-vn1-05055401 is 31.7.219.193 and allocation pool is NOT set 2025-11-13 12:46:32,012 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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.544/1.719/2.894/1.175 ms') 2025-11-13 12:46:32,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99706369 passed 2025-11-13 12:46:32,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:32,162 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99706369, IP 31.7.219.195, Port 22 2025-11-13 12:46:32,318 - DEBUG - VM ctest-vn1-vm1-99706369 is ready for SSH connections 2025-11-13 12:46:32,318 - INFO - Waiting for VM ctest-vn2-vm1-85657780 to be up.. 2025-11-13 12:46:32,395 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:46:32,395 - INFO - VM name : ctest-vn2-vm1-85657780 2025-11-13 12:46:32,467 - DEBUG - VM ctest-vn2-vm1-85657780 ID is 2174affc-38f1-4371-ac70-63ccb253a9a0 2025-11-13 12:46:32,467 - DEBUG - VM ctest-vn2-vm1-85657780 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1 2025-11-13 12:46:32,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2174affc-38f1-4371-ac70-63ccb253a9a0 2025-11-13 12:46:32,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/93423797-3d56-4636-8d15-fdda27730990 2025-11-13 12:46:33,785 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.446/1.664/2.882/1.218 ms') 2025-11-13 12:46:33,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-85657780 passed 2025-11-13 12:46:33,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:33,934 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-85657780, IP 31.73.13.67, Port 22 2025-11-13 12:46:34,117 - DEBUG - VM ctest-vn2-vm1-85657780 is ready for SSH connections 2025-11-13 12:46:34,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:34,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.73.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:46:34,117 - DEBUG - ping -s 56 -c 3 -W 1 31.73.13.67 2025-11-13 12:46:38,762 - DEBUG - PING 31.73.13.67 (31.73.13.67): 56 data bytes --- 31.73.13.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 12:46:38,763 - WARNING - Ping to IP 31.73.13.67 from VM ctest-vn1-vm1-99706369 failed 2025-11-13 12:46:38,763 - INFO - Adding interface with subnet_id 699dbd77-92c8-459a-b6b5-012be569af01, port_id None to router f95ff1cf-1918-40cb-92e0-e7dd9a5627ff 2025-11-13 12:46:39,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:39,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.73.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:46:39,021 - DEBUG - ping -s 56 -c 3 -W 1 31.73.13.67 2025-11-13 12:46:42,225 - DEBUG - PING 31.73.13.67 (31.73.13.67): 56 data bytes 64 bytes from 31.73.13.67: seq=1 ttl=63 time=3.149 ms 64 bytes from 31.73.13.67: seq=2 ttl=63 time=0.989 ms --- 31.73.13.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.989/2.069/3.149 ms 2025-11-13 12:46:42,225 - WARNING - Ping to IP 31.73.13.67 from VM ctest-vn1-vm1-99706369 failed 2025-11-13 12:46:43,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.73.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:46:43,226 - DEBUG - ping -s 56 -c 3 -W 1 31.73.13.67 2025-11-13 12:46:45,427 - DEBUG - PING 31.73.13.67 (31.73.13.67): 56 data bytes 64 bytes from 31.73.13.67: seq=0 ttl=63 time=1.236 ms 64 bytes from 31.73.13.67: seq=1 ttl=63 time=0.892 ms 64 bytes from 31.73.13.67: seq=2 ttl=63 time=1.135 ms --- 31.73.13.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/1.087/1.236 ms 2025-11-13 12:46:45,427 - INFO - Ping to IP 31.73.13.67 from VM ctest-vn1-vm1-99706369 passed 2025-11-13 12:46:45,427 - INFO - Deleting interface with subnet_id 08fa3f5b-3845-44cd-8c0d-cecf07d2dae8, port_id None from router f95ff1cf-1918-40cb-92e0-e7dd9a5627ff 2025-11-13 12:46:45,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:45,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.73.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:46:45,543 - DEBUG - ping -s 56 -c 3 -W 1 31.73.13.67 2025-11-13 12:46:48,802 - DEBUG - PING 31.73.13.67 (31.73.13.67): 56 data bytes --- 31.73.13.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 12:46:48,802 - WARNING - Ping to IP 31.73.13.67 from VM ctest-vn1-vm1-99706369 failed 2025-11-13 12:46:48,802 - INFO - Adding interface with subnet_id 08fa3f5b-3845-44cd-8c0d-cecf07d2dae8, port_id None to router f95ff1cf-1918-40cb-92e0-e7dd9a5627ff 2025-11-13 12:46:49,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:49,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.73.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:46:49,030 - DEBUG - ping -s 56 -c 3 -W 1 31.73.13.67 2025-11-13 12:46:51,246 - DEBUG - PING 31.73.13.67 (31.73.13.67): 56 data bytes 64 bytes from 31.73.13.67: seq=0 ttl=63 time=1.612 ms 64 bytes from 31.73.13.67: seq=1 ttl=63 time=1.176 ms 64 bytes from 31.73.13.67: seq=2 ttl=63 time=0.931 ms --- 31.73.13.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.239/1.612 ms 2025-11-13 12:46:51,246 - INFO - Ping to IP 31.73.13.67 from VM ctest-vn1-vm1-99706369 passed 2025-11-13 12:46:51,246 - INFO - Deleting interface with subnet_id 699dbd77-92c8-459a-b6b5-012be569af01, port_id None from router f95ff1cf-1918-40cb-92e0-e7dd9a5627ff 2025-11-13 12:46:51,366 - INFO - Deleting interface with subnet_id 08fa3f5b-3845-44cd-8c0d-cecf07d2dae8, port_id None from router f95ff1cf-1918-40cb-92e0-e7dd9a5627ff 2025-11-13 12:46:51,543 - INFO - Deleting VM ctest-vn2-vm1-85657780 2025-11-13 12:46:51,621 - INFO - Deleting VM ctest-vn1-vm1-99706369 2025-11-13 12:46:51,709 - INFO - Deleting VN ctest-vn2-71290398 2025-11-13 12:46:51,746 - DEBUG - VN 1f03fef5-a8d4-4776-a6a4-833c3e952501 still in use: Unable to complete operation on network 1f03fef5-a8d4-4776-a6a4-833c3e952501. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65f708d0-b211-445c-abcb-b970e2c801bc'] 2025-11-13 12:46:51,746 - WARNING - Deleting VN ctest-vn2-71290398 failed..Will retry 2025-11-13 12:46:53,844 - DEBUG - Response for deleting network () 2025-11-13 12:46:53,844 - INFO - Deleting VN ctest-vn1-05055401 2025-11-13 12:46:53,940 - DEBUG - Response for deleting network () 2025-11-13 12:46:54,199 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:46:54,199 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-13 12:46:54,199 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:46:54,905 - INFO - Deleted project: ctest-TestRouters-33942174, ID : 34412da8-9530-4303-a3c4-e60e45c2e83d