2026-08-14 04:04:09,390 - INFO - Domain Default found not creating 2026-08-14 04:04:09,575 - INFO - Project ctest-TestRoutersBasic-23532731 not found, creating it 2026-08-14 04:04:10,107 - INFO - Created Project:ctest-TestRoutersBasic-23532731, ID : be8bdfef-2f73-4035-a6ea-adf38f8d8069 2026-08-14 04:04:12,431 - INFO - ================================================================================ 2026-08-14 04:04:12,431 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 04:04:12,431 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-08-14 04:04:12,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-08-14 04:04:12,705 - INFO - Initial checks done. Running the testcase now 2026-08-14 04:04:12,706 - INFO - 2026-08-14 04:04:13,658 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23532731 2026-08-14 04:04:13,759 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23532731 2026-08-14 04:04:14,094 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23532731', 'default']} 2026-08-14 04:04:14,413 - DEBUG - Response for create_network : {'network': {'id': '39535c02-d474-4426-978b-e1aea46474a2', 'name': 'ctest-vn-47213604', 'tenant_id': 'be8bdfef2f734035a6eaadf38f8d8069', 'project_id': 'be8bdfef2f734035a6eaadf38f8d8069', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23532731', 'ctest-vn-47213604'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 04:04:14,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '726ef969-d978-4a00-87de-9753f6f580c6', 'name': '', 'tenant_id': 'be8bdfef2f734035a6eaadf38f8d8069', 'network_id': '39535c02-d474-4426-978b-e1aea46474a2', 'ip_version': 4, 'cidr': '36.48.45.192/26', 'allocation_pools': [{'start': '36.48.45.194', 'end': '36.48.45.254'}], 'gateway_ip': '36.48.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.48.45.194', 'tags': [], 'project_id': 'be8bdfef2f734035a6eaadf38f8d8069'}} 2026-08-14 04:04:14,659 - INFO - Created VN ctest-vn-47213604 2026-08-14 04:04:14,715 - DEBUG - VN ctest-vn-47213604 UUID is 39535c02-d474-4426-978b-e1aea46474a2 2026-08-14 04:04:15,103 - DEBUG - Response for create_network : {'network': {'id': '1adab70e-63c1-4ff9-b79c-7ace8a0ed5f7', 'name': 'ctest-ext_vn-78179946', 'tenant_id': 'be8bdfef2f734035a6eaadf38f8d8069', 'project_id': 'be8bdfef2f734035a6eaadf38f8d8069', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23532731', 'ctest-ext_vn-78179946'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 04:04:15,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '80a30a11-fb8f-428f-a733-f4ece3f37490', 'name': '', 'tenant_id': 'be8bdfef2f734035a6eaadf38f8d8069', 'network_id': '1adab70e-63c1-4ff9-b79c-7ace8a0ed5f7', 'ip_version': 4, 'cidr': '6.51.225.128/26', 'allocation_pools': [{'start': '6.51.225.130', 'end': '6.51.225.190'}], 'gateway_ip': '6.51.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.51.225.130', 'tags': [], 'project_id': 'be8bdfef2f734035a6eaadf38f8d8069'}} 2026-08-14 04:04:15,378 - INFO - Created VN ctest-ext_vn-78179946 2026-08-14 04:04:15,431 - DEBUG - VN ctest-ext_vn-78179946 UUID is 1adab70e-63c1-4ff9-b79c-7ace8a0ed5f7 2026-08-14 04:04:15,611 - DEBUG - Services list from nova: [, , ] 2026-08-14 04:04:15,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6155-1) 2026-08-14 04:04:16,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6155-1) 2026-08-14 04:04:16,531 - INFO - Setting gateway for router c6062b5c-2a67-4c31-a854-54c348a96a77 to network 1adab70e-63c1-4ff9-b79c-7ace8a0ed5f7 2026-08-14 04:04:16,604 - INFO - Adding interface with subnet_id 726ef969-d978-4a00-87de-9753f6f580c6, port_id None to router c6062b5c-2a67-4c31-a854-54c348a96a77 2026-08-14 04:04:16,977 - INFO - Waiting for VM ctest-TestRoutersBasic-23532731-35430761 to be up.. 2026-08-14 04:04:17,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:22,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:27,189 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:32,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:37,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:42,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:47,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:52,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:04:57,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:05:02,904 - DEBUG - VM is in ACTIVE state now 2026-08-14 04:05:02,905 - INFO - VM name : ctest-TestRoutersBasic-23532731-35430761 2026-08-14 04:05:02,993 - DEBUG - VM ctest-TestRoutersBasic-23532731-35430761 ID is 66e02d16-8ad1-4f36-b60e-df740644c8d8 2026-08-14 04:05:03,017 - DEBUG - VM ctest-TestRoutersBasic-23532731-35430761 launched on Node cn-jenkins-deploy-platform-ansible-os-6155-1 2026-08-14 04:05:03,107 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/66e02d16-8ad1-4f36-b60e-df740644c8d8 2026-08-14 04:05:03,496 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/66e02d16-8ad1-4f36-b60e-df740644c8d8 2026-08-14 04:05:03,537 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1effadd6-eae8-4440-83e2-ca5a7cd2b82e 2026-08-14 04:05:04,793 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=6.98 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.80 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.804/4.390/6.976/2.586 ms') 2026-08-14 04:05:04,793 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-23532731-35430761 passed 2026-08-14 04:05:04,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:05:04,951 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23532731-35430761, IP 36.48.45.195, Port 22 2026-08-14 04:05:05,017 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-14 04:05:05,105 - DEBUG - VM ctest-TestRoutersBasic-23532731-35430761 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-14 04:05:10,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:05:10,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23532731-35430761, IP 36.48.45.195, Port 22 2026-08-14 04:05:10,289 - DEBUG - VM ctest-TestRoutersBasic-23532731-35430761 is ready for SSH connections 2026-08-14 04:05:10,289 - INFO - Waiting for VM ctest-TestRoutersBasic-23532731-94125492 to be up.. 2026-08-14 04:05:10,374 - DEBUG - VM is in ACTIVE state now 2026-08-14 04:05:10,375 - INFO - VM name : ctest-TestRoutersBasic-23532731-94125492 2026-08-14 04:05:10,455 - DEBUG - VM ctest-TestRoutersBasic-23532731-94125492 ID is 0e4cceee-df0b-4f8c-a982-e8116ad9247d 2026-08-14 04:05:10,455 - DEBUG - VM ctest-TestRoutersBasic-23532731-94125492 launched on Node cn-jenkins-deploy-platform-ansible-os-6155-1 2026-08-14 04:05:10,541 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/0e4cceee-df0b-4f8c-a982-e8116ad9247d 2026-08-14 04:05:10,553 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/40a643b6-7dcd-49a6-92bd-fe6af1dec317 2026-08-14 04:05:11,802 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.20 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.438/2.318/4.198/1.880 ms') 2026-08-14 04:05:11,802 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-23532731-94125492 passed 2026-08-14 04:05:11,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:05:11,959 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23532731-94125492, IP 6.51.225.132, Port 22 2026-08-14 04:05:12,129 - DEBUG - VM ctest-TestRoutersBasic-23532731-94125492 is ready for SSH connections 2026-08-14 04:05:12,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:05:12,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.51.225.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-14 04:05:12,129 - DEBUG - ping -s 56 -c 3 -W 1 6.51.225.132 2026-08-14 04:05:15,201 - DEBUG - PING 6.51.225.132 (6.51.225.132): 56 data bytes 64 bytes from 6.51.225.132: seq=0 ttl=62 time=6.103 ms 64 bytes from 6.51.225.132: seq=1 ttl=62 time=1.381 ms 64 bytes from 6.51.225.132: seq=2 ttl=62 time=1.596 ms --- 6.51.225.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.381/3.026/6.103 ms 2026-08-14 04:05:15,202 - INFO - Ping to IP 6.51.225.132 from VM ctest-TestRoutersBasic-23532731-35430761 passed 2026-08-14 04:05:15,202 - INFO - Deleting interface with subnet_id 726ef969-d978-4a00-87de-9753f6f580c6, port_id None from router c6062b5c-2a67-4c31-a854-54c348a96a77 2026-08-14 04:05:15,467 - INFO - Deleting VM ctest-TestRoutersBasic-23532731-94125492 2026-08-14 04:05:15,583 - INFO - Deleting VM ctest-TestRoutersBasic-23532731-35430761 2026-08-14 04:05:15,670 - INFO - Deleting VN ctest-ext_vn-78179946 2026-08-14 04:05:15,756 - DEBUG - VN 1adab70e-63c1-4ff9-b79c-7ace8a0ed5f7 still in use: Unable to complete operation on network 1adab70e-63c1-4ff9-b79c-7ace8a0ed5f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4461240-8b0a-4a39-b279-26ee9b354582'] 2026-08-14 04:05:15,756 - WARNING - Deleting VN ctest-ext_vn-78179946 failed..Will retry 2026-08-14 04:05:17,969 - DEBUG - Response for deleting network () 2026-08-14 04:05:17,969 - INFO - Deleting VN ctest-vn-47213604 2026-08-14 04:05:18,119 - DEBUG - Response for deleting network () 2026-08-14 04:05:18,384 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 04:05:18,384 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-08-14 04:05:18,384 - INFO - -------------------------------------------------------------------------------- 2026-08-14 04:05:19,227 - INFO - Deleted project: ctest-TestRoutersBasic-23532731, ID : be8bdfef-2f73-4035-a6ea-adf38f8d8069