2025-07-22 23:24:45,308 - INFO - Domain Default found not creating
2025-07-22 23:24:45,464 - INFO - Project ctest-TestRouters-34411200 not found, creating it
2025-07-22 23:24:46,036 - INFO - Created Project:ctest-TestRouters-34411200, ID : 17443690-6671-4820-8233-d1127b3d19f3
2025-07-22 23:24:47,558 - INFO - ================================================================================
2025-07-22 23:24:47,558 - INFO - STARTING TEST : test_basic_router_behavior
2025-07-22 23:24:47,558 - 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-07-22 23:24:47,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-07-22 23:24:47,818 - INFO - Initial checks done. Running the testcase now
2025-07-22 23:24:47,818 - INFO -
2025-07-22 23:24:48,410 - DEBUG - Response for create_network : {'network': {'id': 'e685288e-818b-4713-8571-986b9f545713', 'name': 'ctest-vn1-52067939', 'tenant_id': '17443690667148208233d1127b3d19f3', 'project_id': '17443690667148208233d1127b3d19f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34411200', 'ctest-vn1-52067939'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 23:24:48,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e98cd18e-aad0-4c64-896f-72069a6d78ac', 'name': '', 'tenant_id': '17443690667148208233d1127b3d19f3', 'network_id': 'e685288e-818b-4713-8571-986b9f545713', 'ip_version': 4, 'cidr': '18.106.152.0/26', 'allocation_pools': [{'start': '18.106.152.2', 'end': '18.106.152.62'}], 'gateway_ip': '18.106.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.106.152.2', 'tags': [], 'project_id': '17443690667148208233d1127b3d19f3'}}
2025-07-22 23:24:48,655 - INFO - Created VN ctest-vn1-52067939
2025-07-22 23:24:48,715 - DEBUG - VN ctest-vn1-52067939 UUID is e685288e-818b-4713-8571-986b9f545713
2025-07-22 23:24:49,083 - DEBUG - Response for create_network : {'network': {'id': '0e70cc06-062c-45cb-b957-c3e705161767', 'name': 'ctest-vn2-81570943', 'tenant_id': '17443690667148208233d1127b3d19f3', 'project_id': '17443690667148208233d1127b3d19f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34411200', 'ctest-vn2-81570943'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 23:24:49,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '0634d115-67b9-4560-82a5-2be7302ec8ff', 'name': '', 'tenant_id': '17443690667148208233d1127b3d19f3', 'network_id': '0e70cc06-062c-45cb-b957-c3e705161767', 'ip_version': 4, 'cidr': '197.186.199.64/26', 'allocation_pools': [{'start': '197.186.199.66', 'end': '197.186.199.126'}], 'gateway_ip': '197.186.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.186.199.66', 'tags': [], 'project_id': '17443690667148208233d1127b3d19f3'}}
2025-07-22 23:24:49,313 - INFO - Created VN ctest-vn2-81570943
2025-07-22 23:24:49,367 - DEBUG - VN ctest-vn2-81570943 UUID is 0e70cc06-062c-45cb-b957-c3e705161767
2025-07-22 23:24:49,532 - DEBUG - Services list from nova: [, , ]
2025-07-22 23:24:50,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1)
2025-07-22 23:24:51,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1)
2025-07-22 23:24:51,886 - INFO - Adding interface with subnet_id e98cd18e-aad0-4c64-896f-72069a6d78ac, port_id None to router aa3e85d3-f433-457f-8d4f-8438d2e1c0f7
2025-07-22 23:24:52,189 - INFO - Waiting for VM ctest-vn1-vm1-66765979 to be up..
2025-07-22 23:24:52,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 23:24:57,425 - DEBUG - VM is in ACTIVE state now
2025-07-22 23:24:57,425 - INFO - VM name : ctest-vn1-vm1-66765979
2025-07-22 23:24:57,503 - DEBUG - VM ctest-vn1-vm1-66765979 ID is 8638e877-3c29-432f-a8f1-c0090d5d7e9f
2025-07-22 23:24:57,524 - DEBUG - VM ctest-vn1-vm1-66765979 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1
2025-07-22 23:24:57,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8638e877-3c29-432f-a8f1-c0090d5d7e9f
2025-07-22 23:24:57,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8638e877-3c29-432f-a8f1-c0090d5d7e9f
2025-07-22 23:24:57,975 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fb72aaff-a369-488e-9615-bc691dcdba15
2025-07-22 23:25:01,241 - 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 1015ms')
2025-07-22 23:25:01,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66765979 failed!
2025-07-22 23:25:01,299 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34411200:ctest-vn1-52067939 is 18.106.152.1 and allocation pool is NOT set
2025-07-22 23:25:03,364 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.704/3.008/1.303 ms')
2025-07-22 23:25:03,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66765979 passed
2025-07-22 23:25:03,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 23:25:03,519 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66765979, IP 18.106.152.3, Port 22
2025-07-22 23:25:03,679 - DEBUG - VM ctest-vn1-vm1-66765979 is ready for SSH connections
2025-07-22 23:25:03,679 - INFO - Waiting for VM ctest-vn2-vm1-83869632 to be up..
2025-07-22 23:25:03,752 - DEBUG - VM is in ACTIVE state now
2025-07-22 23:25:03,752 - INFO - VM name : ctest-vn2-vm1-83869632
2025-07-22 23:25:03,847 - DEBUG - VM ctest-vn2-vm1-83869632 ID is 4913502f-7524-47bc-ac16-2dec9fb9146c
2025-07-22 23:25:03,848 - DEBUG - VM ctest-vn2-vm1-83869632 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1
2025-07-22 23:25:03,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4913502f-7524-47bc-ac16-2dec9fb9146c
2025-07-22 23:25:03,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/92959f6c-574d-42d3-a7c6-cc59c32c6274
2025-07-22 23:25:05,191 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.745/3.072/1.326 ms')
2025-07-22 23:25:05,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-83869632 passed
2025-07-22 23:25:05,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 23:25:05,347 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-83869632, IP 197.186.199.67, Port 22
2025-07-22 23:25:05,502 - DEBUG - VM ctest-vn2-vm1-83869632 is ready for SSH connections
2025-07-22 23:25:05,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 23:25:05,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.186.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-22 23:25:05,503 - DEBUG - ping -s 56 -c 3 -W 1 197.186.199.67
2025-07-22 23:25:10,451 - DEBUG - PING 197.186.199.67 (197.186.199.67): 56 data bytes
--- 197.186.199.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-22 23:25:10,451 - WARNING - Ping to IP 197.186.199.67 from VM ctest-vn1-vm1-66765979 failed
2025-07-22 23:25:10,451 - INFO - Adding interface with subnet_id 0634d115-67b9-4560-82a5-2be7302ec8ff, port_id None to router aa3e85d3-f433-457f-8d4f-8438d2e1c0f7
2025-07-22 23:25:10,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 23:25:10,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.186.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-22 23:25:10,729 - DEBUG - ping -s 56 -c 3 -W 1 197.186.199.67
2025-07-22 23:25:13,948 - DEBUG - PING 197.186.199.67 (197.186.199.67): 56 data bytes
64 bytes from 197.186.199.67: seq=1 ttl=63 time=2.694 ms
64 bytes from 197.186.199.67: seq=2 ttl=63 time=1.068 ms
--- 197.186.199.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.068/1.881/2.694 ms
2025-07-22 23:25:13,948 - WARNING - Ping to IP 197.186.199.67 from VM ctest-vn1-vm1-66765979 failed
2025-07-22 23:25:14,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.186.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-22 23:25:14,949 - DEBUG - ping -s 56 -c 3 -W 1 197.186.199.67
2025-07-22 23:25:17,161 - DEBUG - PING 197.186.199.67 (197.186.199.67): 56 data bytes
64 bytes from 197.186.199.67: seq=0 ttl=63 time=1.238 ms
64 bytes from 197.186.199.67: seq=1 ttl=63 time=0.829 ms
64 bytes from 197.186.199.67: seq=2 ttl=63 time=0.803 ms
--- 197.186.199.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.803/0.956/1.238 ms
2025-07-22 23:25:17,161 - INFO - Ping to IP 197.186.199.67 from VM ctest-vn1-vm1-66765979 passed
2025-07-22 23:25:17,162 - INFO - Deleting interface with subnet_id e98cd18e-aad0-4c64-896f-72069a6d78ac, port_id None from router aa3e85d3-f433-457f-8d4f-8438d2e1c0f7
2025-07-22 23:25:17,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 23:25:17,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.186.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-22 23:25:17,275 - DEBUG - ping -s 56 -c 3 -W 1 197.186.199.67
2025-07-22 23:25:20,480 - DEBUG - PING 197.186.199.67 (197.186.199.67): 56 data bytes
--- 197.186.199.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-22 23:25:20,480 - WARNING - Ping to IP 197.186.199.67 from VM ctest-vn1-vm1-66765979 failed
2025-07-22 23:25:20,481 - INFO - Adding interface with subnet_id e98cd18e-aad0-4c64-896f-72069a6d78ac, port_id None to router aa3e85d3-f433-457f-8d4f-8438d2e1c0f7
2025-07-22 23:25:20,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 23:25:20,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.186.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-22 23:25:20,698 - DEBUG - ping -s 56 -c 3 -W 1 197.186.199.67
2025-07-22 23:25:22,906 - DEBUG - PING 197.186.199.67 (197.186.199.67): 56 data bytes
64 bytes from 197.186.199.67: seq=0 ttl=63 time=1.529 ms
64 bytes from 197.186.199.67: seq=1 ttl=63 time=0.752 ms
64 bytes from 197.186.199.67: seq=2 ttl=63 time=0.787 ms
--- 197.186.199.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.752/1.022/1.529 ms
2025-07-22 23:25:22,906 - INFO - Ping to IP 197.186.199.67 from VM ctest-vn1-vm1-66765979 passed
2025-07-22 23:25:22,906 - INFO - Deleting interface with subnet_id 0634d115-67b9-4560-82a5-2be7302ec8ff, port_id None from router aa3e85d3-f433-457f-8d4f-8438d2e1c0f7
2025-07-22 23:25:23,051 - INFO - Deleting interface with subnet_id e98cd18e-aad0-4c64-896f-72069a6d78ac, port_id None from router aa3e85d3-f433-457f-8d4f-8438d2e1c0f7
2025-07-22 23:25:23,262 - INFO - Deleting VM ctest-vn2-vm1-83869632
2025-07-22 23:25:23,340 - INFO - Deleting VM ctest-vn1-vm1-66765979
2025-07-22 23:25:23,417 - INFO - Deleting VN ctest-vn2-81570943
2025-07-22 23:25:23,459 - DEBUG - VN 0e70cc06-062c-45cb-b957-c3e705161767 still in use: Unable to complete operation on network 0e70cc06-062c-45cb-b957-c3e705161767. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-eb9b8465-8ee4-44b2-bec0-851c7fec421a']
2025-07-22 23:25:23,459 - WARNING - Deleting VN ctest-vn2-81570943 failed..Will retry
2025-07-22 23:25:25,574 - DEBUG - Response for deleting network ()
2025-07-22 23:25:25,574 - INFO - Deleting VN ctest-vn1-52067939
2025-07-22 23:25:25,707 - DEBUG - Response for deleting network ()
2025-07-22 23:25:25,969 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 23:25:25,969 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-07-22 23:25:25,969 - INFO - --------------------------------------------------------------------------------
2025-07-22 23:25:26,629 - INFO - Deleted project: ctest-TestRouters-34411200, ID : 17443690-6671-4820-8233-d1127b3d19f3