2025-08-04 02:15:15,322 - INFO - Domain Default found not creating 2025-08-04 02:15:15,551 - INFO - Project ctest-TestRouters-33445062 not found, creating it 2025-08-04 02:15:16,021 - INFO - Created Project:ctest-TestRouters-33445062, ID : 219d9ced-b1fd-4853-8ba5-40b2480814b6 2025-08-04 02:15:17,474 - INFO - ================================================================================ 2025-08-04 02:15:17,474 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-04 02:15:17,474 - 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-04 02:15:17,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-04 02:15:17,732 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:15:17,732 - INFO - 2025-08-04 02:15:18,287 - DEBUG - Response for create_network : {'network': {'id': 'e2e2b0c1-a3e6-4840-887f-2797e588d4d4', 'name': 'ctest-vn1-01052394', 'tenant_id': '219d9cedb1fd48538ba540b2480814b6', 'project_id': '219d9cedb1fd48538ba540b2480814b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33445062', 'ctest-vn1-01052394'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:15:18,443 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7b69026-ce7c-4cb6-9bc6-f9c47b92c870', 'name': '', 'tenant_id': '219d9cedb1fd48538ba540b2480814b6', 'network_id': 'e2e2b0c1-a3e6-4840-887f-2797e588d4d4', 'ip_version': 4, 'cidr': '45.30.88.0/26', 'allocation_pools': [{'start': '45.30.88.2', 'end': '45.30.88.62'}], 'gateway_ip': '45.30.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.30.88.2', 'tags': [], 'project_id': '219d9cedb1fd48538ba540b2480814b6'}} 2025-08-04 02:15:18,460 - INFO - Created VN ctest-vn1-01052394 2025-08-04 02:15:18,513 - DEBUG - VN ctest-vn1-01052394 UUID is e2e2b0c1-a3e6-4840-887f-2797e588d4d4 2025-08-04 02:15:18,826 - DEBUG - Response for create_network : {'network': {'id': '7751c261-bdb1-40e8-85d7-a54910c5010d', 'name': 'ctest-vn2-17225305', 'tenant_id': '219d9cedb1fd48538ba540b2480814b6', 'project_id': '219d9cedb1fd48538ba540b2480814b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33445062', 'ctest-vn2-17225305'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:15:19,052 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dda0d420-807b-41b5-98d2-b478558af2c8', 'name': '', 'tenant_id': '219d9cedb1fd48538ba540b2480814b6', 'network_id': '7751c261-bdb1-40e8-85d7-a54910c5010d', 'ip_version': 4, 'cidr': '177.61.8.192/26', 'allocation_pools': [{'start': '177.61.8.194', 'end': '177.61.8.254'}], 'gateway_ip': '177.61.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.61.8.194', 'tags': [], 'project_id': '219d9cedb1fd48538ba540b2480814b6'}} 2025-08-04 02:15:19,070 - INFO - Created VN ctest-vn2-17225305 2025-08-04 02:15:19,125 - DEBUG - VN ctest-vn2-17225305 UUID is 7751c261-bdb1-40e8-85d7-a54910c5010d 2025-08-04 02:15:19,285 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:15:20,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:15:21,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:15:21,725 - INFO - Adding interface with subnet_id c7b69026-ce7c-4cb6-9bc6-f9c47b92c870, port_id None to router 0fa59681-b066-4715-8a15-e205e5dee1b3 2025-08-04 02:15:22,113 - INFO - Waiting for VM ctest-vn1-vm1-31854074 to be up.. 2025-08-04 02:15:22,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:15:27,371 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:15:27,371 - INFO - VM name : ctest-vn1-vm1-31854074 2025-08-04 02:15:27,455 - DEBUG - VM ctest-vn1-vm1-31854074 ID is dbbfaa5d-c68e-4c27-ac08-11998ca9f0a8 2025-08-04 02:15:27,477 - DEBUG - VM ctest-vn1-vm1-31854074 launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:15:27,559 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dbbfaa5d-c68e-4c27-ac08-11998ca9f0a8 2025-08-04 02:15:27,858 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dbbfaa5d-c68e-4c27-ac08-11998ca9f0a8 2025-08-04 02:15:27,896 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/84a47629-631c-47b5-8b63-9526e40e6f26 2025-08-04 02:15:31,151 - 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 1002ms') 2025-08-04 02:15:31,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31854074 failed! 2025-08-04 02:15:31,205 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33445062:ctest-vn1-01052394 is 45.30.88.1 and allocation pool is NOT set 2025-08-04 02:15:33,264 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.822/3.251/1.428 ms') 2025-08-04 02:15:33,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31854074 passed 2025-08-04 02:15:33,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:33,421 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31854074, IP 45.30.88.3, Port 22 2025-08-04 02:15:33,576 - DEBUG - VM ctest-vn1-vm1-31854074 is ready for SSH connections 2025-08-04 02:15:33,576 - INFO - Waiting for VM ctest-vn2-vm1-75548013 to be up.. 2025-08-04 02:15:33,646 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:15:33,646 - INFO - VM name : ctest-vn2-vm1-75548013 2025-08-04 02:15:33,715 - DEBUG - VM ctest-vn2-vm1-75548013 ID is 6fa6da17-3a96-4eb0-866c-6c6fbf3785dd 2025-08-04 02:15:33,716 - DEBUG - VM ctest-vn2-vm1-75548013 launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:15:33,791 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6fa6da17-3a96-4eb0-866c-6c6fbf3785dd 2025-08-04 02:15:33,804 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d8985494-d4ed-4a21-96e5-c0f25ff986b2 2025-08-04 02:15:35,048 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.888/3.316/1.428 ms') 2025-08-04 02:15:35,049 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-75548013 passed 2025-08-04 02:15:35,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:35,205 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-75548013, IP 177.61.8.195, Port 22 2025-08-04 02:15:35,383 - DEBUG - VM ctest-vn2-vm1-75548013 is ready for SSH connections 2025-08-04 02:15:35,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:35,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.61.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:15:35,383 - DEBUG - ping -s 56 -c 3 -W 1 177.61.8.195 2025-08-04 02:15:39,999 - DEBUG - PING 177.61.8.195 (177.61.8.195): 56 data bytes --- 177.61.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 02:15:39,999 - WARNING - Ping to IP 177.61.8.195 from VM ctest-vn1-vm1-31854074 failed 2025-08-04 02:15:39,999 - INFO - Adding interface with subnet_id dda0d420-807b-41b5-98d2-b478558af2c8, port_id None to router 0fa59681-b066-4715-8a15-e205e5dee1b3 2025-08-04 02:15:40,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:40,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.61.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:15:40,260 - DEBUG - ping -s 56 -c 3 -W 1 177.61.8.195 2025-08-04 02:15:43,461 - DEBUG - PING 177.61.8.195 (177.61.8.195): 56 data bytes 64 bytes from 177.61.8.195: seq=1 ttl=63 time=3.406 ms 64 bytes from 177.61.8.195: seq=2 ttl=63 time=0.888 ms --- 177.61.8.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.888/2.147/3.406 ms 2025-08-04 02:15:43,461 - WARNING - Ping to IP 177.61.8.195 from VM ctest-vn1-vm1-31854074 failed 2025-08-04 02:15:44,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.61.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:15:44,462 - DEBUG - ping -s 56 -c 3 -W 1 177.61.8.195 2025-08-04 02:15:46,663 - DEBUG - PING 177.61.8.195 (177.61.8.195): 56 data bytes 64 bytes from 177.61.8.195: seq=0 ttl=63 time=1.942 ms 64 bytes from 177.61.8.195: seq=1 ttl=63 time=1.065 ms 64 bytes from 177.61.8.195: seq=2 ttl=63 time=0.782 ms --- 177.61.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.263/1.942 ms 2025-08-04 02:15:46,663 - INFO - Ping to IP 177.61.8.195 from VM ctest-vn1-vm1-31854074 passed 2025-08-04 02:15:46,663 - INFO - Deleting interface with subnet_id c7b69026-ce7c-4cb6-9bc6-f9c47b92c870, port_id None from router 0fa59681-b066-4715-8a15-e205e5dee1b3 2025-08-04 02:15:46,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:46,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.61.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:15:46,803 - DEBUG - ping -s 56 -c 3 -W 1 177.61.8.195 2025-08-04 02:15:50,007 - DEBUG - PING 177.61.8.195 (177.61.8.195): 56 data bytes --- 177.61.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 02:15:50,007 - WARNING - Ping to IP 177.61.8.195 from VM ctest-vn1-vm1-31854074 failed 2025-08-04 02:15:50,007 - INFO - Adding interface with subnet_id c7b69026-ce7c-4cb6-9bc6-f9c47b92c870, port_id None to router 0fa59681-b066-4715-8a15-e205e5dee1b3 2025-08-04 02:15:50,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:50,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.61.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:15:50,279 - DEBUG - ping -s 56 -c 3 -W 1 177.61.8.195 2025-08-04 02:15:52,560 - DEBUG - PING 177.61.8.195 (177.61.8.195): 56 data bytes 64 bytes from 177.61.8.195: seq=0 ttl=63 time=1.267 ms 64 bytes from 177.61.8.195: seq=1 ttl=63 time=1.471 ms 64 bytes from 177.61.8.195: seq=2 ttl=63 time=1.216 ms --- 177.61.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.216/1.318/1.471 ms 2025-08-04 02:15:52,560 - INFO - Ping to IP 177.61.8.195 from VM ctest-vn1-vm1-31854074 passed 2025-08-04 02:15:52,560 - INFO - Deleting interface with subnet_id dda0d420-807b-41b5-98d2-b478558af2c8, port_id None from router 0fa59681-b066-4715-8a15-e205e5dee1b3 2025-08-04 02:15:52,685 - INFO - Deleting interface with subnet_id c7b69026-ce7c-4cb6-9bc6-f9c47b92c870, port_id None from router 0fa59681-b066-4715-8a15-e205e5dee1b3 2025-08-04 02:15:52,886 - INFO - Deleting VM ctest-vn2-vm1-75548013 2025-08-04 02:15:52,968 - INFO - Deleting VM ctest-vn1-vm1-31854074 2025-08-04 02:15:53,047 - INFO - Deleting VN ctest-vn2-17225305 2025-08-04 02:15:53,093 - DEBUG - VN 7751c261-bdb1-40e8-85d7-a54910c5010d still in use: Unable to complete operation on network 7751c261-bdb1-40e8-85d7-a54910c5010d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83f5f641-f151-48a0-a335-3f5ca4d8b28d'] 2025-08-04 02:15:53,093 - WARNING - Deleting VN ctest-vn2-17225305 failed..Will retry 2025-08-04 02:15:55,215 - DEBUG - Response for deleting network () 2025-08-04 02:15:55,215 - INFO - Deleting VN ctest-vn1-01052394 2025-08-04 02:15:55,322 - DEBUG - Response for deleting network () 2025-08-04 02:15:55,582 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:15:55,582 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-04 02:15:55,582 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:15:56,270 - INFO - Deleted project: ctest-TestRouters-33445062, ID : 219d9ced-b1fd-4853-8ba5-40b2480814b6