2025-08-11 10:50:14,049 - INFO - Domain Default found not creating 2025-08-11 10:50:14,245 - INFO - Project ctest-TestRouters-33858631 not found, creating it 2025-08-11 10:50:14,726 - INFO - Created Project:ctest-TestRouters-33858631, ID : 3ae90244-b689-4527-ba8c-5d218c3e9322 2025-08-11 10:50:16,084 - INFO - ================================================================================ 2025-08-11 10:50:16,084 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 10:50:16,084 - 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-11 10:50:16,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 10:50:16,343 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:50:16,343 - INFO - 2025-08-11 10:50:16,869 - DEBUG - Response for create_network : {'network': {'id': '71aa9003-7e3a-491b-9b5f-7f6f887e5b87', 'name': 'ctest-vn1-02015264', 'tenant_id': '3ae90244b6894527ba8c5d218c3e9322', 'project_id': '3ae90244b6894527ba8c5d218c3e9322', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33858631', 'ctest-vn1-02015264'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:50:17,045 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f380817f-54d4-4618-ba51-0499abfabb6a', 'name': '', 'tenant_id': '3ae90244b6894527ba8c5d218c3e9322', 'network_id': '71aa9003-7e3a-491b-9b5f-7f6f887e5b87', 'ip_version': 4, 'cidr': '152.37.61.64/26', 'allocation_pools': [{'start': '152.37.61.66', 'end': '152.37.61.126'}], 'gateway_ip': '152.37.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.37.61.66', 'tags': [], 'project_id': '3ae90244b6894527ba8c5d218c3e9322'}} 2025-08-11 10:50:17,060 - INFO - Created VN ctest-vn1-02015264 2025-08-11 10:50:17,113 - DEBUG - VN ctest-vn1-02015264 UUID is 71aa9003-7e3a-491b-9b5f-7f6f887e5b87 2025-08-11 10:50:17,424 - DEBUG - Response for create_network : {'network': {'id': 'db155a23-28c5-4f3f-a7ee-694f094b04e6', 'name': 'ctest-vn2-09366029', 'tenant_id': '3ae90244b6894527ba8c5d218c3e9322', 'project_id': '3ae90244b6894527ba8c5d218c3e9322', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33858631', 'ctest-vn2-09366029'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:50:17,603 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4ed93fb-cd10-4739-b29c-775130d26d34', 'name': '', 'tenant_id': '3ae90244b6894527ba8c5d218c3e9322', 'network_id': 'db155a23-28c5-4f3f-a7ee-694f094b04e6', 'ip_version': 4, 'cidr': '177.76.211.64/26', 'allocation_pools': [{'start': '177.76.211.66', 'end': '177.76.211.126'}], 'gateway_ip': '177.76.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.76.211.66', 'tags': [], 'project_id': '3ae90244b6894527ba8c5d218c3e9322'}} 2025-08-11 10:50:17,619 - INFO - Created VN ctest-vn2-09366029 2025-08-11 10:50:17,669 - DEBUG - VN ctest-vn2-09366029 UUID is db155a23-28c5-4f3f-a7ee-694f094b04e6 2025-08-11 10:50:17,912 - DEBUG - Services list from nova: [, , ] 2025-08-11 10:50:18,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:50:20,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:50:20,134 - INFO - Adding interface with subnet_id f380817f-54d4-4618-ba51-0499abfabb6a, port_id None to router 485d5aa9-bce5-414b-a9de-231f78de5aae 2025-08-11 10:50:20,374 - INFO - Waiting for VM ctest-vn1-vm1-98250551 to be up.. 2025-08-11 10:50:20,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 10:50:25,583 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:50:25,583 - INFO - VM name : ctest-vn1-vm1-98250551 2025-08-11 10:50:25,649 - DEBUG - VM ctest-vn1-vm1-98250551 ID is 54b2dedf-bc19-48aa-a6bf-dd1dd67b015e 2025-08-11 10:50:25,669 - DEBUG - VM ctest-vn1-vm1-98250551 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:50:25,744 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/54b2dedf-bc19-48aa-a6bf-dd1dd67b015e 2025-08-11 10:50:26,037 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/54b2dedf-bc19-48aa-a6bf-dd1dd67b015e 2025-08-11 10:50:26,068 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8aedcb52-7f1c-490b-917f-5303a34a9056 2025-08-11 10:50:29,330 - 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-08-11 10:50:29,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98250551 failed! 2025-08-11 10:50:29,385 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33858631:ctest-vn1-02015264 is 152.37.61.65 and allocation pool is NOT set 2025-08-11 10:50:31,447 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.843/3.275/1.431 ms') 2025-08-11 10:50:31,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98250551 passed 2025-08-11 10:50:31,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:31,597 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98250551, IP 152.37.61.67, Port 22 2025-08-11 10:50:31,756 - DEBUG - VM ctest-vn1-vm1-98250551 is ready for SSH connections 2025-08-11 10:50:31,757 - INFO - Waiting for VM ctest-vn2-vm1-09579382 to be up.. 2025-08-11 10:50:31,825 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:50:31,825 - INFO - VM name : ctest-vn2-vm1-09579382 2025-08-11 10:50:31,890 - DEBUG - VM ctest-vn2-vm1-09579382 ID is 6e2f8a09-ae27-41b0-befc-d6bff27c12f8 2025-08-11 10:50:31,890 - DEBUG - VM ctest-vn2-vm1-09579382 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:50:31,982 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6e2f8a09-ae27-41b0-befc-d6bff27c12f8 2025-08-11 10:50:31,992 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b969c24c-0063-420b-a868-94f6795d6814 2025-08-11 10:50:33,229 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 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.358/1.610/2.862/1.252 ms') 2025-08-11 10:50:33,229 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-09579382 passed 2025-08-11 10:50:33,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:33,386 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09579382, IP 177.76.211.67, Port 22 2025-08-11 10:50:33,546 - DEBUG - VM ctest-vn2-vm1-09579382 is ready for SSH connections 2025-08-11 10:50:33,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:33,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.76.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:50:33,547 - DEBUG - ping -s 56 -c 3 -W 1 177.76.211.67 2025-08-11 10:50:38,195 - DEBUG - PING 177.76.211.67 (177.76.211.67): 56 data bytes --- 177.76.211.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 10:50:38,196 - WARNING - Ping to IP 177.76.211.67 from VM ctest-vn1-vm1-98250551 failed 2025-08-11 10:50:38,196 - INFO - Adding interface with subnet_id e4ed93fb-cd10-4739-b29c-775130d26d34, port_id None to router 485d5aa9-bce5-414b-a9de-231f78de5aae 2025-08-11 10:50:38,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:38,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.76.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:50:38,464 - DEBUG - ping -s 56 -c 3 -W 1 177.76.211.67 2025-08-11 10:50:40,665 - DEBUG - PING 177.76.211.67 (177.76.211.67): 56 data bytes 64 bytes from 177.76.211.67: seq=0 ttl=63 time=2.524 ms 64 bytes from 177.76.211.67: seq=1 ttl=63 time=0.908 ms 64 bytes from 177.76.211.67: seq=2 ttl=63 time=0.764 ms --- 177.76.211.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.398/2.524 ms 2025-08-11 10:50:40,666 - INFO - Ping to IP 177.76.211.67 from VM ctest-vn1-vm1-98250551 passed 2025-08-11 10:50:40,666 - INFO - Deleting interface with subnet_id f380817f-54d4-4618-ba51-0499abfabb6a, port_id None from router 485d5aa9-bce5-414b-a9de-231f78de5aae 2025-08-11 10:50:40,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:40,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.76.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:50:40,783 - DEBUG - ping -s 56 -c 3 -W 1 177.76.211.67 2025-08-11 10:50:43,980 - DEBUG - PING 177.76.211.67 (177.76.211.67): 56 data bytes --- 177.76.211.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 10:50:43,980 - WARNING - Ping to IP 177.76.211.67 from VM ctest-vn1-vm1-98250551 failed 2025-08-11 10:50:43,980 - INFO - Adding interface with subnet_id f380817f-54d4-4618-ba51-0499abfabb6a, port_id None to router 485d5aa9-bce5-414b-a9de-231f78de5aae 2025-08-11 10:50:44,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:44,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.76.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:50:44,234 - DEBUG - ping -s 56 -c 3 -W 1 177.76.211.67 2025-08-11 10:50:47,437 - DEBUG - PING 177.76.211.67 (177.76.211.67): 56 data bytes 64 bytes from 177.76.211.67: seq=1 ttl=63 time=1.965 ms 64 bytes from 177.76.211.67: seq=2 ttl=63 time=0.810 ms --- 177.76.211.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.810/1.387/1.965 ms 2025-08-11 10:50:47,437 - WARNING - Ping to IP 177.76.211.67 from VM ctest-vn1-vm1-98250551 failed 2025-08-11 10:50:48,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.76.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:50:48,438 - DEBUG - ping -s 56 -c 3 -W 1 177.76.211.67 2025-08-11 10:50:50,630 - DEBUG - PING 177.76.211.67 (177.76.211.67): 56 data bytes 64 bytes from 177.76.211.67: seq=0 ttl=63 time=1.433 ms 64 bytes from 177.76.211.67: seq=1 ttl=63 time=0.785 ms 64 bytes from 177.76.211.67: seq=2 ttl=63 time=0.745 ms --- 177.76.211.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/0.987/1.433 ms 2025-08-11 10:50:50,630 - INFO - Ping to IP 177.76.211.67 from VM ctest-vn1-vm1-98250551 passed 2025-08-11 10:50:50,631 - INFO - Deleting interface with subnet_id e4ed93fb-cd10-4739-b29c-775130d26d34, port_id None from router 485d5aa9-bce5-414b-a9de-231f78de5aae 2025-08-11 10:50:50,740 - INFO - Deleting interface with subnet_id f380817f-54d4-4618-ba51-0499abfabb6a, port_id None from router 485d5aa9-bce5-414b-a9de-231f78de5aae 2025-08-11 10:50:50,890 - INFO - Deleting VM ctest-vn2-vm1-09579382 2025-08-11 10:50:50,949 - INFO - Deleting VM ctest-vn1-vm1-98250551 2025-08-11 10:50:51,015 - INFO - Deleting VN ctest-vn2-09366029 2025-08-11 10:50:51,053 - DEBUG - VN db155a23-28c5-4f3f-a7ee-694f094b04e6 still in use: Unable to complete operation on network db155a23-28c5-4f3f-a7ee-694f094b04e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0afa78a6-e3a2-4181-a4ca-50313e9d50c0'] 2025-08-11 10:50:51,053 - WARNING - Deleting VN ctest-vn2-09366029 failed..Will retry 2025-08-11 10:50:53,139 - DEBUG - Response for deleting network () 2025-08-11 10:50:53,139 - INFO - Deleting VN ctest-vn1-02015264 2025-08-11 10:50:53,234 - DEBUG - Response for deleting network () 2025-08-11 10:50:53,488 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 10:50:53,488 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-08-11 10:50:53,488 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:50:54,143 - INFO - Deleted project: ctest-TestRouters-33858631, ID : 3ae90244-b689-4527-ba8c-5d218c3e9322