2025-08-12 01:43:12,804 - INFO - Domain Default found not creating
2025-08-12 01:43:12,945 - INFO - Project ctest-TestRoutersBasic-89175357 not found, creating it
2025-08-12 01:43:13,399 - INFO - Created Project:ctest-TestRoutersBasic-89175357, ID : 4b9d4baa-edf3-457e-9108-2facd3dc4a06
2025-08-12 01:43:14,702 - INFO - ================================================================================
2025-08-12 01:43:14,703 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-12 01:43:14,703 - 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-12 01:43:14,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2025-08-12 01:43:14,976 - INFO - Initial checks done. Running the testcase now
2025-08-12 01:43:14,976 - INFO -
2025-08-12 01:43:15,640 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89175357
2025-08-12 01:43:15,737 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89175357
2025-08-12 01:43:16,061 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89175357', 'default']}
2025-08-12 01:43:16,346 - DEBUG - Response for create_network : {'network': {'id': 'c5d20ee6-f742-4341-b0c9-763a4ff1e184', 'name': 'ctest-vn-22736977', 'tenant_id': '4b9d4baaedf3457e91082facd3dc4a06', 'project_id': '4b9d4baaedf3457e91082facd3dc4a06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89175357', 'ctest-vn-22736977'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 01:43:16,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee2b7e9e-f87e-41bb-bcbb-ea65d24d9e6a', 'name': '', 'tenant_id': '4b9d4baaedf3457e91082facd3dc4a06', 'network_id': 'c5d20ee6-f742-4341-b0c9-763a4ff1e184', 'ip_version': 4, 'cidr': '16.97.233.64/26', 'allocation_pools': [{'start': '16.97.233.66', 'end': '16.97.233.126'}], 'gateway_ip': '16.97.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.97.233.66', 'tags': [], 'project_id': '4b9d4baaedf3457e91082facd3dc4a06'}}
2025-08-12 01:43:16,559 - INFO - Created VN ctest-vn-22736977
2025-08-12 01:43:16,613 - DEBUG - VN ctest-vn-22736977 UUID is c5d20ee6-f742-4341-b0c9-763a4ff1e184
2025-08-12 01:43:16,976 - DEBUG - Response for create_network : {'network': {'id': '185961ca-112b-49b2-8a6c-d157c68cf180', 'name': 'ctest-ext_vn-01758809', 'tenant_id': '4b9d4baaedf3457e91082facd3dc4a06', 'project_id': '4b9d4baaedf3457e91082facd3dc4a06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89175357', 'ctest-ext_vn-01758809'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 01:43:17,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '19b98aa3-1cde-4420-9e4e-071e41c68301', 'name': '', 'tenant_id': '4b9d4baaedf3457e91082facd3dc4a06', 'network_id': '185961ca-112b-49b2-8a6c-d157c68cf180', 'ip_version': 4, 'cidr': '29.47.216.128/26', 'allocation_pools': [{'start': '29.47.216.130', 'end': '29.47.216.190'}], 'gateway_ip': '29.47.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.47.216.130', 'tags': [], 'project_id': '4b9d4baaedf3457e91082facd3dc4a06'}}
2025-08-12 01:43:17,211 - INFO - Created VN ctest-ext_vn-01758809
2025-08-12 01:43:17,265 - DEBUG - VN ctest-ext_vn-01758809 UUID is 185961ca-112b-49b2-8a6c-d157c68cf180
2025-08-12 01:43:17,453 - DEBUG - Services list from nova: [, , ]
2025-08-12 01:43:18,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3827-1)
2025-08-12 01:43:19,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3827-1)
2025-08-12 01:43:19,621 - INFO - Setting gateway for router 9e49ffe2-08f2-42be-9b82-ab11cb0a2c27 to network 185961ca-112b-49b2-8a6c-d157c68cf180
2025-08-12 01:43:19,759 - INFO - Adding interface with subnet_id ee2b7e9e-f87e-41bb-bcbb-ea65d24d9e6a, port_id None to router 9e49ffe2-08f2-42be-9b82-ab11cb0a2c27
2025-08-12 01:43:20,616 - INFO - Waiting for VM ctest-TestRoutersBasic-89175357-94858112 to be up..
2025-08-12 01:43:20,752 - DEBUG - VM is in ACTIVE state now
2025-08-12 01:43:20,752 - INFO - VM name : ctest-TestRoutersBasic-89175357-94858112
2025-08-12 01:43:20,844 - DEBUG - VM ctest-TestRoutersBasic-89175357-94858112 ID is 206dc57a-4900-49f7-986c-4da5867f3be1
2025-08-12 01:43:20,878 - DEBUG - VM ctest-TestRoutersBasic-89175357-94858112 launched on Node cn-jenkins-deploy-platform-ansible-os-3827-1
2025-08-12 01:43:21,030 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/206dc57a-4900-49f7-986c-4da5867f3be1
2025-08-12 01:43:21,316 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/206dc57a-4900-49f7-986c-4da5867f3be1
2025-08-12 01:43:21,366 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/0ff22e3c-d2a9-44c4-b1ad-8ee479b260e4
2025-08-12 01:43:24,619 - 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-08-12 01:43:24,619 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89175357-94858112 failed!
2025-08-12 01:43:24,677 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89175357:ctest-vn-22736977 is 16.97.233.65 and allocation pool is NOT set
2025-08-12 01:43:28,754 - 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 1011ms')
2025-08-12 01:43:28,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89175357-94858112 failed!
2025-08-12 01:43:28,809 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89175357:ctest-vn-22736977 is 16.97.233.65 and allocation pool is NOT set
2025-08-12 01:43:30,867 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/1.684/2.878/1.193 ms')
2025-08-12 01:43:30,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89175357-94858112 passed
2025-08-12 01:43:31,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 01:43:31,021 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89175357-94858112, IP 16.97.233.67, Port 22
2025-08-12 01:43:31,187 - DEBUG - VM ctest-TestRoutersBasic-89175357-94858112 is ready for SSH connections
2025-08-12 01:43:31,188 - INFO - Waiting for VM ctest-TestRoutersBasic-89175357-21838147 to be up..
2025-08-12 01:43:31,258 - DEBUG - VM is in ACTIVE state now
2025-08-12 01:43:31,259 - INFO - VM name : ctest-TestRoutersBasic-89175357-21838147
2025-08-12 01:43:31,324 - DEBUG - VM ctest-TestRoutersBasic-89175357-21838147 ID is 8e388421-6a10-4ced-9bae-835fab9d6e2d
2025-08-12 01:43:31,324 - DEBUG - VM ctest-TestRoutersBasic-89175357-21838147 launched on Node cn-jenkins-deploy-platform-ansible-os-3827-1
2025-08-12 01:43:31,396 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8e388421-6a10-4ced-9bae-835fab9d6e2d
2025-08-12 01:43:31,407 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/964aa999-768d-4092-b85a-21eba7048fe9
2025-08-12 01:43:32,643 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.543/2.610/1.066 ms')
2025-08-12 01:43:32,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89175357-21838147 passed
2025-08-12 01:43:32,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 01:43:32,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89175357-21838147, IP 29.47.216.131, Port 22
2025-08-12 01:43:32,953 - DEBUG - VM ctest-TestRoutersBasic-89175357-21838147 is ready for SSH connections
2025-08-12 01:43:32,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 01:43:32,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.47.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-12 01:43:32,953 - DEBUG - ping -s 56 -c 3 -W 1 29.47.216.131
2025-08-12 01:43:36,952 - DEBUG - PING 29.47.216.131 (29.47.216.131): 56 data bytes
64 bytes from 29.47.216.131: seq=0 ttl=62 time=6.912 ms
64 bytes from 29.47.216.131: seq=1 ttl=62 time=0.859 ms
64 bytes from 29.47.216.131: seq=2 ttl=62 time=1.226 ms
--- 29.47.216.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.859/2.999/6.912 ms
2025-08-12 01:43:36,952 - INFO - Ping to IP 29.47.216.131 from VM ctest-TestRoutersBasic-89175357-94858112 passed
2025-08-12 01:43:36,952 - INFO - Deleting interface with subnet_id ee2b7e9e-f87e-41bb-bcbb-ea65d24d9e6a, port_id None from router 9e49ffe2-08f2-42be-9b82-ab11cb0a2c27
2025-08-12 01:43:37,126 - INFO - Deleting VM ctest-TestRoutersBasic-89175357-21838147
2025-08-12 01:43:37,206 - INFO - Deleting VM ctest-TestRoutersBasic-89175357-94858112
2025-08-12 01:43:37,287 - INFO - Deleting VN ctest-ext_vn-01758809
2025-08-12 01:43:37,349 - DEBUG - VN 185961ca-112b-49b2-8a6c-d157c68cf180 still in use: Unable to complete operation on network 185961ca-112b-49b2-8a6c-d157c68cf180. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9644a072-bd75-44b9-a25d-d355751bd5df']
2025-08-12 01:43:37,349 - WARNING - Deleting VN ctest-ext_vn-01758809 failed..Will retry
2025-08-12 01:43:39,459 - DEBUG - Response for deleting network ()
2025-08-12 01:43:39,459 - INFO - Deleting VN ctest-vn-22736977
2025-08-12 01:43:39,573 - DEBUG - Response for deleting network ()
2025-08-12 01:43:39,827 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 01:43:39,827 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-12 01:43:39,827 - INFO - --------------------------------------------------------------------------------
2025-08-12 01:43:40,492 - INFO - Deleted project: ctest-TestRoutersBasic-89175357, ID : 4b9d4baa-edf3-457e-9108-2facd3dc4a06