2025-09-08 15:32:30,267 - INFO - Domain Default found not creating
2025-09-08 15:32:30,405 - INFO - Project ctest-TestRoutersBasic-05730415 not found, creating it
2025-09-08 15:32:30,850 - INFO - Created Project:ctest-TestRoutersBasic-05730415, ID : 772b4e71-b9af-41a2-89b5-37bfd54d1196
2025-09-08 15:32:32,144 - INFO - ================================================================================
2025-09-08 15:32:32,144 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-08 15:32:32,144 - 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-08 15:32:32,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-09-08 15:32:32,395 - INFO - Initial checks done. Running the testcase now
2025-09-08 15:32:32,396 - INFO -
2025-09-08 15:32:33,062 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05730415
2025-09-08 15:32:33,159 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05730415
2025-09-08 15:32:33,491 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05730415', 'default']}
2025-09-08 15:32:33,765 - DEBUG - Response for create_network : {'network': {'id': '03e94c07-c37d-48bb-b5d0-08b5fb84766b', 'name': 'ctest-vn-43262524', 'tenant_id': '772b4e71b9af41a289b537bfd54d1196', 'project_id': '772b4e71b9af41a289b537bfd54d1196', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05730415', 'ctest-vn-43262524'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 15:32:33,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '120147ae-c61a-4865-a741-9d2e16d5067b', 'name': '', 'tenant_id': '772b4e71b9af41a289b537bfd54d1196', 'network_id': '03e94c07-c37d-48bb-b5d0-08b5fb84766b', 'ip_version': 4, 'cidr': '222.98.178.128/26', 'allocation_pools': [{'start': '222.98.178.130', 'end': '222.98.178.190'}], 'gateway_ip': '222.98.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.98.178.130', 'tags': [], 'project_id': '772b4e71b9af41a289b537bfd54d1196'}}
2025-09-08 15:32:33,963 - INFO - Created VN ctest-vn-43262524
2025-09-08 15:32:34,015 - DEBUG - VN ctest-vn-43262524 UUID is 03e94c07-c37d-48bb-b5d0-08b5fb84766b
2025-09-08 15:32:34,325 - DEBUG - Response for create_network : {'network': {'id': '192800a3-d7ed-47f7-aae9-38a4e551223c', 'name': 'ctest-ext_vn-43595347', 'tenant_id': '772b4e71b9af41a289b537bfd54d1196', 'project_id': '772b4e71b9af41a289b537bfd54d1196', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05730415', 'ctest-ext_vn-43595347'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 15:32:34,519 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8ca5c39-cabf-4934-80b4-2d05c94f48d8', 'name': '', 'tenant_id': '772b4e71b9af41a289b537bfd54d1196', 'network_id': '192800a3-d7ed-47f7-aae9-38a4e551223c', 'ip_version': 4, 'cidr': '1.74.1.0/26', 'allocation_pools': [{'start': '1.74.1.2', 'end': '1.74.1.62'}], 'gateway_ip': '1.74.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.74.1.2', 'tags': [], 'project_id': '772b4e71b9af41a289b537bfd54d1196'}}
2025-09-08 15:32:34,533 - INFO - Created VN ctest-ext_vn-43595347
2025-09-08 15:32:34,584 - DEBUG - VN ctest-ext_vn-43595347 UUID is 192800a3-d7ed-47f7-aae9-38a4e551223c
2025-09-08 15:32:34,768 - DEBUG - Services list from nova: [, , ]
2025-09-08 15:32:35,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1)
2025-09-08 15:32:36,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1)
2025-09-08 15:32:36,949 - INFO - Setting gateway for router 6338d818-91a1-4458-918c-5745e918c099 to network 192800a3-d7ed-47f7-aae9-38a4e551223c
2025-09-08 15:32:37,003 - INFO - Adding interface with subnet_id 120147ae-c61a-4865-a741-9d2e16d5067b, port_id None to router 6338d818-91a1-4458-918c-5745e918c099
2025-09-08 15:32:37,389 - INFO - Waiting for VM ctest-TestRoutersBasic-05730415-78537216 to be up..
2025-09-08 15:32:37,570 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-08 15:32:42,645 - DEBUG - VM is in ACTIVE state now
2025-09-08 15:32:42,645 - INFO - VM name : ctest-TestRoutersBasic-05730415-78537216
2025-09-08 15:32:42,718 - DEBUG - VM ctest-TestRoutersBasic-05730415-78537216 ID is 2d89c452-0bf2-4ad4-883b-e1bb05b47e5e
2025-09-08 15:32:42,737 - DEBUG - VM ctest-TestRoutersBasic-05730415-78537216 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1
2025-09-08 15:32:42,803 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2d89c452-0bf2-4ad4-883b-e1bb05b47e5e
2025-09-08 15:32:43,091 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2d89c452-0bf2-4ad4-883b-e1bb05b47e5e
2025-09-08 15:32:43,147 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7937ded0-04ff-402d-ac13-7699368abdad
2025-09-08 15:32:46,398 - 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=2 ttl=63 time=11.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 11.631/11.631/11.631/0.000 ms')
2025-09-08 15:32:46,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05730415-78537216 passed
2025-09-08 15:32:46,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:32:46,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05730415-78537216, IP 222.98.178.131, Port 22
2025-09-08 15:32:46,703 - DEBUG - VM ctest-TestRoutersBasic-05730415-78537216 is ready for SSH connections
2025-09-08 15:32:46,703 - INFO - Waiting for VM ctest-TestRoutersBasic-05730415-28284045 to be up..
2025-09-08 15:32:46,764 - DEBUG - VM is in ACTIVE state now
2025-09-08 15:32:46,764 - INFO - VM name : ctest-TestRoutersBasic-05730415-28284045
2025-09-08 15:32:46,826 - DEBUG - VM ctest-TestRoutersBasic-05730415-28284045 ID is 258d1bf8-34fc-423c-9ca0-8059a8e6a9d4
2025-09-08 15:32:46,826 - DEBUG - VM ctest-TestRoutersBasic-05730415-28284045 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1
2025-09-08 15:32:46,887 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/258d1bf8-34fc-423c-9ca0-8059a8e6a9d4
2025-09-08 15:32:46,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/17f5b145-72c8-4203-adb3-e9f3737cec71
2025-09-08 15:32:48,127 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.508/2.160/3.813/1.652 ms')
2025-09-08 15:32:48,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05730415-28284045 passed
2025-09-08 15:32:48,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:32:48,279 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05730415-28284045, IP 1.74.1.3, Port 22
2025-09-08 15:32:48,345 - 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-08 15:32:48,417 - DEBUG - VM ctest-TestRoutersBasic-05730415-28284045 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-08 15:32:53,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:32:53,418 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05730415-28284045, IP 1.74.1.3, Port 22
2025-09-08 15:32:53,574 - DEBUG - VM ctest-TestRoutersBasic-05730415-28284045 is ready for SSH connections
2025-09-08 15:32:53,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:32:53,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.74.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-09-08 15:32:53,574 - DEBUG - ping -s 56 -c 3 -W 1 1.74.1.3
2025-09-08 15:32:57,550 - DEBUG - PING 1.74.1.3 (1.74.1.3): 56 data bytes
64 bytes from 1.74.1.3: seq=0 ttl=62 time=6.438 ms
64 bytes from 1.74.1.3: seq=1 ttl=62 time=0.743 ms
64 bytes from 1.74.1.3: seq=2 ttl=62 time=0.943 ms
--- 1.74.1.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.743/2.708/6.438 ms
2025-09-08 15:32:57,550 - INFO - Ping to IP 1.74.1.3 from VM ctest-TestRoutersBasic-05730415-78537216 passed
2025-09-08 15:32:57,551 - INFO - Deleting interface with subnet_id 120147ae-c61a-4865-a741-9d2e16d5067b, port_id None from router 6338d818-91a1-4458-918c-5745e918c099
2025-09-08 15:32:57,745 - INFO - Deleting VM ctest-TestRoutersBasic-05730415-28284045
2025-09-08 15:32:57,811 - INFO - Deleting VM ctest-TestRoutersBasic-05730415-78537216
2025-09-08 15:32:57,888 - INFO - Deleting VN ctest-ext_vn-43595347
2025-09-08 15:32:57,940 - DEBUG - VN 192800a3-d7ed-47f7-aae9-38a4e551223c still in use: Unable to complete operation on network 192800a3-d7ed-47f7-aae9-38a4e551223c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3340a250-d73a-44ef-badd-5879540c2ab6']
2025-09-08 15:32:57,940 - WARNING - Deleting VN ctest-ext_vn-43595347 failed..Will retry
2025-09-08 15:33:00,023 - DEBUG - Response for deleting network ()
2025-09-08 15:33:00,023 - INFO - Deleting VN ctest-vn-43262524
2025-09-08 15:33:00,109 - DEBUG - Response for deleting network ()
2025-09-08 15:33:00,363 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 15:33:00,364 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-09-08 15:33:00,364 - INFO - --------------------------------------------------------------------------------
2025-09-08 15:33:01,002 - INFO - Deleted project: ctest-TestRoutersBasic-05730415, ID : 772b4e71-b9af-41a2-89b5-37bfd54d1196