2025-04-22 11:26:55,938 - INFO - Domain Default found not creating
2025-04-22 11:26:56,072 - INFO - Project ctest-TestRoutersBasic-34574476 not found, creating it
2025-04-22 11:26:56,514 - INFO - Created Project:ctest-TestRoutersBasic-34574476, ID : 2953abd2-1e27-430b-86a7-0861e506e8a9
2025-04-22 11:26:57,845 - INFO - ================================================================================
2025-04-22 11:26:57,845 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-22 11:26:57,845 - 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-22 11:26:58,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-04-22 11:26:58,100 - INFO - Initial checks done. Running the testcase now
2025-04-22 11:26:58,100 - INFO -
2025-04-22 11:26:58,778 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34574476
2025-04-22 11:26:58,874 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34574476
2025-04-22 11:26:59,198 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34574476', 'default']}
2025-04-22 11:26:59,471 - DEBUG - Response for create_network : {'network': {'id': '878e2797-8bbf-4a06-9083-c5893fa4fa3a', 'name': 'ctest-vn-10905474', 'tenant_id': '2953abd21e27430b86a70861e506e8a9', 'project_id': '2953abd21e27430b86a70861e506e8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34574476', 'ctest-vn-10905474'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 11:26:59,657 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9eb7583-4784-48dd-98fc-2c421de4707d', 'name': '', 'tenant_id': '2953abd21e27430b86a70861e506e8a9', 'network_id': '878e2797-8bbf-4a06-9083-c5893fa4fa3a', 'ip_version': 4, 'cidr': '74.8.112.128/26', 'allocation_pools': [{'start': '74.8.112.130', 'end': '74.8.112.190'}], 'gateway_ip': '74.8.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.8.112.130', 'tags': [], 'project_id': '2953abd21e27430b86a70861e506e8a9'}}
2025-04-22 11:26:59,674 - INFO - Created VN ctest-vn-10905474
2025-04-22 11:26:59,726 - DEBUG - VN ctest-vn-10905474 UUID is 878e2797-8bbf-4a06-9083-c5893fa4fa3a
2025-04-22 11:27:00,067 - DEBUG - Response for create_network : {'network': {'id': '5799f0fd-c1b5-4bdb-9fe8-2d1bac078e8c', 'name': 'ctest-ext_vn-71248250', 'tenant_id': '2953abd21e27430b86a70861e506e8a9', 'project_id': '2953abd21e27430b86a70861e506e8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34574476', 'ctest-ext_vn-71248250'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 11:27:00,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '5309622c-8fbf-4a2b-9f0e-8beda417ca44', 'name': '', 'tenant_id': '2953abd21e27430b86a70861e506e8a9', 'network_id': '5799f0fd-c1b5-4bdb-9fe8-2d1bac078e8c', 'ip_version': 4, 'cidr': '79.247.246.64/26', 'allocation_pools': [{'start': '79.247.246.66', 'end': '79.247.246.126'}], 'gateway_ip': '79.247.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.247.246.66', 'tags': [], 'project_id': '2953abd21e27430b86a70861e506e8a9'}}
2025-04-22 11:27:00,262 - INFO - Created VN ctest-ext_vn-71248250
2025-04-22 11:27:00,316 - DEBUG - VN ctest-ext_vn-71248250 UUID is 5799f0fd-c1b5-4bdb-9fe8-2d1bac078e8c
2025-04-22 11:27:00,487 - DEBUG - Services list from nova: [, , ]
2025-04-22 11:27:01,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3159-1)
2025-04-22 11:27:02,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3159-1)
2025-04-22 11:27:02,590 - INFO - Setting gateway for router 4b70a298-8ed2-4d76-ae6c-9fdeeefe86fb to network 5799f0fd-c1b5-4bdb-9fe8-2d1bac078e8c
2025-04-22 11:27:02,668 - INFO - Adding interface with subnet_id c9eb7583-4784-48dd-98fc-2c421de4707d, port_id None to router 4b70a298-8ed2-4d76-ae6c-9fdeeefe86fb
2025-04-22 11:27:03,096 - INFO - Waiting for VM ctest-TestRoutersBasic-34574476-09707046 to be up..
2025-04-22 11:27:03,229 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-22 11:27:08,305 - DEBUG - VM is in ACTIVE state now
2025-04-22 11:27:08,305 - INFO - VM name : ctest-TestRoutersBasic-34574476-09707046
2025-04-22 11:27:08,381 - DEBUG - VM ctest-TestRoutersBasic-34574476-09707046 ID is 89b395c7-e04f-4333-acd1-01edca9a0549
2025-04-22 11:27:08,401 - DEBUG - VM ctest-TestRoutersBasic-34574476-09707046 launched on Node cn-jenkins-deploy-platform-ansible-os-3159-1
2025-04-22 11:27:08,474 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/89b395c7-e04f-4333-acd1-01edca9a0549
2025-04-22 11:27:08,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/89b395c7-e04f-4333-acd1-01edca9a0549
2025-04-22 11:27:08,792 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/01943d93-193f-4ce3-99b9-a2fe6886498e
2025-04-22 11:27:12,045 - 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 1020ms')
2025-04-22 11:27:12,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34574476-09707046 failed!
2025-04-22 11:27:12,102 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34574476:ctest-vn-10905474 is 74.8.112.129 and allocation pool is NOT set
2025-04-22 11:27:14,165 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.896/3.412/1.515 ms')
2025-04-22 11:27:14,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34574476-09707046 passed
2025-04-22 11:27:14,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 11:27:14,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34574476-09707046, IP 74.8.112.131, Port 22
2025-04-22 11:27:14,469 - DEBUG - VM ctest-TestRoutersBasic-34574476-09707046 is ready for SSH connections
2025-04-22 11:27:14,470 - INFO - Waiting for VM ctest-TestRoutersBasic-34574476-16964560 to be up..
2025-04-22 11:27:14,550 - DEBUG - VM is in ACTIVE state now
2025-04-22 11:27:14,550 - INFO - VM name : ctest-TestRoutersBasic-34574476-16964560
2025-04-22 11:27:14,628 - DEBUG - VM ctest-TestRoutersBasic-34574476-16964560 ID is bdad6d74-1473-46cd-8a3d-33f187f2890b
2025-04-22 11:27:14,628 - DEBUG - VM ctest-TestRoutersBasic-34574476-16964560 launched on Node cn-jenkins-deploy-platform-ansible-os-3159-1
2025-04-22 11:27:14,699 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bdad6d74-1473-46cd-8a3d-33f187f2890b
2025-04-22 11:27:14,708 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d7b40546-e319-4528-bbf2-5f406682d4eb
2025-04-22 11:27:15,944 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 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.358/1.579/2.801/1.221 ms')
2025-04-22 11:27:15,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34574476-16964560 passed
2025-04-22 11:27:16,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 11:27:16,102 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34574476-16964560, IP 79.247.246.67, Port 22
2025-04-22 11:27:16,262 - DEBUG - VM ctest-TestRoutersBasic-34574476-16964560 is ready for SSH connections
2025-04-22 11:27:16,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 11:27:16,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.247.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-04-22 11:27:16,262 - DEBUG - ping -s 56 -c 3 -W 1 79.247.246.67
2025-04-22 11:27:19,915 - DEBUG - PING 79.247.246.67 (79.247.246.67): 56 data bytes
64 bytes from 79.247.246.67: seq=0 ttl=62 time=6.214 ms
64 bytes from 79.247.246.67: seq=1 ttl=62 time=0.794 ms
64 bytes from 79.247.246.67: seq=2 ttl=62 time=0.754 ms
--- 79.247.246.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.754/2.587/6.214 ms
2025-04-22 11:27:19,915 - INFO - Ping to IP 79.247.246.67 from VM ctest-TestRoutersBasic-34574476-09707046 passed
2025-04-22 11:27:19,915 - INFO - Deleting interface with subnet_id c9eb7583-4784-48dd-98fc-2c421de4707d, port_id None from router 4b70a298-8ed2-4d76-ae6c-9fdeeefe86fb
2025-04-22 11:27:20,101 - INFO - Deleting VM ctest-TestRoutersBasic-34574476-16964560
2025-04-22 11:27:20,164 - INFO - Deleting VM ctest-TestRoutersBasic-34574476-09707046
2025-04-22 11:27:20,248 - INFO - Deleting VN ctest-ext_vn-71248250
2025-04-22 11:27:20,305 - DEBUG - VN 5799f0fd-c1b5-4bdb-9fe8-2d1bac078e8c still in use: Unable to complete operation on network 5799f0fd-c1b5-4bdb-9fe8-2d1bac078e8c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4d187767-5672-48b3-b512-beb4e140c1f9']
2025-04-22 11:27:20,305 - WARNING - Deleting VN ctest-ext_vn-71248250 failed..Will retry
2025-04-22 11:27:22,412 - DEBUG - Response for deleting network ()
2025-04-22 11:27:22,413 - INFO - Deleting VN ctest-vn-10905474
2025-04-22 11:27:22,508 - DEBUG - Response for deleting network ()
2025-04-22 11:27:22,767 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 11:27:22,767 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-22 11:27:22,767 - INFO - --------------------------------------------------------------------------------
2025-04-22 11:27:23,408 - INFO - Deleted project: ctest-TestRoutersBasic-34574476, ID : 2953abd2-1e27-430b-86a7-0861e506e8a9