2025-08-11 15:50:43,389 - INFO - Domain Default found not creating
2025-08-11 15:50:43,524 - INFO - Project ctest-TestRoutersBasic-36291700 not found, creating it
2025-08-11 15:50:43,975 - INFO - Created Project:ctest-TestRoutersBasic-36291700, ID : 22730c5b-7f8f-44bc-8bb0-dad64534fa83
2025-08-11 15:50:45,474 - INFO - ================================================================================
2025-08-11 15:50:45,474 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-11 15:50:45,475 - 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-11 15:50:45,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-11 15:50:45,732 - INFO - Initial checks done. Running the testcase now
2025-08-11 15:50:45,732 - INFO -
2025-08-11 15:50:46,507 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36291700
2025-08-11 15:50:46,602 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36291700
2025-08-11 15:50:46,922 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36291700', 'default']}
2025-08-11 15:50:47,235 - DEBUG - Response for create_network : {'network': {'id': '62018bcc-6232-40cc-b92f-1c9bb932f446', 'name': 'ctest-vn-34575433', 'tenant_id': '22730c5b7f8f44bc8bb0dad64534fa83', 'project_id': '22730c5b7f8f44bc8bb0dad64534fa83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36291700', 'ctest-vn-34575433'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:50:47,441 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feff43bc-4af3-4978-860c-cb14150b7376', 'name': '', 'tenant_id': '22730c5b7f8f44bc8bb0dad64534fa83', 'network_id': '62018bcc-6232-40cc-b92f-1c9bb932f446', 'ip_version': 4, 'cidr': '120.237.0.128/26', 'allocation_pools': [{'start': '120.237.0.130', 'end': '120.237.0.190'}], 'gateway_ip': '120.237.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.237.0.130', 'tags': [], 'project_id': '22730c5b7f8f44bc8bb0dad64534fa83'}}
2025-08-11 15:50:47,458 - INFO - Created VN ctest-vn-34575433
2025-08-11 15:50:47,510 - DEBUG - VN ctest-vn-34575433 UUID is 62018bcc-6232-40cc-b92f-1c9bb932f446
2025-08-11 15:50:47,869 - DEBUG - Response for create_network : {'network': {'id': 'ea2d9f9a-f140-48b5-b32a-bc90cace9fb2', 'name': 'ctest-ext_vn-19245266', 'tenant_id': '22730c5b7f8f44bc8bb0dad64534fa83', 'project_id': '22730c5b7f8f44bc8bb0dad64534fa83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36291700', 'ctest-ext_vn-19245266'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 15:50:48,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '38b84b21-e77c-46d7-85ee-00cf74c822c4', 'name': '', 'tenant_id': '22730c5b7f8f44bc8bb0dad64534fa83', 'network_id': 'ea2d9f9a-f140-48b5-b32a-bc90cace9fb2', 'ip_version': 4, 'cidr': '73.144.233.0/26', 'allocation_pools': [{'start': '73.144.233.2', 'end': '73.144.233.62'}], 'gateway_ip': '73.144.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.144.233.2', 'tags': [], 'project_id': '22730c5b7f8f44bc8bb0dad64534fa83'}}
2025-08-11 15:50:48,089 - INFO - Created VN ctest-ext_vn-19245266
2025-08-11 15:50:48,146 - DEBUG - VN ctest-ext_vn-19245266 UUID is ea2d9f9a-f140-48b5-b32a-bc90cace9fb2
2025-08-11 15:50:48,312 - DEBUG - Services list from nova: [, , ]
2025-08-11 15:50:49,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3812-1)
2025-08-11 15:50:50,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3812-1)
2025-08-11 15:50:50,692 - INFO - Setting gateway for router b055e1b5-ff96-432f-890e-5c654da4c9f0 to network ea2d9f9a-f140-48b5-b32a-bc90cace9fb2
2025-08-11 15:50:50,770 - INFO - Adding interface with subnet_id feff43bc-4af3-4978-860c-cb14150b7376, port_id None to router b055e1b5-ff96-432f-890e-5c654da4c9f0
2025-08-11 15:50:51,203 - INFO - Waiting for VM ctest-TestRoutersBasic-36291700-39414895 to be up..
2025-08-11 15:50:51,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 15:50:56,486 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:50:56,486 - INFO - VM name : ctest-TestRoutersBasic-36291700-39414895
2025-08-11 15:50:56,555 - DEBUG - VM ctest-TestRoutersBasic-36291700-39414895 ID is 40fbf4d4-ad2a-4abb-9e9c-e339c22feaf3
2025-08-11 15:50:56,573 - DEBUG - VM ctest-TestRoutersBasic-36291700-39414895 launched on Node cn-jenkins-deploy-platform-ansible-os-3812-1
2025-08-11 15:50:56,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40fbf4d4-ad2a-4abb-9e9c-e339c22feaf3
2025-08-11 15:50:56,975 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40fbf4d4-ad2a-4abb-9e9c-e339c22feaf3
2025-08-11 15:50:57,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9bb600bd-f3d3-4df1-8b9b-47bac468375d
2025-08-11 15:51:00,247 - 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-11 15:51:00,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36291700-39414895 failed!
2025-08-11 15:51:00,306 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36291700:ctest-vn-34575433 is 120.237.0.129 and allocation pool is NOT set
2025-08-11 15:51:02,365 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.761/3.085/1.324 ms')
2025-08-11 15:51:02,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36291700-39414895 passed
2025-08-11 15:51:02,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:51:02,514 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36291700-39414895, IP 120.237.0.131, Port 22
2025-08-11 15:51:02,673 - DEBUG - VM ctest-TestRoutersBasic-36291700-39414895 is ready for SSH connections
2025-08-11 15:51:02,673 - INFO - Waiting for VM ctest-TestRoutersBasic-36291700-19429814 to be up..
2025-08-11 15:51:02,752 - DEBUG - VM is in ACTIVE state now
2025-08-11 15:51:02,752 - INFO - VM name : ctest-TestRoutersBasic-36291700-19429814
2025-08-11 15:51:02,823 - DEBUG - VM ctest-TestRoutersBasic-36291700-19429814 ID is c646f552-14dc-4a5c-8f19-1fed852eb663
2025-08-11 15:51:02,823 - DEBUG - VM ctest-TestRoutersBasic-36291700-19429814 launched on Node cn-jenkins-deploy-platform-ansible-os-3812-1
2025-08-11 15:51:02,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c646f552-14dc-4a5c-8f19-1fed852eb663
2025-08-11 15:51:02,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/67cd4b6e-30da-4973-98ce-a5fcb920b305
2025-08-11 15:51:04,142 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.741/3.073/1.331 ms')
2025-08-11 15:51:04,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36291700-19429814 passed
2025-08-11 15:51:04,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:51:04,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36291700-19429814, IP 73.144.233.3, Port 22
2025-08-11 15:51:04,461 - DEBUG - VM ctest-TestRoutersBasic-36291700-19429814 is ready for SSH connections
2025-08-11 15:51:04,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 15:51:04,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.144.233.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 15:51:04,461 - DEBUG - ping -s 56 -c 3 -W 1 73.144.233.3
2025-08-11 15:51:08,539 - DEBUG - PING 73.144.233.3 (73.144.233.3): 56 data bytes
64 bytes from 73.144.233.3: seq=0 ttl=62 time=5.260 ms
64 bytes from 73.144.233.3: seq=1 ttl=62 time=0.809 ms
64 bytes from 73.144.233.3: seq=2 ttl=62 time=0.754 ms
--- 73.144.233.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.754/2.274/5.260 ms
2025-08-11 15:51:08,540 - INFO - Ping to IP 73.144.233.3 from VM ctest-TestRoutersBasic-36291700-39414895 passed
2025-08-11 15:51:08,540 - INFO - Deleting interface with subnet_id feff43bc-4af3-4978-860c-cb14150b7376, port_id None from router b055e1b5-ff96-432f-890e-5c654da4c9f0
2025-08-11 15:51:08,729 - INFO - Deleting VM ctest-TestRoutersBasic-36291700-19429814
2025-08-11 15:51:08,799 - INFO - Deleting VM ctest-TestRoutersBasic-36291700-39414895
2025-08-11 15:51:08,888 - INFO - Deleting VN ctest-ext_vn-19245266
2025-08-11 15:51:08,955 - DEBUG - VN ea2d9f9a-f140-48b5-b32a-bc90cace9fb2 still in use: Unable to complete operation on network ea2d9f9a-f140-48b5-b32a-bc90cace9fb2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-73218900-04bb-4152-b1a4-ae5f535aff11']
2025-08-11 15:51:08,955 - WARNING - Deleting VN ctest-ext_vn-19245266 failed..Will retry
2025-08-11 15:51:11,055 - DEBUG - Response for deleting network ()
2025-08-11 15:51:11,055 - INFO - Deleting VN ctest-vn-34575433
2025-08-11 15:51:11,169 - DEBUG - Response for deleting network ()
2025-08-11 15:51:11,423 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:51:11,423 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-11 15:51:11,423 - INFO - --------------------------------------------------------------------------------
2025-08-11 15:51:12,144 - INFO - Deleted project: ctest-TestRoutersBasic-36291700, ID : 22730c5b-7f8f-44bc-8bb0-dad64534fa83