2025-06-30 02:34:05,966 - INFO - Domain Default found not creating
2025-06-30 02:34:06,132 - INFO - Project ctest-TestRoutersBasic-56954238 not found, creating it
2025-06-30 02:34:06,621 - INFO - Created Project:ctest-TestRoutersBasic-56954238, ID : bd3dbe56-5ee0-4a3b-b371-40c10970addc
2025-06-30 02:34:08,102 - INFO - ================================================================================
2025-06-30 02:34:08,102 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-30 02:34:08,102 - 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-06-30 02:34:08,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-06-30 02:34:08,367 - INFO - Initial checks done. Running the testcase now
2025-06-30 02:34:08,367 - INFO -
2025-06-30 02:34:09,083 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56954238
2025-06-30 02:34:09,183 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56954238
2025-06-30 02:34:09,519 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56954238', 'default']}
2025-06-30 02:34:09,816 - DEBUG - Response for create_network : {'network': {'id': 'f2be0666-6a00-41ac-9e0a-974efb1c74ef', 'name': 'ctest-vn-82840286', 'tenant_id': 'bd3dbe565ee04a3bb37140c10970addc', 'project_id': 'bd3dbe565ee04a3bb37140c10970addc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56954238', 'ctest-vn-82840286'], 'port_security_enabled': True, 'description': ''}}
2025-06-30 02:34:10,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f90c0880-9a0a-45c7-a288-fc9cae589594', 'name': '', 'tenant_id': 'bd3dbe565ee04a3bb37140c10970addc', 'network_id': 'f2be0666-6a00-41ac-9e0a-974efb1c74ef', 'ip_version': 4, 'cidr': '163.110.114.0/26', 'allocation_pools': [{'start': '163.110.114.2', 'end': '163.110.114.62'}], 'gateway_ip': '163.110.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.110.114.2', 'tags': [], 'project_id': 'bd3dbe565ee04a3bb37140c10970addc'}}
2025-06-30 02:34:10,068 - INFO - Created VN ctest-vn-82840286
2025-06-30 02:34:10,123 - DEBUG - VN ctest-vn-82840286 UUID is f2be0666-6a00-41ac-9e0a-974efb1c74ef
2025-06-30 02:34:10,470 - DEBUG - Response for create_network : {'network': {'id': '8677f4dd-cb91-4eef-b240-9ca020c3d77b', 'name': 'ctest-ext_vn-65858102', 'tenant_id': 'bd3dbe565ee04a3bb37140c10970addc', 'project_id': 'bd3dbe565ee04a3bb37140c10970addc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56954238', 'ctest-ext_vn-65858102'], 'port_security_enabled': True, 'description': ''}}
2025-06-30 02:34:10,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '69a9244b-6a0d-4ca6-bfff-41acd9ad6dba', 'name': '', 'tenant_id': 'bd3dbe565ee04a3bb37140c10970addc', 'network_id': '8677f4dd-cb91-4eef-b240-9ca020c3d77b', 'ip_version': 4, 'cidr': '100.148.208.192/26', 'allocation_pools': [{'start': '100.148.208.194', 'end': '100.148.208.254'}], 'gateway_ip': '100.148.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.148.208.194', 'tags': [], 'project_id': 'bd3dbe565ee04a3bb37140c10970addc'}}
2025-06-30 02:34:10,728 - INFO - Created VN ctest-ext_vn-65858102
2025-06-30 02:34:10,783 - DEBUG - VN ctest-ext_vn-65858102 UUID is 8677f4dd-cb91-4eef-b240-9ca020c3d77b
2025-06-30 02:34:10,968 - DEBUG - Services list from nova: [, , ]
2025-06-30 02:34:12,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3571-1)
2025-06-30 02:34:13,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3571-1)
2025-06-30 02:34:13,492 - INFO - Setting gateway for router fa8ba563-5e82-4710-9692-c1627a43a0a5 to network 8677f4dd-cb91-4eef-b240-9ca020c3d77b
2025-06-30 02:34:13,574 - INFO - Adding interface with subnet_id f90c0880-9a0a-45c7-a288-fc9cae589594, port_id None to router fa8ba563-5e82-4710-9692-c1627a43a0a5
2025-06-30 02:34:14,149 - INFO - Waiting for VM ctest-TestRoutersBasic-56954238-15093078 to be up..
2025-06-30 02:34:14,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-30 02:34:19,468 - DEBUG - VM is in ACTIVE state now
2025-06-30 02:34:19,469 - INFO - VM name : ctest-TestRoutersBasic-56954238-15093078
2025-06-30 02:34:19,567 - DEBUG - VM ctest-TestRoutersBasic-56954238-15093078 ID is bde5a81a-9af3-4a85-8a10-fddf3dfc85d8
2025-06-30 02:34:19,589 - DEBUG - VM ctest-TestRoutersBasic-56954238-15093078 launched on Node cn-jenkins-deploy-platform-ansible-os-3571-1
2025-06-30 02:34:19,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bde5a81a-9af3-4a85-8a10-fddf3dfc85d8
2025-06-30 02:34:19,982 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bde5a81a-9af3-4a85-8a10-fddf3dfc85d8
2025-06-30 02:34:20,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5da65453-73d0-4e56-aac5-c2ea2988f7b5
2025-06-30 02:34:23,277 - 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 1012ms')
2025-06-30 02:34:23,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56954238-15093078 failed!
2025-06-30 02:34:23,335 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56954238:ctest-vn-82840286 is 163.110.114.1 and allocation pool is NOT set
2025-06-30 02:34:25,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=1 ttl=63 time=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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.522/1.742/2.963/1.220 ms')
2025-06-30 02:34:25,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56954238-15093078 passed
2025-06-30 02:34:25,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 02:34:25,559 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56954238-15093078, IP 163.110.114.3, Port 22
2025-06-30 02:34:25,715 - DEBUG - VM ctest-TestRoutersBasic-56954238-15093078 is ready for SSH connections
2025-06-30 02:34:25,715 - INFO - Waiting for VM ctest-TestRoutersBasic-56954238-57925822 to be up..
2025-06-30 02:34:25,796 - DEBUG - VM is in ACTIVE state now
2025-06-30 02:34:25,796 - INFO - VM name : ctest-TestRoutersBasic-56954238-57925822
2025-06-30 02:34:25,878 - DEBUG - VM ctest-TestRoutersBasic-56954238-57925822 ID is b520a850-ebc0-437f-b57a-9d9beabbce5a
2025-06-30 02:34:25,879 - DEBUG - VM ctest-TestRoutersBasic-56954238-57925822 launched on Node cn-jenkins-deploy-platform-ansible-os-3571-1
2025-06-30 02:34:25,962 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b520a850-ebc0-437f-b57a-9d9beabbce5a
2025-06-30 02:34:25,975 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/28ae4f25-b5c8-490b-ae5f-628f42138fcc
2025-06-30 02:34:27,238 - 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=5.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.13 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 = 2.131/3.623/5.115/1.492 ms')
2025-06-30 02:34:27,239 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56954238-57925822 passed
2025-06-30 02:34:27,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 02:34:27,395 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56954238-57925822, IP 100.148.208.195, Port 22
2025-06-30 02:34:27,561 - DEBUG - VM ctest-TestRoutersBasic-56954238-57925822 is ready for SSH connections
2025-06-30 02:34:27,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 02:34:27,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.148.208.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-30 02:34:27,562 - DEBUG - ping -s 56 -c 3 -W 1 100.148.208.195
2025-06-30 02:34:31,256 - DEBUG - PING 100.148.208.195 (100.148.208.195): 56 data bytes
64 bytes from 100.148.208.195: seq=0 ttl=62 time=6.227 ms
64 bytes from 100.148.208.195: seq=1 ttl=62 time=0.988 ms
64 bytes from 100.148.208.195: seq=2 ttl=62 time=0.954 ms
--- 100.148.208.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.954/2.723/6.227 ms
2025-06-30 02:34:31,256 - INFO - Ping to IP 100.148.208.195 from VM ctest-TestRoutersBasic-56954238-15093078 passed
2025-06-30 02:34:31,256 - INFO - Deleting interface with subnet_id f90c0880-9a0a-45c7-a288-fc9cae589594, port_id None from router fa8ba563-5e82-4710-9692-c1627a43a0a5
2025-06-30 02:34:31,467 - INFO - Deleting VM ctest-TestRoutersBasic-56954238-57925822
2025-06-30 02:34:31,550 - INFO - Deleting VM ctest-TestRoutersBasic-56954238-15093078
2025-06-30 02:34:31,678 - INFO - Deleting VN ctest-ext_vn-65858102
2025-06-30 02:34:31,762 - DEBUG - VN 8677f4dd-cb91-4eef-b240-9ca020c3d77b still in use: Unable to complete operation on network 8677f4dd-cb91-4eef-b240-9ca020c3d77b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2269c07d-f0fd-46ec-b6a0-616b9e1a7b8f']
2025-06-30 02:34:31,762 - WARNING - Deleting VN ctest-ext_vn-65858102 failed..Will retry
2025-06-30 02:34:33,888 - DEBUG - Response for deleting network ()
2025-06-30 02:34:33,888 - INFO - Deleting VN ctest-vn-82840286
2025-06-30 02:34:33,999 - DEBUG - Response for deleting network ()
2025-06-30 02:34:34,253 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 02:34:34,253 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-30 02:34:34,253 - INFO - --------------------------------------------------------------------------------
2025-06-30 02:34:34,956 - INFO - Deleted project: ctest-TestRoutersBasic-56954238, ID : bd3dbe56-5ee0-4a3b-b371-40c10970addc