2025-09-11 01:59:35,966 - INFO - Domain Default found not creating 2025-09-11 01:59:36,123 - INFO - Project ctest-TestRouters-86261661 not found, creating it 2025-09-11 01:59:36,606 - INFO - Created Project:ctest-TestRouters-86261661, ID : bc18c5ee-9dcf-4748-94fb-1b0654a3a95c 2025-09-11 01:59:38,211 - INFO - ================================================================================ 2025-09-11 01:59:38,212 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 01:59:38,212 - 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-09-11 01:59:38,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-09-11 01:59:38,465 - INFO - Initial checks done. Running the testcase now 2025-09-11 01:59:38,465 - INFO - 2025-09-11 01:59:38,994 - DEBUG - Response for create_network : {'network': {'id': 'c4fae54f-cb42-4648-a057-54c301bb8814', 'name': 'ctest-vn1-74138057', 'tenant_id': 'bc18c5ee9dcf474894fb1b0654a3a95c', 'project_id': 'bc18c5ee9dcf474894fb1b0654a3a95c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86261661', 'ctest-vn1-74138057'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 01:59:39,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fa5c40f-bc19-4b88-94b4-ffd374359943', 'name': '', 'tenant_id': 'bc18c5ee9dcf474894fb1b0654a3a95c', 'network_id': 'c4fae54f-cb42-4648-a057-54c301bb8814', 'ip_version': 4, 'cidr': '36.139.93.192/26', 'allocation_pools': [{'start': '36.139.93.194', 'end': '36.139.93.254'}], 'gateway_ip': '36.139.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.139.93.194', 'tags': [], 'project_id': 'bc18c5ee9dcf474894fb1b0654a3a95c'}} 2025-09-11 01:59:39,169 - INFO - Created VN ctest-vn1-74138057 2025-09-11 01:59:39,220 - DEBUG - VN ctest-vn1-74138057 UUID is c4fae54f-cb42-4648-a057-54c301bb8814 2025-09-11 01:59:39,536 - DEBUG - Response for create_network : {'network': {'id': 'ea7350f7-58ae-4f96-ba3d-43fe59f9f8f8', 'name': 'ctest-vn2-31798932', 'tenant_id': 'bc18c5ee9dcf474894fb1b0654a3a95c', 'project_id': 'bc18c5ee9dcf474894fb1b0654a3a95c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86261661', 'ctest-vn2-31798932'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 01:59:39,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a249a53d-0b46-4582-9f56-85f8fc1974d2', 'name': '', 'tenant_id': 'bc18c5ee9dcf474894fb1b0654a3a95c', 'network_id': 'ea7350f7-58ae-4f96-ba3d-43fe59f9f8f8', 'ip_version': 4, 'cidr': '1.17.29.0/26', 'allocation_pools': [{'start': '1.17.29.2', 'end': '1.17.29.62'}], 'gateway_ip': '1.17.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.17.29.2', 'tags': [], 'project_id': 'bc18c5ee9dcf474894fb1b0654a3a95c'}} 2025-09-11 01:59:39,751 - INFO - Created VN ctest-vn2-31798932 2025-09-11 01:59:39,804 - DEBUG - VN ctest-vn2-31798932 UUID is ea7350f7-58ae-4f96-ba3d-43fe59f9f8f8 2025-09-11 01:59:39,965 - DEBUG - Services list from nova: [, , ] 2025-09-11 01:59:41,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 01:59:42,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 01:59:42,322 - INFO - Adding interface with subnet_id 6fa5c40f-bc19-4b88-94b4-ffd374359943, port_id None to router 452bd78c-32ef-41a0-a455-9de94fcaded1 2025-09-11 01:59:42,610 - INFO - Waiting for VM ctest-vn1-vm1-01577039 to be up.. 2025-09-11 01:59:42,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 01:59:47,807 - DEBUG - VM is in ACTIVE state now 2025-09-11 01:59:47,807 - INFO - VM name : ctest-vn1-vm1-01577039 2025-09-11 01:59:47,889 - DEBUG - VM ctest-vn1-vm1-01577039 ID is b364f19d-46aa-4d18-924b-e82e7b2d8ea5 2025-09-11 01:59:47,908 - DEBUG - VM ctest-vn1-vm1-01577039 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 01:59:47,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b364f19d-46aa-4d18-924b-e82e7b2d8ea5 2025-09-11 01:59:48,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b364f19d-46aa-4d18-924b-e82e7b2d8ea5 2025-09-11 01:59:48,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d3aff90a-c7f4-4cfe-9ae0-3ee8e1979cfd 2025-09-11 01:59:51,564 - 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-09-11 01:59:51,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01577039 failed! 2025-09-11 01:59:51,615 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-86261661:ctest-vn1-74138057 is 36.139.93.193 and allocation pool is NOT set 2025-09-11 01:59:53,673 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.787/3.294/4.801/1.507 ms') 2025-09-11 01:59:53,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01577039 passed 2025-09-11 01:59:53,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:53,820 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01577039, IP 36.139.93.195, Port 22 2025-09-11 01:59:53,979 - DEBUG - VM ctest-vn1-vm1-01577039 is ready for SSH connections 2025-09-11 01:59:53,979 - INFO - Waiting for VM ctest-vn2-vm1-01186904 to be up.. 2025-09-11 01:59:54,064 - DEBUG - VM is in ACTIVE state now 2025-09-11 01:59:54,064 - INFO - VM name : ctest-vn2-vm1-01186904 2025-09-11 01:59:54,133 - DEBUG - VM ctest-vn2-vm1-01186904 ID is 213f20cf-20ad-49e1-973a-766078f489c5 2025-09-11 01:59:54,133 - DEBUG - VM ctest-vn2-vm1-01186904 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 01:59:54,206 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/213f20cf-20ad-49e1-973a-766078f489c5 2025-09-11 01:59:54,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3de96a83-1c5e-4010-ac58-d011f87450ef 2025-09-11 01:59:55,462 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/2.080/3.671/1.590 ms') 2025-09-11 01:59:55,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-01186904 passed 2025-09-11 01:59:55,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:55,612 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01186904, IP 1.17.29.3, Port 22 2025-09-11 01:59:55,775 - DEBUG - VM ctest-vn2-vm1-01186904 is ready for SSH connections 2025-09-11 01:59:55,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:55,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.17.29.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 01:59:55,775 - DEBUG - ping -s 56 -c 3 -W 1 1.17.29.3 2025-09-11 02:00:00,779 - DEBUG - PING 1.17.29.3 (1.17.29.3): 56 data bytes --- 1.17.29.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 02:00:00,779 - WARNING - Ping to IP 1.17.29.3 from VM ctest-vn1-vm1-01577039 failed 2025-09-11 02:00:00,780 - INFO - Adding interface with subnet_id a249a53d-0b46-4582-9f56-85f8fc1974d2, port_id None to router 452bd78c-32ef-41a0-a455-9de94fcaded1 2025-09-11 02:00:01,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:00:01,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.17.29.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:00:01,039 - DEBUG - ping -s 56 -c 3 -W 1 1.17.29.3 2025-09-11 02:00:04,248 - DEBUG - PING 1.17.29.3 (1.17.29.3): 56 data bytes 64 bytes from 1.17.29.3: seq=1 ttl=63 time=3.699 ms 64 bytes from 1.17.29.3: seq=2 ttl=63 time=0.955 ms --- 1.17.29.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.955/2.327/3.699 ms 2025-09-11 02:00:04,249 - WARNING - Ping to IP 1.17.29.3 from VM ctest-vn1-vm1-01577039 failed 2025-09-11 02:00:05,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.17.29.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:00:05,250 - DEBUG - ping -s 56 -c 3 -W 1 1.17.29.3 2025-09-11 02:00:07,467 - DEBUG - PING 1.17.29.3 (1.17.29.3): 56 data bytes 64 bytes from 1.17.29.3: seq=0 ttl=63 time=2.426 ms 64 bytes from 1.17.29.3: seq=1 ttl=63 time=0.828 ms 64 bytes from 1.17.29.3: seq=2 ttl=63 time=1.195 ms --- 1.17.29.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.483/2.426 ms 2025-09-11 02:00:07,467 - INFO - Ping to IP 1.17.29.3 from VM ctest-vn1-vm1-01577039 passed 2025-09-11 02:00:07,467 - INFO - Deleting interface with subnet_id 6fa5c40f-bc19-4b88-94b4-ffd374359943, port_id None from router 452bd78c-32ef-41a0-a455-9de94fcaded1 2025-09-11 02:00:07,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:00:07,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.17.29.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:00:07,581 - DEBUG - ping -s 56 -c 3 -W 1 1.17.29.3 2025-09-11 02:00:10,786 - DEBUG - PING 1.17.29.3 (1.17.29.3): 56 data bytes --- 1.17.29.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 02:00:10,786 - WARNING - Ping to IP 1.17.29.3 from VM ctest-vn1-vm1-01577039 failed 2025-09-11 02:00:10,786 - INFO - Adding interface with subnet_id 6fa5c40f-bc19-4b88-94b4-ffd374359943, port_id None to router 452bd78c-32ef-41a0-a455-9de94fcaded1 2025-09-11 02:00:10,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:00:10,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.17.29.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:00:10,977 - DEBUG - ping -s 56 -c 3 -W 1 1.17.29.3 2025-09-11 02:00:13,182 - DEBUG - PING 1.17.29.3 (1.17.29.3): 56 data bytes 64 bytes from 1.17.29.3: seq=0 ttl=63 time=1.452 ms 64 bytes from 1.17.29.3: seq=1 ttl=63 time=1.304 ms 64 bytes from 1.17.29.3: seq=2 ttl=63 time=1.003 ms --- 1.17.29.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.003/1.253/1.452 ms 2025-09-11 02:00:13,182 - INFO - Ping to IP 1.17.29.3 from VM ctest-vn1-vm1-01577039 passed 2025-09-11 02:00:13,182 - INFO - Deleting interface with subnet_id a249a53d-0b46-4582-9f56-85f8fc1974d2, port_id None from router 452bd78c-32ef-41a0-a455-9de94fcaded1 2025-09-11 02:00:13,289 - INFO - Deleting interface with subnet_id 6fa5c40f-bc19-4b88-94b4-ffd374359943, port_id None from router 452bd78c-32ef-41a0-a455-9de94fcaded1 2025-09-11 02:00:13,448 - INFO - Deleting VM ctest-vn2-vm1-01186904 2025-09-11 02:00:13,532 - INFO - Deleting VM ctest-vn1-vm1-01577039 2025-09-11 02:00:13,596 - INFO - Deleting VN ctest-vn2-31798932 2025-09-11 02:00:13,633 - DEBUG - VN ea7350f7-58ae-4f96-ba3d-43fe59f9f8f8 still in use: Unable to complete operation on network ea7350f7-58ae-4f96-ba3d-43fe59f9f8f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-043146e9-3dfa-4707-a65c-80fff4b34403'] 2025-09-11 02:00:13,633 - WARNING - Deleting VN ctest-vn2-31798932 failed..Will retry 2025-09-11 02:00:15,734 - DEBUG - Response for deleting network () 2025-09-11 02:00:15,734 - INFO - Deleting VN ctest-vn1-74138057 2025-09-11 02:00:15,824 - DEBUG - Response for deleting network () 2025-09-11 02:00:16,089 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:00:16,089 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-11 02:00:16,089 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:00:16,761 - INFO - Deleted project: ctest-TestRouters-86261661, ID : bc18c5ee-9dcf-4748-94fb-1b0654a3a95c