2026-09-17 11:26:40,130 - INFO - Domain Default found not creating 2026-09-17 11:26:40,346 - INFO - Project ctest-TestRoutersBasic-21263617 not found, creating it 2026-09-17 11:26:40,927 - INFO - Created Project:ctest-TestRoutersBasic-21263617, ID : d9760de1-9058-4748-909d-42f022c2d268 2026-09-17 11:26:42,819 - INFO - ================================================================================ 2026-09-17 11:26:42,819 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-17 11:26:42,819 - 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-09-17 11:26:43,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.25': '0'}} with 2026-09-17 11:26:43,103 - INFO - Initial checks done. Running the testcase now 2026-09-17 11:26:43,103 - INFO - 2026-09-17 11:26:44,073 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21263617 2026-09-17 11:26:44,175 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21263617 2026-09-17 11:26:44,534 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21263617', 'default']} 2026-09-17 11:26:44,894 - DEBUG - Response for create_network : {'network': {'id': '5c23658d-6b5b-4dc2-ad78-7434c90ccc3d', 'name': 'ctest-vn-25576253', 'tenant_id': 'd9760de190584748909d42f022c2d268', 'project_id': 'd9760de190584748909d42f022c2d268', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21263617', 'ctest-vn-25576253'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 11:26:45,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '295af2de-07e9-4672-98bc-9647a09628bd', 'name': '', 'tenant_id': 'd9760de190584748909d42f022c2d268', 'network_id': '5c23658d-6b5b-4dc2-ad78-7434c90ccc3d', 'ip_version': 4, 'cidr': '36.133.214.192/26', 'allocation_pools': [{'start': '36.133.214.194', 'end': '36.133.214.254'}], 'gateway_ip': '36.133.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.133.214.194', 'tags': [], 'project_id': 'd9760de190584748909d42f022c2d268'}} 2026-09-17 11:26:45,117 - INFO - Created VN ctest-vn-25576253 2026-09-17 11:26:45,178 - DEBUG - VN ctest-vn-25576253 UUID is 5c23658d-6b5b-4dc2-ad78-7434c90ccc3d 2026-09-17 11:26:45,579 - DEBUG - Response for create_network : {'network': {'id': 'c5d20020-fdd9-432f-9b35-939b7910a543', 'name': 'ctest-ext_vn-51232282', 'tenant_id': 'd9760de190584748909d42f022c2d268', 'project_id': 'd9760de190584748909d42f022c2d268', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21263617', 'ctest-ext_vn-51232282'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 11:26:45,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '8dad22f4-6d7f-4a1a-b517-da58a8150744', 'name': '', 'tenant_id': 'd9760de190584748909d42f022c2d268', 'network_id': 'c5d20020-fdd9-432f-9b35-939b7910a543', 'ip_version': 4, 'cidr': '115.179.65.0/26', 'allocation_pools': [{'start': '115.179.65.2', 'end': '115.179.65.62'}], 'gateway_ip': '115.179.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.179.65.2', 'tags': [], 'project_id': 'd9760de190584748909d42f022c2d268'}} 2026-09-17 11:26:45,818 - INFO - Created VN ctest-ext_vn-51232282 2026-09-17 11:26:45,874 - DEBUG - VN ctest-ext_vn-51232282 UUID is c5d20020-fdd9-432f-9b35-939b7910a543 2026-09-17 11:26:46,062 - DEBUG - Services list from nova: [, , ] 2026-09-17 11:26:46,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6298-1) 2026-09-17 11:26:46,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6298-1) 2026-09-17 11:26:47,106 - INFO - Setting gateway for router 4d56277f-b28b-473e-beef-ac52eff45bbc to network c5d20020-fdd9-432f-9b35-939b7910a543 2026-09-17 11:26:47,175 - INFO - Adding interface with subnet_id 295af2de-07e9-4672-98bc-9647a09628bd, port_id None to router 4d56277f-b28b-473e-beef-ac52eff45bbc 2026-09-17 11:26:47,568 - INFO - Waiting for VM ctest-TestRoutersBasic-21263617-86063265 to be up.. 2026-09-17 11:26:47,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:26:52,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:26:57,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:27:03,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:27:08,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:27:13,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:27:18,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:27:23,469 - DEBUG - VM is in ACTIVE state now 2026-09-17 11:27:23,469 - INFO - VM name : ctest-TestRoutersBasic-21263617-86063265 2026-09-17 11:27:23,560 - DEBUG - VM ctest-TestRoutersBasic-21263617-86063265 ID is 4cc0b0a7-a14d-488d-ad71-3a3f75a5332a 2026-09-17 11:27:23,593 - DEBUG - VM ctest-TestRoutersBasic-21263617-86063265 launched on Node cn-jenkins-deploy-platform-ansible-os-6298-1 2026-09-17 11:27:23,682 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/4cc0b0a7-a14d-488d-ad71-3a3f75a5332a 2026-09-17 11:27:24,010 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/4cc0b0a7-a14d-488d-ad71-3a3f75a5332a 2026-09-17 11:27:24,047 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/754336c2-7dde-42aa-bf3a-abee8a62da51 2026-09-17 11:27:27,304 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-09-17 11:27:27,304 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-21263617-86063265 failed! 2026-09-17 11:27:27,358 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21263617:ctest-vn-25576253 is 36.133.214.193 and allocation pool is NOT set 2026-09-17 11:27:29,419 - 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=3.83 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.407 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.407/2.116/3.826/1.709 ms') 2026-09-17 11:27:29,419 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-21263617-86063265 passed 2026-09-17 11:27:29,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:27:29,574 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21263617-86063265, IP 36.133.214.195, Port 22 2026-09-17 11:27:29,744 - DEBUG - VM ctest-TestRoutersBasic-21263617-86063265 is ready for SSH connections 2026-09-17 11:27:29,744 - INFO - Waiting for VM ctest-TestRoutersBasic-21263617-02349401 to be up.. 2026-09-17 11:27:29,829 - DEBUG - VM is in ACTIVE state now 2026-09-17 11:27:29,829 - INFO - VM name : ctest-TestRoutersBasic-21263617-02349401 2026-09-17 11:27:29,936 - DEBUG - VM ctest-TestRoutersBasic-21263617-02349401 ID is ad7de8ab-60f0-44cd-ba85-ab171faebe84 2026-09-17 11:27:29,936 - DEBUG - VM ctest-TestRoutersBasic-21263617-02349401 launched on Node cn-jenkins-deploy-platform-ansible-os-6298-1 2026-09-17 11:27:30,026 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/ad7de8ab-60f0-44cd-ba85-ab171faebe84 2026-09-17 11:27:30,036 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/991d150a-45fa-4514-8180-65486dcbb5ce 2026-09-17 11:27:33,319 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2026-09-17 11:27:33,319 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-21263617-02349401 failed! 2026-09-17 11:27:33,374 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21263617:ctest-ext_vn-51232282 is 115.179.65.1 and allocation pool is NOT set 2026-09-17 11:27:35,437 - 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=11.0 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.46 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 = 3.457/7.238/11.020/3.781 ms') 2026-09-17 11:27:35,437 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-21263617-02349401 passed 2026-09-17 11:27:35,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:27:35,594 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21263617-02349401, IP 115.179.65.4, Port 22 2026-09-17 11:27:35,660 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-17 11:27:35,760 - DEBUG - VM ctest-TestRoutersBasic-21263617-02349401 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-17 11:27:40,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:27:40,761 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21263617-02349401, IP 115.179.65.4, Port 22 2026-09-17 11:27:40,918 - DEBUG - VM ctest-TestRoutersBasic-21263617-02349401 is ready for SSH connections 2026-09-17 11:27:40,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:27:40,919 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.179.65.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-09-17 11:27:40,919 - DEBUG - ping -s 56 -c 3 -W 1 115.179.65.4 2026-09-17 11:27:43,826 - DEBUG - PING 115.179.65.4 (115.179.65.4): 56 data bytes 64 bytes from 115.179.65.4: seq=0 ttl=62 time=5.636 ms 64 bytes from 115.179.65.4: seq=1 ttl=62 time=1.277 ms 64 bytes from 115.179.65.4: seq=2 ttl=62 time=1.288 ms --- 115.179.65.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.277/2.733/5.636 ms 2026-09-17 11:27:43,827 - INFO - Ping to IP 115.179.65.4 from VM ctest-TestRoutersBasic-21263617-86063265 passed 2026-09-17 11:27:43,827 - INFO - Deleting interface with subnet_id 295af2de-07e9-4672-98bc-9647a09628bd, port_id None from router 4d56277f-b28b-473e-beef-ac52eff45bbc 2026-09-17 11:27:44,119 - INFO - Deleting VM ctest-TestRoutersBasic-21263617-02349401 2026-09-17 11:27:44,219 - INFO - Deleting VM ctest-TestRoutersBasic-21263617-86063265 2026-09-17 11:27:44,284 - INFO - Deleting VN ctest-ext_vn-51232282 2026-09-17 11:27:44,360 - DEBUG - VN c5d20020-fdd9-432f-9b35-939b7910a543 still in use: Unable to complete operation on network c5d20020-fdd9-432f-9b35-939b7910a543. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a43afc30-ec33-467d-9c79-7929e61c925d'] 2026-09-17 11:27:44,360 - WARNING - Deleting VN ctest-ext_vn-51232282 failed..Will retry 2026-09-17 11:27:46,411 - DEBUG - VN c5d20020-fdd9-432f-9b35-939b7910a543 still in use: Unable to complete operation on network c5d20020-fdd9-432f-9b35-939b7910a543. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38a97f47-e074-487a-9526-d7ebb645e4da'] 2026-09-17 11:27:46,411 - WARNING - Deleting VN ctest-ext_vn-51232282 failed..Will retry 2026-09-17 11:27:48,533 - DEBUG - Response for deleting network () 2026-09-17 11:27:48,533 - INFO - Deleting VN ctest-vn-25576253 2026-09-17 11:27:48,650 - DEBUG - Response for deleting network () 2026-09-17 11:27:48,908 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 11:27:48,908 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-09-17 11:27:48,908 - INFO - -------------------------------------------------------------------------------- 2026-09-17 11:27:49,688 - INFO - Deleted project: ctest-TestRoutersBasic-21263617, ID : d9760de1-9058-4748-909d-42f022c2d268