2025-05-05 02:09:52,652 - INFO - Domain Default found not creating
2025-05-05 02:09:52,806 - INFO - Project ctest-TestRoutersBasic-44320804 not found, creating it
2025-05-05 02:09:53,282 - INFO - Created Project:ctest-TestRoutersBasic-44320804, ID : e6f3290d-7123-4b1b-958a-de078ef0d4f2
2025-05-05 02:09:54,857 - INFO - ================================================================================
2025-05-05 02:09:54,858 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-05 02:09:54,858 - 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-05-05 02:09:55,116 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-05-05 02:09:55,116 - INFO - Initial checks done. Running the testcase now
2025-05-05 02:09:55,116 - INFO -
2025-05-05 02:09:56,029 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44320804
2025-05-05 02:09:56,134 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44320804
2025-05-05 02:09:56,502 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44320804', 'default']}
2025-05-05 02:09:56,824 - DEBUG - Response for create_network : {'network': {'id': '2003583b-99f8-45ef-820d-a3a4f8ecbc28', 'name': 'ctest-vn-10175913', 'tenant_id': 'e6f3290d71234b1b958ade078ef0d4f2', 'project_id': 'e6f3290d71234b1b958ade078ef0d4f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44320804', 'ctest-vn-10175913'], 'port_security_enabled': True, 'description': ''}}
2025-05-05 02:09:57,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d61f474-c838-4afa-b618-9555406f1e80', 'name': '', 'tenant_id': 'e6f3290d71234b1b958ade078ef0d4f2', 'network_id': '2003583b-99f8-45ef-820d-a3a4f8ecbc28', 'ip_version': 4, 'cidr': '133.27.243.192/26', 'allocation_pools': [{'start': '133.27.243.194', 'end': '133.27.243.254'}], 'gateway_ip': '133.27.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.27.243.194', 'tags': [], 'project_id': 'e6f3290d71234b1b958ade078ef0d4f2'}}
2025-05-05 02:09:57,038 - INFO - Created VN ctest-vn-10175913
2025-05-05 02:09:57,094 - DEBUG - VN ctest-vn-10175913 UUID is 2003583b-99f8-45ef-820d-a3a4f8ecbc28
2025-05-05 02:09:57,424 - DEBUG - Response for create_network : {'network': {'id': '49e7a869-b82d-446c-9e1c-3524b9d063a0', 'name': 'ctest-ext_vn-19276269', 'tenant_id': 'e6f3290d71234b1b958ade078ef0d4f2', 'project_id': 'e6f3290d71234b1b958ade078ef0d4f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44320804', 'ctest-ext_vn-19276269'], 'port_security_enabled': True, 'description': ''}}
2025-05-05 02:09:57,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f745440f-8725-43e9-bd38-88e249a62248', 'name': '', 'tenant_id': 'e6f3290d71234b1b958ade078ef0d4f2', 'network_id': '49e7a869-b82d-446c-9e1c-3524b9d063a0', 'ip_version': 4, 'cidr': '114.175.205.128/26', 'allocation_pools': [{'start': '114.175.205.130', 'end': '114.175.205.190'}], 'gateway_ip': '114.175.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.175.205.130', 'tags': [], 'project_id': 'e6f3290d71234b1b958ade078ef0d4f2'}}
2025-05-05 02:09:57,645 - INFO - Created VN ctest-ext_vn-19276269
2025-05-05 02:09:57,702 - DEBUG - VN ctest-ext_vn-19276269 UUID is 49e7a869-b82d-446c-9e1c-3524b9d063a0
2025-05-05 02:09:57,880 - DEBUG - Services list from nova: [, , ]
2025-05-05 02:09:59,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3263-1)
2025-05-05 02:10:00,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3263-1)
2025-05-05 02:10:00,537 - INFO - Setting gateway for router 61f1a682-f3ce-4b08-85cb-d342277adcc6 to network 49e7a869-b82d-446c-9e1c-3524b9d063a0
2025-05-05 02:10:00,649 - INFO - Adding interface with subnet_id 8d61f474-c838-4afa-b618-9555406f1e80, port_id None to router 61f1a682-f3ce-4b08-85cb-d342277adcc6
2025-05-05 02:10:01,153 - INFO - Waiting for VM ctest-TestRoutersBasic-44320804-69879102 to be up..
2025-05-05 02:10:01,365 - DEBUG - VM is in ACTIVE state now
2025-05-05 02:10:01,365 - INFO - VM name : ctest-TestRoutersBasic-44320804-69879102
2025-05-05 02:10:01,512 - DEBUG - VM ctest-TestRoutersBasic-44320804-69879102 ID is 63e0553f-7702-4d53-8f20-782b0ea182ba
2025-05-05 02:10:01,538 - DEBUG - VM ctest-TestRoutersBasic-44320804-69879102 launched on Node cn-jenkins-deploy-platform-ansible-os-3263-1
2025-05-05 02:10:01,648 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63e0553f-7702-4d53-8f20-782b0ea182ba
2025-05-05 02:10:02,024 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63e0553f-7702-4d53-8f20-782b0ea182ba
2025-05-05 02:10:02,063 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5aff3587-932b-430f-9374-7e8c8f2d9b69
2025-05-05 02:10:05,355 - 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 1006ms')
2025-05-05 02:10:05,355 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44320804-69879102 failed!
2025-05-05 02:10:05,410 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44320804:ctest-vn-10175913 is 133.27.243.193 and allocation pool is NOT set
2025-05-05 02:10:09,481 - 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-05-05 02:10:09,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44320804-69879102 failed!
2025-05-05 02:10:09,538 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44320804:ctest-vn-10175913 is 133.27.243.193 and allocation pool is NOT set
2025-05-05 02:10:11,609 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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 = 2.467/3.442/4.418/0.975 ms')
2025-05-05 02:10:11,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44320804-69879102 passed
2025-05-05 02:10:11,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:10:11,766 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44320804-69879102, IP 133.27.243.195, Port 22
2025-05-05 02:10:11,926 - DEBUG - VM ctest-TestRoutersBasic-44320804-69879102 is ready for SSH connections
2025-05-05 02:10:11,926 - INFO - Waiting for VM ctest-TestRoutersBasic-44320804-07636866 to be up..
2025-05-05 02:10:12,004 - DEBUG - VM is in ACTIVE state now
2025-05-05 02:10:12,005 - INFO - VM name : ctest-TestRoutersBasic-44320804-07636866
2025-05-05 02:10:12,096 - DEBUG - VM ctest-TestRoutersBasic-44320804-07636866 ID is cc62374d-3ec5-4933-ab55-32de6fd0693a
2025-05-05 02:10:12,096 - DEBUG - VM ctest-TestRoutersBasic-44320804-07636866 launched on Node cn-jenkins-deploy-platform-ansible-os-3263-1
2025-05-05 02:10:12,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc62374d-3ec5-4933-ab55-32de6fd0693a
2025-05-05 02:10:12,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7eae8f68-5f86-400c-81d2-7cdd1e6a2f2a
2025-05-05 02:10:13,461 - 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=5.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.70 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 = 1.699/3.423/5.148/1.724 ms')
2025-05-05 02:10:13,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44320804-07636866 passed
2025-05-05 02:10:13,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:10:13,614 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44320804-07636866, IP 114.175.205.131, Port 22
2025-05-05 02:10:13,769 - DEBUG - VM ctest-TestRoutersBasic-44320804-07636866 is ready for SSH connections
2025-05-05 02:10:13,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:10:13,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.175.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-05 02:10:13,770 - DEBUG - ping -s 56 -c 3 -W 1 114.175.205.131
2025-05-05 02:10:17,881 - DEBUG - PING 114.175.205.131 (114.175.205.131): 56 data bytes
64 bytes from 114.175.205.131: seq=0 ttl=62 time=5.476 ms
64 bytes from 114.175.205.131: seq=1 ttl=62 time=0.957 ms
64 bytes from 114.175.205.131: seq=2 ttl=62 time=0.823 ms
--- 114.175.205.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.823/2.418/5.476 ms
2025-05-05 02:10:17,882 - INFO - Ping to IP 114.175.205.131 from VM ctest-TestRoutersBasic-44320804-69879102 passed
2025-05-05 02:10:17,882 - INFO - Deleting interface with subnet_id 8d61f474-c838-4afa-b618-9555406f1e80, port_id None from router 61f1a682-f3ce-4b08-85cb-d342277adcc6
2025-05-05 02:10:18,152 - INFO - Deleting VM ctest-TestRoutersBasic-44320804-07636866
2025-05-05 02:10:18,245 - INFO - Deleting VM ctest-TestRoutersBasic-44320804-69879102
2025-05-05 02:10:18,345 - INFO - Deleting VN ctest-ext_vn-19276269
2025-05-05 02:10:18,423 - DEBUG - VN 49e7a869-b82d-446c-9e1c-3524b9d063a0 still in use: Unable to complete operation on network 49e7a869-b82d-446c-9e1c-3524b9d063a0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1c904c57-7947-4361-8655-9afcd391a12f']
2025-05-05 02:10:18,423 - WARNING - Deleting VN ctest-ext_vn-19276269 failed..Will retry
2025-05-05 02:10:20,544 - DEBUG - Response for deleting network ()
2025-05-05 02:10:20,544 - INFO - Deleting VN ctest-vn-10175913
2025-05-05 02:10:20,687 - DEBUG - Response for deleting network ()
2025-05-05 02:10:20,948 - DEBUG - No XMPP flaps were noticed during the test
2025-05-05 02:10:20,948 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-05 02:10:20,948 - INFO - --------------------------------------------------------------------------------
2025-05-05 02:10:21,698 - INFO - Deleted project: ctest-TestRoutersBasic-44320804, ID : e6f3290d-7123-4b1b-958a-de078ef0d4f2