2025-06-19 14:32:12,619 - INFO - Domain Default found not creating
2025-06-19 14:32:12,770 - INFO - Project ctest-TestRoutersBasic-63624310 not found, creating it
2025-06-19 14:32:13,232 - INFO - Created Project:ctest-TestRoutersBasic-63624310, ID : f5c797fc-4e1d-45f7-8e82-7365380e7659
2025-06-19 14:32:14,880 - INFO - ================================================================================
2025-06-19 14:32:14,881 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-19 14:32:14,881 - 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-19 14:32:15,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-06-19 14:32:15,143 - INFO - Initial checks done. Running the testcase now
2025-06-19 14:32:15,143 - INFO -
2025-06-19 14:32:15,950 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63624310
2025-06-19 14:32:16,047 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63624310
2025-06-19 14:32:16,383 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63624310', 'default']}
2025-06-19 14:32:16,689 - DEBUG - Response for create_network : {'network': {'id': '055c89b4-182c-46fe-b484-fdd6c4ecb4b7', 'name': 'ctest-vn-51016987', 'tenant_id': 'f5c797fc4e1d45f78e827365380e7659', 'project_id': 'f5c797fc4e1d45f78e827365380e7659', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63624310', 'ctest-vn-51016987'], 'port_security_enabled': True, 'description': ''}}
2025-06-19 14:32:16,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '016ff360-3a85-487d-a7f0-b74f6cd12b71', 'name': '', 'tenant_id': 'f5c797fc4e1d45f78e827365380e7659', 'network_id': '055c89b4-182c-46fe-b484-fdd6c4ecb4b7', 'ip_version': 4, 'cidr': '16.88.146.0/26', 'allocation_pools': [{'start': '16.88.146.2', 'end': '16.88.146.62'}], 'gateway_ip': '16.88.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.88.146.2', 'tags': [], 'project_id': 'f5c797fc4e1d45f78e827365380e7659'}}
2025-06-19 14:32:16,860 - INFO - Created VN ctest-vn-51016987
2025-06-19 14:32:16,911 - DEBUG - VN ctest-vn-51016987 UUID is 055c89b4-182c-46fe-b484-fdd6c4ecb4b7
2025-06-19 14:32:17,267 - DEBUG - Response for create_network : {'network': {'id': 'fe621cee-3ef6-4e14-baef-708163adfae4', 'name': 'ctest-ext_vn-78142901', 'tenant_id': 'f5c797fc4e1d45f78e827365380e7659', 'project_id': 'f5c797fc4e1d45f78e827365380e7659', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63624310', 'ctest-ext_vn-78142901'], 'port_security_enabled': True, 'description': ''}}
2025-06-19 14:32:17,453 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcf8f006-d9a1-4f4a-b6d4-9c6dd976fcbb', 'name': '', 'tenant_id': 'f5c797fc4e1d45f78e827365380e7659', 'network_id': 'fe621cee-3ef6-4e14-baef-708163adfae4', 'ip_version': 4, 'cidr': '80.189.227.64/26', 'allocation_pools': [{'start': '80.189.227.66', 'end': '80.189.227.126'}], 'gateway_ip': '80.189.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.189.227.66', 'tags': [], 'project_id': 'f5c797fc4e1d45f78e827365380e7659'}}
2025-06-19 14:32:17,471 - INFO - Created VN ctest-ext_vn-78142901
2025-06-19 14:32:17,527 - DEBUG - VN ctest-ext_vn-78142901 UUID is fe621cee-3ef6-4e14-baef-708163adfae4
2025-06-19 14:32:17,694 - DEBUG - Services list from nova: [, , ]
2025-06-19 14:32:18,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3497-1)
2025-06-19 14:32:20,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3497-1)
2025-06-19 14:32:20,194 - INFO - Setting gateway for router b7938794-d964-4d3d-8b3f-c46f301081d2 to network fe621cee-3ef6-4e14-baef-708163adfae4
2025-06-19 14:32:20,285 - INFO - Adding interface with subnet_id 016ff360-3a85-487d-a7f0-b74f6cd12b71, port_id None to router b7938794-d964-4d3d-8b3f-c46f301081d2
2025-06-19 14:32:20,772 - INFO - Waiting for VM ctest-TestRoutersBasic-63624310-21493147 to be up..
2025-06-19 14:32:20,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-19 14:32:26,046 - DEBUG - VM is in ACTIVE state now
2025-06-19 14:32:26,046 - INFO - VM name : ctest-TestRoutersBasic-63624310-21493147
2025-06-19 14:32:26,134 - DEBUG - VM ctest-TestRoutersBasic-63624310-21493147 ID is 4949a340-953a-4218-a96b-dc9ce617c77d
2025-06-19 14:32:26,154 - DEBUG - VM ctest-TestRoutersBasic-63624310-21493147 launched on Node cn-jenkins-deploy-platform-ansible-os-3497-1
2025-06-19 14:32:26,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4949a340-953a-4218-a96b-dc9ce617c77d
2025-06-19 14:32:26,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4949a340-953a-4218-a96b-dc9ce617c77d
2025-06-19 14:32:26,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a687a9f0-94f5-4c3b-9ff3-a3b4d7aee94d
2025-06-19 14:32:29,871 - 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 1019ms')
2025-06-19 14:32:29,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63624310-21493147 failed!
2025-06-19 14:32:29,927 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63624310:ctest-vn-51016987 is 16.88.146.1 and allocation pool is NOT set
2025-06-19 14:32:31,987 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.789/3.169/1.379 ms')
2025-06-19 14:32:31,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63624310-21493147 passed
2025-06-19 14:32:32,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-19 14:32:32,135 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63624310-21493147, IP 16.88.146.3, Port 22
2025-06-19 14:32:32,294 - DEBUG - VM ctest-TestRoutersBasic-63624310-21493147 is ready for SSH connections
2025-06-19 14:32:32,295 - INFO - Waiting for VM ctest-TestRoutersBasic-63624310-00884951 to be up..
2025-06-19 14:32:32,374 - DEBUG - VM is in ACTIVE state now
2025-06-19 14:32:32,374 - INFO - VM name : ctest-TestRoutersBasic-63624310-00884951
2025-06-19 14:32:32,443 - DEBUG - VM ctest-TestRoutersBasic-63624310-00884951 ID is 64e4925c-21d8-4de1-bf30-f316ca6976d4
2025-06-19 14:32:32,443 - DEBUG - VM ctest-TestRoutersBasic-63624310-00884951 launched on Node cn-jenkins-deploy-platform-ansible-os-3497-1
2025-06-19 14:32:32,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/64e4925c-21d8-4de1-bf30-f316ca6976d4
2025-06-19 14:32:32,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed319221-6143-4fb8-887f-5393066e7525
2025-06-19 14:32:33,786 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.828 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.828/2.032/3.236/1.204 ms')
2025-06-19 14:32:33,786 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63624310-00884951 passed
2025-06-19 14:32:33,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-19 14:32:33,939 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63624310-00884951, IP 80.189.227.67, Port 22
2025-06-19 14:32:34,094 - DEBUG - VM ctest-TestRoutersBasic-63624310-00884951 is ready for SSH connections
2025-06-19 14:32:34,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-19 14:32:34,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.189.227.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-19 14:32:34,095 - DEBUG - ping -s 56 -c 3 -W 1 80.189.227.67
2025-06-19 14:32:38,182 - DEBUG - PING 80.189.227.67 (80.189.227.67): 56 data bytes
64 bytes from 80.189.227.67: seq=0 ttl=62 time=5.851 ms
64 bytes from 80.189.227.67: seq=1 ttl=62 time=0.919 ms
64 bytes from 80.189.227.67: seq=2 ttl=62 time=0.874 ms
--- 80.189.227.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.874/2.548/5.851 ms
2025-06-19 14:32:38,183 - INFO - Ping to IP 80.189.227.67 from VM ctest-TestRoutersBasic-63624310-21493147 passed
2025-06-19 14:32:38,183 - INFO - Deleting interface with subnet_id 016ff360-3a85-487d-a7f0-b74f6cd12b71, port_id None from router b7938794-d964-4d3d-8b3f-c46f301081d2
2025-06-19 14:32:38,447 - INFO - Deleting VM ctest-TestRoutersBasic-63624310-00884951
2025-06-19 14:32:38,532 - INFO - Deleting VM ctest-TestRoutersBasic-63624310-21493147
2025-06-19 14:32:38,631 - INFO - Deleting VN ctest-ext_vn-78142901
2025-06-19 14:32:38,729 - DEBUG - VN fe621cee-3ef6-4e14-baef-708163adfae4 still in use: Unable to complete operation on network fe621cee-3ef6-4e14-baef-708163adfae4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3aaeb8c8-0f35-476b-9ad2-bfae324cc233']
2025-06-19 14:32:38,729 - WARNING - Deleting VN ctest-ext_vn-78142901 failed..Will retry
2025-06-19 14:32:40,852 - DEBUG - Response for deleting network ()
2025-06-19 14:32:40,852 - INFO - Deleting VN ctest-vn-51016987
2025-06-19 14:32:40,974 - DEBUG - Response for deleting network ()
2025-06-19 14:32:41,229 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 14:32:41,229 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-19 14:32:41,229 - INFO - --------------------------------------------------------------------------------
2025-06-19 14:32:41,931 - INFO - Deleted project: ctest-TestRoutersBasic-63624310, ID : f5c797fc-4e1d-45f7-8e82-7365380e7659