2025-11-13 12:46:55,120 - INFO - Domain Default found not creating
2025-11-13 12:46:55,284 - INFO - Project ctest-TestRoutersBasic-32905625 not found, creating it
2025-11-13 12:46:55,733 - INFO - Created Project:ctest-TestRoutersBasic-32905625, ID : 42e83e29-afab-4c83-b590-bf5ca93081cb
2025-11-13 12:46:57,178 - INFO - ================================================================================
2025-11-13 12:46:57,178 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-13 12:46:57,178 - 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-11-13 12:46:57,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-11-13 12:46:57,432 - INFO - Initial checks done. Running the testcase now
2025-11-13 12:46:57,432 - INFO -
2025-11-13 12:46:58,122 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32905625
2025-11-13 12:46:58,218 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32905625
2025-11-13 12:46:58,530 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32905625', 'default']}
2025-11-13 12:46:58,813 - DEBUG - Response for create_network : {'network': {'id': '8342f1a6-fdd6-4bcd-a442-9006e494e153', 'name': 'ctest-vn-15694778', 'tenant_id': '42e83e29afab4c83b590bf5ca93081cb', 'project_id': '42e83e29afab4c83b590bf5ca93081cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32905625', 'ctest-vn-15694778'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 12:46:59,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '83cff12e-6892-4489-a420-15c0e76d0c49', 'name': '', 'tenant_id': '42e83e29afab4c83b590bf5ca93081cb', 'network_id': '8342f1a6-fdd6-4bcd-a442-9006e494e153', 'ip_version': 4, 'cidr': '178.73.45.64/26', 'allocation_pools': [{'start': '178.73.45.66', 'end': '178.73.45.126'}], 'gateway_ip': '178.73.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.73.45.66', 'tags': [], 'project_id': '42e83e29afab4c83b590bf5ca93081cb'}}
2025-11-13 12:46:59,048 - INFO - Created VN ctest-vn-15694778
2025-11-13 12:46:59,098 - DEBUG - VN ctest-vn-15694778 UUID is 8342f1a6-fdd6-4bcd-a442-9006e494e153
2025-11-13 12:46:59,437 - DEBUG - Response for create_network : {'network': {'id': '04543fde-465b-4034-9309-5f02cf4853e2', 'name': 'ctest-ext_vn-17060208', 'tenant_id': '42e83e29afab4c83b590bf5ca93081cb', 'project_id': '42e83e29afab4c83b590bf5ca93081cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32905625', 'ctest-ext_vn-17060208'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 12:46:59,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'def6154a-9df6-4a0c-b9bd-26a69aad1b1d', 'name': '', 'tenant_id': '42e83e29afab4c83b590bf5ca93081cb', 'network_id': '04543fde-465b-4034-9309-5f02cf4853e2', 'ip_version': 4, 'cidr': '178.159.160.192/26', 'allocation_pools': [{'start': '178.159.160.194', 'end': '178.159.160.254'}], 'gateway_ip': '178.159.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.159.160.194', 'tags': [], 'project_id': '42e83e29afab4c83b590bf5ca93081cb'}}
2025-11-13 12:46:59,668 - INFO - Created VN ctest-ext_vn-17060208
2025-11-13 12:46:59,718 - DEBUG - VN ctest-ext_vn-17060208 UUID is 04543fde-465b-4034-9309-5f02cf4853e2
2025-11-13 12:46:59,923 - DEBUG - Services list from nova: [, , ]
2025-11-13 12:47:00,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1)
2025-11-13 12:47:02,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1)
2025-11-13 12:47:02,188 - INFO - Setting gateway for router 3623f538-c2e2-4e19-b4f1-184d4fe759bf to network 04543fde-465b-4034-9309-5f02cf4853e2
2025-11-13 12:47:02,252 - INFO - Adding interface with subnet_id 83cff12e-6892-4489-a420-15c0e76d0c49, port_id None to router 3623f538-c2e2-4e19-b4f1-184d4fe759bf
2025-11-13 12:47:02,635 - INFO - Waiting for VM ctest-TestRoutersBasic-32905625-18627682 to be up..
2025-11-13 12:47:02,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-13 12:47:07,881 - DEBUG - VM is in ACTIVE state now
2025-11-13 12:47:07,881 - INFO - VM name : ctest-TestRoutersBasic-32905625-18627682
2025-11-13 12:47:07,952 - DEBUG - VM ctest-TestRoutersBasic-32905625-18627682 ID is b156368c-9e26-4005-9f78-5305233d8780
2025-11-13 12:47:07,976 - DEBUG - VM ctest-TestRoutersBasic-32905625-18627682 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1
2025-11-13 12:47:08,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b156368c-9e26-4005-9f78-5305233d8780
2025-11-13 12:47:08,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b156368c-9e26-4005-9f78-5305233d8780
2025-11-13 12:47:08,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b85e25fe-610b-4e2b-a47e-ce7269da50b8
2025-11-13 12:47:11,616 - 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 1007ms')
2025-11-13 12:47:11,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32905625-18627682 failed!
2025-11-13 12:47:11,670 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32905625:ctest-vn-15694778 is 178.73.45.65 and allocation pool is NOT set
2025-11-13 12:47:13,737 - 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=4.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.243/3.159/4.076/0.916 ms')
2025-11-13 12:47:13,737 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32905625-18627682 passed
2025-11-13 12:47:13,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 12:47:13,886 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32905625-18627682, IP 178.73.45.67, Port 22
2025-11-13 12:47:14,041 - DEBUG - VM ctest-TestRoutersBasic-32905625-18627682 is ready for SSH connections
2025-11-13 12:47:14,042 - INFO - Waiting for VM ctest-TestRoutersBasic-32905625-75064188 to be up..
2025-11-13 12:47:14,119 - DEBUG - VM is in ACTIVE state now
2025-11-13 12:47:14,119 - INFO - VM name : ctest-TestRoutersBasic-32905625-75064188
2025-11-13 12:47:14,193 - DEBUG - VM ctest-TestRoutersBasic-32905625-75064188 ID is fa1d3f00-a05b-4066-a532-2fdbc9f65775
2025-11-13 12:47:14,193 - DEBUG - VM ctest-TestRoutersBasic-32905625-75064188 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1
2025-11-13 12:47:14,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fa1d3f00-a05b-4066-a532-2fdbc9f65775
2025-11-13 12:47:14,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e5492e7e-15ec-4707-8ede-11ee1edc787c
2025-11-13 12:47:15,503 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.698/2.972/1.274 ms')
2025-11-13 12:47:15,503 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32905625-75064188 passed
2025-11-13 12:47:15,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 12:47:15,650 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32905625-75064188, IP 178.159.160.195, Port 22
2025-11-13 12:47:15,806 - DEBUG - VM ctest-TestRoutersBasic-32905625-75064188 is ready for SSH connections
2025-11-13 12:47:15,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 12:47:15,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.159.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-13 12:47:15,806 - DEBUG - ping -s 56 -c 3 -W 1 178.159.160.195
2025-11-13 12:47:19,836 - DEBUG - PING 178.159.160.195 (178.159.160.195): 56 data bytes
64 bytes from 178.159.160.195: seq=0 ttl=62 time=4.810 ms
64 bytes from 178.159.160.195: seq=1 ttl=62 time=0.859 ms
64 bytes from 178.159.160.195: seq=2 ttl=62 time=0.953 ms
--- 178.159.160.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.859/2.207/4.810 ms
2025-11-13 12:47:19,836 - INFO - Ping to IP 178.159.160.195 from VM ctest-TestRoutersBasic-32905625-18627682 passed
2025-11-13 12:47:19,836 - INFO - Deleting interface with subnet_id 83cff12e-6892-4489-a420-15c0e76d0c49, port_id None from router 3623f538-c2e2-4e19-b4f1-184d4fe759bf
2025-11-13 12:47:19,994 - INFO - Deleting VM ctest-TestRoutersBasic-32905625-75064188
2025-11-13 12:47:20,061 - INFO - Deleting VM ctest-TestRoutersBasic-32905625-18627682
2025-11-13 12:47:20,145 - INFO - Deleting VN ctest-ext_vn-17060208
2025-11-13 12:47:20,210 - DEBUG - VN 04543fde-465b-4034-9309-5f02cf4853e2 still in use: Unable to complete operation on network 04543fde-465b-4034-9309-5f02cf4853e2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80e67c03-8aa0-410c-8cef-29638219e8e6']
2025-11-13 12:47:20,211 - WARNING - Deleting VN ctest-ext_vn-17060208 failed..Will retry
2025-11-13 12:47:22,302 - DEBUG - Response for deleting network ()
2025-11-13 12:47:22,303 - INFO - Deleting VN ctest-vn-15694778
2025-11-13 12:47:22,398 - DEBUG - Response for deleting network ()
2025-11-13 12:47:22,651 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:47:22,651 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-13 12:47:22,651 - INFO - --------------------------------------------------------------------------------
2025-11-13 12:47:23,333 - INFO - Deleted project: ctest-TestRoutersBasic-32905625, ID : 42e83e29-afab-4c83-b590-bf5ca93081cb