2026-03-05 19:43:18,652 - INFO - Domain Default found not creating
2026-03-05 19:43:18,839 - INFO - Project ctest-TestRoutersBasic-57591692 not found, creating it
2026-03-05 19:43:19,348 - INFO - Created Project:ctest-TestRoutersBasic-57591692, ID : d0550afa-4159-4e2b-a100-242f0053f3aa
2026-03-05 19:43:20,961 - INFO - ================================================================================
2026-03-05 19:43:20,961 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-03-05 19:43:20,961 - 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-05 19:43:21,217 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2026-03-05 19:43:21,217 - INFO - Initial checks done. Running the testcase now
2026-03-05 19:43:21,217 - INFO -
2026-03-05 19:43:21,967 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57591692
2026-03-05 19:43:22,063 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57591692
2026-03-05 19:43:22,399 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57591692', 'default']}
2026-03-05 19:43:22,687 - DEBUG - Response for create_network : {'network': {'id': 'c2fe123e-b5c2-4bc7-8264-f63d8b03d70e', 'name': 'ctest-vn-96782729', 'tenant_id': 'd0550afa41594e2ba100242f0053f3aa', 'project_id': 'd0550afa41594e2ba100242f0053f3aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57591692', 'ctest-vn-96782729'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 19:43:22,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '86b83c35-5270-4fd7-87ce-155724f5ec98', 'name': '', 'tenant_id': 'd0550afa41594e2ba100242f0053f3aa', 'network_id': 'c2fe123e-b5c2-4bc7-8264-f63d8b03d70e', 'ip_version': 4, 'cidr': '170.105.70.0/26', 'allocation_pools': [{'start': '170.105.70.2', 'end': '170.105.70.62'}], 'gateway_ip': '170.105.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.105.70.2', 'tags': [], 'project_id': 'd0550afa41594e2ba100242f0053f3aa'}}
2026-03-05 19:43:22,911 - INFO - Created VN ctest-vn-96782729
2026-03-05 19:43:22,967 - DEBUG - VN ctest-vn-96782729 UUID is c2fe123e-b5c2-4bc7-8264-f63d8b03d70e
2026-03-05 19:43:23,297 - DEBUG - Response for create_network : {'network': {'id': '30041365-e69e-4d14-b0e7-c4a0709be496', 'name': 'ctest-ext_vn-73792203', 'tenant_id': 'd0550afa41594e2ba100242f0053f3aa', 'project_id': 'd0550afa41594e2ba100242f0053f3aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57591692', 'ctest-ext_vn-73792203'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 19:43:23,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b868cbd-1cad-43f0-9a90-b1297b83b240', 'name': '', 'tenant_id': 'd0550afa41594e2ba100242f0053f3aa', 'network_id': '30041365-e69e-4d14-b0e7-c4a0709be496', 'ip_version': 4, 'cidr': '192.46.4.128/26', 'allocation_pools': [{'start': '192.46.4.130', 'end': '192.46.4.190'}], 'gateway_ip': '192.46.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.46.4.130', 'tags': [], 'project_id': 'd0550afa41594e2ba100242f0053f3aa'}}
2026-03-05 19:43:23,513 - INFO - Created VN ctest-ext_vn-73792203
2026-03-05 19:43:23,567 - DEBUG - VN ctest-ext_vn-73792203 UUID is 30041365-e69e-4d14-b0e7-c4a0709be496
2026-03-05 19:43:23,744 - DEBUG - Services list from nova: [, , ]
2026-03-05 19:43:24,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5446-1)
2026-03-05 19:43:25,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5446-1)
2026-03-05 19:43:26,070 - INFO - Setting gateway for router e5d8b957-1b30-4631-99e3-a81770c23c3b to network 30041365-e69e-4d14-b0e7-c4a0709be496
2026-03-05 19:43:26,146 - INFO - Adding interface with subnet_id 86b83c35-5270-4fd7-87ce-155724f5ec98, port_id None to router e5d8b957-1b30-4631-99e3-a81770c23c3b
2026-03-05 19:43:26,482 - INFO - Waiting for VM ctest-TestRoutersBasic-57591692-92310127 to be up..
2026-03-05 19:43:26,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-05 19:43:31,717 - DEBUG - VM is in ACTIVE state now
2026-03-05 19:43:31,717 - INFO - VM name : ctest-TestRoutersBasic-57591692-92310127
2026-03-05 19:43:31,796 - DEBUG - VM ctest-TestRoutersBasic-57591692-92310127 ID is 6e3055c4-92a1-4b47-8ed1-8757afa2e7f9
2026-03-05 19:43:31,816 - DEBUG - VM ctest-TestRoutersBasic-57591692-92310127 launched on Node cn-jenkins-deploy-platform-ansible-os-5446-1
2026-03-05 19:43:31,895 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6e3055c4-92a1-4b47-8ed1-8757afa2e7f9
2026-03-05 19:43:32,190 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6e3055c4-92a1-4b47-8ed1-8757afa2e7f9
2026-03-05 19:43:32,224 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c75762dc-83fd-4de5-9e17-232aad0e4d1c
2026-03-05 19:43:35,489 - 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-03-05 19:43:35,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57591692-92310127 failed!
2026-03-05 19:43:35,543 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57591692:ctest-vn-96782729 is 170.105.70.1 and allocation pool is NOT set
2026-03-05 19:43:37,603 - 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=0.433 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 = 0.433/1.835/3.238/1.402 ms')
2026-03-05 19:43:37,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57591692-92310127 passed
2026-03-05 19:43:37,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 19:43:37,751 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57591692-92310127, IP 170.105.70.3, Port 22
2026-03-05 19:43:37,907 - DEBUG - VM ctest-TestRoutersBasic-57591692-92310127 is ready for SSH connections
2026-03-05 19:43:37,907 - INFO - Waiting for VM ctest-TestRoutersBasic-57591692-77111993 to be up..
2026-03-05 19:43:37,992 - DEBUG - VM is in ACTIVE state now
2026-03-05 19:43:37,992 - INFO - VM name : ctest-TestRoutersBasic-57591692-77111993
2026-03-05 19:43:38,069 - DEBUG - VM ctest-TestRoutersBasic-57591692-77111993 ID is c404bfbd-cc1a-494a-953b-e4043a6466bd
2026-03-05 19:43:38,069 - DEBUG - VM ctest-TestRoutersBasic-57591692-77111993 launched on Node cn-jenkins-deploy-platform-ansible-os-5446-1
2026-03-05 19:43:38,145 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c404bfbd-cc1a-494a-953b-e4043a6466bd
2026-03-05 19:43:38,153 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e9e93b4e-3b64-4b2d-831c-5ec49a22c6b1
2026-03-05 19:43:39,396 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.63 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 = 1.628/3.138/4.649/1.510 ms')
2026-03-05 19:43:39,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57591692-77111993 passed
2026-03-05 19:43:39,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 19:43:39,551 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57591692-77111993, IP 192.46.4.131, Port 22
2026-03-05 19:43:39,607 - 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-05 19:43:39,685 - DEBUG - VM ctest-TestRoutersBasic-57591692-77111993 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-05 19:43:44,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 19:43:44,686 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57591692-77111993, IP 192.46.4.131, Port 22
2026-03-05 19:43:44,850 - DEBUG - VM ctest-TestRoutersBasic-57591692-77111993 is ready for SSH connections
2026-03-05 19:43:44,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 19:43:44,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.46.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-03-05 19:43:44,851 - DEBUG - ping -s 56 -c 3 -W 1 192.46.4.131
2026-03-05 19:43:48,587 - DEBUG - PING 192.46.4.131 (192.46.4.131): 56 data bytes
64 bytes from 192.46.4.131: seq=0 ttl=62 time=5.840 ms
64 bytes from 192.46.4.131: seq=1 ttl=62 time=0.956 ms
64 bytes from 192.46.4.131: seq=2 ttl=62 time=0.853 ms
--- 192.46.4.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.853/2.549/5.840 ms
2026-03-05 19:43:48,587 - INFO - Ping to IP 192.46.4.131 from VM ctest-TestRoutersBasic-57591692-92310127 passed
2026-03-05 19:43:48,587 - INFO - Deleting interface with subnet_id 86b83c35-5270-4fd7-87ce-155724f5ec98, port_id None from router e5d8b957-1b30-4631-99e3-a81770c23c3b
2026-03-05 19:43:48,780 - INFO - Deleting VM ctest-TestRoutersBasic-57591692-77111993
2026-03-05 19:43:48,861 - INFO - Deleting VM ctest-TestRoutersBasic-57591692-92310127
2026-03-05 19:43:48,941 - INFO - Deleting VN ctest-ext_vn-73792203
2026-03-05 19:43:49,006 - DEBUG - VN 30041365-e69e-4d14-b0e7-c4a0709be496 still in use: Unable to complete operation on network 30041365-e69e-4d14-b0e7-c4a0709be496. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-05c23b27-1326-465e-9cd8-ddc0c75a8499']
2026-03-05 19:43:49,006 - WARNING - Deleting VN ctest-ext_vn-73792203 failed..Will retry
2026-03-05 19:43:51,113 - DEBUG - Response for deleting network ()
2026-03-05 19:43:51,113 - INFO - Deleting VN ctest-vn-96782729
2026-03-05 19:43:51,227 - DEBUG - Response for deleting network ()
2026-03-05 19:43:51,479 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 19:43:51,480 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-03-05 19:43:51,480 - INFO - --------------------------------------------------------------------------------
2026-03-05 19:43:52,186 - INFO - Deleted project: ctest-TestRoutersBasic-57591692, ID : d0550afa-4159-4e2b-a100-242f0053f3aa