2026-03-02 02:07:56,092 - INFO - Domain Default found not creating
2026-03-02 02:07:56,286 - INFO - Project ctest-TestRoutersBasic-92888488 not found, creating it
2026-03-02 02:07:56,787 - INFO - Created Project:ctest-TestRoutersBasic-92888488, ID : ae54b37f-face-44a4-acef-7085fcce434f
2026-03-02 02:07:58,479 - INFO - ================================================================================
2026-03-02 02:07:58,479 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-03-02 02:07:58,479 - 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-03-02 02:07:58,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-03-02 02:07:58,740 - INFO - Initial checks done. Running the testcase now
2026-03-02 02:07:58,740 - INFO -
2026-03-02 02:07:59,617 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92888488
2026-03-02 02:07:59,717 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92888488
2026-03-02 02:08:00,037 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92888488', 'default']}
2026-03-02 02:08:00,360 - DEBUG - Response for create_network : {'network': {'id': '1ae71cdf-11e7-4de3-bdb8-4f359750370f', 'name': 'ctest-vn-95726489', 'tenant_id': 'ae54b37fface44a4acef7085fcce434f', 'project_id': 'ae54b37fface44a4acef7085fcce434f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92888488', 'ctest-vn-95726489'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:08:00,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e84b359c-1211-49c9-8a7b-b675f5045ab5', 'name': '', 'tenant_id': 'ae54b37fface44a4acef7085fcce434f', 'network_id': '1ae71cdf-11e7-4de3-bdb8-4f359750370f', 'ip_version': 4, 'cidr': '155.1.73.64/26', 'allocation_pools': [{'start': '155.1.73.66', 'end': '155.1.73.126'}], 'gateway_ip': '155.1.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.1.73.66', 'tags': [], 'project_id': 'ae54b37fface44a4acef7085fcce434f'}}
2026-03-02 02:08:00,592 - INFO - Created VN ctest-vn-95726489
2026-03-02 02:08:00,645 - DEBUG - VN ctest-vn-95726489 UUID is 1ae71cdf-11e7-4de3-bdb8-4f359750370f
2026-03-02 02:08:00,992 - DEBUG - Response for create_network : {'network': {'id': '29f1e399-e0b6-48cc-996b-bae489b91d20', 'name': 'ctest-ext_vn-72067830', 'tenant_id': 'ae54b37fface44a4acef7085fcce434f', 'project_id': 'ae54b37fface44a4acef7085fcce434f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92888488', 'ctest-ext_vn-72067830'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:08:01,181 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f78a589c-f2ea-4cef-ae9e-bded4d248256', 'name': '', 'tenant_id': 'ae54b37fface44a4acef7085fcce434f', 'network_id': '29f1e399-e0b6-48cc-996b-bae489b91d20', 'ip_version': 4, 'cidr': '12.27.189.0/26', 'allocation_pools': [{'start': '12.27.189.2', 'end': '12.27.189.62'}], 'gateway_ip': '12.27.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.27.189.2', 'tags': [], 'project_id': 'ae54b37fface44a4acef7085fcce434f'}}
2026-03-02 02:08:01,205 - INFO - Created VN ctest-ext_vn-72067830
2026-03-02 02:08:01,261 - DEBUG - VN ctest-ext_vn-72067830 UUID is 29f1e399-e0b6-48cc-996b-bae489b91d20
2026-03-02 02:08:01,464 - DEBUG - Services list from nova: [, , ]
2026-03-02 02:08:02,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5416-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5416-1)
2026-03-02 02:08:04,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5416-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5416-1)
2026-03-02 02:08:04,271 - INFO - Setting gateway for router 53df36ed-6c58-4eff-ab41-b95bde27889f to network 29f1e399-e0b6-48cc-996b-bae489b91d20
2026-03-02 02:08:04,353 - INFO - Adding interface with subnet_id e84b359c-1211-49c9-8a7b-b675f5045ab5, port_id None to router 53df36ed-6c58-4eff-ab41-b95bde27889f
2026-03-02 02:08:04,836 - INFO - Waiting for VM ctest-TestRoutersBasic-92888488-51678627 to be up..
2026-03-02 02:08:05,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-02 02:08:10,107 - DEBUG - VM is in ACTIVE state now
2026-03-02 02:08:10,107 - INFO - VM name : ctest-TestRoutersBasic-92888488-51678627
2026-03-02 02:08:10,202 - DEBUG - VM ctest-TestRoutersBasic-92888488-51678627 ID is 32b56516-6384-4452-9251-c8878169064c
2026-03-02 02:08:10,223 - DEBUG - VM ctest-TestRoutersBasic-92888488-51678627 launched on Node cn-jenkins-deploy-platform-ansible-os-5416-1
2026-03-02 02:08:10,308 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/32b56516-6384-4452-9251-c8878169064c
2026-03-02 02:08:10,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/32b56516-6384-4452-9251-c8878169064c
2026-03-02 02:08:10,685 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0019ef98-6c15-4a27-9714-9d3f4db6da25
2026-03-02 02:08:13,944 - 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 1013ms')
2026-03-02 02:08:13,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92888488-51678627 failed!
2026-03-02 02:08:13,997 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92888488:ctest-vn-95726489 is 155.1.73.65 and allocation pool is NOT set
2026-03-02 02:08:16,063 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.06 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 = 3.061/3.148/3.235/0.087 ms')
2026-03-02 02:08:16,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92888488-51678627 passed
2026-03-02 02:08:16,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 02:08:16,217 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92888488-51678627, IP 155.1.73.67, Port 22
2026-03-02 02:08:16,383 - DEBUG - VM ctest-TestRoutersBasic-92888488-51678627 is ready for SSH connections
2026-03-02 02:08:16,384 - INFO - Waiting for VM ctest-TestRoutersBasic-92888488-38076410 to be up..
2026-03-02 02:08:16,468 - DEBUG - VM is in ACTIVE state now
2026-03-02 02:08:16,468 - INFO - VM name : ctest-TestRoutersBasic-92888488-38076410
2026-03-02 02:08:16,554 - DEBUG - VM ctest-TestRoutersBasic-92888488-38076410 ID is f68a9a9e-3cdd-4d98-aa96-b0be6b7e2715
2026-03-02 02:08:16,554 - DEBUG - VM ctest-TestRoutersBasic-92888488-38076410 launched on Node cn-jenkins-deploy-platform-ansible-os-5416-1
2026-03-02 02:08:16,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f68a9a9e-3cdd-4d98-aa96-b0be6b7e2715
2026-03-02 02:08:16,652 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e09ba714-0b69-4d68-b238-781583489f71
2026-03-02 02:08:17,898 - 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=6.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.32 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 = 2.320/4.279/6.239/1.959 ms')
2026-03-02 02:08:17,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92888488-38076410 passed
2026-03-02 02:08:18,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 02:08:18,050 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92888488-38076410, IP 12.27.189.3, Port 22
2026-03-02 02:08:18,116 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 02:08:18,198 - DEBUG - VM ctest-TestRoutersBasic-92888488-38076410 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 02:08:23,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 02:08:23,199 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92888488-38076410, IP 12.27.189.3, Port 22
2026-03-02 02:08:23,357 - DEBUG - VM ctest-TestRoutersBasic-92888488-38076410 is ready for SSH connections
2026-03-02 02:08:23,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 02:08:23,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.27.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-03-02 02:08:23,357 - DEBUG - ping -s 56 -c 3 -W 1 12.27.189.3
2026-03-02 02:08:27,133 - DEBUG - PING 12.27.189.3 (12.27.189.3): 56 data bytes
64 bytes from 12.27.189.3: seq=0 ttl=62 time=5.575 ms
64 bytes from 12.27.189.3: seq=1 ttl=62 time=1.083 ms
64 bytes from 12.27.189.3: seq=2 ttl=62 time=1.233 ms
--- 12.27.189.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.083/2.630/5.575 ms
2026-03-02 02:08:27,133 - INFO - Ping to IP 12.27.189.3 from VM ctest-TestRoutersBasic-92888488-51678627 passed
2026-03-02 02:08:27,133 - INFO - Deleting interface with subnet_id e84b359c-1211-49c9-8a7b-b675f5045ab5, port_id None from router 53df36ed-6c58-4eff-ab41-b95bde27889f
2026-03-02 02:08:27,333 - INFO - Deleting VM ctest-TestRoutersBasic-92888488-38076410
2026-03-02 02:08:27,462 - INFO - Deleting VM ctest-TestRoutersBasic-92888488-51678627
2026-03-02 02:08:27,567 - INFO - Deleting VN ctest-ext_vn-72067830
2026-03-02 02:08:27,650 - DEBUG - VN 29f1e399-e0b6-48cc-996b-bae489b91d20 still in use: Unable to complete operation on network 29f1e399-e0b6-48cc-996b-bae489b91d20. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-78e2b02b-9663-410f-9bbf-bd16d797f735']
2026-03-02 02:08:27,650 - WARNING - Deleting VN ctest-ext_vn-72067830 failed..Will retry
2026-03-02 02:08:29,754 - DEBUG - Response for deleting network ()
2026-03-02 02:08:29,754 - INFO - Deleting VN ctest-vn-95726489
2026-03-02 02:08:29,860 - DEBUG - Response for deleting network ()
2026-03-02 02:08:30,124 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 02:08:30,124 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-03-02 02:08:30,124 - INFO - --------------------------------------------------------------------------------
2026-03-02 02:08:30,862 - INFO - Deleted project: ctest-TestRoutersBasic-92888488, ID : ae54b37f-face-44a4-acef-7085fcce434f