2025-06-23 13:40:24,099 - INFO - Domain Default found not creating 2025-06-23 13:40:24,274 - INFO - Project ctest-TestRoutersBasic-36414230 not found, creating it 2025-06-23 13:40:24,778 - INFO - Created Project:ctest-TestRoutersBasic-36414230, ID : 3d317f15-a8a9-49aa-8547-8c9fb8a229c6 2025-06-23 13:40:26,463 - INFO - ================================================================================ 2025-06-23 13:40:26,463 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-23 13:40:26,464 - 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-06-23 13:40:26,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-23 13:40:26,728 - INFO - Initial checks done. Running the testcase now 2025-06-23 13:40:26,728 - INFO - 2025-06-23 13:40:27,545 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36414230 2025-06-23 13:40:27,646 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36414230 2025-06-23 13:40:27,974 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36414230', 'default']} 2025-06-23 13:40:28,295 - DEBUG - Response for create_network : {'network': {'id': '32f0875f-51ab-45ad-b085-67c87f278bfa', 'name': 'ctest-vn-67421816', 'tenant_id': '3d317f15a8a949aa85478c9fb8a229c6', 'project_id': '3d317f15a8a949aa85478c9fb8a229c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36414230', 'ctest-vn-67421816'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 13:40:28,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4d20831-5fcd-4a04-a80d-c8ec5d8836f2', 'name': '', 'tenant_id': '3d317f15a8a949aa85478c9fb8a229c6', 'network_id': '32f0875f-51ab-45ad-b085-67c87f278bfa', 'ip_version': 4, 'cidr': '143.213.57.128/26', 'allocation_pools': [{'start': '143.213.57.130', 'end': '143.213.57.190'}], 'gateway_ip': '143.213.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.213.57.130', 'tags': [], 'project_id': '3d317f15a8a949aa85478c9fb8a229c6'}} 2025-06-23 13:40:28,558 - INFO - Created VN ctest-vn-67421816 2025-06-23 13:40:28,614 - DEBUG - VN ctest-vn-67421816 UUID is 32f0875f-51ab-45ad-b085-67c87f278bfa 2025-06-23 13:40:29,017 - DEBUG - Response for create_network : {'network': {'id': '3e45991d-f3f5-4119-9cd2-6307fe61b13e', 'name': 'ctest-ext_vn-37304141', 'tenant_id': '3d317f15a8a949aa85478c9fb8a229c6', 'project_id': '3d317f15a8a949aa85478c9fb8a229c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36414230', 'ctest-ext_vn-37304141'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 13:40:29,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e5663d0-4c60-4a98-ba4a-ff986cc6ed9b', 'name': '', 'tenant_id': '3d317f15a8a949aa85478c9fb8a229c6', 'network_id': '3e45991d-f3f5-4119-9cd2-6307fe61b13e', 'ip_version': 4, 'cidr': '174.218.60.64/26', 'allocation_pools': [{'start': '174.218.60.66', 'end': '174.218.60.126'}], 'gateway_ip': '174.218.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.218.60.66', 'tags': [], 'project_id': '3d317f15a8a949aa85478c9fb8a229c6'}} 2025-06-23 13:40:29,253 - INFO - Created VN ctest-ext_vn-37304141 2025-06-23 13:40:29,306 - DEBUG - VN ctest-ext_vn-37304141 UUID is 3e45991d-f3f5-4119-9cd2-6307fe61b13e 2025-06-23 13:40:29,490 - DEBUG - Services list from nova: [, , ] 2025-06-23 13:40:30,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3520-1) 2025-06-23 13:40:31,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3520-1) 2025-06-23 13:40:32,024 - INFO - Setting gateway for router 1c697da3-c735-4ddf-af27-69e69740579f to network 3e45991d-f3f5-4119-9cd2-6307fe61b13e 2025-06-23 13:40:32,095 - INFO - Adding interface with subnet_id b4d20831-5fcd-4a04-a80d-c8ec5d8836f2, port_id None to router 1c697da3-c735-4ddf-af27-69e69740579f 2025-06-23 13:40:32,596 - INFO - Waiting for VM ctest-TestRoutersBasic-36414230-95928121 to be up.. 2025-06-23 13:40:32,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 13:40:37,909 - DEBUG - VM is in ACTIVE state now 2025-06-23 13:40:37,911 - INFO - VM name : ctest-TestRoutersBasic-36414230-95928121 2025-06-23 13:40:38,020 - DEBUG - VM ctest-TestRoutersBasic-36414230-95928121 ID is 872e775e-f57c-4344-93df-4afbf95f832b 2025-06-23 13:40:38,043 - DEBUG - VM ctest-TestRoutersBasic-36414230-95928121 launched on Node cn-jenkins-deploy-platform-ansible-os-3520-1 2025-06-23 13:40:38,129 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/872e775e-f57c-4344-93df-4afbf95f832b 2025-06-23 13:40:38,478 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/872e775e-f57c-4344-93df-4afbf95f832b 2025-06-23 13:40:38,514 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d1f595b4-42f5-4986-b896-6a0621cd377c 2025-06-23 13:40:41,793 - 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 1026ms') 2025-06-23 13:40:41,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36414230-95928121 failed! 2025-06-23 13:40:41,850 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36414230:ctest-vn-67421816 is 143.213.57.129 and allocation pool is NOT set 2025-06-23 13:40:43,909 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/2.137/3.880/1.742 ms') 2025-06-23 13:40:43,909 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36414230-95928121 passed 2025-06-23 13:40:44,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 13:40:44,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36414230-95928121, IP 143.213.57.131, Port 22 2025-06-23 13:40:44,248 - DEBUG - VM ctest-TestRoutersBasic-36414230-95928121 is ready for SSH connections 2025-06-23 13:40:44,248 - INFO - Waiting for VM ctest-TestRoutersBasic-36414230-17667888 to be up.. 2025-06-23 13:40:44,335 - DEBUG - VM is in ACTIVE state now 2025-06-23 13:40:44,336 - INFO - VM name : ctest-TestRoutersBasic-36414230-17667888 2025-06-23 13:40:44,428 - DEBUG - VM ctest-TestRoutersBasic-36414230-17667888 ID is 188b002f-7177-4727-a58a-4501e7963163 2025-06-23 13:40:44,429 - DEBUG - VM ctest-TestRoutersBasic-36414230-17667888 launched on Node cn-jenkins-deploy-platform-ansible-os-3520-1 2025-06-23 13:40:44,524 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/188b002f-7177-4727-a58a-4501e7963163 2025-06-23 13:40:44,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/277e3c20-03e8-4303-ac05-c43df13c3187 2025-06-23 13:40:45,788 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.861/3.221/1.359 ms') 2025-06-23 13:40:45,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36414230-17667888 passed 2025-06-23 13:40:45,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 13:40:45,942 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36414230-17667888, IP 174.218.60.67, Port 22 2025-06-23 13:40:46,098 - DEBUG - VM ctest-TestRoutersBasic-36414230-17667888 is ready for SSH connections 2025-06-23 13:40:46,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 13:40:46,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.218.60.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-23 13:40:46,099 - DEBUG - ping -s 56 -c 3 -W 1 174.218.60.67 2025-06-23 13:40:49,850 - DEBUG - PING 174.218.60.67 (174.218.60.67): 56 data bytes 64 bytes from 174.218.60.67: seq=0 ttl=62 time=9.084 ms 64 bytes from 174.218.60.67: seq=1 ttl=62 time=0.927 ms 64 bytes from 174.218.60.67: seq=2 ttl=62 time=1.019 ms --- 174.218.60.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/3.676/9.084 ms 2025-06-23 13:40:49,850 - INFO - Ping to IP 174.218.60.67 from VM ctest-TestRoutersBasic-36414230-95928121 passed 2025-06-23 13:40:49,850 - INFO - Deleting interface with subnet_id b4d20831-5fcd-4a04-a80d-c8ec5d8836f2, port_id None from router 1c697da3-c735-4ddf-af27-69e69740579f 2025-06-23 13:40:50,110 - INFO - Deleting VM ctest-TestRoutersBasic-36414230-17667888 2025-06-23 13:40:50,184 - INFO - Deleting VM ctest-TestRoutersBasic-36414230-95928121 2025-06-23 13:40:50,269 - INFO - Deleting VN ctest-ext_vn-37304141 2025-06-23 13:40:50,356 - DEBUG - VN 3e45991d-f3f5-4119-9cd2-6307fe61b13e still in use: Unable to complete operation on network 3e45991d-f3f5-4119-9cd2-6307fe61b13e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18362ff3-18bf-40c2-93ef-42c979063c36'] 2025-06-23 13:40:50,356 - WARNING - Deleting VN ctest-ext_vn-37304141 failed..Will retry 2025-06-23 13:40:52,463 - DEBUG - Response for deleting network () 2025-06-23 13:40:52,463 - INFO - Deleting VN ctest-vn-67421816 2025-06-23 13:40:52,603 - DEBUG - Response for deleting network () 2025-06-23 13:40:52,867 - DEBUG - No XMPP flaps were noticed during the test 2025-06-23 13:40:52,867 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-23 13:40:52,867 - INFO - -------------------------------------------------------------------------------- 2025-06-23 13:40:53,607 - INFO - Deleted project: ctest-TestRoutersBasic-36414230, ID : 3d317f15-a8a9-49aa-8547-8c9fb8a229c6