2026-05-27 13:33:42,375 - INFO - Domain Default found not creating
2026-05-27 13:33:42,567 - INFO - Project ctest-TestRoutersBasic-03804946 not found, creating it
2026-05-27 13:33:43,078 - INFO - Created Project:ctest-TestRoutersBasic-03804946, ID : 93064f06-08d1-40d1-bdc3-c24ca9225017
2026-05-27 13:33:44,836 - INFO - ================================================================================
2026-05-27 13:33:44,837 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-05-27 13:33:44,837 - 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-05-27 13:33:45,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-05-27 13:33:45,110 - INFO - Initial checks done. Running the testcase now
2026-05-27 13:33:45,110 - INFO -
2026-05-27 13:33:45,944 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03804946
2026-05-27 13:33:46,045 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03804946
2026-05-27 13:33:46,368 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03804946', 'default']}
2026-05-27 13:33:46,708 - DEBUG - Response for create_network : {'network': {'id': '03159102-be49-41a0-958d-b1dc8729d8b7', 'name': 'ctest-vn-50558573', 'tenant_id': '93064f0608d140d1bdc3c24ca9225017', 'project_id': '93064f0608d140d1bdc3c24ca9225017', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03804946', 'ctest-vn-50558573'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 13:33:46,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aacaf3c7-747b-4c97-80c5-b4db70b30b0f', 'name': '', 'tenant_id': '93064f0608d140d1bdc3c24ca9225017', 'network_id': '03159102-be49-41a0-958d-b1dc8729d8b7', 'ip_version': 4, 'cidr': '39.147.61.128/26', 'allocation_pools': [{'start': '39.147.61.130', 'end': '39.147.61.190'}], 'gateway_ip': '39.147.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.147.61.130', 'tags': [], 'project_id': '93064f0608d140d1bdc3c24ca9225017'}}
2026-05-27 13:33:46,924 - INFO - Created VN ctest-vn-50558573
2026-05-27 13:33:46,981 - DEBUG - VN ctest-vn-50558573 UUID is 03159102-be49-41a0-958d-b1dc8729d8b7
2026-05-27 13:33:47,336 - DEBUG - Response for create_network : {'network': {'id': '4271508e-06ae-46ee-a38c-c076e93125c8', 'name': 'ctest-ext_vn-16147728', 'tenant_id': '93064f0608d140d1bdc3c24ca9225017', 'project_id': '93064f0608d140d1bdc3c24ca9225017', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03804946', 'ctest-ext_vn-16147728'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 13:33:47,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b5202b3-d141-4cfc-a2e5-86c5edc9d789', 'name': '', 'tenant_id': '93064f0608d140d1bdc3c24ca9225017', 'network_id': '4271508e-06ae-46ee-a38c-c076e93125c8', 'ip_version': 4, 'cidr': '18.64.55.0/26', 'allocation_pools': [{'start': '18.64.55.2', 'end': '18.64.55.62'}], 'gateway_ip': '18.64.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.64.55.2', 'tags': [], 'project_id': '93064f0608d140d1bdc3c24ca9225017'}}
2026-05-27 13:33:47,571 - INFO - Created VN ctest-ext_vn-16147728
2026-05-27 13:33:47,625 - DEBUG - VN ctest-ext_vn-16147728 UUID is 4271508e-06ae-46ee-a38c-c076e93125c8
2026-05-27 13:33:47,829 - DEBUG - Services list from nova: [, , ]
2026-05-27 13:33:49,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5830-1)
2026-05-27 13:33:50,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5830-1)
2026-05-27 13:33:50,508 - INFO - Setting gateway for router 02fa0d09-6852-42f7-bcba-10725a66e003 to network 4271508e-06ae-46ee-a38c-c076e93125c8
2026-05-27 13:33:50,594 - INFO - Adding interface with subnet_id aacaf3c7-747b-4c97-80c5-b4db70b30b0f, port_id None to router 02fa0d09-6852-42f7-bcba-10725a66e003
2026-05-27 13:33:51,059 - INFO - Waiting for VM ctest-TestRoutersBasic-03804946-79262090 to be up..
2026-05-27 13:33:51,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-27 13:33:56,358 - DEBUG - VM is in ACTIVE state now
2026-05-27 13:33:56,358 - INFO - VM name : ctest-TestRoutersBasic-03804946-79262090
2026-05-27 13:33:56,449 - DEBUG - VM ctest-TestRoutersBasic-03804946-79262090 ID is 50ab8cab-c51f-49ff-8274-1fcdeeb34131
2026-05-27 13:33:56,474 - DEBUG - VM ctest-TestRoutersBasic-03804946-79262090 launched on Node cn-jenkins-deploy-platform-ansible-os-5830-1
2026-05-27 13:33:56,570 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/50ab8cab-c51f-49ff-8274-1fcdeeb34131
2026-05-27 13:33:56,913 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/50ab8cab-c51f-49ff-8274-1fcdeeb34131
2026-05-27 13:33:56,951 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/644e188b-71d1-4bae-9fde-711cb21c6b77
2026-05-27 13:34:00,206 - 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')
2026-05-27 13:34:00,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03804946-79262090 failed!
2026-05-27 13:34:00,269 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03804946:ctest-vn-50558573 is 39.147.61.129 and allocation pool is NOT set
2026-05-27 13:34:02,332 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.620 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.620/2.508/4.397/1.888 ms')
2026-05-27 13:34:02,332 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03804946-79262090 passed
2026-05-27 13:34:02,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 13:34:02,489 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03804946-79262090, IP 39.147.61.131, Port 22
2026-05-27 13:34:02,653 - DEBUG - VM ctest-TestRoutersBasic-03804946-79262090 is ready for SSH connections
2026-05-27 13:34:02,653 - INFO - Waiting for VM ctest-TestRoutersBasic-03804946-95318711 to be up..
2026-05-27 13:34:02,750 - DEBUG - VM is in ACTIVE state now
2026-05-27 13:34:02,750 - INFO - VM name : ctest-TestRoutersBasic-03804946-95318711
2026-05-27 13:34:02,847 - DEBUG - VM ctest-TestRoutersBasic-03804946-95318711 ID is 6e5b8c23-70a9-4656-8fdf-5a5171be1d24
2026-05-27 13:34:02,847 - DEBUG - VM ctest-TestRoutersBasic-03804946-95318711 launched on Node cn-jenkins-deploy-platform-ansible-os-5830-1
2026-05-27 13:34:02,946 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6e5b8c23-70a9-4656-8fdf-5a5171be1d24
2026-05-27 13:34:02,957 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ff5d35d4-2497-46d8-815a-640d68d0515d
2026-05-27 13:34:04,198 - 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=4.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.476/2.646/4.817/2.170 ms')
2026-05-27 13:34:04,199 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03804946-95318711 passed
2026-05-27 13:34:04,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 13:34:04,353 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03804946-95318711, IP 18.64.55.3, Port 22
2026-05-27 13:34:04,418 - 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-05-27 13:34:04,507 - DEBUG - VM ctest-TestRoutersBasic-03804946-95318711 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 13:34:09,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 13:34:09,508 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03804946-95318711, IP 18.64.55.3, Port 22
2026-05-27 13:34:09,688 - DEBUG - VM ctest-TestRoutersBasic-03804946-95318711 is ready for SSH connections
2026-05-27 13:34:09,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 13:34:09,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.64.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-05-27 13:34:09,688 - DEBUG - ping -s 56 -c 3 -W 1 18.64.55.3
2026-05-27 13:34:13,497 - DEBUG - PING 18.64.55.3 (18.64.55.3): 56 data bytes
64 bytes from 18.64.55.3: seq=0 ttl=62 time=6.429 ms
64 bytes from 18.64.55.3: seq=1 ttl=62 time=1.402 ms
64 bytes from 18.64.55.3: seq=2 ttl=62 time=1.311 ms
--- 18.64.55.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.311/3.047/6.429 ms
2026-05-27 13:34:13,497 - INFO - Ping to IP 18.64.55.3 from VM ctest-TestRoutersBasic-03804946-79262090 passed
2026-05-27 13:34:13,497 - INFO - Deleting interface with subnet_id aacaf3c7-747b-4c97-80c5-b4db70b30b0f, port_id None from router 02fa0d09-6852-42f7-bcba-10725a66e003
2026-05-27 13:34:13,714 - INFO - Deleting VM ctest-TestRoutersBasic-03804946-95318711
2026-05-27 13:34:13,796 - INFO - Deleting VM ctest-TestRoutersBasic-03804946-79262090
2026-05-27 13:34:13,886 - INFO - Deleting VN ctest-ext_vn-16147728
2026-05-27 13:34:13,965 - DEBUG - VN 4271508e-06ae-46ee-a38c-c076e93125c8 still in use: Unable to complete operation on network 4271508e-06ae-46ee-a38c-c076e93125c8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fb436ead-ab3c-41c6-974d-00f5b3f020ed']
2026-05-27 13:34:13,966 - WARNING - Deleting VN ctest-ext_vn-16147728 failed..Will retry
2026-05-27 13:34:16,091 - DEBUG - Response for deleting network ()
2026-05-27 13:34:16,091 - INFO - Deleting VN ctest-vn-50558573
2026-05-27 13:34:16,209 - DEBUG - Response for deleting network ()
2026-05-27 13:34:16,482 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 13:34:16,482 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-05-27 13:34:16,482 - INFO - --------------------------------------------------------------------------------
2026-05-27 13:34:17,327 - INFO - Deleted project: ctest-TestRoutersBasic-03804946, ID : 93064f06-08d1-40d1-bdc3-c24ca9225017