2025-09-11 08:10:53,172 - INFO - Domain Default found not creating
2025-09-11 08:10:53,334 - INFO - Project ctest-TestRouters-10841704 not found, creating it
2025-09-11 08:10:53,839 - INFO - Created Project:ctest-TestRouters-10841704, ID : 53ba5b95-225f-44d7-bc39-8d2f3ca4847d
2025-09-11 08:10:55,543 - INFO - ================================================================================
2025-09-11 08:10:55,543 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-11 08:10:55,544 - 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 08:10:55,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-09-11 08:10:55,804 - INFO - Initial checks done. Running the testcase now
2025-09-11 08:10:55,804 - INFO -
2025-09-11 08:10:56,421 - DEBUG - Response for create_network : {'network': {'id': '193caf2a-7f09-4e38-aeba-d20b01091743', 'name': 'ctest-vn1-49540580', 'tenant_id': '53ba5b95225f44d7bc398d2f3ca4847d', 'project_id': '53ba5b95225f44d7bc398d2f3ca4847d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10841704', 'ctest-vn1-49540580'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 08:10:56,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d2b2553-d84d-4c44-8948-b5f97b78ab3e', 'name': '', 'tenant_id': '53ba5b95225f44d7bc398d2f3ca4847d', 'network_id': '193caf2a-7f09-4e38-aeba-d20b01091743', 'ip_version': 4, 'cidr': '82.200.97.192/26', 'allocation_pools': [{'start': '82.200.97.194', 'end': '82.200.97.254'}], 'gateway_ip': '82.200.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.200.97.194', 'tags': [], 'project_id': '53ba5b95225f44d7bc398d2f3ca4847d'}}
2025-09-11 08:10:56,672 - INFO - Created VN ctest-vn1-49540580
2025-09-11 08:10:56,726 - DEBUG - VN ctest-vn1-49540580 UUID is 193caf2a-7f09-4e38-aeba-d20b01091743
2025-09-11 08:10:57,037 - DEBUG - Response for create_network : {'network': {'id': 'dd215b51-9931-44d7-9613-643a6c8937aa', 'name': 'ctest-vn2-76466270', 'tenant_id': '53ba5b95225f44d7bc398d2f3ca4847d', 'project_id': '53ba5b95225f44d7bc398d2f3ca4847d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10841704', 'ctest-vn2-76466270'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 08:10:57,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eea64ef4-72b3-4e92-914a-dda2f1880864', 'name': '', 'tenant_id': '53ba5b95225f44d7bc398d2f3ca4847d', 'network_id': 'dd215b51-9931-44d7-9613-643a6c8937aa', 'ip_version': 4, 'cidr': '147.119.192.64/26', 'allocation_pools': [{'start': '147.119.192.66', 'end': '147.119.192.126'}], 'gateway_ip': '147.119.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.119.192.66', 'tags': [], 'project_id': '53ba5b95225f44d7bc398d2f3ca4847d'}}
2025-09-11 08:10:57,266 - INFO - Created VN ctest-vn2-76466270
2025-09-11 08:10:57,318 - DEBUG - VN ctest-vn2-76466270 UUID is dd215b51-9931-44d7-9613-643a6c8937aa
2025-09-11 08:10:57,496 - DEBUG - Services list from nova: [, , ]
2025-09-11 08:10:58,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4082-1)
2025-09-11 08:11:00,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4082-1)
2025-09-11 08:11:00,136 - INFO - Adding interface with subnet_id 8d2b2553-d84d-4c44-8948-b5f97b78ab3e, port_id None to router e1bcac79-6296-47af-998b-dabb5f6e1c31
2025-09-11 08:11:00,462 - INFO - Waiting for VM ctest-vn1-vm1-76114274 to be up..
2025-09-11 08:11:00,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 08:11:05,681 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:11:05,681 - INFO - VM name : ctest-vn1-vm1-76114274
2025-09-11 08:11:05,769 - DEBUG - VM ctest-vn1-vm1-76114274 ID is 9e70b662-a778-42c9-9513-fe660fa37849
2025-09-11 08:11:05,799 - DEBUG - VM ctest-vn1-vm1-76114274 launched on Node cn-jenkins-deploy-platform-ansible-os-4082-1
2025-09-11 08:11:05,899 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9e70b662-a778-42c9-9513-fe660fa37849
2025-09-11 08:11:06,245 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9e70b662-a778-42c9-9513-fe660fa37849
2025-09-11 08:11:06,278 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b95568bc-0758-433b-9743-084b72387bc7
2025-09-11 08:11:09,546 - 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 1018ms')
2025-09-11 08:11:09,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76114274 failed!
2025-09-11 08:11:09,606 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10841704:ctest-vn1-49540580 is 82.200.97.193 and allocation pool is NOT set
2025-09-11 08:11:11,667 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.758/3.338/4.919/1.580 ms')
2025-09-11 08:11:11,667 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76114274 passed
2025-09-11 08:11:11,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:11,830 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76114274, IP 82.200.97.195, Port 22
2025-09-11 08:11:11,896 - 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-09-11 08:11:11,986 - DEBUG - VM ctest-vn1-vm1-76114274 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-11 08:11:16,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:16,987 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76114274, IP 82.200.97.195, Port 22
2025-09-11 08:11:17,142 - DEBUG - VM ctest-vn1-vm1-76114274 is ready for SSH connections
2025-09-11 08:11:17,142 - INFO - Waiting for VM ctest-vn2-vm1-08708769 to be up..
2025-09-11 08:11:17,216 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:11:17,216 - INFO - VM name : ctest-vn2-vm1-08708769
2025-09-11 08:11:17,296 - DEBUG - VM ctest-vn2-vm1-08708769 ID is 51acae87-08a7-432e-93ea-36b02ab99613
2025-09-11 08:11:17,296 - DEBUG - VM ctest-vn2-vm1-08708769 launched on Node cn-jenkins-deploy-platform-ansible-os-4082-1
2025-09-11 08:11:17,373 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/51acae87-08a7-432e-93ea-36b02ab99613
2025-09-11 08:11:17,382 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/94ad878c-34cc-4ab1-89c0-c2bd315646d2
2025-09-11 08:11:18,618 - 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.77 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/2.092/3.765/1.673 ms')
2025-09-11 08:11:18,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08708769 passed
2025-09-11 08:11:18,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:18,774 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08708769, IP 147.119.192.67, Port 22
2025-09-11 08:11:18,940 - DEBUG - VM ctest-vn2-vm1-08708769 is ready for SSH connections
2025-09-11 08:11:18,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:18,941 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.119.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:11:18,941 - DEBUG - ping -s 56 -c 3 -W 1 147.119.192.67
2025-09-11 08:11:24,035 - DEBUG - PING 147.119.192.67 (147.119.192.67): 56 data bytes
--- 147.119.192.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-11 08:11:24,035 - WARNING - Ping to IP 147.119.192.67 from VM ctest-vn1-vm1-76114274 failed
2025-09-11 08:11:24,036 - INFO - Adding interface with subnet_id eea64ef4-72b3-4e92-914a-dda2f1880864, port_id None to router e1bcac79-6296-47af-998b-dabb5f6e1c31
2025-09-11 08:11:24,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:24,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.119.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:11:24,324 - DEBUG - ping -s 56 -c 3 -W 1 147.119.192.67
2025-09-11 08:11:27,555 - DEBUG - PING 147.119.192.67 (147.119.192.67): 56 data bytes
64 bytes from 147.119.192.67: seq=1 ttl=63 time=6.585 ms
64 bytes from 147.119.192.67: seq=2 ttl=63 time=1.006 ms
--- 147.119.192.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.006/3.795/6.585 ms
2025-09-11 08:11:27,555 - WARNING - Ping to IP 147.119.192.67 from VM ctest-vn1-vm1-76114274 failed
2025-09-11 08:11:28,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.119.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:11:28,557 - DEBUG - ping -s 56 -c 3 -W 1 147.119.192.67
2025-09-11 08:11:30,782 - DEBUG - PING 147.119.192.67 (147.119.192.67): 56 data bytes
64 bytes from 147.119.192.67: seq=0 ttl=63 time=1.601 ms
64 bytes from 147.119.192.67: seq=1 ttl=63 time=1.103 ms
64 bytes from 147.119.192.67: seq=2 ttl=63 time=1.089 ms
--- 147.119.192.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.089/1.264/1.601 ms
2025-09-11 08:11:30,782 - INFO - Ping to IP 147.119.192.67 from VM ctest-vn1-vm1-76114274 passed
2025-09-11 08:11:30,782 - INFO - Deleting interface with subnet_id 8d2b2553-d84d-4c44-8948-b5f97b78ab3e, port_id None from router e1bcac79-6296-47af-998b-dabb5f6e1c31
2025-09-11 08:11:30,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:30,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.119.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:11:30,896 - DEBUG - ping -s 56 -c 3 -W 1 147.119.192.67
2025-09-11 08:11:34,121 - DEBUG - PING 147.119.192.67 (147.119.192.67): 56 data bytes
--- 147.119.192.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-11 08:11:34,121 - WARNING - Ping to IP 147.119.192.67 from VM ctest-vn1-vm1-76114274 failed
2025-09-11 08:11:34,121 - INFO - Adding interface with subnet_id 8d2b2553-d84d-4c44-8948-b5f97b78ab3e, port_id None to router e1bcac79-6296-47af-998b-dabb5f6e1c31
2025-09-11 08:11:34,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:11:34,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.119.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:11:34,357 - DEBUG - ping -s 56 -c 3 -W 1 147.119.192.67
2025-09-11 08:11:36,643 - DEBUG - PING 147.119.192.67 (147.119.192.67): 56 data bytes
64 bytes from 147.119.192.67: seq=0 ttl=63 time=1.733 ms
64 bytes from 147.119.192.67: seq=1 ttl=63 time=1.264 ms
64 bytes from 147.119.192.67: seq=2 ttl=63 time=1.161 ms
--- 147.119.192.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.161/1.386/1.733 ms
2025-09-11 08:11:36,643 - INFO - Ping to IP 147.119.192.67 from VM ctest-vn1-vm1-76114274 passed
2025-09-11 08:11:36,643 - INFO - Deleting interface with subnet_id eea64ef4-72b3-4e92-914a-dda2f1880864, port_id None from router e1bcac79-6296-47af-998b-dabb5f6e1c31
2025-09-11 08:11:36,781 - INFO - Deleting interface with subnet_id 8d2b2553-d84d-4c44-8948-b5f97b78ab3e, port_id None from router e1bcac79-6296-47af-998b-dabb5f6e1c31
2025-09-11 08:11:36,989 - INFO - Deleting VM ctest-vn2-vm1-08708769
2025-09-11 08:11:37,061 - INFO - Deleting VM ctest-vn1-vm1-76114274
2025-09-11 08:11:37,142 - INFO - Deleting VN ctest-vn2-76466270
2025-09-11 08:11:37,187 - DEBUG - VN dd215b51-9931-44d7-9613-643a6c8937aa still in use: Unable to complete operation on network dd215b51-9931-44d7-9613-643a6c8937aa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c788713f-72cd-42d4-934f-d4e77aac8f71']
2025-09-11 08:11:37,188 - WARNING - Deleting VN ctest-vn2-76466270 failed..Will retry
2025-09-11 08:11:39,298 - DEBUG - Response for deleting network ()
2025-09-11 08:11:39,298 - INFO - Deleting VN ctest-vn1-49540580
2025-09-11 08:11:39,398 - DEBUG - Response for deleting network ()
2025-09-11 08:11:39,660 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:11:39,660 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-09-11 08:11:39,660 - INFO - --------------------------------------------------------------------------------
2025-09-11 08:11:40,426 - INFO - Deleted project: ctest-TestRouters-10841704, ID : 53ba5b95-225f-44d7-bc39-8d2f3ca4847d