2025-08-26 00:07:23,570 - INFO - Domain Default found not creating 2025-08-26 00:07:23,729 - INFO - Project ctest-TestRouters-85103261 not found, creating it 2025-08-26 00:07:24,397 - INFO - Created Project:ctest-TestRouters-85103261, ID : 34a70d17-0487-4efa-b476-43376cf1cce6 2025-08-26 00:07:26,628 - INFO - ================================================================================ 2025-08-26 00:07:26,628 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-26 00:07:26,628 - 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-26 00:07:28,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-08-26 00:07:28,007 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:07:28,007 - INFO - 2025-08-26 00:07:28,924 - DEBUG - Response for create_network : {'network': {'id': 'd8914734-ac03-4222-9cfe-e27d5dc9a84a', 'name': 'ctest-vn1-87523538', 'tenant_id': '34a70d1704874efab47643376cf1cce6', 'project_id': '34a70d1704874efab47643376cf1cce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-85103261', 'ctest-vn1-87523538'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:07:29,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba30279d-7867-48a4-8ced-c35659c2400d', 'name': '', 'tenant_id': '34a70d1704874efab47643376cf1cce6', 'network_id': 'd8914734-ac03-4222-9cfe-e27d5dc9a84a', 'ip_version': 4, 'cidr': '150.235.222.192/26', 'allocation_pools': [{'start': '150.235.222.194', 'end': '150.235.222.254'}], 'gateway_ip': '150.235.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.235.222.194', 'tags': [], 'project_id': '34a70d1704874efab47643376cf1cce6'}} 2025-08-26 00:07:29,310 - INFO - Created VN ctest-vn1-87523538 2025-08-26 00:07:29,334 - DEBUG - VN ctest-vn1-87523538 UUID is d8914734-ac03-4222-9cfe-e27d5dc9a84a 2025-08-26 00:07:29,850 - DEBUG - Response for create_network : {'network': {'id': 'f1b34547-ed7d-44a5-a2e5-bc249f4059f5', 'name': 'ctest-vn2-14964161', 'tenant_id': '34a70d1704874efab47643376cf1cce6', 'project_id': '34a70d1704874efab47643376cf1cce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-85103261', 'ctest-vn2-14964161'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:07:30,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '93155108-4344-4fdb-b11d-94313d5d0981', 'name': '', 'tenant_id': '34a70d1704874efab47643376cf1cce6', 'network_id': 'f1b34547-ed7d-44a5-a2e5-bc249f4059f5', 'ip_version': 4, 'cidr': '112.45.72.192/26', 'allocation_pools': [{'start': '112.45.72.194', 'end': '112.45.72.254'}], 'gateway_ip': '112.45.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.45.72.194', 'tags': [], 'project_id': '34a70d1704874efab47643376cf1cce6'}} 2025-08-26 00:07:30,189 - INFO - Created VN ctest-vn2-14964161 2025-08-26 00:07:30,205 - DEBUG - VN ctest-vn2-14964161 UUID is f1b34547-ed7d-44a5-a2e5-bc249f4059f5 2025-08-26 00:07:30,420 - DEBUG - Services list from nova: [, , , ] 2025-08-26 00:07:31,984 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-1) 2025-08-26 00:07:33,835 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-2) 2025-08-26 00:07:33,981 - INFO - Adding interface with subnet_id ba30279d-7867-48a4-8ced-c35659c2400d, port_id None to router 06026b66-6439-4f00-90ce-640eb250d915 2025-08-26 00:07:34,403 - INFO - Waiting for VM ctest-vn1-vm1-88928302 to be up.. 2025-08-26 00:07:34,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:07:39,682 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:07:39,682 - INFO - VM name : ctest-vn1-vm1-88928302 2025-08-26 00:07:39,779 - DEBUG - VM ctest-vn1-vm1-88928302 ID is a7229c8c-cd28-4c07-9df6-4db1ba0ce561 2025-08-26 00:07:39,817 - DEBUG - VM ctest-vn1-vm1-88928302 launched on Node an-jenkins-deploy-platform-ansible-os-3931-1 2025-08-26 00:07:39,927 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7229c8c-cd28-4c07-9df6-4db1ba0ce561 2025-08-26 00:07:40,258 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7229c8c-cd28-4c07-9df6-4db1ba0ce561 2025-08-26 00:07:40,296 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/75d4a77b-3323-445b-a0fb-221a747ac073 2025-08-26 00:07:43,514 - 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 1013ms') 2025-08-26 00:07:43,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88928302 failed! 2025-08-26 00:07:43,536 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-85103261:ctest-vn1-87523538 is 150.235.222.193 and allocation pool is NOT set 2025-08-26 00:07:45,605 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.08 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 = 3.076/3.717/4.359/0.641 ms') 2025-08-26 00:07:45,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88928302 passed 2025-08-26 00:07:45,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:45,687 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88928302, IP 150.235.222.195, Port 22 2025-08-26 00:07:45,758 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-26 00:07:45,847 - DEBUG - VM ctest-vn1-vm1-88928302 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-26 00:07:50,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:50,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88928302, IP 150.235.222.195, Port 22 2025-08-26 00:07:51,031 - DEBUG - VM ctest-vn1-vm1-88928302 is ready for SSH connections 2025-08-26 00:07:51,031 - INFO - Waiting for VM ctest-vn2-vm1-32804667 to be up.. 2025-08-26 00:07:51,127 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:07:51,127 - INFO - VM name : ctest-vn2-vm1-32804667 2025-08-26 00:07:51,216 - DEBUG - VM ctest-vn2-vm1-32804667 ID is 74bab424-0fef-41c6-9b91-636913fca519 2025-08-26 00:07:51,216 - DEBUG - VM ctest-vn2-vm1-32804667 launched on Node an-jenkins-deploy-platform-ansible-os-3931-2 2025-08-26 00:07:51,312 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/74bab424-0fef-41c6-9b91-636913fca519 2025-08-26 00:07:51,326 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4a18f43d-a5cd-482a-b0d5-5dbe5313ac9e 2025-08-26 00:07:52,534 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.959 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.959/5.904/10.850/4.945 ms') 2025-08-26 00:07:52,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-32804667 passed 2025-08-26 00:07:52,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:52,632 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32804667, IP 112.45.72.195, Port 22 2025-08-26 00:07:52,823 - DEBUG - VM ctest-vn2-vm1-32804667 is ready for SSH connections 2025-08-26 00:07:52,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:52,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.45.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-26 00:07:52,824 - DEBUG - ping -s 56 -c 3 -W 1 112.45.72.195 2025-08-26 00:07:56,850 - DEBUG - PING 112.45.72.195 (112.45.72.195): 56 data bytes --- 112.45.72.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 00:07:56,850 - WARNING - Ping to IP 112.45.72.195 from VM ctest-vn1-vm1-88928302 failed 2025-08-26 00:07:56,850 - INFO - Adding interface with subnet_id 93155108-4344-4fdb-b11d-94313d5d0981, port_id None to router 06026b66-6439-4f00-90ce-640eb250d915 2025-08-26 00:07:57,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:57,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.45.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-26 00:07:57,469 - DEBUG - ping -s 56 -c 3 -W 1 112.45.72.195 2025-08-26 00:07:59,683 - DEBUG - PING 112.45.72.195 (112.45.72.195): 56 data bytes 64 bytes from 112.45.72.195: seq=0 ttl=63 time=8.516 ms 64 bytes from 112.45.72.195: seq=1 ttl=63 time=1.869 ms 64 bytes from 112.45.72.195: seq=2 ttl=63 time=1.619 ms --- 112.45.72.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.619/4.001/8.516 ms 2025-08-26 00:07:59,690 - INFO - Ping to IP 112.45.72.195 from VM ctest-vn1-vm1-88928302 passed 2025-08-26 00:07:59,690 - INFO - Deleting interface with subnet_id ba30279d-7867-48a4-8ced-c35659c2400d, port_id None from router 06026b66-6439-4f00-90ce-640eb250d915 2025-08-26 00:07:59,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:59,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.45.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-26 00:07:59,963 - DEBUG - ping -s 56 -c 3 -W 1 112.45.72.195 2025-08-26 00:08:03,170 - DEBUG - PING 112.45.72.195 (112.45.72.195): 56 data bytes --- 112.45.72.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 00:08:03,171 - WARNING - Ping to IP 112.45.72.195 from VM ctest-vn1-vm1-88928302 failed 2025-08-26 00:08:03,171 - INFO - Adding interface with subnet_id ba30279d-7867-48a4-8ced-c35659c2400d, port_id None to router 06026b66-6439-4f00-90ce-640eb250d915 2025-08-26 00:08:03,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:08:03,595 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.45.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-26 00:08:03,595 - DEBUG - ping -s 56 -c 3 -W 1 112.45.72.195 2025-08-26 00:08:05,812 - DEBUG - PING 112.45.72.195 (112.45.72.195): 56 data bytes 64 bytes from 112.45.72.195: seq=0 ttl=63 time=5.386 ms 64 bytes from 112.45.72.195: seq=1 ttl=63 time=1.923 ms 64 bytes from 112.45.72.195: seq=2 ttl=63 time=1.727 ms --- 112.45.72.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.727/3.012/5.386 ms 2025-08-26 00:08:05,813 - INFO - Ping to IP 112.45.72.195 from VM ctest-vn1-vm1-88928302 passed 2025-08-26 00:08:05,814 - INFO - Deleting interface with subnet_id 93155108-4344-4fdb-b11d-94313d5d0981, port_id None from router 06026b66-6439-4f00-90ce-640eb250d915 2025-08-26 00:08:06,137 - INFO - Deleting interface with subnet_id ba30279d-7867-48a4-8ced-c35659c2400d, port_id None from router 06026b66-6439-4f00-90ce-640eb250d915 2025-08-26 00:08:06,550 - INFO - Deleting VM ctest-vn2-vm1-32804667 2025-08-26 00:08:06,691 - INFO - Deleting VM ctest-vn1-vm1-88928302 2025-08-26 00:08:06,776 - INFO - Deleting VN ctest-vn2-14964161 2025-08-26 00:08:06,822 - DEBUG - VN f1b34547-ed7d-44a5-a2e5-bc249f4059f5 still in use: Unable to complete operation on network f1b34547-ed7d-44a5-a2e5-bc249f4059f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6443be4-ab39-4a3b-b324-6d6c37853805'] 2025-08-26 00:08:06,822 - WARNING - Deleting VN ctest-vn2-14964161 failed..Will retry 2025-08-26 00:08:09,058 - DEBUG - Response for deleting network () 2025-08-26 00:08:09,058 - INFO - Deleting VN ctest-vn1-87523538 2025-08-26 00:08:09,343 - DEBUG - Response for deleting network () 2025-08-26 00:08:10,706 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:08:10,707 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-08-26 00:08:10,707 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:08:11,608 - INFO - Deleted project: ctest-TestRouters-85103261, ID : 34a70d17-0487-4efa-b476-43376cf1cce6