2025-11-04 18:06:52,827 - INFO - Domain Default found not creating 2025-11-04 18:06:52,989 - INFO - Project ctest-TestRouters-28479800 not found, creating it 2025-11-04 18:06:53,472 - INFO - Created Project:ctest-TestRouters-28479800, ID : 79ed0587-d02b-4509-a5bd-0a6c0e3c627c 2025-11-04 18:06:54,958 - INFO - ================================================================================ 2025-11-04 18:06:54,958 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 18:06:54,958 - 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-04 18:06:55,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-11-04 18:06:55,212 - INFO - Initial checks done. Running the testcase now 2025-11-04 18:06:55,212 - INFO - 2025-11-04 18:06:55,748 - DEBUG - Response for create_network : {'network': {'id': '06d16825-f88a-4a72-8415-1272eef6eb0e', 'name': 'ctest-vn1-08729437', 'tenant_id': '79ed0587d02b4509a5bd0a6c0e3c627c', 'project_id': '79ed0587d02b4509a5bd0a6c0e3c627c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28479800', 'ctest-vn1-08729437'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:06:55,936 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f72d6a92-a651-411a-aa15-5c580da3ae52', 'name': '', 'tenant_id': '79ed0587d02b4509a5bd0a6c0e3c627c', 'network_id': '06d16825-f88a-4a72-8415-1272eef6eb0e', 'ip_version': 4, 'cidr': '74.165.71.192/26', 'allocation_pools': [{'start': '74.165.71.194', 'end': '74.165.71.254'}], 'gateway_ip': '74.165.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.165.71.194', 'tags': [], 'project_id': '79ed0587d02b4509a5bd0a6c0e3c627c'}} 2025-11-04 18:06:55,951 - INFO - Created VN ctest-vn1-08729437 2025-11-04 18:06:56,003 - DEBUG - VN ctest-vn1-08729437 UUID is 06d16825-f88a-4a72-8415-1272eef6eb0e 2025-11-04 18:06:56,344 - DEBUG - Response for create_network : {'network': {'id': 'c86973a9-f147-43ff-9644-70a4b526f923', 'name': 'ctest-vn2-78045005', 'tenant_id': '79ed0587d02b4509a5bd0a6c0e3c627c', 'project_id': '79ed0587d02b4509a5bd0a6c0e3c627c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28479800', 'ctest-vn2-78045005'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:06:56,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '59d76d38-2164-4ac4-8ec9-02bd95a28a59', 'name': '', 'tenant_id': '79ed0587d02b4509a5bd0a6c0e3c627c', 'network_id': 'c86973a9-f147-43ff-9644-70a4b526f923', 'ip_version': 4, 'cidr': '71.63.238.0/26', 'allocation_pools': [{'start': '71.63.238.2', 'end': '71.63.238.62'}], 'gateway_ip': '71.63.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.63.238.2', 'tags': [], 'project_id': '79ed0587d02b4509a5bd0a6c0e3c627c'}} 2025-11-04 18:06:56,563 - INFO - Created VN ctest-vn2-78045005 2025-11-04 18:06:56,615 - DEBUG - VN ctest-vn2-78045005 UUID is c86973a9-f147-43ff-9644-70a4b526f923 2025-11-04 18:06:56,816 - DEBUG - Services list from nova: [, , ] 2025-11-04 18:06:57,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4621-1) 2025-11-04 18:06:59,076 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4621-1) 2025-11-04 18:06:59,141 - INFO - Adding interface with subnet_id f72d6a92-a651-411a-aa15-5c580da3ae52, port_id None to router a951cc2f-d404-42c6-96d7-db02fbd6223b 2025-11-04 18:06:59,466 - INFO - Waiting for VM ctest-vn1-vm1-96665247 to be up.. 2025-11-04 18:06:59,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 18:07:04,624 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:07:04,624 - INFO - VM name : ctest-vn1-vm1-96665247 2025-11-04 18:07:04,697 - DEBUG - VM ctest-vn1-vm1-96665247 ID is 6424cc70-7ee3-49a5-b2e0-32a94dfaa19e 2025-11-04 18:07:04,715 - DEBUG - VM ctest-vn1-vm1-96665247 launched on Node cn-jenkins-deploy-platform-ansible-os-4621-1 2025-11-04 18:07:04,783 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6424cc70-7ee3-49a5-b2e0-32a94dfaa19e 2025-11-04 18:07:05,079 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6424cc70-7ee3-49a5-b2e0-32a94dfaa19e 2025-11-04 18:07:05,108 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b914338a-678e-494e-812f-be647a12985e 2025-11-04 18:07:08,358 - 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 1010ms') 2025-11-04 18:07:08,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96665247 failed! 2025-11-04 18:07:08,419 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-28479800:ctest-vn1-08729437 is 74.165.71.193 and allocation pool is NOT set 2025-11-04 18:07:10,479 - 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=5.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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 = 2.775/3.903/5.031/1.128 ms') 2025-11-04 18:07:10,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96665247 passed 2025-11-04 18:07:10,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:07:10,627 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96665247, IP 74.165.71.195, Port 22 2025-11-04 18:07:10,795 - DEBUG - VM ctest-vn1-vm1-96665247 is ready for SSH connections 2025-11-04 18:07:10,795 - INFO - Waiting for VM ctest-vn2-vm1-45483690 to be up.. 2025-11-04 18:07:10,874 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:07:10,874 - INFO - VM name : ctest-vn2-vm1-45483690 2025-11-04 18:07:10,953 - DEBUG - VM ctest-vn2-vm1-45483690 ID is 68267951-69f2-440c-9c64-d79419f4f656 2025-11-04 18:07:10,953 - DEBUG - VM ctest-vn2-vm1-45483690 launched on Node cn-jenkins-deploy-platform-ansible-os-4621-1 2025-11-04 18:07:11,023 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/68267951-69f2-440c-9c64-d79419f4f656 2025-11-04 18:07:11,032 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/96262782-b0a0-4ba3-afae-e28f6a4283dc 2025-11-04 18:07:12,276 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.417/2.423/1.006 ms') 2025-11-04 18:07:12,276 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45483690 passed 2025-11-04 18:07:12,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:07:12,455 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45483690, IP 71.63.238.3, Port 22 2025-11-04 18:07:12,614 - DEBUG - VM ctest-vn2-vm1-45483690 is ready for SSH connections 2025-11-04 18:07:12,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:07:12,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.63.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:07:12,615 - DEBUG - ping -s 56 -c 3 -W 1 71.63.238.3 2025-11-04 18:07:17,574 - DEBUG - PING 71.63.238.3 (71.63.238.3): 56 data bytes --- 71.63.238.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 18:07:17,575 - WARNING - Ping to IP 71.63.238.3 from VM ctest-vn1-vm1-96665247 failed 2025-11-04 18:07:17,575 - INFO - Adding interface with subnet_id 59d76d38-2164-4ac4-8ec9-02bd95a28a59, port_id None to router a951cc2f-d404-42c6-96d7-db02fbd6223b 2025-11-04 18:07:17,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:07:17,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.63.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:07:17,800 - DEBUG - ping -s 56 -c 3 -W 1 71.63.238.3 2025-11-04 18:07:21,000 - DEBUG - PING 71.63.238.3 (71.63.238.3): 56 data bytes 64 bytes from 71.63.238.3: seq=1 ttl=63 time=2.610 ms 64 bytes from 71.63.238.3: seq=2 ttl=63 time=1.110 ms --- 71.63.238.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.110/1.860/2.610 ms 2025-11-04 18:07:21,001 - WARNING - Ping to IP 71.63.238.3 from VM ctest-vn1-vm1-96665247 failed 2025-11-04 18:07:22,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.63.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:07:22,002 - DEBUG - ping -s 56 -c 3 -W 1 71.63.238.3 2025-11-04 18:07:24,236 - DEBUG - PING 71.63.238.3 (71.63.238.3): 56 data bytes 64 bytes from 71.63.238.3: seq=0 ttl=63 time=2.117 ms 64 bytes from 71.63.238.3: seq=1 ttl=63 time=0.727 ms 64 bytes from 71.63.238.3: seq=2 ttl=63 time=0.949 ms --- 71.63.238.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/1.264/2.117 ms 2025-11-04 18:07:24,236 - INFO - Ping to IP 71.63.238.3 from VM ctest-vn1-vm1-96665247 passed 2025-11-04 18:07:24,236 - INFO - Deleting interface with subnet_id f72d6a92-a651-411a-aa15-5c580da3ae52, port_id None from router a951cc2f-d404-42c6-96d7-db02fbd6223b 2025-11-04 18:07:24,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:07:24,354 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.63.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:07:24,354 - DEBUG - ping -s 56 -c 3 -W 1 71.63.238.3 2025-11-04 18:07:27,558 - DEBUG - PING 71.63.238.3 (71.63.238.3): 56 data bytes --- 71.63.238.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 18:07:27,558 - WARNING - Ping to IP 71.63.238.3 from VM ctest-vn1-vm1-96665247 failed 2025-11-04 18:07:27,558 - INFO - Adding interface with subnet_id f72d6a92-a651-411a-aa15-5c580da3ae52, port_id None to router a951cc2f-d404-42c6-96d7-db02fbd6223b 2025-11-04 18:07:27,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:07:27,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.63.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:07:27,758 - DEBUG - ping -s 56 -c 3 -W 1 71.63.238.3 2025-11-04 18:07:29,959 - DEBUG - PING 71.63.238.3 (71.63.238.3): 56 data bytes 64 bytes from 71.63.238.3: seq=0 ttl=63 time=1.332 ms 64 bytes from 71.63.238.3: seq=1 ttl=63 time=0.786 ms 64 bytes from 71.63.238.3: seq=2 ttl=63 time=0.698 ms --- 71.63.238.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.698/0.938/1.332 ms 2025-11-04 18:07:29,959 - INFO - Ping to IP 71.63.238.3 from VM ctest-vn1-vm1-96665247 passed 2025-11-04 18:07:29,959 - INFO - Deleting interface with subnet_id 59d76d38-2164-4ac4-8ec9-02bd95a28a59, port_id None from router a951cc2f-d404-42c6-96d7-db02fbd6223b 2025-11-04 18:07:30,089 - INFO - Deleting interface with subnet_id f72d6a92-a651-411a-aa15-5c580da3ae52, port_id None from router a951cc2f-d404-42c6-96d7-db02fbd6223b 2025-11-04 18:07:30,242 - INFO - Deleting VM ctest-vn2-vm1-45483690 2025-11-04 18:07:30,319 - INFO - Deleting VM ctest-vn1-vm1-96665247 2025-11-04 18:07:30,390 - INFO - Deleting VN ctest-vn2-78045005 2025-11-04 18:07:30,423 - DEBUG - VN c86973a9-f147-43ff-9644-70a4b526f923 still in use: Unable to complete operation on network c86973a9-f147-43ff-9644-70a4b526f923. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd971928-6a13-41d6-ac5b-a90a73d158a4'] 2025-11-04 18:07:30,423 - WARNING - Deleting VN ctest-vn2-78045005 failed..Will retry 2025-11-04 18:07:32,513 - DEBUG - Response for deleting network () 2025-11-04 18:07:32,513 - INFO - Deleting VN ctest-vn1-08729437 2025-11-04 18:07:32,611 - DEBUG - Response for deleting network () 2025-11-04 18:07:32,863 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 18:07:32,863 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-04 18:07:32,863 - INFO - -------------------------------------------------------------------------------- 2025-11-04 18:07:33,523 - INFO - Deleted project: ctest-TestRouters-28479800, ID : 79ed0587-d02b-4509-a5bd-0a6c0e3c627c