2025-08-11 10:00:45,246 - INFO - Domain Default found not creating
2025-08-11 10:00:45,373 - INFO - Project ctest-TestRoutersBasic-61155066 not found, creating it
2025-08-11 10:00:45,804 - INFO - Created Project:ctest-TestRoutersBasic-61155066, ID : a09183f4-c337-4e8e-9a8d-b7e67030f4a4
2025-08-11 10:00:47,335 - INFO - ================================================================================
2025-08-11 10:00:47,336 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-11 10:00:47,336 - 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-08-11 10:00:47,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-08-11 10:00:47,592 - INFO - Initial checks done. Running the testcase now
2025-08-11 10:00:47,592 - INFO -
2025-08-11 10:00:48,373 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61155066
2025-08-11 10:00:48,469 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61155066
2025-08-11 10:00:48,789 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61155066', 'default']}
2025-08-11 10:00:49,094 - DEBUG - Response for create_network : {'network': {'id': 'cd1bf6a1-985b-4eb8-a18f-df0ca0ca3d7a', 'name': 'ctest-vn-87457330', 'tenant_id': 'a09183f4c3374e8e9a8db7e67030f4a4', 'project_id': 'a09183f4c3374e8e9a8db7e67030f4a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61155066', 'ctest-vn-87457330'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 10:00:49,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '33ce51df-e640-40cf-8a78-c5e654153281', 'name': '', 'tenant_id': 'a09183f4c3374e8e9a8db7e67030f4a4', 'network_id': 'cd1bf6a1-985b-4eb8-a18f-df0ca0ca3d7a', 'ip_version': 4, 'cidr': '103.3.254.0/26', 'allocation_pools': [{'start': '103.3.254.2', 'end': '103.3.254.62'}], 'gateway_ip': '103.3.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.3.254.2', 'tags': [], 'project_id': 'a09183f4c3374e8e9a8db7e67030f4a4'}}
2025-08-11 10:00:49,310 - INFO - Created VN ctest-vn-87457330
2025-08-11 10:00:49,361 - DEBUG - VN ctest-vn-87457330 UUID is cd1bf6a1-985b-4eb8-a18f-df0ca0ca3d7a
2025-08-11 10:00:49,734 - DEBUG - Response for create_network : {'network': {'id': '32f92b86-55b4-4cc9-a0f5-f968e4517a11', 'name': 'ctest-ext_vn-97402600', 'tenant_id': 'a09183f4c3374e8e9a8db7e67030f4a4', 'project_id': 'a09183f4c3374e8e9a8db7e67030f4a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61155066', 'ctest-ext_vn-97402600'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 10:00:49,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a899206a-7ac9-4bb2-bf0a-e21bc64bd52b', 'name': '', 'tenant_id': 'a09183f4c3374e8e9a8db7e67030f4a4', 'network_id': '32f92b86-55b4-4cc9-a0f5-f968e4517a11', 'ip_version': 4, 'cidr': '125.129.157.0/26', 'allocation_pools': [{'start': '125.129.157.2', 'end': '125.129.157.62'}], 'gateway_ip': '125.129.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.129.157.2', 'tags': [], 'project_id': 'a09183f4c3374e8e9a8db7e67030f4a4'}}
2025-08-11 10:00:49,970 - INFO - Created VN ctest-ext_vn-97402600
2025-08-11 10:00:50,025 - DEBUG - VN ctest-ext_vn-97402600 UUID is 32f92b86-55b4-4cc9-a0f5-f968e4517a11
2025-08-11 10:00:50,227 - DEBUG - Services list from nova: [, , ]
2025-08-11 10:00:51,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1)
2025-08-11 10:00:52,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1)
2025-08-11 10:00:52,630 - INFO - Setting gateway for router 9363c1c7-d15e-45d9-8930-e5b13a485789 to network 32f92b86-55b4-4cc9-a0f5-f968e4517a11
2025-08-11 10:00:52,703 - INFO - Adding interface with subnet_id 33ce51df-e640-40cf-8a78-c5e654153281, port_id None to router 9363c1c7-d15e-45d9-8930-e5b13a485789
2025-08-11 10:00:53,148 - INFO - Waiting for VM ctest-TestRoutersBasic-61155066-65944512 to be up..
2025-08-11 10:00:53,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 10:00:58,413 - DEBUG - VM is in ACTIVE state now
2025-08-11 10:00:58,413 - INFO - VM name : ctest-TestRoutersBasic-61155066-65944512
2025-08-11 10:00:58,476 - DEBUG - VM ctest-TestRoutersBasic-61155066-65944512 ID is 9cee33a0-d109-4e0b-93fc-09ee3a14cdf4
2025-08-11 10:00:58,493 - DEBUG - VM ctest-TestRoutersBasic-61155066-65944512 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1
2025-08-11 10:00:58,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9cee33a0-d109-4e0b-93fc-09ee3a14cdf4
2025-08-11 10:00:58,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9cee33a0-d109-4e0b-93fc-09ee3a14cdf4
2025-08-11 10:00:58,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7aea28dd-3189-49e9-a11d-7122d4a49295
2025-08-11 10:01:02,190 - 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 1022ms')
2025-08-11 10:01:02,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61155066-65944512 failed!
2025-08-11 10:01:02,245 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61155066:ctest-vn-87457330 is 103.3.254.1 and allocation pool is NOT set
2025-08-11 10:01:04,302 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.879/2.267/3.656/1.388 ms')
2025-08-11 10:01:04,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61155066-65944512 passed
2025-08-11 10:01:04,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 10:01:04,449 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61155066-65944512, IP 103.3.254.3, Port 22
2025-08-11 10:01:04,605 - DEBUG - VM ctest-TestRoutersBasic-61155066-65944512 is ready for SSH connections
2025-08-11 10:01:04,605 - INFO - Waiting for VM ctest-TestRoutersBasic-61155066-60905089 to be up..
2025-08-11 10:01:04,689 - DEBUG - VM is in ACTIVE state now
2025-08-11 10:01:04,689 - INFO - VM name : ctest-TestRoutersBasic-61155066-60905089
2025-08-11 10:01:04,762 - DEBUG - VM ctest-TestRoutersBasic-61155066-60905089 ID is e406a503-1d65-4309-9914-f7b80e034930
2025-08-11 10:01:04,762 - DEBUG - VM ctest-TestRoutersBasic-61155066-60905089 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1
2025-08-11 10:01:04,836 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e406a503-1d65-4309-9914-f7b80e034930
2025-08-11 10:01:04,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eeb23d68-d885-4109-99f3-90d9dcf6ffd7
2025-08-11 10:01:06,087 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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 = 0.408/1.924/3.440/1.516 ms')
2025-08-11 10:01:06,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61155066-60905089 passed
2025-08-11 10:01:06,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 10:01:06,241 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61155066-60905089, IP 125.129.157.3, Port 22
2025-08-11 10:01:06,396 - DEBUG - VM ctest-TestRoutersBasic-61155066-60905089 is ready for SSH connections
2025-08-11 10:01:06,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 10:01:06,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.129.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-11 10:01:06,397 - DEBUG - ping -s 56 -c 3 -W 1 125.129.157.3
2025-08-11 10:01:10,090 - DEBUG - PING 125.129.157.3 (125.129.157.3): 56 data bytes
64 bytes from 125.129.157.3: seq=0 ttl=62 time=8.273 ms
64 bytes from 125.129.157.3: seq=1 ttl=62 time=0.849 ms
64 bytes from 125.129.157.3: seq=2 ttl=62 time=0.746 ms
--- 125.129.157.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.746/3.289/8.273 ms
2025-08-11 10:01:10,091 - INFO - Ping to IP 125.129.157.3 from VM ctest-TestRoutersBasic-61155066-65944512 passed
2025-08-11 10:01:10,091 - INFO - Deleting interface with subnet_id 33ce51df-e640-40cf-8a78-c5e654153281, port_id None from router 9363c1c7-d15e-45d9-8930-e5b13a485789
2025-08-11 10:01:10,275 - INFO - Deleting VM ctest-TestRoutersBasic-61155066-60905089
2025-08-11 10:01:10,348 - INFO - Deleting VM ctest-TestRoutersBasic-61155066-65944512
2025-08-11 10:01:10,421 - INFO - Deleting VN ctest-ext_vn-97402600
2025-08-11 10:01:10,489 - DEBUG - VN 32f92b86-55b4-4cc9-a0f5-f968e4517a11 still in use: Unable to complete operation on network 32f92b86-55b4-4cc9-a0f5-f968e4517a11. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7c8e4b95-5942-4074-b4e1-4c656a9d8c1b']
2025-08-11 10:01:10,489 - WARNING - Deleting VN ctest-ext_vn-97402600 failed..Will retry
2025-08-11 10:01:12,593 - DEBUG - Response for deleting network ()
2025-08-11 10:01:12,594 - INFO - Deleting VN ctest-vn-87457330
2025-08-11 10:01:12,728 - DEBUG - Response for deleting network ()
2025-08-11 10:01:12,983 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 10:01:12,983 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-11 10:01:12,983 - INFO - --------------------------------------------------------------------------------
2025-08-11 10:01:13,698 - INFO - Deleted project: ctest-TestRoutersBasic-61155066, ID : a09183f4-c337-4e8e-9a8d-b7e67030f4a4