2026-04-17 13:15:16,749 - INFO - Domain Default found not creating 2026-04-17 13:15:16,926 - INFO - Project ctest-TestRoutersBasic-64855476 not found, creating it 2026-04-17 13:15:17,424 - INFO - Created Project:ctest-TestRoutersBasic-64855476, ID : 80881af1-6e2e-4f97-89b4-4f41416f5ff9 2026-04-17 13:15:19,409 - INFO - ================================================================================ 2026-04-17 13:15:19,409 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-17 13:15:19,410 - 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-04-17 13:15:19,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-17 13:15:19,670 - INFO - Initial checks done. Running the testcase now 2026-04-17 13:15:19,670 - INFO - 2026-04-17 13:15:20,524 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64855476 2026-04-17 13:15:20,620 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64855476 2026-04-17 13:15:20,948 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64855476', 'default']} 2026-04-17 13:15:21,260 - DEBUG - Response for create_network : {'network': {'id': '45377938-5ef7-4c23-a535-9d101bd6274f', 'name': 'ctest-vn-04941445', 'tenant_id': '80881af16e2e4f9789b44f41416f5ff9', 'project_id': '80881af16e2e4f9789b44f41416f5ff9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64855476', 'ctest-vn-04941445'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:15:21,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '87beee8c-a533-4caa-a3fc-09b0108e9096', 'name': '', 'tenant_id': '80881af16e2e4f9789b44f41416f5ff9', 'network_id': '45377938-5ef7-4c23-a535-9d101bd6274f', 'ip_version': 4, 'cidr': '126.253.214.64/26', 'allocation_pools': [{'start': '126.253.214.66', 'end': '126.253.214.126'}], 'gateway_ip': '126.253.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.253.214.66', 'tags': [], 'project_id': '80881af16e2e4f9789b44f41416f5ff9'}} 2026-04-17 13:15:21,496 - INFO - Created VN ctest-vn-04941445 2026-04-17 13:15:21,548 - DEBUG - VN ctest-vn-04941445 UUID is 45377938-5ef7-4c23-a535-9d101bd6274f 2026-04-17 13:15:21,876 - DEBUG - Response for create_network : {'network': {'id': '89b47886-5008-4dcd-bf71-ec8fb505c92f', 'name': 'ctest-ext_vn-56324520', 'tenant_id': '80881af16e2e4f9789b44f41416f5ff9', 'project_id': '80881af16e2e4f9789b44f41416f5ff9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64855476', 'ctest-ext_vn-56324520'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:15:22,040 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab406a61-a301-4a65-bb51-16db54f4a3b0', 'name': '', 'tenant_id': '80881af16e2e4f9789b44f41416f5ff9', 'network_id': '89b47886-5008-4dcd-bf71-ec8fb505c92f', 'ip_version': 4, 'cidr': '63.94.121.64/26', 'allocation_pools': [{'start': '63.94.121.66', 'end': '63.94.121.126'}], 'gateway_ip': '63.94.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.94.121.66', 'tags': [], 'project_id': '80881af16e2e4f9789b44f41416f5ff9'}} 2026-04-17 13:15:22,061 - INFO - Created VN ctest-ext_vn-56324520 2026-04-17 13:15:22,112 - DEBUG - VN ctest-ext_vn-56324520 UUID is 89b47886-5008-4dcd-bf71-ec8fb505c92f 2026-04-17 13:15:22,324 - DEBUG - Services list from nova: [, , ] 2026-04-17 13:15:23,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1) 2026-04-17 13:15:24,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1) 2026-04-17 13:15:24,774 - INFO - Setting gateway for router af88067f-c19a-4b3a-823c-db36f111a149 to network 89b47886-5008-4dcd-bf71-ec8fb505c92f 2026-04-17 13:15:24,840 - INFO - Adding interface with subnet_id 87beee8c-a533-4caa-a3fc-09b0108e9096, port_id None to router af88067f-c19a-4b3a-823c-db36f111a149 2026-04-17 13:15:25,172 - INFO - Waiting for VM ctest-TestRoutersBasic-64855476-76653200 to be up.. 2026-04-17 13:15:25,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 13:15:30,459 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:15:30,459 - INFO - VM name : ctest-TestRoutersBasic-64855476-76653200 2026-04-17 13:15:30,542 - DEBUG - VM ctest-TestRoutersBasic-64855476-76653200 ID is 80c7c884-8517-4831-80c2-981d692ffa05 2026-04-17 13:15:30,564 - DEBUG - VM ctest-TestRoutersBasic-64855476-76653200 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1 2026-04-17 13:15:30,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80c7c884-8517-4831-80c2-981d692ffa05 2026-04-17 13:15:30,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80c7c884-8517-4831-80c2-981d692ffa05 2026-04-17 13:15:31,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ead42b8a-ffbb-43f9-aad8-31e7848c831f 2026-04-17 13:15:34,284 - 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 1026ms') 2026-04-17 13:15:34,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64855476-76653200 failed! 2026-04-17 13:15:34,340 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64855476:ctest-vn-04941445 is 126.253.214.65 and allocation pool is NOT set 2026-04-17 13:15:36,402 - 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=9.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.380/5.987/9.594/3.607 ms') 2026-04-17 13:15:36,402 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64855476-76653200 passed 2026-04-17 13:15:36,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:36,552 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64855476-76653200, IP 126.253.214.67, Port 22 2026-04-17 13:15:36,608 - 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': ''} 2026-04-17 13:15:36,696 - DEBUG - VM ctest-TestRoutersBasic-64855476-76653200 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 13:15:41,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:41,697 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64855476-76653200, IP 126.253.214.67, Port 22 2026-04-17 13:15:41,855 - DEBUG - VM ctest-TestRoutersBasic-64855476-76653200 is ready for SSH connections 2026-04-17 13:15:41,856 - INFO - Waiting for VM ctest-TestRoutersBasic-64855476-73522767 to be up.. 2026-04-17 13:15:41,932 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:15:41,933 - INFO - VM name : ctest-TestRoutersBasic-64855476-73522767 2026-04-17 13:15:42,007 - DEBUG - VM ctest-TestRoutersBasic-64855476-73522767 ID is fe317037-01cf-4001-8a57-c8290392b1a1 2026-04-17 13:15:42,007 - DEBUG - VM ctest-TestRoutersBasic-64855476-73522767 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1 2026-04-17 13:15:42,082 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe317037-01cf-4001-8a57-c8290392b1a1 2026-04-17 13:15:42,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b0cf793-27e4-4ab1-b1d0-2e68ef93f025 2026-04-17 13:15:43,338 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.777/3.149/1.371 ms') 2026-04-17 13:15:43,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64855476-73522767 passed 2026-04-17 13:15:43,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:43,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64855476-73522767, IP 63.94.121.67, Port 22 2026-04-17 13:15:43,644 - DEBUG - VM ctest-TestRoutersBasic-64855476-73522767 is ready for SSH connections 2026-04-17 13:15:43,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:43,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.94.121.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:15:43,644 - DEBUG - ping -s 56 -c 3 -W 1 63.94.121.67 2026-04-17 13:15:47,405 - DEBUG - PING 63.94.121.67 (63.94.121.67): 56 data bytes 64 bytes from 63.94.121.67: seq=0 ttl=62 time=5.504 ms 64 bytes from 63.94.121.67: seq=1 ttl=62 time=1.059 ms 64 bytes from 63.94.121.67: seq=2 ttl=62 time=1.013 ms --- 63.94.121.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.013/2.525/5.504 ms 2026-04-17 13:15:47,406 - INFO - Ping to IP 63.94.121.67 from VM ctest-TestRoutersBasic-64855476-76653200 passed 2026-04-17 13:15:47,406 - INFO - Deleting interface with subnet_id 87beee8c-a533-4caa-a3fc-09b0108e9096, port_id None from router af88067f-c19a-4b3a-823c-db36f111a149 2026-04-17 13:15:47,607 - INFO - Deleting VM ctest-TestRoutersBasic-64855476-73522767 2026-04-17 13:15:47,689 - INFO - Deleting VM ctest-TestRoutersBasic-64855476-76653200 2026-04-17 13:15:47,795 - INFO - Deleting VN ctest-ext_vn-56324520 2026-04-17 13:15:47,871 - DEBUG - VN 89b47886-5008-4dcd-bf71-ec8fb505c92f still in use: Unable to complete operation on network 89b47886-5008-4dcd-bf71-ec8fb505c92f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50ed3f03-8598-44c3-a34e-354cbc140d9c'] 2026-04-17 13:15:47,872 - WARNING - Deleting VN ctest-ext_vn-56324520 failed..Will retry 2026-04-17 13:15:49,979 - DEBUG - Response for deleting network () 2026-04-17 13:15:49,980 - INFO - Deleting VN ctest-vn-04941445 2026-04-17 13:15:50,086 - DEBUG - Response for deleting network () 2026-04-17 13:15:50,342 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 13:15:50,342 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-04-17 13:15:50,342 - INFO - -------------------------------------------------------------------------------- 2026-04-17 13:15:51,076 - INFO - Deleted project: ctest-TestRoutersBasic-64855476, ID : 80881af1-6e2e-4f97-89b4-4f41416f5ff9