2025-11-01 03:43:11,014 - INFO - Domain Default found not creating 2025-11-01 03:43:11,143 - INFO - Project ctest-TestRoutersBasic-76003820 not found, creating it 2025-11-01 03:43:11,563 - INFO - Created Project:ctest-TestRoutersBasic-76003820, ID : b3df6469-5d19-4c7b-aa24-b83a83cd9c59 2025-11-01 03:43:12,887 - INFO - ================================================================================ 2025-11-01 03:43:12,887 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-01 03:43:12,887 - 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-11-01 03:43:13,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-11-01 03:43:13,141 - INFO - Initial checks done. Running the testcase now 2025-11-01 03:43:13,141 - INFO - 2025-11-01 03:43:13,832 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76003820 2025-11-01 03:43:13,925 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76003820 2025-11-01 03:43:14,245 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76003820', 'default']} 2025-11-01 03:43:14,583 - DEBUG - Response for create_network : {'network': {'id': '491821f2-d6e8-4025-848f-ccd95e37402a', 'name': 'ctest-vn-24535629', 'tenant_id': 'b3df64695d194c7baa24b83a83cd9c59', 'project_id': 'b3df64695d194c7baa24b83a83cd9c59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76003820', 'ctest-vn-24535629'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 03:43:14,830 - DEBUG - Response for create_subnet : {'subnet': {'id': '54563e20-5c61-46e8-9881-a8882da904b8', 'name': '', 'tenant_id': 'b3df64695d194c7baa24b83a83cd9c59', 'network_id': '491821f2-d6e8-4025-848f-ccd95e37402a', 'ip_version': 4, 'cidr': '152.251.222.192/26', 'allocation_pools': [{'start': '152.251.222.194', 'end': '152.251.222.254'}], 'gateway_ip': '152.251.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.251.222.194', 'tags': [], 'project_id': 'b3df64695d194c7baa24b83a83cd9c59'}} 2025-11-01 03:43:14,862 - INFO - Created VN ctest-vn-24535629 2025-11-01 03:43:14,921 - DEBUG - VN ctest-vn-24535629 UUID is 491821f2-d6e8-4025-848f-ccd95e37402a 2025-11-01 03:43:15,235 - DEBUG - Response for create_network : {'network': {'id': '3645d7f9-0ca0-441c-8f27-bdf0e29ca42c', 'name': 'ctest-ext_vn-30520825', 'tenant_id': 'b3df64695d194c7baa24b83a83cd9c59', 'project_id': 'b3df64695d194c7baa24b83a83cd9c59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76003820', 'ctest-ext_vn-30520825'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 03:43:15,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '56b69a4d-63c8-428f-81df-4b61b6df32d0', 'name': '', 'tenant_id': 'b3df64695d194c7baa24b83a83cd9c59', 'network_id': '3645d7f9-0ca0-441c-8f27-bdf0e29ca42c', 'ip_version': 4, 'cidr': '163.189.106.64/26', 'allocation_pools': [{'start': '163.189.106.66', 'end': '163.189.106.126'}], 'gateway_ip': '163.189.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.189.106.66', 'tags': [], 'project_id': 'b3df64695d194c7baa24b83a83cd9c59'}} 2025-11-01 03:43:15,402 - INFO - Created VN ctest-ext_vn-30520825 2025-11-01 03:43:15,453 - DEBUG - VN ctest-ext_vn-30520825 UUID is 3645d7f9-0ca0-441c-8f27-bdf0e29ca42c 2025-11-01 03:43:15,637 - DEBUG - Services list from nova: [, , ] 2025-11-01 03:43:16,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4584-1) 2025-11-01 03:43:17,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4584-1) 2025-11-01 03:43:17,706 - INFO - Setting gateway for router f1011afc-59aa-4fd6-91e7-c3d55e315ce8 to network 3645d7f9-0ca0-441c-8f27-bdf0e29ca42c 2025-11-01 03:43:17,773 - INFO - Adding interface with subnet_id 54563e20-5c61-46e8-9881-a8882da904b8, port_id None to router f1011afc-59aa-4fd6-91e7-c3d55e315ce8 2025-11-01 03:43:18,229 - INFO - Waiting for VM ctest-TestRoutersBasic-76003820-25737134 to be up.. 2025-11-01 03:43:18,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 03:43:23,441 - DEBUG - VM is in ACTIVE state now 2025-11-01 03:43:23,441 - INFO - VM name : ctest-TestRoutersBasic-76003820-25737134 2025-11-01 03:43:23,505 - DEBUG - VM ctest-TestRoutersBasic-76003820-25737134 ID is 9b8f2d36-ae68-44be-9577-3a65a9a49f2b 2025-11-01 03:43:23,524 - DEBUG - VM ctest-TestRoutersBasic-76003820-25737134 launched on Node cn-jenkins-deploy-platform-ansible-os-4584-1 2025-11-01 03:43:23,588 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9b8f2d36-ae68-44be-9577-3a65a9a49f2b 2025-11-01 03:43:23,878 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9b8f2d36-ae68-44be-9577-3a65a9a49f2b 2025-11-01 03:43:23,910 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/14917930-4675-4f03-a93e-cc802937ebd6 2025-11-01 03:43:27,174 - 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=2 ttl=63 time=13.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 13.391/13.391/13.391/0.000 ms') 2025-11-01 03:43:27,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76003820-25737134 passed 2025-11-01 03:43:27,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:43:27,325 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76003820-25737134, IP 152.251.222.195, Port 22 2025-11-01 03:43:27,482 - DEBUG - VM ctest-TestRoutersBasic-76003820-25737134 is ready for SSH connections 2025-11-01 03:43:27,482 - INFO - Waiting for VM ctest-TestRoutersBasic-76003820-97328183 to be up.. 2025-11-01 03:43:27,555 - DEBUG - VM is in ACTIVE state now 2025-11-01 03:43:27,555 - INFO - VM name : ctest-TestRoutersBasic-76003820-97328183 2025-11-01 03:43:27,626 - DEBUG - VM ctest-TestRoutersBasic-76003820-97328183 ID is 5001658a-1941-4518-8ff7-97f803bc976f 2025-11-01 03:43:27,626 - DEBUG - VM ctest-TestRoutersBasic-76003820-97328183 launched on Node cn-jenkins-deploy-platform-ansible-os-4584-1 2025-11-01 03:43:27,699 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5001658a-1941-4518-8ff7-97f803bc976f 2025-11-01 03:43:27,707 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e416444a-0d07-40b3-b613-f4dfda33fcd6 2025-11-01 03:43:28,943 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.48 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 = 2.475/2.902/3.330/0.427 ms') 2025-11-01 03:43:28,943 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76003820-97328183 passed 2025-11-01 03:43:29,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:43:29,093 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76003820-97328183, IP 163.189.106.67, Port 22 2025-11-01 03:43:29,253 - DEBUG - VM ctest-TestRoutersBasic-76003820-97328183 is ready for SSH connections 2025-11-01 03:43:29,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:43:29,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.189.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-01 03:43:29,253 - DEBUG - ping -s 56 -c 3 -W 1 163.189.106.67 2025-11-01 03:43:32,998 - DEBUG - PING 163.189.106.67 (163.189.106.67): 56 data bytes 64 bytes from 163.189.106.67: seq=0 ttl=62 time=5.277 ms 64 bytes from 163.189.106.67: seq=1 ttl=62 time=0.907 ms 64 bytes from 163.189.106.67: seq=2 ttl=62 time=0.823 ms --- 163.189.106.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/2.335/5.277 ms 2025-11-01 03:43:32,998 - INFO - Ping to IP 163.189.106.67 from VM ctest-TestRoutersBasic-76003820-25737134 passed 2025-11-01 03:43:32,998 - INFO - Deleting interface with subnet_id 54563e20-5c61-46e8-9881-a8882da904b8, port_id None from router f1011afc-59aa-4fd6-91e7-c3d55e315ce8 2025-11-01 03:43:33,153 - INFO - Deleting VM ctest-TestRoutersBasic-76003820-97328183 2025-11-01 03:43:33,231 - INFO - Deleting VM ctest-TestRoutersBasic-76003820-25737134 2025-11-01 03:43:33,301 - INFO - Deleting VN ctest-ext_vn-30520825 2025-11-01 03:43:33,358 - DEBUG - VN 3645d7f9-0ca0-441c-8f27-bdf0e29ca42c still in use: Unable to complete operation on network 3645d7f9-0ca0-441c-8f27-bdf0e29ca42c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa32c8bd-e0b6-4be6-8e8d-5335b0178a45'] 2025-11-01 03:43:33,358 - WARNING - Deleting VN ctest-ext_vn-30520825 failed..Will retry 2025-11-01 03:43:35,445 - DEBUG - Response for deleting network () 2025-11-01 03:43:35,446 - INFO - Deleting VN ctest-vn-24535629 2025-11-01 03:43:35,533 - DEBUG - Response for deleting network () 2025-11-01 03:43:35,785 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 03:43:35,785 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-11-01 03:43:35,785 - INFO - -------------------------------------------------------------------------------- 2025-11-01 03:43:36,437 - INFO - Deleted project: ctest-TestRoutersBasic-76003820, ID : b3df6469-5d19-4c7b-aa24-b83a83cd9c59