2025-03-24 21:10:28,231 - INFO - Domain Default found not creating
2025-03-24 21:10:28,396 - INFO - Project ctest-TestRoutersBasic-45658011 not found, creating it
2025-03-24 21:10:28,939 - INFO - Created Project:ctest-TestRoutersBasic-45658011, ID : fe9a9b88-f7b1-460c-bf41-aad994f454da
2025-03-24 21:10:30,457 - INFO - ================================================================================
2025-03-24 21:10:30,457 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-24 21:10:30,457 - 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-24 21:10:30,716 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.19': '0'}} with
2025-03-24 21:10:30,716 - INFO - Initial checks done. Running the testcase now
2025-03-24 21:10:30,716 - INFO -
2025-03-24 21:10:31,473 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45658011
2025-03-24 21:10:31,578 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45658011
2025-03-24 21:10:31,909 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45658011', 'default']}
2025-03-24 21:10:32,238 - DEBUG - Response for create_network : {'network': {'id': 'cf4059ab-c093-472a-8724-16fde1cea50c', 'name': 'ctest-vn-18030178', 'tenant_id': 'fe9a9b88f7b1460cbf41aad994f454da', 'project_id': 'fe9a9b88f7b1460cbf41aad994f454da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45658011', 'ctest-vn-18030178'], 'port_security_enabled': True, 'description': ''}}
2025-03-24 21:10:32,476 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4a09cf4-fb91-4602-bce6-241e05d9e3b4', 'name': '', 'tenant_id': 'fe9a9b88f7b1460cbf41aad994f454da', 'network_id': 'cf4059ab-c093-472a-8724-16fde1cea50c', 'ip_version': 4, 'cidr': '124.89.92.0/26', 'allocation_pools': [{'start': '124.89.92.2', 'end': '124.89.92.62'}], 'gateway_ip': '124.89.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.89.92.2', 'tags': [], 'project_id': 'fe9a9b88f7b1460cbf41aad994f454da'}}
2025-03-24 21:10:32,496 - INFO - Created VN ctest-vn-18030178
2025-03-24 21:10:32,549 - DEBUG - VN ctest-vn-18030178 UUID is cf4059ab-c093-472a-8724-16fde1cea50c
2025-03-24 21:10:32,949 - DEBUG - Response for create_network : {'network': {'id': '2d8ba670-cfae-447c-b80d-abdea15c1c12', 'name': 'ctest-ext_vn-96053295', 'tenant_id': 'fe9a9b88f7b1460cbf41aad994f454da', 'project_id': 'fe9a9b88f7b1460cbf41aad994f454da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45658011', 'ctest-ext_vn-96053295'], 'port_security_enabled': True, 'description': ''}}
2025-03-24 21:10:33,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd0d56ec-2d3c-424f-981d-8a92e677b973', 'name': '', 'tenant_id': 'fe9a9b88f7b1460cbf41aad994f454da', 'network_id': '2d8ba670-cfae-447c-b80d-abdea15c1c12', 'ip_version': 4, 'cidr': '57.236.55.128/26', 'allocation_pools': [{'start': '57.236.55.130', 'end': '57.236.55.190'}], 'gateway_ip': '57.236.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.236.55.130', 'tags': [], 'project_id': 'fe9a9b88f7b1460cbf41aad994f454da'}}
2025-03-24 21:10:33,148 - INFO - Created VN ctest-ext_vn-96053295
2025-03-24 21:10:33,201 - DEBUG - VN ctest-ext_vn-96053295 UUID is 2d8ba670-cfae-447c-b80d-abdea15c1c12
2025-03-24 21:10:33,393 - DEBUG - Services list from nova: [, , ]
2025-03-24 21:10:34,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2945-1)
2025-03-24 21:10:35,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2945-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2945-1)
2025-03-24 21:10:35,756 - INFO - Setting gateway for router 2a4b4fff-071d-43e6-b54b-6a83b1821f1f to network 2d8ba670-cfae-447c-b80d-abdea15c1c12
2025-03-24 21:10:35,833 - INFO - Adding interface with subnet_id a4a09cf4-fb91-4602-bce6-241e05d9e3b4, port_id None to router 2a4b4fff-071d-43e6-b54b-6a83b1821f1f
2025-03-24 21:10:36,397 - INFO - Waiting for VM ctest-TestRoutersBasic-45658011-42062987 to be up..
2025-03-24 21:10:36,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-24 21:10:41,631 - DEBUG - VM is in ACTIVE state now
2025-03-24 21:10:41,631 - INFO - VM name : ctest-TestRoutersBasic-45658011-42062987
2025-03-24 21:10:41,831 - DEBUG - VM ctest-TestRoutersBasic-45658011-42062987 ID is 4f8bef26-850c-4ce7-b66d-24c40bfe87b0
2025-03-24 21:10:41,855 - DEBUG - VM ctest-TestRoutersBasic-45658011-42062987 launched on Node cn-jenkins-deploy-platform-ansible-os-2945-1
2025-03-24 21:10:42,009 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4f8bef26-850c-4ce7-b66d-24c40bfe87b0
2025-03-24 21:10:42,337 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4f8bef26-850c-4ce7-b66d-24c40bfe87b0
2025-03-24 21:10:42,412 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/d3c2be85-6dd0-459c-a7ef-fa60fd3910da
2025-03-24 21:10:45,705 - 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 1021ms')
2025-03-24 21:10:45,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45658011-42062987 failed!
2025-03-24 21:10:45,761 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45658011:ctest-vn-18030178 is 124.89.92.1 and allocation pool is NOT set
2025-03-24 21:10:47,832 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.765/3.228/3.692/0.463 ms')
2025-03-24 21:10:47,833 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45658011-42062987 passed
2025-03-24 21:10:47,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 21:10:47,990 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45658011-42062987, IP 124.89.92.3, Port 22
2025-03-24 21:10:48,055 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-03-24 21:10:48,158 - DEBUG - VM ctest-TestRoutersBasic-45658011-42062987 is NOT ready for SSH connections, VM status: ACTIVE
2025-03-24 21:10:53,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 21:10:53,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45658011-42062987, IP 124.89.92.3, Port 22
2025-03-24 21:10:53,335 - DEBUG - VM ctest-TestRoutersBasic-45658011-42062987 is ready for SSH connections
2025-03-24 21:10:53,335 - INFO - Waiting for VM ctest-TestRoutersBasic-45658011-76954683 to be up..
2025-03-24 21:10:53,414 - DEBUG - VM is in ACTIVE state now
2025-03-24 21:10:53,414 - INFO - VM name : ctest-TestRoutersBasic-45658011-76954683
2025-03-24 21:10:53,496 - DEBUG - VM ctest-TestRoutersBasic-45658011-76954683 ID is 96d23104-cef9-4d58-bb2a-9bf9c6cdfd44
2025-03-24 21:10:53,497 - DEBUG - VM ctest-TestRoutersBasic-45658011-76954683 launched on Node cn-jenkins-deploy-platform-ansible-os-2945-1
2025-03-24 21:10:53,592 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/96d23104-cef9-4d58-bb2a-9bf9c6cdfd44
2025-03-24 21:10:53,601 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/49609a49-8433-4ec9-92d5-fdbf3faa57ab
2025-03-24 21:10:54,847 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.929/3.423/1.494 ms')
2025-03-24 21:10:54,847 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45658011-76954683 passed
2025-03-24 21:10:55,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 21:10:55,001 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45658011-76954683, IP 57.236.55.131, Port 22
2025-03-24 21:10:55,161 - DEBUG - VM ctest-TestRoutersBasic-45658011-76954683 is ready for SSH connections
2025-03-24 21:10:55,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 21:10:55,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.236.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-03-24 21:10:55,161 - DEBUG - ping -s 56 -c 3 -W 1 57.236.55.131
2025-03-24 21:10:58,880 - DEBUG - PING 57.236.55.131 (57.236.55.131): 56 data bytes
64 bytes from 57.236.55.131: seq=0 ttl=62 time=4.440 ms
64 bytes from 57.236.55.131: seq=1 ttl=62 time=3.158 ms
64 bytes from 57.236.55.131: seq=2 ttl=62 time=1.204 ms
--- 57.236.55.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.204/2.934/4.440 ms
2025-03-24 21:10:58,880 - INFO - Ping to IP 57.236.55.131 from VM ctest-TestRoutersBasic-45658011-42062987 passed
2025-03-24 21:10:58,880 - INFO - Deleting interface with subnet_id a4a09cf4-fb91-4602-bce6-241e05d9e3b4, port_id None from router 2a4b4fff-071d-43e6-b54b-6a83b1821f1f
2025-03-24 21:10:59,131 - INFO - Deleting VM ctest-TestRoutersBasic-45658011-76954683
2025-03-24 21:10:59,221 - INFO - Deleting VM ctest-TestRoutersBasic-45658011-42062987
2025-03-24 21:10:59,362 - INFO - Deleting VN ctest-ext_vn-96053295
2025-03-24 21:10:59,482 - DEBUG - VN 2d8ba670-cfae-447c-b80d-abdea15c1c12 still in use: Unable to complete operation on network 2d8ba670-cfae-447c-b80d-abdea15c1c12. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7724fac0-3738-4898-b2e5-d9866aed946a']
2025-03-24 21:10:59,482 - WARNING - Deleting VN ctest-ext_vn-96053295 failed..Will retry
2025-03-24 21:11:01,615 - DEBUG - Response for deleting network ()
2025-03-24 21:11:01,615 - INFO - Deleting VN ctest-vn-18030178
2025-03-24 21:11:01,744 - DEBUG - Response for deleting network ()
2025-03-24 21:11:02,004 - DEBUG - No XMPP flaps were noticed during the test
2025-03-24 21:11:02,004 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-03-24 21:11:02,004 - INFO - --------------------------------------------------------------------------------
2025-03-24 21:11:02,731 - INFO - Deleted project: ctest-TestRoutersBasic-45658011, ID : fe9a9b88-f7b1-460c-bf41-aad994f454da