2025-09-13 14:16:38,716 - INFO - Domain Default found not creating
2025-09-13 14:16:38,854 - INFO - Project ctest-TestRoutersBasic-18419745 not found, creating it
2025-09-13 14:16:39,302 - INFO - Created Project:ctest-TestRoutersBasic-18419745, ID : 6f08c784-cc90-47b9-a049-06bfa8f6f41d
2025-09-13 14:16:40,839 - INFO - ================================================================================
2025-09-13 14:16:40,839 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-13 14:16:40,839 - 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
2025-09-13 14:16:41,096 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-13 14:16:41,096 - INFO - Initial checks done. Running the testcase now
2025-09-13 14:16:41,096 - INFO -
2025-09-13 14:16:41,869 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18419745
2025-09-13 14:16:41,965 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18419745
2025-09-13 14:16:42,289 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18419745', 'default']}
2025-09-13 14:16:42,584 - DEBUG - Response for create_network : {'network': {'id': 'c559a7af-d170-4168-b3b5-e81d97530885', 'name': 'ctest-vn-14525787', 'tenant_id': '6f08c784cc9047b9a04906bfa8f6f41d', 'project_id': '6f08c784cc9047b9a04906bfa8f6f41d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18419745', 'ctest-vn-14525787'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 14:16:42,792 - DEBUG - Response for create_subnet : {'subnet': {'id': 'faf1a07e-4e83-4813-b0bf-64bf39ed06ea', 'name': '', 'tenant_id': '6f08c784cc9047b9a04906bfa8f6f41d', 'network_id': 'c559a7af-d170-4168-b3b5-e81d97530885', 'ip_version': 4, 'cidr': '103.90.17.128/26', 'allocation_pools': [{'start': '103.90.17.130', 'end': '103.90.17.190'}], 'gateway_ip': '103.90.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.90.17.130', 'tags': [], 'project_id': '6f08c784cc9047b9a04906bfa8f6f41d'}}
2025-09-13 14:16:42,809 - INFO - Created VN ctest-vn-14525787
2025-09-13 14:16:42,865 - DEBUG - VN ctest-vn-14525787 UUID is c559a7af-d170-4168-b3b5-e81d97530885
2025-09-13 14:16:43,175 - DEBUG - Response for create_network : {'network': {'id': '62f3ec14-0643-4e18-bb7a-305ed5478547', 'name': 'ctest-ext_vn-39685556', 'tenant_id': '6f08c784cc9047b9a04906bfa8f6f41d', 'project_id': '6f08c784cc9047b9a04906bfa8f6f41d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18419745', 'ctest-ext_vn-39685556'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 14:16:43,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc7298a6-80f0-4cf3-a945-c190c8ed0152', 'name': '', 'tenant_id': '6f08c784cc9047b9a04906bfa8f6f41d', 'network_id': '62f3ec14-0643-4e18-bb7a-305ed5478547', 'ip_version': 4, 'cidr': '73.96.217.192/26', 'allocation_pools': [{'start': '73.96.217.194', 'end': '73.96.217.254'}], 'gateway_ip': '73.96.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.96.217.194', 'tags': [], 'project_id': '6f08c784cc9047b9a04906bfa8f6f41d'}}
2025-09-13 14:16:43,435 - INFO - Created VN ctest-ext_vn-39685556
2025-09-13 14:16:43,489 - DEBUG - VN ctest-ext_vn-39685556 UUID is 62f3ec14-0643-4e18-bb7a-305ed5478547
2025-09-13 14:16:43,691 - DEBUG - Services list from nova: [, , ]
2025-09-13 14:16:44,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1)
2025-09-13 14:16:46,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1)
2025-09-13 14:16:46,180 - INFO - Setting gateway for router 3415c126-023b-402b-a2a0-8d373fa0411e to network 62f3ec14-0643-4e18-bb7a-305ed5478547
2025-09-13 14:16:46,237 - INFO - Adding interface with subnet_id faf1a07e-4e83-4813-b0bf-64bf39ed06ea, port_id None to router 3415c126-023b-402b-a2a0-8d373fa0411e
2025-09-13 14:16:46,565 - INFO - Waiting for VM ctest-TestRoutersBasic-18419745-83361586 to be up..
2025-09-13 14:16:46,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 14:16:51,793 - DEBUG - VM is in ACTIVE state now
2025-09-13 14:16:51,794 - INFO - VM name : ctest-TestRoutersBasic-18419745-83361586
2025-09-13 14:16:51,864 - DEBUG - VM ctest-TestRoutersBasic-18419745-83361586 ID is 155ca906-236a-4f3a-9549-1c5153cb397e
2025-09-13 14:16:51,884 - DEBUG - VM ctest-TestRoutersBasic-18419745-83361586 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1
2025-09-13 14:16:51,958 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/155ca906-236a-4f3a-9549-1c5153cb397e
2025-09-13 14:16:52,300 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/155ca906-236a-4f3a-9549-1c5153cb397e
2025-09-13 14:16:52,332 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8bae1eab-78e5-4759-aa71-96fddf22cf46
2025-09-13 14:16:55,562 - 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 1003ms')
2025-09-13 14:16:55,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18419745-83361586 failed!
2025-09-13 14:16:55,617 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18419745:ctest-vn-14525787 is 103.90.17.129 and allocation pool is NOT set
2025-09-13 14:16:57,678 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.626 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.626/1.997/3.369/1.371 ms')
2025-09-13 14:16:57,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18419745-83361586 passed
2025-09-13 14:16:57,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:16:57,825 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18419745-83361586, IP 103.90.17.131, Port 22
2025-09-13 14:16:57,984 - DEBUG - VM ctest-TestRoutersBasic-18419745-83361586 is ready for SSH connections
2025-09-13 14:16:57,984 - INFO - Waiting for VM ctest-TestRoutersBasic-18419745-41910830 to be up..
2025-09-13 14:16:58,060 - DEBUG - VM is in ACTIVE state now
2025-09-13 14:16:58,060 - INFO - VM name : ctest-TestRoutersBasic-18419745-41910830
2025-09-13 14:16:58,133 - DEBUG - VM ctest-TestRoutersBasic-18419745-41910830 ID is 56cffe85-6a6a-4432-8bea-4322953191a1
2025-09-13 14:16:58,133 - DEBUG - VM ctest-TestRoutersBasic-18419745-41910830 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1
2025-09-13 14:16:58,204 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/56cffe85-6a6a-4432-8bea-4322953191a1
2025-09-13 14:16:58,213 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/399ed5cb-7420-4aae-b0f7-2950bda7a320
2025-09-13 14:16:59,444 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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.256/2.882/4.508/1.626 ms')
2025-09-13 14:16:59,445 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18419745-41910830 passed
2025-09-13 14:16:59,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:16:59,597 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18419745-41910830, IP 73.96.217.195, Port 22
2025-09-13 14:16:59,663 - 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': ''}
2025-09-13 14:16:59,739 - DEBUG - VM ctest-TestRoutersBasic-18419745-41910830 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-13 14:17:04,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:17:04,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18419745-41910830, IP 73.96.217.195, Port 22
2025-09-13 14:17:04,896 - DEBUG - VM ctest-TestRoutersBasic-18419745-41910830 is ready for SSH connections
2025-09-13 14:17:04,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:17:04,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.96.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-13 14:17:04,897 - DEBUG - ping -s 56 -c 3 -W 1 73.96.217.195
2025-09-13 14:17:08,714 - DEBUG - PING 73.96.217.195 (73.96.217.195): 56 data bytes
64 bytes from 73.96.217.195: seq=0 ttl=62 time=7.728 ms
64 bytes from 73.96.217.195: seq=1 ttl=62 time=1.035 ms
64 bytes from 73.96.217.195: seq=2 ttl=62 time=0.907 ms
--- 73.96.217.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.907/3.223/7.728 ms
2025-09-13 14:17:08,714 - INFO - Ping to IP 73.96.217.195 from VM ctest-TestRoutersBasic-18419745-83361586 passed
2025-09-13 14:17:08,714 - INFO - Deleting interface with subnet_id faf1a07e-4e83-4813-b0bf-64bf39ed06ea, port_id None from router 3415c126-023b-402b-a2a0-8d373fa0411e
2025-09-13 14:17:08,897 - INFO - Deleting VM ctest-TestRoutersBasic-18419745-41910830
2025-09-13 14:17:08,975 - INFO - Deleting VM ctest-TestRoutersBasic-18419745-83361586
2025-09-13 14:17:09,068 - INFO - Deleting VN ctest-ext_vn-39685556
2025-09-13 14:17:09,134 - DEBUG - VN 62f3ec14-0643-4e18-bb7a-305ed5478547 still in use: Unable to complete operation on network 62f3ec14-0643-4e18-bb7a-305ed5478547. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b0cc6ef9-7d3a-4a1e-bcb7-a077de688a1e']
2025-09-13 14:17:09,134 - WARNING - Deleting VN ctest-ext_vn-39685556 failed..Will retry
2025-09-13 14:17:11,243 - DEBUG - Response for deleting network ()
2025-09-13 14:17:11,243 - INFO - Deleting VN ctest-vn-14525787
2025-09-13 14:17:11,362 - DEBUG - Response for deleting network ()
2025-09-13 14:17:11,618 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 14:17:11,618 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-09-13 14:17:11,618 - INFO - --------------------------------------------------------------------------------
2025-09-13 14:17:12,346 - INFO - Deleted project: ctest-TestRoutersBasic-18419745, ID : 6f08c784-cc90-47b9-a049-06bfa8f6f41d