2025-08-31 06:40:50,305 - INFO - Domain Default found not creating
2025-08-31 06:40:50,444 - INFO - Project ctest-TestRouters-27003492 not found, creating it
2025-08-31 06:40:50,885 - INFO - Created Project:ctest-TestRouters-27003492, ID : 2682a2db-6fae-4596-a872-29441f7aa0bc
2025-08-31 06:40:52,303 - INFO - ================================================================================
2025-08-31 06:40:52,303 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-31 06:40:52,303 - 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-31 06:40:52,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-08-31 06:40:52,563 - INFO - Initial checks done. Running the testcase now
2025-08-31 06:40:52,563 - INFO -
2025-08-31 06:40:53,108 - DEBUG - Response for create_network : {'network': {'id': 'ec388927-1660-4807-b3f7-349738ca074d', 'name': 'ctest-vn1-27690167', 'tenant_id': '2682a2db6fae4596a87229441f7aa0bc', 'project_id': '2682a2db6fae4596a87229441f7aa0bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27003492', 'ctest-vn1-27690167'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 06:40:53,292 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e35ab7c-39ec-4193-be90-0f83e7909db5', 'name': '', 'tenant_id': '2682a2db6fae4596a87229441f7aa0bc', 'network_id': 'ec388927-1660-4807-b3f7-349738ca074d', 'ip_version': 4, 'cidr': '197.203.4.0/26', 'allocation_pools': [{'start': '197.203.4.2', 'end': '197.203.4.62'}], 'gateway_ip': '197.203.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.203.4.2', 'tags': [], 'project_id': '2682a2db6fae4596a87229441f7aa0bc'}}
2025-08-31 06:40:53,307 - INFO - Created VN ctest-vn1-27690167
2025-08-31 06:40:53,357 - DEBUG - VN ctest-vn1-27690167 UUID is ec388927-1660-4807-b3f7-349738ca074d
2025-08-31 06:40:53,732 - DEBUG - Response for create_network : {'network': {'id': '4c6f4329-e70e-4c4f-8bac-b5dd67ac5978', 'name': 'ctest-vn2-86356291', 'tenant_id': '2682a2db6fae4596a87229441f7aa0bc', 'project_id': '2682a2db6fae4596a87229441f7aa0bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27003492', 'ctest-vn2-86356291'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 06:40:53,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f48a06ba-b2cb-45da-8956-5cde0838b77d', 'name': '', 'tenant_id': '2682a2db6fae4596a87229441f7aa0bc', 'network_id': '4c6f4329-e70e-4c4f-8bac-b5dd67ac5978', 'ip_version': 4, 'cidr': '6.91.140.0/26', 'allocation_pools': [{'start': '6.91.140.2', 'end': '6.91.140.62'}], 'gateway_ip': '6.91.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.91.140.2', 'tags': [], 'project_id': '2682a2db6fae4596a87229441f7aa0bc'}}
2025-08-31 06:40:53,970 - INFO - Created VN ctest-vn2-86356291
2025-08-31 06:40:54,025 - DEBUG - VN ctest-vn2-86356291 UUID is 4c6f4329-e70e-4c4f-8bac-b5dd67ac5978
2025-08-31 06:40:54,259 - DEBUG - Services list from nova: [, , ]
2025-08-31 06:40:55,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1)
2025-08-31 06:40:56,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1)
2025-08-31 06:40:56,599 - INFO - Adding interface with subnet_id 2e35ab7c-39ec-4193-be90-0f83e7909db5, port_id None to router ab1c16bc-5f7a-4213-a29f-799e8280c10e
2025-08-31 06:40:56,916 - INFO - Waiting for VM ctest-vn1-vm1-83879932 to be up..
2025-08-31 06:40:57,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-31 06:41:02,098 - DEBUG - VM is in ACTIVE state now
2025-08-31 06:41:02,098 - INFO - VM name : ctest-vn1-vm1-83879932
2025-08-31 06:41:02,168 - DEBUG - VM ctest-vn1-vm1-83879932 ID is 78432422-d441-4043-8234-cc621f87dabf
2025-08-31 06:41:02,186 - DEBUG - VM ctest-vn1-vm1-83879932 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1
2025-08-31 06:41:02,267 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/78432422-d441-4043-8234-cc621f87dabf
2025-08-31 06:41:02,569 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/78432422-d441-4043-8234-cc621f87dabf
2025-08-31 06:41:02,605 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b7251a3b-595b-4974-bc65-3a7e2f198a8a
2025-08-31 06:41:05,868 - 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-08-31 06:41:05,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83879932 failed!
2025-08-31 06:41:05,921 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27003492:ctest-vn1-27690167 is 197.203.4.1 and allocation pool is NOT set
2025-08-31 06:41:07,977 - 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.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.511 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.511/5.371/10.232/4.860 ms')
2025-08-31 06:41:07,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83879932 passed
2025-08-31 06:41:08,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:08,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83879932, IP 197.203.4.3, Port 22
2025-08-31 06:41:08,192 - 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-31 06:41:08,263 - DEBUG - VM ctest-vn1-vm1-83879932 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-31 06:41:13,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:13,264 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83879932, IP 197.203.4.3, Port 22
2025-08-31 06:41:13,420 - DEBUG - VM ctest-vn1-vm1-83879932 is ready for SSH connections
2025-08-31 06:41:13,421 - INFO - Waiting for VM ctest-vn2-vm1-74224765 to be up..
2025-08-31 06:41:13,501 - DEBUG - VM is in ACTIVE state now
2025-08-31 06:41:13,501 - INFO - VM name : ctest-vn2-vm1-74224765
2025-08-31 06:41:13,572 - DEBUG - VM ctest-vn2-vm1-74224765 ID is ba133cca-1dd8-4600-b9e9-278b945887ee
2025-08-31 06:41:13,572 - DEBUG - VM ctest-vn2-vm1-74224765 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1
2025-08-31 06:41:13,643 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba133cca-1dd8-4600-b9e9-278b945887ee
2025-08-31 06:41:13,652 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/84076a68-7eaf-4571-a097-c394fdc351e9
2025-08-31 06:41:14,888 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.692/2.868/1.175 ms')
2025-08-31 06:41:14,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74224765 passed
2025-08-31 06:41:15,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:15,042 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74224765, IP 6.91.140.3, Port 22
2025-08-31 06:41:15,215 - DEBUG - VM ctest-vn2-vm1-74224765 is ready for SSH connections
2025-08-31 06:41:15,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:15,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.91.140.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-31 06:41:15,215 - DEBUG - ping -s 56 -c 3 -W 1 6.91.140.3
2025-08-31 06:41:20,180 - DEBUG - PING 6.91.140.3 (6.91.140.3): 56 data bytes
--- 6.91.140.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-31 06:41:20,181 - WARNING - Ping to IP 6.91.140.3 from VM ctest-vn1-vm1-83879932 failed
2025-08-31 06:41:20,181 - INFO - Adding interface with subnet_id f48a06ba-b2cb-45da-8956-5cde0838b77d, port_id None to router ab1c16bc-5f7a-4213-a29f-799e8280c10e
2025-08-31 06:41:20,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:20,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.91.140.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-31 06:41:20,420 - DEBUG - ping -s 56 -c 3 -W 1 6.91.140.3
2025-08-31 06:41:23,624 - DEBUG - PING 6.91.140.3 (6.91.140.3): 56 data bytes
64 bytes from 6.91.140.3: seq=1 ttl=63 time=3.439 ms
64 bytes from 6.91.140.3: seq=2 ttl=63 time=1.031 ms
--- 6.91.140.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.031/2.235/3.439 ms
2025-08-31 06:41:23,624 - WARNING - Ping to IP 6.91.140.3 from VM ctest-vn1-vm1-83879932 failed
2025-08-31 06:41:24,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.91.140.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-31 06:41:24,625 - DEBUG - ping -s 56 -c 3 -W 1 6.91.140.3
2025-08-31 06:41:26,857 - DEBUG - PING 6.91.140.3 (6.91.140.3): 56 data bytes
64 bytes from 6.91.140.3: seq=0 ttl=63 time=1.293 ms
64 bytes from 6.91.140.3: seq=1 ttl=63 time=1.033 ms
64 bytes from 6.91.140.3: seq=2 ttl=63 time=0.910 ms
--- 6.91.140.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.910/1.078/1.293 ms
2025-08-31 06:41:26,858 - INFO - Ping to IP 6.91.140.3 from VM ctest-vn1-vm1-83879932 passed
2025-08-31 06:41:26,858 - INFO - Deleting interface with subnet_id 2e35ab7c-39ec-4193-be90-0f83e7909db5, port_id None from router ab1c16bc-5f7a-4213-a29f-799e8280c10e
2025-08-31 06:41:26,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:26,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.91.140.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-31 06:41:26,991 - DEBUG - ping -s 56 -c 3 -W 1 6.91.140.3
2025-08-31 06:41:30,198 - DEBUG - PING 6.91.140.3 (6.91.140.3): 56 data bytes
--- 6.91.140.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-31 06:41:30,198 - WARNING - Ping to IP 6.91.140.3 from VM ctest-vn1-vm1-83879932 failed
2025-08-31 06:41:30,199 - INFO - Adding interface with subnet_id 2e35ab7c-39ec-4193-be90-0f83e7909db5, port_id None to router ab1c16bc-5f7a-4213-a29f-799e8280c10e
2025-08-31 06:41:30,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 06:41:30,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.91.140.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-31 06:41:30,407 - DEBUG - ping -s 56 -c 3 -W 1 6.91.140.3
2025-08-31 06:41:32,608 - DEBUG - PING 6.91.140.3 (6.91.140.3): 56 data bytes
64 bytes from 6.91.140.3: seq=0 ttl=63 time=1.294 ms
64 bytes from 6.91.140.3: seq=1 ttl=63 time=0.931 ms
64 bytes from 6.91.140.3: seq=2 ttl=63 time=0.905 ms
--- 6.91.140.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.905/1.043/1.294 ms
2025-08-31 06:41:32,608 - INFO - Ping to IP 6.91.140.3 from VM ctest-vn1-vm1-83879932 passed
2025-08-31 06:41:32,608 - INFO - Deleting interface with subnet_id f48a06ba-b2cb-45da-8956-5cde0838b77d, port_id None from router ab1c16bc-5f7a-4213-a29f-799e8280c10e
2025-08-31 06:41:32,744 - INFO - Deleting interface with subnet_id 2e35ab7c-39ec-4193-be90-0f83e7909db5, port_id None from router ab1c16bc-5f7a-4213-a29f-799e8280c10e
2025-08-31 06:41:32,910 - INFO - Deleting VM ctest-vn2-vm1-74224765
2025-08-31 06:41:32,999 - INFO - Deleting VM ctest-vn1-vm1-83879932
2025-08-31 06:41:33,076 - INFO - Deleting VN ctest-vn2-86356291
2025-08-31 06:41:33,110 - DEBUG - VN 4c6f4329-e70e-4c4f-8bac-b5dd67ac5978 still in use: Unable to complete operation on network 4c6f4329-e70e-4c4f-8bac-b5dd67ac5978. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-42aa64c3-d74e-4121-8831-0644e91228d8']
2025-08-31 06:41:33,110 - WARNING - Deleting VN ctest-vn2-86356291 failed..Will retry
2025-08-31 06:41:35,220 - DEBUG - Response for deleting network ()
2025-08-31 06:41:35,220 - INFO - Deleting VN ctest-vn1-27690167
2025-08-31 06:41:35,318 - DEBUG - Response for deleting network ()
2025-08-31 06:41:35,571 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 06:41:35,571 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-08-31 06:41:35,571 - INFO - --------------------------------------------------------------------------------
2025-08-31 06:41:36,233 - INFO - Deleted project: ctest-TestRouters-27003492, ID : 2682a2db-6fae-4596-a872-29441f7aa0bc