2025-05-28 16:17:23,250 - INFO - Domain Default found not creating 2025-05-28 16:17:23,411 - INFO - Project ctest-TestRoutersBasic-46547681 not found, creating it 2025-05-28 16:17:23,867 - INFO - Created Project:ctest-TestRoutersBasic-46547681, ID : 14f02df7-d60e-4665-a2d4-171b8530c804 2025-05-28 16:17:25,407 - INFO - ================================================================================ 2025-05-28 16:17:25,407 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-28 16:17:25,407 - 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-28 16:17:25,661 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-05-28 16:17:25,661 - INFO - Initial checks done. Running the testcase now 2025-05-28 16:17:25,661 - INFO - 2025-05-28 16:17:26,441 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46547681 2025-05-28 16:17:26,534 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46547681 2025-05-28 16:17:26,866 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46547681', 'default']} 2025-05-28 16:17:27,162 - DEBUG - Response for create_network : {'network': {'id': 'e4861793-f822-4434-a7c1-7706fdbdd58b', 'name': 'ctest-vn-54285803', 'tenant_id': '14f02df7d60e4665a2d4171b8530c804', 'project_id': '14f02df7d60e4665a2d4171b8530c804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46547681', 'ctest-vn-54285803'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 16:17:27,357 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daa147f0-48c4-41af-9ddb-b8e673ff29d0', 'name': '', 'tenant_id': '14f02df7d60e4665a2d4171b8530c804', 'network_id': 'e4861793-f822-4434-a7c1-7706fdbdd58b', 'ip_version': 4, 'cidr': '163.46.235.192/26', 'allocation_pools': [{'start': '163.46.235.194', 'end': '163.46.235.254'}], 'gateway_ip': '163.46.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.46.235.194', 'tags': [], 'project_id': '14f02df7d60e4665a2d4171b8530c804'}} 2025-05-28 16:17:27,375 - INFO - Created VN ctest-vn-54285803 2025-05-28 16:17:27,430 - DEBUG - VN ctest-vn-54285803 UUID is e4861793-f822-4434-a7c1-7706fdbdd58b 2025-05-28 16:17:27,791 - DEBUG - Response for create_network : {'network': {'id': 'a6b191e7-7255-4474-a8f9-6294675afe86', 'name': 'ctest-ext_vn-70166391', 'tenant_id': '14f02df7d60e4665a2d4171b8530c804', 'project_id': '14f02df7d60e4665a2d4171b8530c804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46547681', 'ctest-ext_vn-70166391'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 16:17:27,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '2da16dcd-9720-4f1b-bd45-6732eb7239f8', 'name': '', 'tenant_id': '14f02df7d60e4665a2d4171b8530c804', 'network_id': 'a6b191e7-7255-4474-a8f9-6294675afe86', 'ip_version': 4, 'cidr': '90.152.116.0/26', 'allocation_pools': [{'start': '90.152.116.2', 'end': '90.152.116.62'}], 'gateway_ip': '90.152.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.152.116.2', 'tags': [], 'project_id': '14f02df7d60e4665a2d4171b8530c804'}} 2025-05-28 16:17:27,957 - INFO - Created VN ctest-ext_vn-70166391 2025-05-28 16:17:28,014 - DEBUG - VN ctest-ext_vn-70166391 UUID is a6b191e7-7255-4474-a8f9-6294675afe86 2025-05-28 16:17:28,183 - DEBUG - Services list from nova: [, , ] 2025-05-28 16:17:29,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3353-1) 2025-05-28 16:17:30,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3353-1) 2025-05-28 16:17:30,540 - INFO - Setting gateway for router e560d6cb-3f07-4e44-9fb0-cf76bd46e89d to network a6b191e7-7255-4474-a8f9-6294675afe86 2025-05-28 16:17:30,616 - INFO - Adding interface with subnet_id daa147f0-48c4-41af-9ddb-b8e673ff29d0, port_id None to router e560d6cb-3f07-4e44-9fb0-cf76bd46e89d 2025-05-28 16:17:31,105 - INFO - Waiting for VM ctest-TestRoutersBasic-46547681-07996066 to be up.. 2025-05-28 16:17:31,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 16:17:36,358 - DEBUG - VM is in ACTIVE state now 2025-05-28 16:17:36,358 - INFO - VM name : ctest-TestRoutersBasic-46547681-07996066 2025-05-28 16:17:36,430 - DEBUG - VM ctest-TestRoutersBasic-46547681-07996066 ID is 9a0be653-b4ee-432e-91a3-7885c4cdd5b3 2025-05-28 16:17:36,448 - DEBUG - VM ctest-TestRoutersBasic-46547681-07996066 launched on Node cn-jenkins-deploy-platform-ansible-os-3353-1 2025-05-28 16:17:36,520 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9a0be653-b4ee-432e-91a3-7885c4cdd5b3 2025-05-28 16:17:36,853 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9a0be653-b4ee-432e-91a3-7885c4cdd5b3 2025-05-28 16:17:36,885 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/1c987ba2-0f1d-46ed-b5ac-5d8b6649fec0 2025-05-28 16:17:40,144 - 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 1019ms') 2025-05-28 16:17:40,145 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46547681-07996066 failed! 2025-05-28 16:17:40,203 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46547681:ctest-vn-54285803 is 163.46.235.193 and allocation pool is NOT set 2025-05-28 16:17:42,273 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.811 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.811/2.093/3.375/1.282 ms') 2025-05-28 16:17:42,273 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46547681-07996066 passed 2025-05-28 16:17:42,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:17:42,427 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46547681-07996066, IP 163.46.235.195, Port 22 2025-05-28 16:17:42,582 - DEBUG - VM ctest-TestRoutersBasic-46547681-07996066 is ready for SSH connections 2025-05-28 16:17:42,582 - INFO - Waiting for VM ctest-TestRoutersBasic-46547681-15359266 to be up.. 2025-05-28 16:17:42,672 - DEBUG - VM is in ACTIVE state now 2025-05-28 16:17:42,672 - INFO - VM name : ctest-TestRoutersBasic-46547681-15359266 2025-05-28 16:17:42,761 - DEBUG - VM ctest-TestRoutersBasic-46547681-15359266 ID is 9f04772b-dbc5-47bf-ab6e-211922f3bf0d 2025-05-28 16:17:42,761 - DEBUG - VM ctest-TestRoutersBasic-46547681-15359266 launched on Node cn-jenkins-deploy-platform-ansible-os-3353-1 2025-05-28 16:17:42,847 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9f04772b-dbc5-47bf-ab6e-211922f3bf0d 2025-05-28 16:17:42,857 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/16203b29-4e97-41c2-8bd2-03d5a5a3d023 2025-05-28 16:17:44,101 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.773 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.773/2.111/3.450/1.338 ms') 2025-05-28 16:17:44,101 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46547681-15359266 passed 2025-05-28 16:17:44,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:17:44,250 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46547681-15359266, IP 90.152.116.3, Port 22 2025-05-28 16:17:44,406 - DEBUG - VM ctest-TestRoutersBasic-46547681-15359266 is ready for SSH connections 2025-05-28 16:17:44,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:17:44,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.152.116.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-05-28 16:17:44,407 - DEBUG - ping -s 56 -c 3 -W 1 90.152.116.3 2025-05-28 16:17:48,473 - DEBUG - PING 90.152.116.3 (90.152.116.3): 56 data bytes 64 bytes from 90.152.116.3: seq=0 ttl=62 time=5.499 ms 64 bytes from 90.152.116.3: seq=1 ttl=62 time=0.844 ms 64 bytes from 90.152.116.3: seq=2 ttl=62 time=0.914 ms --- 90.152.116.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/2.419/5.499 ms 2025-05-28 16:17:48,473 - INFO - Ping to IP 90.152.116.3 from VM ctest-TestRoutersBasic-46547681-07996066 passed 2025-05-28 16:17:48,473 - INFO - Deleting interface with subnet_id daa147f0-48c4-41af-9ddb-b8e673ff29d0, port_id None from router e560d6cb-3f07-4e44-9fb0-cf76bd46e89d 2025-05-28 16:17:48,699 - INFO - Deleting VM ctest-TestRoutersBasic-46547681-15359266 2025-05-28 16:17:48,766 - INFO - Deleting VM ctest-TestRoutersBasic-46547681-07996066 2025-05-28 16:17:48,866 - INFO - Deleting VN ctest-ext_vn-70166391 2025-05-28 16:17:48,934 - DEBUG - VN a6b191e7-7255-4474-a8f9-6294675afe86 still in use: Unable to complete operation on network a6b191e7-7255-4474-a8f9-6294675afe86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2469f9d2-c829-411d-b975-1a6416d02f23'] 2025-05-28 16:17:48,934 - WARNING - Deleting VN ctest-ext_vn-70166391 failed..Will retry 2025-05-28 16:17:51,046 - DEBUG - Response for deleting network () 2025-05-28 16:17:51,047 - INFO - Deleting VN ctest-vn-54285803 2025-05-28 16:17:51,155 - DEBUG - Response for deleting network () 2025-05-28 16:17:51,416 - DEBUG - No XMPP flaps were noticed during the test 2025-05-28 16:17:51,416 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-28 16:17:51,416 - INFO - -------------------------------------------------------------------------------- 2025-05-28 16:17:52,140 - INFO - Deleted project: ctest-TestRoutersBasic-46547681, ID : 14f02df7-d60e-4665-a2d4-171b8530c804