2025-04-15 13:13:08,052 - INFO - Domain Default found not creating 2025-04-15 13:13:08,210 - INFO - Project ctest-TestRoutersBasic-43311523 not found, creating it 2025-04-15 13:13:08,737 - INFO - Created Project:ctest-TestRoutersBasic-43311523, ID : 05681591-2084-4d36-abd4-16a6628b33dd 2025-04-15 13:13:10,276 - INFO - ================================================================================ 2025-04-15 13:13:10,276 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 13:13:10,276 - 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-15 13:13:10,540 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-15 13:13:10,540 - INFO - Initial checks done. Running the testcase now 2025-04-15 13:13:10,540 - INFO - 2025-04-15 13:13:11,267 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43311523 2025-04-15 13:13:11,366 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43311523 2025-04-15 13:13:11,698 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43311523', 'default']} 2025-04-15 13:13:11,998 - DEBUG - Response for create_network : {'network': {'id': '3ed14f6a-3e8f-4b87-a989-2f7141ca0fe1', 'name': 'ctest-vn-31805377', 'tenant_id': '0568159120844d36abd416a6628b33dd', 'project_id': '0568159120844d36abd416a6628b33dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43311523', 'ctest-vn-31805377'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 13:13:12,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '88938428-03f9-4fad-8d6c-7a0726247065', 'name': '', 'tenant_id': '0568159120844d36abd416a6628b33dd', 'network_id': '3ed14f6a-3e8f-4b87-a989-2f7141ca0fe1', 'ip_version': 4, 'cidr': '133.141.12.192/26', 'allocation_pools': [{'start': '133.141.12.194', 'end': '133.141.12.254'}], 'gateway_ip': '133.141.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.141.12.194', 'tags': [], 'project_id': '0568159120844d36abd416a6628b33dd'}} 2025-04-15 13:13:12,184 - INFO - Created VN ctest-vn-31805377 2025-04-15 13:13:12,238 - DEBUG - VN ctest-vn-31805377 UUID is 3ed14f6a-3e8f-4b87-a989-2f7141ca0fe1 2025-04-15 13:13:12,580 - DEBUG - Response for create_network : {'network': {'id': 'c4905817-fdbc-4994-83d4-6a52cf32769e', 'name': 'ctest-ext_vn-90629026', 'tenant_id': '0568159120844d36abd416a6628b33dd', 'project_id': '0568159120844d36abd416a6628b33dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43311523', 'ctest-ext_vn-90629026'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 13:13:12,802 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a132e0fc-8357-4049-a5ff-8e84423817d1', 'name': '', 'tenant_id': '0568159120844d36abd416a6628b33dd', 'network_id': 'c4905817-fdbc-4994-83d4-6a52cf32769e', 'ip_version': 4, 'cidr': '215.191.17.64/26', 'allocation_pools': [{'start': '215.191.17.66', 'end': '215.191.17.126'}], 'gateway_ip': '215.191.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.191.17.66', 'tags': [], 'project_id': '0568159120844d36abd416a6628b33dd'}} 2025-04-15 13:13:12,823 - INFO - Created VN ctest-ext_vn-90629026 2025-04-15 13:13:12,878 - DEBUG - VN ctest-ext_vn-90629026 UUID is c4905817-fdbc-4994-83d4-6a52cf32769e 2025-04-15 13:13:13,049 - DEBUG - Services list from nova: [, , ] 2025-04-15 13:13:14,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3118-1) 2025-04-15 13:13:15,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3118-1) 2025-04-15 13:13:15,416 - INFO - Setting gateway for router 74724c59-9b16-4b31-ae3d-58f49e0a2c54 to network c4905817-fdbc-4994-83d4-6a52cf32769e 2025-04-15 13:13:15,484 - INFO - Adding interface with subnet_id 88938428-03f9-4fad-8d6c-7a0726247065, port_id None to router 74724c59-9b16-4b31-ae3d-58f49e0a2c54 2025-04-15 13:13:15,908 - INFO - Waiting for VM ctest-TestRoutersBasic-43311523-42853095 to be up.. 2025-04-15 13:13:16,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 13:13:21,211 - DEBUG - VM is in ACTIVE state now 2025-04-15 13:13:21,211 - INFO - VM name : ctest-TestRoutersBasic-43311523-42853095 2025-04-15 13:13:21,292 - DEBUG - VM ctest-TestRoutersBasic-43311523-42853095 ID is 5279639b-546d-4670-ba92-200504598c81 2025-04-15 13:13:21,312 - DEBUG - VM ctest-TestRoutersBasic-43311523-42853095 launched on Node cn-jenkins-deploy-platform-ansible-os-3118-1 2025-04-15 13:13:21,390 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5279639b-546d-4670-ba92-200504598c81 2025-04-15 13:13:21,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5279639b-546d-4670-ba92-200504598c81 2025-04-15 13:13:21,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1fa18ad3-db36-4d6a-a0e6-3c36464fb28f 2025-04-15 13:13:24,999 - 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 1030ms') 2025-04-15 13:13:24,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43311523-42853095 failed! 2025-04-15 13:13:25,054 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43311523:ctest-vn-31805377 is 133.141.12.193 and allocation pool is NOT set 2025-04-15 13:13:27,117 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.797/3.143/1.346 ms') 2025-04-15 13:13:27,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43311523-42853095 passed 2025-04-15 13:13:27,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:13:27,270 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43311523-42853095, IP 133.141.12.195, Port 22 2025-04-15 13:13:27,425 - DEBUG - VM ctest-TestRoutersBasic-43311523-42853095 is ready for SSH connections 2025-04-15 13:13:27,426 - INFO - Waiting for VM ctest-TestRoutersBasic-43311523-40719972 to be up.. 2025-04-15 13:13:27,507 - DEBUG - VM is in ACTIVE state now 2025-04-15 13:13:27,507 - INFO - VM name : ctest-TestRoutersBasic-43311523-40719972 2025-04-15 13:13:27,588 - DEBUG - VM ctest-TestRoutersBasic-43311523-40719972 ID is 67d17102-122f-471a-b56d-9a8bc3ae84dd 2025-04-15 13:13:27,589 - DEBUG - VM ctest-TestRoutersBasic-43311523-40719972 launched on Node cn-jenkins-deploy-platform-ansible-os-3118-1 2025-04-15 13:13:27,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67d17102-122f-471a-b56d-9a8bc3ae84dd 2025-04-15 13:13:27,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b3baebd6-10ef-4002-8539-6307766b7e09 2025-04-15 13:13:28,922 - 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=6.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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.199/3.785/6.371/2.586 ms') 2025-04-15 13:13:28,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43311523-40719972 passed 2025-04-15 13:13:29,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:13:29,078 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43311523-40719972, IP 215.191.17.67, Port 22 2025-04-15 13:13:29,238 - DEBUG - VM ctest-TestRoutersBasic-43311523-40719972 is ready for SSH connections 2025-04-15 13:13:29,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:13:29,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.191.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-15 13:13:29,238 - DEBUG - ping -s 56 -c 3 -W 1 215.191.17.67 2025-04-15 13:13:33,319 - DEBUG - PING 215.191.17.67 (215.191.17.67): 56 data bytes 64 bytes from 215.191.17.67: seq=0 ttl=62 time=7.380 ms 64 bytes from 215.191.17.67: seq=1 ttl=62 time=0.878 ms 64 bytes from 215.191.17.67: seq=2 ttl=62 time=0.897 ms --- 215.191.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/3.051/7.380 ms 2025-04-15 13:13:33,319 - INFO - Ping to IP 215.191.17.67 from VM ctest-TestRoutersBasic-43311523-42853095 passed 2025-04-15 13:13:33,319 - INFO - Deleting interface with subnet_id 88938428-03f9-4fad-8d6c-7a0726247065, port_id None from router 74724c59-9b16-4b31-ae3d-58f49e0a2c54 2025-04-15 13:13:33,601 - INFO - Deleting VM ctest-TestRoutersBasic-43311523-40719972 2025-04-15 13:13:33,679 - INFO - Deleting VM ctest-TestRoutersBasic-43311523-42853095 2025-04-15 13:13:33,787 - INFO - Deleting VN ctest-ext_vn-90629026 2025-04-15 13:13:33,859 - DEBUG - VN c4905817-fdbc-4994-83d4-6a52cf32769e still in use: Unable to complete operation on network c4905817-fdbc-4994-83d4-6a52cf32769e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f58f175-2c47-48ee-ac7a-a1dab6737d83'] 2025-04-15 13:13:33,859 - WARNING - Deleting VN ctest-ext_vn-90629026 failed..Will retry 2025-04-15 13:13:35,970 - DEBUG - Response for deleting network () 2025-04-15 13:13:35,970 - INFO - Deleting VN ctest-vn-31805377 2025-04-15 13:13:36,080 - DEBUG - Response for deleting network () 2025-04-15 13:13:36,344 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 13:13:36,344 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-15 13:13:36,344 - INFO - -------------------------------------------------------------------------------- 2025-04-15 13:13:37,047 - INFO - Deleted project: ctest-TestRoutersBasic-43311523, ID : 05681591-2084-4d36-abd4-16a6628b33dd