2026-10-31 12:59:05,092 - INFO - Domain Default found not creating 2026-10-31 12:59:05,271 - INFO - Project ctest-TestRoutersBasic-55286346 not found, creating it 2026-10-31 12:59:05,788 - INFO - Created Project:ctest-TestRoutersBasic-55286346, ID : bffc6700-96cd-48c0-a84b-d570cfec3ba5 2026-10-31 12:59:07,540 - INFO - ================================================================================ 2026-10-31 12:59:07,540 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-31 12:59:07,540 - 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-10-31 12:59:07,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-31 12:59:07,794 - INFO - Initial checks done. Running the testcase now 2026-10-31 12:59:07,794 - INFO - 2026-10-31 12:59:08,645 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55286346 2026-10-31 12:59:08,739 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55286346 2026-10-31 12:59:09,059 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55286346', 'default']} 2026-10-31 12:59:09,343 - DEBUG - Response for create_network : {'network': {'id': 'f713a122-4fb3-4393-b56a-3b425a000576', 'name': 'ctest-vn-69572948', 'tenant_id': 'bffc670096cd48c0a84bd570cfec3ba5', 'project_id': 'bffc670096cd48c0a84bd570cfec3ba5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55286346', 'ctest-vn-69572948'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 12:59:09,512 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5f096e5-9103-485b-9c05-1295cd210711', 'name': '', 'tenant_id': 'bffc670096cd48c0a84bd570cfec3ba5', 'network_id': 'f713a122-4fb3-4393-b56a-3b425a000576', 'ip_version': 4, 'cidr': '161.234.188.128/26', 'allocation_pools': [{'start': '161.234.188.130', 'end': '161.234.188.190'}], 'gateway_ip': '161.234.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.234.188.130', 'tags': [], 'project_id': 'bffc670096cd48c0a84bd570cfec3ba5'}} 2026-10-31 12:59:09,527 - INFO - Created VN ctest-vn-69572948 2026-10-31 12:59:09,579 - DEBUG - VN ctest-vn-69572948 UUID is f713a122-4fb3-4393-b56a-3b425a000576 2026-10-31 12:59:09,944 - DEBUG - Response for create_network : {'network': {'id': 'e860977c-54c1-4f29-b97f-a5dcc5c8421a', 'name': 'ctest-ext_vn-65632268', 'tenant_id': 'bffc670096cd48c0a84bd570cfec3ba5', 'project_id': 'bffc670096cd48c0a84bd570cfec3ba5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55286346', 'ctest-ext_vn-65632268'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 12:59:10,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ff48d7e-090a-4af2-a581-7f096d0a0856', 'name': '', 'tenant_id': 'bffc670096cd48c0a84bd570cfec3ba5', 'network_id': 'e860977c-54c1-4f29-b97f-a5dcc5c8421a', 'ip_version': 4, 'cidr': '14.96.11.64/26', 'allocation_pools': [{'start': '14.96.11.66', 'end': '14.96.11.126'}], 'gateway_ip': '14.96.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.96.11.66', 'tags': [], 'project_id': 'bffc670096cd48c0a84bd570cfec3ba5'}} 2026-10-31 12:59:10,180 - INFO - Created VN ctest-ext_vn-65632268 2026-10-31 12:59:10,231 - DEBUG - VN ctest-ext_vn-65632268 UUID is e860977c-54c1-4f29-b97f-a5dcc5c8421a 2026-10-31 12:59:10,425 - DEBUG - Services list from nova: [, , ] 2026-10-31 12:59:10,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6453-1) 2026-10-31 12:59:11,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6453-1) 2026-10-31 12:59:11,208 - INFO - Setting gateway for router ef925a2c-b726-4b3e-aa3a-7cc6373ae9aa to network e860977c-54c1-4f29-b97f-a5dcc5c8421a 2026-10-31 12:59:11,272 - INFO - Adding interface with subnet_id d5f096e5-9103-485b-9c05-1295cd210711, port_id None to router ef925a2c-b726-4b3e-aa3a-7cc6373ae9aa 2026-10-31 12:59:11,549 - INFO - Waiting for VM ctest-TestRoutersBasic-55286346-52880234 to be up.. 2026-10-31 12:59:11,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:16,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:21,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:26,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:31,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:37,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:42,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:47,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 12:59:52,248 - DEBUG - VM is in ACTIVE state now 2026-10-31 12:59:52,248 - INFO - VM name : ctest-TestRoutersBasic-55286346-52880234 2026-10-31 12:59:52,322 - DEBUG - VM ctest-TestRoutersBasic-55286346-52880234 ID is dcc135ae-7c51-4c1c-b9f0-f636d514707c 2026-10-31 12:59:52,343 - DEBUG - VM ctest-TestRoutersBasic-55286346-52880234 launched on Node cn-jenkins-deploy-platform-ansible-os-6453-1 2026-10-31 12:59:52,415 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/dcc135ae-7c51-4c1c-b9f0-f636d514707c 2026-10-31 12:59:52,788 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/dcc135ae-7c51-4c1c-b9f0-f636d514707c 2026-10-31 12:59:52,817 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/c5e081cd-c338-424a-9aa1-aa1ddba41e94 2026-10-31 12:59:56,060 - 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 1002ms') 2026-10-31 12:59:56,060 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-55286346-52880234 failed! 2026-10-31 12:59:56,115 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55286346:ctest-vn-69572948 is 161.234.188.129 and allocation pool is NOT set 2026-10-31 12:59:58,173 - 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.52 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.526 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 = 0.526/2.022/3.518/1.496 ms') 2026-10-31 12:59:58,173 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-55286346-52880234 passed 2026-10-31 12:59:58,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 12:59:58,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55286346-52880234, IP 161.234.188.131, Port 22 2026-10-31 12:59:58,489 - DEBUG - VM ctest-TestRoutersBasic-55286346-52880234 is ready for SSH connections 2026-10-31 12:59:58,489 - INFO - Waiting for VM ctest-TestRoutersBasic-55286346-88578479 to be up.. 2026-10-31 12:59:58,562 - DEBUG - VM is in ACTIVE state now 2026-10-31 12:59:58,562 - INFO - VM name : ctest-TestRoutersBasic-55286346-88578479 2026-10-31 12:59:58,631 - DEBUG - VM ctest-TestRoutersBasic-55286346-88578479 ID is 548a5feb-0c8d-4bbb-8a1c-5a27b890d5ab 2026-10-31 12:59:58,631 - DEBUG - VM ctest-TestRoutersBasic-55286346-88578479 launched on Node cn-jenkins-deploy-platform-ansible-os-6453-1 2026-10-31 12:59:58,698 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/548a5feb-0c8d-4bbb-8a1c-5a27b890d5ab 2026-10-31 12:59:58,706 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/60cb1478-6182-4584-8626-e2209beb3ded 2026-10-31 12:59:59,939 - 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=6.33 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.497 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.497/3.413/6.329/2.916 ms') 2026-10-31 12:59:59,939 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-55286346-88578479 passed 2026-10-31 13:00:00,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 13:00:00,087 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55286346-88578479, IP 14.96.11.68, Port 22 2026-10-31 13:00:00,251 - DEBUG - VM ctest-TestRoutersBasic-55286346-88578479 is ready for SSH connections 2026-10-31 13:00:00,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 13:00:00,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.96.11.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-31 13:00:00,251 - DEBUG - ping -s 56 -c 3 -W 1 14.96.11.68 2026-10-31 13:00:03,208 - DEBUG - PING 14.96.11.68 (14.96.11.68): 56 data bytes 64 bytes from 14.96.11.68: seq=0 ttl=62 time=8.024 ms 64 bytes from 14.96.11.68: seq=1 ttl=62 time=1.064 ms 64 bytes from 14.96.11.68: seq=2 ttl=62 time=1.076 ms --- 14.96.11.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/3.388/8.024 ms 2026-10-31 13:00:03,209 - INFO - Ping to IP 14.96.11.68 from VM ctest-TestRoutersBasic-55286346-52880234 passed 2026-10-31 13:00:03,209 - INFO - Deleting interface with subnet_id d5f096e5-9103-485b-9c05-1295cd210711, port_id None from router ef925a2c-b726-4b3e-aa3a-7cc6373ae9aa 2026-10-31 13:00:03,469 - INFO - Deleting VM ctest-TestRoutersBasic-55286346-88578479 2026-10-31 13:00:03,565 - INFO - Deleting VM ctest-TestRoutersBasic-55286346-52880234 2026-10-31 13:00:03,728 - INFO - Deleting VN ctest-ext_vn-65632268 2026-10-31 13:00:03,805 - DEBUG - VN e860977c-54c1-4f29-b97f-a5dcc5c8421a still in use: Unable to complete operation on network e860977c-54c1-4f29-b97f-a5dcc5c8421a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f858ee9c-c7dd-415f-822d-f7d0a451385e'] 2026-10-31 13:00:03,805 - WARNING - Deleting VN ctest-ext_vn-65632268 failed..Will retry 2026-10-31 13:00:05,836 - DEBUG - VN e860977c-54c1-4f29-b97f-a5dcc5c8421a still in use: Unable to complete operation on network e860977c-54c1-4f29-b97f-a5dcc5c8421a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-608a56b3-237c-4f32-b7c5-fd23acc4f96c'] 2026-10-31 13:00:05,836 - WARNING - Deleting VN ctest-ext_vn-65632268 failed..Will retry 2026-10-31 13:00:07,944 - DEBUG - Response for deleting network () 2026-10-31 13:00:07,945 - INFO - Deleting VN ctest-vn-69572948 2026-10-31 13:00:08,044 - DEBUG - Response for deleting network () 2026-10-31 13:00:08,301 - DEBUG - No XMPP flaps were noticed during the test 2026-10-31 13:00:08,301 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01] 2026-10-31 13:00:08,301 - INFO - -------------------------------------------------------------------------------- 2026-10-31 13:00:09,174 - INFO - Deleted project: ctest-TestRoutersBasic-55286346, ID : bffc6700-96cd-48c0-a84b-d570cfec3ba5