2025-04-23 12:07:33,133 - INFO - Domain Default found not creating
2025-04-23 12:07:33,267 - INFO - Project ctest-TestRoutersBasic-46346256 not found, creating it
2025-04-23 12:07:33,716 - INFO - Created Project:ctest-TestRoutersBasic-46346256, ID : 1bf501f9-c1ca-4188-8018-4102d359e387
2025-04-23 12:07:35,206 - INFO - ================================================================================
2025-04-23 12:07:35,206 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-23 12:07:35,206 - 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-04-23 12:07:35,466 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-04-23 12:07:35,466 - INFO - Initial checks done. Running the testcase now
2025-04-23 12:07:35,466 - INFO -
2025-04-23 12:07:36,238 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46346256
2025-04-23 12:07:36,331 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46346256
2025-04-23 12:07:36,647 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46346256', 'default']}
2025-04-23 12:07:36,933 - DEBUG - Response for create_network : {'network': {'id': '4dcab9ac-c637-4fdf-bc6e-711bfcad679d', 'name': 'ctest-vn-93969756', 'tenant_id': '1bf501f9c1ca418880184102d359e387', 'project_id': '1bf501f9c1ca418880184102d359e387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46346256', 'ctest-vn-93969756'], 'port_security_enabled': True, 'description': ''}}
2025-04-23 12:07:37,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '43155b42-6bf3-4c2c-bd85-aa2491bd012b', 'name': '', 'tenant_id': '1bf501f9c1ca418880184102d359e387', 'network_id': '4dcab9ac-c637-4fdf-bc6e-711bfcad679d', 'ip_version': 4, 'cidr': '52.216.1.128/26', 'allocation_pools': [{'start': '52.216.1.130', 'end': '52.216.1.190'}], 'gateway_ip': '52.216.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.216.1.130', 'tags': [], 'project_id': '1bf501f9c1ca418880184102d359e387'}}
2025-04-23 12:07:37,163 - INFO - Created VN ctest-vn-93969756
2025-04-23 12:07:37,215 - DEBUG - VN ctest-vn-93969756 UUID is 4dcab9ac-c637-4fdf-bc6e-711bfcad679d
2025-04-23 12:07:37,584 - DEBUG - Response for create_network : {'network': {'id': '16ddce92-3f30-4eec-8e44-f6e470c3ae7b', 'name': 'ctest-ext_vn-50239862', 'tenant_id': '1bf501f9c1ca418880184102d359e387', 'project_id': '1bf501f9c1ca418880184102d359e387', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46346256', 'ctest-ext_vn-50239862'], 'port_security_enabled': True, 'description': ''}}
2025-04-23 12:07:37,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '3135e1eb-67a0-4ff1-9c89-fed663285e10', 'name': '', 'tenant_id': '1bf501f9c1ca418880184102d359e387', 'network_id': '16ddce92-3f30-4eec-8e44-f6e470c3ae7b', 'ip_version': 4, 'cidr': '15.50.48.128/26', 'allocation_pools': [{'start': '15.50.48.130', 'end': '15.50.48.190'}], 'gateway_ip': '15.50.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.50.48.130', 'tags': [], 'project_id': '1bf501f9c1ca418880184102d359e387'}}
2025-04-23 12:07:37,768 - INFO - Created VN ctest-ext_vn-50239862
2025-04-23 12:07:37,823 - DEBUG - VN ctest-ext_vn-50239862 UUID is 16ddce92-3f30-4eec-8e44-f6e470c3ae7b
2025-04-23 12:07:38,022 - DEBUG - Services list from nova: [, , ]
2025-04-23 12:07:39,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3183-1)
2025-04-23 12:07:40,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3183-1)
2025-04-23 12:07:40,426 - INFO - Setting gateway for router f566a522-54f7-4553-99eb-3a9b641c74eb to network 16ddce92-3f30-4eec-8e44-f6e470c3ae7b
2025-04-23 12:07:40,502 - INFO - Adding interface with subnet_id 43155b42-6bf3-4c2c-bd85-aa2491bd012b, port_id None to router f566a522-54f7-4553-99eb-3a9b641c74eb
2025-04-23 12:07:40,952 - INFO - Waiting for VM ctest-TestRoutersBasic-46346256-09544345 to be up..
2025-04-23 12:07:41,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-23 12:07:46,255 - DEBUG - VM is in ACTIVE state now
2025-04-23 12:07:46,255 - INFO - VM name : ctest-TestRoutersBasic-46346256-09544345
2025-04-23 12:07:46,328 - DEBUG - VM ctest-TestRoutersBasic-46346256-09544345 ID is d0977acd-0937-4143-b376-5d39ddbd4897
2025-04-23 12:07:46,346 - DEBUG - VM ctest-TestRoutersBasic-46346256-09544345 launched on Node cn-jenkins-deploy-platform-ansible-os-3183-1
2025-04-23 12:07:46,414 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d0977acd-0937-4143-b376-5d39ddbd4897
2025-04-23 12:07:46,747 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d0977acd-0937-4143-b376-5d39ddbd4897
2025-04-23 12:07:46,778 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f6364374-07c8-485e-aee3-7fce6cbddbc3
2025-04-23 12:07:50,039 - 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 1015ms')
2025-04-23 12:07:50,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46346256-09544345 failed!
2025-04-23 12:07:50,095 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46346256:ctest-vn-93969756 is 52.216.1.129 and allocation pool is NOT set
2025-04-23 12:07:52,160 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/1.678/2.988/1.310 ms')
2025-04-23 12:07:52,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46346256-09544345 passed
2025-04-23 12:07:52,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 12:07:52,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46346256-09544345, IP 52.216.1.131, Port 22
2025-04-23 12:07:52,471 - DEBUG - VM ctest-TestRoutersBasic-46346256-09544345 is ready for SSH connections
2025-04-23 12:07:52,471 - INFO - Waiting for VM ctest-TestRoutersBasic-46346256-88105007 to be up..
2025-04-23 12:07:52,544 - DEBUG - VM is in ACTIVE state now
2025-04-23 12:07:52,544 - INFO - VM name : ctest-TestRoutersBasic-46346256-88105007
2025-04-23 12:07:52,612 - DEBUG - VM ctest-TestRoutersBasic-46346256-88105007 ID is 09e6dc9e-ce3c-47ef-b5a7-9e29b0df7d98
2025-04-23 12:07:52,612 - DEBUG - VM ctest-TestRoutersBasic-46346256-88105007 launched on Node cn-jenkins-deploy-platform-ansible-os-3183-1
2025-04-23 12:07:52,680 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/09e6dc9e-ce3c-47ef-b5a7-9e29b0df7d98
2025-04-23 12:07:52,688 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/840875ae-028a-44bc-9e50-64a651253952
2025-04-23 12:07:53,919 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.328 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.328/1.613/2.898/1.285 ms')
2025-04-23 12:07:53,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46346256-88105007 passed
2025-04-23 12:07:54,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 12:07:54,075 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46346256-88105007, IP 15.50.48.131, Port 22
2025-04-23 12:07:54,234 - DEBUG - VM ctest-TestRoutersBasic-46346256-88105007 is ready for SSH connections
2025-04-23 12:07:54,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 12:07:54,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.50.48.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-04-23 12:07:54,235 - DEBUG - ping -s 56 -c 3 -W 1 15.50.48.131
2025-04-23 12:07:57,935 - DEBUG - PING 15.50.48.131 (15.50.48.131): 56 data bytes
64 bytes from 15.50.48.131: seq=0 ttl=62 time=7.165 ms
64 bytes from 15.50.48.131: seq=1 ttl=62 time=0.766 ms
64 bytes from 15.50.48.131: seq=2 ttl=62 time=0.808 ms
--- 15.50.48.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.766/2.913/7.165 ms
2025-04-23 12:07:57,935 - INFO - Ping to IP 15.50.48.131 from VM ctest-TestRoutersBasic-46346256-09544345 passed
2025-04-23 12:07:57,936 - INFO - Deleting interface with subnet_id 43155b42-6bf3-4c2c-bd85-aa2491bd012b, port_id None from router f566a522-54f7-4553-99eb-3a9b641c74eb
2025-04-23 12:07:58,160 - INFO - Deleting VM ctest-TestRoutersBasic-46346256-88105007
2025-04-23 12:07:58,221 - INFO - Deleting VM ctest-TestRoutersBasic-46346256-09544345
2025-04-23 12:07:58,305 - INFO - Deleting VN ctest-ext_vn-50239862
2025-04-23 12:07:58,368 - DEBUG - VN 16ddce92-3f30-4eec-8e44-f6e470c3ae7b still in use: Unable to complete operation on network 16ddce92-3f30-4eec-8e44-f6e470c3ae7b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e12cf11b-3b74-417b-ad05-dded82bcd679']
2025-04-23 12:07:58,369 - WARNING - Deleting VN ctest-ext_vn-50239862 failed..Will retry
2025-04-23 12:08:00,465 - DEBUG - Response for deleting network ()
2025-04-23 12:08:00,466 - INFO - Deleting VN ctest-vn-93969756
2025-04-23 12:08:00,564 - DEBUG - Response for deleting network ()
2025-04-23 12:08:00,817 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 12:08:00,818 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-23 12:08:00,818 - INFO - --------------------------------------------------------------------------------
2025-04-23 12:08:01,510 - INFO - Deleted project: ctest-TestRoutersBasic-46346256, ID : 1bf501f9-c1ca-4188-8018-4102d359e387