2025-10-02 02:03:34,726 - INFO - Domain Default found not creating
2025-10-02 02:03:34,982 - INFO - Project ctest-TestRouters-02472334 not found, creating it
2025-10-02 02:03:36,161 - INFO - Created Project:ctest-TestRouters-02472334, ID : b5cdc12d-58a7-41c4-9de3-cdc2675096ef
2025-10-02 02:03:37,928 - INFO - ================================================================================
2025-10-02 02:03:37,928 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-02 02:03:37,928 - 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-10-02 02:03:39,201 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.254': '0', '10.20.0.14': '0'}} with
2025-10-02 02:03:39,201 - INFO - Initial checks done. Running the testcase now
2025-10-02 02:03:39,201 - INFO -
2025-10-02 02:03:39,890 - DEBUG - Response for create_network : {'network': {'id': '57ba2248-6af9-4925-95d0-1cf157d1bf7c', 'name': 'ctest-vn1-95496778', 'tenant_id': 'b5cdc12d58a741c49de3cdc2675096ef', 'project_id': 'b5cdc12d58a741c49de3cdc2675096ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02472334', 'ctest-vn1-95496778'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 02:03:40,209 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db36eae1-837e-48c3-9735-d073e4d38f0a', 'name': '', 'tenant_id': 'b5cdc12d58a741c49de3cdc2675096ef', 'network_id': '57ba2248-6af9-4925-95d0-1cf157d1bf7c', 'ip_version': 4, 'cidr': '109.165.74.0/26', 'allocation_pools': [{'start': '109.165.74.2', 'end': '109.165.74.62'}], 'gateway_ip': '109.165.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.165.74.2', 'tags': [], 'project_id': 'b5cdc12d58a741c49de3cdc2675096ef'}}
2025-10-02 02:03:40,229 - INFO - Created VN ctest-vn1-95496778
2025-10-02 02:03:40,243 - DEBUG - VN ctest-vn1-95496778 UUID is 57ba2248-6af9-4925-95d0-1cf157d1bf7c
2025-10-02 02:03:40,607 - DEBUG - Response for create_network : {'network': {'id': '3753b18f-f6db-4315-b549-3c59a1a2bdb5', 'name': 'ctest-vn2-39700256', 'tenant_id': 'b5cdc12d58a741c49de3cdc2675096ef', 'project_id': 'b5cdc12d58a741c49de3cdc2675096ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02472334', 'ctest-vn2-39700256'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 02:03:40,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d0145b0-a177-4bfa-b1cd-1588e90d0b99', 'name': '', 'tenant_id': 'b5cdc12d58a741c49de3cdc2675096ef', 'network_id': '3753b18f-f6db-4315-b549-3c59a1a2bdb5', 'ip_version': 4, 'cidr': '112.205.26.192/26', 'allocation_pools': [{'start': '112.205.26.194', 'end': '112.205.26.254'}], 'gateway_ip': '112.205.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.205.26.194', 'tags': [], 'project_id': 'b5cdc12d58a741c49de3cdc2675096ef'}}
2025-10-02 02:03:40,899 - INFO - Created VN ctest-vn2-39700256
2025-10-02 02:03:40,908 - DEBUG - VN ctest-vn2-39700256 UUID is 3753b18f-f6db-4315-b549-3c59a1a2bdb5
2025-10-02 02:03:41,032 - DEBUG - Services list from nova: [, , , ]
2025-10-02 02:03:42,068 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-2)
2025-10-02 02:03:43,303 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-1)
2025-10-02 02:03:43,399 - INFO - Adding interface with subnet_id db36eae1-837e-48c3-9735-d073e4d38f0a, port_id None to router 88e4a5c9-f649-4dec-833f-23d695198629
2025-10-02 02:03:43,748 - INFO - Waiting for VM ctest-vn1-vm1-07258120 to be up..
2025-10-02 02:03:43,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-02 02:03:48,966 - DEBUG - VM is in ACTIVE state now
2025-10-02 02:03:48,966 - INFO - VM name : ctest-vn1-vm1-07258120
2025-10-02 02:03:49,042 - DEBUG - VM ctest-vn1-vm1-07258120 ID is 296d3764-5f8c-47d9-bd04-921396614ac2
2025-10-02 02:03:49,066 - DEBUG - VM ctest-vn1-vm1-07258120 launched on Node an-jenkins-deploy-platform-ansible-os-4210-2
2025-10-02 02:03:49,153 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/296d3764-5f8c-47d9-bd04-921396614ac2
2025-10-02 02:03:49,454 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/296d3764-5f8c-47d9-bd04-921396614ac2
2025-10-02 02:03:49,486 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a72c9b69-7925-4e46-9513-2832135c2ded
2025-10-02 02:03:52,685 - 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 1020ms')
2025-10-02 02:03:52,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07258120 failed!
2025-10-02 02:03:52,699 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-02472334:ctest-vn1-95496778 is 109.165.74.1 and allocation pool is NOT set
2025-10-02 02:03:54,769 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 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.445/6.920/13.395/6.475 ms')
2025-10-02 02:03:54,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07258120 passed
2025-10-02 02:03:54,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:03:54,835 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07258120, IP 109.165.74.3, Port 22
2025-10-02 02:03:54,905 - 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-10-02 02:03:54,990 - DEBUG - VM ctest-vn1-vm1-07258120 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-02 02:03:59,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:03:59,991 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07258120, IP 109.165.74.3, Port 22
2025-10-02 02:04:00,165 - DEBUG - VM ctest-vn1-vm1-07258120 is ready for SSH connections
2025-10-02 02:04:00,165 - INFO - Waiting for VM ctest-vn2-vm1-37499744 to be up..
2025-10-02 02:04:00,246 - DEBUG - VM is in ACTIVE state now
2025-10-02 02:04:00,246 - INFO - VM name : ctest-vn2-vm1-37499744
2025-10-02 02:04:00,330 - DEBUG - VM ctest-vn2-vm1-37499744 ID is 7e947e4b-781a-4e94-8746-4f6770f9b46e
2025-10-02 02:04:00,330 - DEBUG - VM ctest-vn2-vm1-37499744 launched on Node an-jenkins-deploy-platform-ansible-os-4210-1
2025-10-02 02:04:00,415 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7e947e4b-781a-4e94-8746-4f6770f9b46e
2025-10-02 02:04:00,429 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6cd0ff14-b854-4f0b-95a3-d97fb004d4b4
2025-10-02 02:04:01,593 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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 = 0.383/1.505/2.627/1.122 ms')
2025-10-02 02:04:01,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-37499744 passed
2025-10-02 02:04:01,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:01,663 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37499744, IP 112.205.26.195, Port 22
2025-10-02 02:04:01,836 - DEBUG - VM ctest-vn2-vm1-37499744 is ready for SSH connections
2025-10-02 02:04:01,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:01,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.205.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 02:04:01,836 - DEBUG - ping -s 56 -c 3 -W 1 112.205.26.195
2025-10-02 02:04:05,856 - DEBUG - PING 112.205.26.195 (112.205.26.195): 56 data bytes
--- 112.205.26.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-02 02:04:05,856 - WARNING - Ping to IP 112.205.26.195 from VM ctest-vn1-vm1-07258120 failed
2025-10-02 02:04:05,856 - INFO - Adding interface with subnet_id 3d0145b0-a177-4bfa-b1cd-1588e90d0b99, port_id None to router 88e4a5c9-f649-4dec-833f-23d695198629
2025-10-02 02:04:06,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:06,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.205.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 02:04:06,267 - DEBUG - ping -s 56 -c 3 -W 1 112.205.26.195
2025-10-02 02:04:09,493 - DEBUG - PING 112.205.26.195 (112.205.26.195): 56 data bytes
64 bytes from 112.205.26.195: seq=1 ttl=63 time=5.089 ms
64 bytes from 112.205.26.195: seq=2 ttl=63 time=1.306 ms
--- 112.205.26.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.306/3.197/5.089 ms
2025-10-02 02:04:09,493 - WARNING - Ping to IP 112.205.26.195 from VM ctest-vn1-vm1-07258120 failed
2025-10-02 02:04:10,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.205.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 02:04:10,494 - DEBUG - ping -s 56 -c 3 -W 1 112.205.26.195
2025-10-02 02:04:12,713 - DEBUG - PING 112.205.26.195 (112.205.26.195): 56 data bytes
64 bytes from 112.205.26.195: seq=0 ttl=63 time=6.242 ms
64 bytes from 112.205.26.195: seq=1 ttl=63 time=1.107 ms
64 bytes from 112.205.26.195: seq=2 ttl=63 time=1.319 ms
--- 112.205.26.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.107/2.889/6.242 ms
2025-10-02 02:04:12,713 - INFO - Ping to IP 112.205.26.195 from VM ctest-vn1-vm1-07258120 passed
2025-10-02 02:04:12,714 - INFO - Deleting interface with subnet_id db36eae1-837e-48c3-9735-d073e4d38f0a, port_id None from router 88e4a5c9-f649-4dec-833f-23d695198629
2025-10-02 02:04:12,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:12,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.205.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 02:04:12,959 - DEBUG - ping -s 56 -c 3 -W 1 112.205.26.195
2025-10-02 02:04:16,173 - DEBUG - PING 112.205.26.195 (112.205.26.195): 56 data bytes
--- 112.205.26.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-02 02:04:16,173 - WARNING - Ping to IP 112.205.26.195 from VM ctest-vn1-vm1-07258120 failed
2025-10-02 02:04:16,173 - INFO - Adding interface with subnet_id db36eae1-837e-48c3-9735-d073e4d38f0a, port_id None to router 88e4a5c9-f649-4dec-833f-23d695198629
2025-10-02 02:04:16,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:16,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.205.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 02:04:16,503 - DEBUG - ping -s 56 -c 3 -W 1 112.205.26.195
2025-10-02 02:04:18,731 - DEBUG - PING 112.205.26.195 (112.205.26.195): 56 data bytes
64 bytes from 112.205.26.195: seq=0 ttl=63 time=2.623 ms
64 bytes from 112.205.26.195: seq=1 ttl=63 time=1.076 ms
64 bytes from 112.205.26.195: seq=2 ttl=63 time=1.286 ms
--- 112.205.26.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.076/1.661/2.623 ms
2025-10-02 02:04:18,731 - INFO - Ping to IP 112.205.26.195 from VM ctest-vn1-vm1-07258120 passed
2025-10-02 02:04:18,732 - INFO - Deleting interface with subnet_id 3d0145b0-a177-4bfa-b1cd-1588e90d0b99, port_id None from router 88e4a5c9-f649-4dec-833f-23d695198629
2025-10-02 02:04:18,980 - INFO - Deleting interface with subnet_id db36eae1-837e-48c3-9735-d073e4d38f0a, port_id None from router 88e4a5c9-f649-4dec-833f-23d695198629
2025-10-02 02:04:19,311 - INFO - Deleting VM ctest-vn2-vm1-37499744
2025-10-02 02:04:19,399 - INFO - Deleting VM ctest-vn1-vm1-07258120
2025-10-02 02:04:19,471 - INFO - Deleting VN ctest-vn2-39700256
2025-10-02 02:04:19,514 - DEBUG - VN 3753b18f-f6db-4315-b549-3c59a1a2bdb5 still in use: Unable to complete operation on network 3753b18f-f6db-4315-b549-3c59a1a2bdb5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-96b6406c-c6e9-452a-935e-3d70891ccfcd']
2025-10-02 02:04:19,514 - WARNING - Deleting VN ctest-vn2-39700256 failed..Will retry
2025-10-02 02:04:21,676 - DEBUG - Response for deleting network ()
2025-10-02 02:04:21,676 - INFO - Deleting VN ctest-vn1-95496778
2025-10-02 02:04:21,835 - DEBUG - Response for deleting network ()
2025-10-02 02:04:23,118 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 02:04:23,118 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:46]
2025-10-02 02:04:23,118 - INFO - --------------------------------------------------------------------------------
2025-10-02 02:04:23,823 - INFO - Deleted project: ctest-TestRouters-02472334, ID : b5cdc12d-58a7-41c4-9de3-cdc2675096ef