2025-03-28 11:21:53,140 - INFO - Domain Default found not creating
2025-03-28 11:21:53,352 - INFO - Project ctest-TestRoutersBasic-30162059 not found, creating it
2025-03-28 11:21:53,871 - INFO - Created Project:ctest-TestRoutersBasic-30162059, ID : da6f677d-481a-42b1-9979-15e4a806e921
2025-03-28 11:21:55,434 - INFO - ================================================================================
2025-03-28 11:21:55,434 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-28 11:21:55,434 - 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-03-28 11:21:55,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.10': '0'}} with
2025-03-28 11:21:55,696 - INFO - Initial checks done. Running the testcase now
2025-03-28 11:21:55,696 - INFO -
2025-03-28 11:21:56,454 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30162059
2025-03-28 11:21:56,555 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30162059
2025-03-28 11:21:56,887 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30162059', 'default']}
2025-03-28 11:21:57,223 - DEBUG - Response for create_network : {'network': {'id': 'bc5b4a94-2f9e-460c-8d84-f9ba27d38d91', 'name': 'ctest-vn-25421704', 'tenant_id': 'da6f677d481a42b1997915e4a806e921', 'project_id': 'da6f677d481a42b1997915e4a806e921', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30162059', 'ctest-vn-25421704'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 11:21:57,485 - DEBUG - Response for create_subnet : {'subnet': {'id': '03600a15-d889-48fc-aa74-627a3bf16023', 'name': '', 'tenant_id': 'da6f677d481a42b1997915e4a806e921', 'network_id': 'bc5b4a94-2f9e-460c-8d84-f9ba27d38d91', 'ip_version': 4, 'cidr': '151.158.91.64/26', 'allocation_pools': [{'start': '151.158.91.66', 'end': '151.158.91.126'}], 'gateway_ip': '151.158.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.158.91.66', 'tags': [], 'project_id': 'da6f677d481a42b1997915e4a806e921'}}
2025-03-28 11:21:57,507 - INFO - Created VN ctest-vn-25421704
2025-03-28 11:21:57,563 - DEBUG - VN ctest-vn-25421704 UUID is bc5b4a94-2f9e-460c-8d84-f9ba27d38d91
2025-03-28 11:21:57,940 - DEBUG - Response for create_network : {'network': {'id': 'f44c14a1-f024-4a96-b48f-59c81c68ccea', 'name': 'ctest-ext_vn-49194741', 'tenant_id': 'da6f677d481a42b1997915e4a806e921', 'project_id': 'da6f677d481a42b1997915e4a806e921', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30162059', 'ctest-ext_vn-49194741'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 11:21:58,138 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c2f0952-9849-402f-a872-1c88199b14d0', 'name': '', 'tenant_id': 'da6f677d481a42b1997915e4a806e921', 'network_id': 'f44c14a1-f024-4a96-b48f-59c81c68ccea', 'ip_version': 4, 'cidr': '191.116.195.0/26', 'allocation_pools': [{'start': '191.116.195.2', 'end': '191.116.195.62'}], 'gateway_ip': '191.116.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.116.195.2', 'tags': [], 'project_id': 'da6f677d481a42b1997915e4a806e921'}}
2025-03-28 11:21:58,163 - INFO - Created VN ctest-ext_vn-49194741
2025-03-28 11:21:58,219 - DEBUG - VN ctest-ext_vn-49194741 UUID is f44c14a1-f024-4a96-b48f-59c81c68ccea
2025-03-28 11:21:58,399 - DEBUG - Services list from nova: [, , ]
2025-03-28 11:21:59,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2988-1)
2025-03-28 11:22:00,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2988-1)
2025-03-28 11:22:00,826 - INFO - Setting gateway for router 108f7abd-6466-4c8b-9e00-b6cdbf4eda6c to network f44c14a1-f024-4a96-b48f-59c81c68ccea
2025-03-28 11:22:00,913 - INFO - Adding interface with subnet_id 03600a15-d889-48fc-aa74-627a3bf16023, port_id None to router 108f7abd-6466-4c8b-9e00-b6cdbf4eda6c
2025-03-28 11:22:01,492 - INFO - Waiting for VM ctest-TestRoutersBasic-30162059-28081930 to be up..
2025-03-28 11:22:01,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 11:22:06,724 - DEBUG - VM is in ACTIVE state now
2025-03-28 11:22:06,724 - INFO - VM name : ctest-TestRoutersBasic-30162059-28081930
2025-03-28 11:22:06,816 - DEBUG - VM ctest-TestRoutersBasic-30162059-28081930 ID is 55d20b60-21fb-453a-9a8c-e9a56276823a
2025-03-28 11:22:06,838 - DEBUG - VM ctest-TestRoutersBasic-30162059-28081930 launched on Node cn-jenkins-deploy-platform-ansible-os-2988-1
2025-03-28 11:22:06,928 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/55d20b60-21fb-453a-9a8c-e9a56276823a
2025-03-28 11:22:07,227 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/55d20b60-21fb-453a-9a8c-e9a56276823a
2025-03-28 11:22:07,265 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/7d37d729-13c0-47a4-a2cf-f552cabe080d
2025-03-28 11:22:10,555 - 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 1022ms')
2025-03-28 11:22:10,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30162059-28081930 failed!
2025-03-28 11:22:10,611 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30162059:ctest-vn-25421704 is 151.158.91.65 and allocation pool is NOT set
2025-03-28 11:22:12,679 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 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 = 1.553/2.655/3.758/1.102 ms')
2025-03-28 11:22:12,679 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30162059-28081930 passed
2025-03-28 11:22:12,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 11:22:12,835 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30162059-28081930, IP 151.158.91.67, Port 22
2025-03-28 11:22:12,990 - DEBUG - VM ctest-TestRoutersBasic-30162059-28081930 is ready for SSH connections
2025-03-28 11:22:12,990 - INFO - Waiting for VM ctest-TestRoutersBasic-30162059-82288391 to be up..
2025-03-28 11:22:13,078 - DEBUG - VM is in ACTIVE state now
2025-03-28 11:22:13,078 - INFO - VM name : ctest-TestRoutersBasic-30162059-82288391
2025-03-28 11:22:13,171 - DEBUG - VM ctest-TestRoutersBasic-30162059-82288391 ID is eb5060c1-3334-4c1a-9647-bc9a9c556dc0
2025-03-28 11:22:13,172 - DEBUG - VM ctest-TestRoutersBasic-30162059-82288391 launched on Node cn-jenkins-deploy-platform-ansible-os-2988-1
2025-03-28 11:22:13,260 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/eb5060c1-3334-4c1a-9647-bc9a9c556dc0
2025-03-28 11:22:13,271 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/8d73d4fe-095e-41b0-8481-f093e8b32a5e
2025-03-28 11:22:14,520 - 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.779 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.779/1.837/2.895/1.058 ms')
2025-03-28 11:22:14,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30162059-82288391 passed
2025-03-28 11:22:14,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 11:22:14,675 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30162059-82288391, IP 191.116.195.3, Port 22
2025-03-28 11:22:14,848 - DEBUG - VM ctest-TestRoutersBasic-30162059-82288391 is ready for SSH connections
2025-03-28 11:22:14,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 11:22:14,849 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.116.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-03-28 11:22:14,849 - DEBUG - ping -s 56 -c 3 -W 1 191.116.195.3
2025-03-28 11:22:18,583 - DEBUG - PING 191.116.195.3 (191.116.195.3): 56 data bytes
64 bytes from 191.116.195.3: seq=0 ttl=62 time=5.595 ms
64 bytes from 191.116.195.3: seq=1 ttl=62 time=0.876 ms
64 bytes from 191.116.195.3: seq=2 ttl=62 time=1.069 ms
--- 191.116.195.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.876/2.513/5.595 ms
2025-03-28 11:22:18,583 - INFO - Ping to IP 191.116.195.3 from VM ctest-TestRoutersBasic-30162059-28081930 passed
2025-03-28 11:22:18,583 - INFO - Deleting interface with subnet_id 03600a15-d889-48fc-aa74-627a3bf16023, port_id None from router 108f7abd-6466-4c8b-9e00-b6cdbf4eda6c
2025-03-28 11:22:18,802 - INFO - Deleting VM ctest-TestRoutersBasic-30162059-82288391
2025-03-28 11:22:18,881 - INFO - Deleting VM ctest-TestRoutersBasic-30162059-28081930
2025-03-28 11:22:18,961 - INFO - Deleting VN ctest-ext_vn-49194741
2025-03-28 11:22:19,032 - DEBUG - VN f44c14a1-f024-4a96-b48f-59c81c68ccea still in use: Unable to complete operation on network f44c14a1-f024-4a96-b48f-59c81c68ccea. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-291a6882-a35b-4fec-b838-b249d4d4c1a3']
2025-03-28 11:22:19,032 - WARNING - Deleting VN ctest-ext_vn-49194741 failed..Will retry
2025-03-28 11:22:21,158 - DEBUG - Response for deleting network ()
2025-03-28 11:22:21,158 - INFO - Deleting VN ctest-vn-25421704
2025-03-28 11:22:21,284 - DEBUG - Response for deleting network ()
2025-03-28 11:22:21,542 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 11:22:21,542 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-28 11:22:21,542 - INFO - --------------------------------------------------------------------------------
2025-03-28 11:22:22,271 - INFO - Deleted project: ctest-TestRoutersBasic-30162059, ID : da6f677d-481a-42b1-9979-15e4a806e921