2025-08-30 22:20:55,529 - INFO - Domain Default found not creating 2025-08-30 22:20:55,839 - INFO - Project ctest-TestRoutersBasic-72972619 not found, creating it 2025-08-30 22:20:56,444 - INFO - Created Project:ctest-TestRoutersBasic-72972619, ID : 7dc07354-3171-4c41-baac-78e22b9c4dfc 2025-08-30 22:20:58,608 - INFO - ================================================================================ 2025-08-30 22:20:58,608 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-30 22:20:58,608 - 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-08-30 22:20:58,922 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-30 22:20:58,922 - INFO - Initial checks done. Running the testcase now 2025-08-30 22:20:58,922 - INFO - 2025-08-30 22:20:59,836 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72972619 2025-08-30 22:20:59,950 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72972619 2025-08-30 22:21:00,332 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72972619', 'default']} 2025-08-30 22:21:00,779 - DEBUG - Response for create_network : {'network': {'id': '315445a5-75ab-4b51-b01f-51b0eeb70523', 'name': 'ctest-vn-60057699', 'tenant_id': '7dc0735431714c41baac78e22b9c4dfc', 'project_id': '7dc0735431714c41baac78e22b9c4dfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72972619', 'ctest-vn-60057699'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:21:00,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f15c5db-fadf-40c4-a803-d4c8598b7122', 'name': '', 'tenant_id': '7dc0735431714c41baac78e22b9c4dfc', 'network_id': '315445a5-75ab-4b51-b01f-51b0eeb70523', 'ip_version': 4, 'cidr': '105.90.142.64/26', 'allocation_pools': [{'start': '105.90.142.66', 'end': '105.90.142.126'}], 'gateway_ip': '105.90.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.90.142.66', 'tags': [], 'project_id': '7dc0735431714c41baac78e22b9c4dfc'}} 2025-08-30 22:21:01,024 - INFO - Created VN ctest-vn-60057699 2025-08-30 22:21:01,089 - DEBUG - VN ctest-vn-60057699 UUID is 315445a5-75ab-4b51-b01f-51b0eeb70523 2025-08-30 22:21:01,552 - DEBUG - Response for create_network : {'network': {'id': '2bc89afe-0700-437f-82d5-dc1bb015021f', 'name': 'ctest-ext_vn-39158904', 'tenant_id': '7dc0735431714c41baac78e22b9c4dfc', 'project_id': '7dc0735431714c41baac78e22b9c4dfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72972619', 'ctest-ext_vn-39158904'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:21:01,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b65b89b7-ce43-4fe2-9799-28dbbfeb1f9d', 'name': '', 'tenant_id': '7dc0735431714c41baac78e22b9c4dfc', 'network_id': '2bc89afe-0700-437f-82d5-dc1bb015021f', 'ip_version': 4, 'cidr': '159.123.227.0/26', 'allocation_pools': [{'start': '159.123.227.2', 'end': '159.123.227.62'}], 'gateway_ip': '159.123.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.123.227.2', 'tags': [], 'project_id': '7dc0735431714c41baac78e22b9c4dfc'}} 2025-08-30 22:21:01,738 - INFO - Created VN ctest-ext_vn-39158904 2025-08-30 22:21:01,792 - DEBUG - VN ctest-ext_vn-39158904 UUID is 2bc89afe-0700-437f-82d5-dc1bb015021f 2025-08-30 22:21:01,994 - DEBUG - Services list from nova: [, , ] 2025-08-30 22:21:03,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3984-1) 2025-08-30 22:21:04,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3984-1) 2025-08-30 22:21:04,692 - INFO - Setting gateway for router ed80c8a3-e212-4e3f-a461-eb96ad4e112d to network 2bc89afe-0700-437f-82d5-dc1bb015021f 2025-08-30 22:21:04,759 - INFO - Adding interface with subnet_id 6f15c5db-fadf-40c4-a803-d4c8598b7122, port_id None to router ed80c8a3-e212-4e3f-a461-eb96ad4e112d 2025-08-30 22:21:05,227 - INFO - Waiting for VM ctest-TestRoutersBasic-72972619-54201760 to be up.. 2025-08-30 22:21:05,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 22:21:10,520 - DEBUG - VM is in ACTIVE state now 2025-08-30 22:21:10,521 - INFO - VM name : ctest-TestRoutersBasic-72972619-54201760 2025-08-30 22:21:10,643 - DEBUG - VM ctest-TestRoutersBasic-72972619-54201760 ID is cf7d799c-272d-441e-a86b-6fe437328bf0 2025-08-30 22:21:10,671 - DEBUG - VM ctest-TestRoutersBasic-72972619-54201760 launched on Node cn-jenkins-deploy-platform-ansible-os-3984-1 2025-08-30 22:21:10,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cf7d799c-272d-441e-a86b-6fe437328bf0 2025-08-30 22:21:11,169 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cf7d799c-272d-441e-a86b-6fe437328bf0 2025-08-30 22:21:11,230 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3330b2c-2292-41db-9e03-611451cb44f5 2025-08-30 22:21:14,525 - 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 1001ms') 2025-08-30 22:21:14,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72972619-54201760 failed! 2025-08-30 22:21:14,606 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72972619:ctest-vn-60057699 is 105.90.142.65 and allocation pool is NOT set 2025-08-30 22:21:16,688 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.487/5.482/10.478/4.995 ms') 2025-08-30 22:21:16,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72972619-54201760 passed 2025-08-30 22:21:16,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:21:16,865 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72972619-54201760, IP 105.90.142.67, Port 22 2025-08-30 22:21:17,059 - DEBUG - VM ctest-TestRoutersBasic-72972619-54201760 is ready for SSH connections 2025-08-30 22:21:17,059 - INFO - Waiting for VM ctest-TestRoutersBasic-72972619-91745546 to be up.. 2025-08-30 22:21:17,233 - DEBUG - VM is in ACTIVE state now 2025-08-30 22:21:17,233 - INFO - VM name : ctest-TestRoutersBasic-72972619-91745546 2025-08-30 22:21:17,347 - DEBUG - VM ctest-TestRoutersBasic-72972619-91745546 ID is ddd31d20-d634-468c-90a5-bc45343f3ef1 2025-08-30 22:21:17,348 - DEBUG - VM ctest-TestRoutersBasic-72972619-91745546 launched on Node cn-jenkins-deploy-platform-ansible-os-3984-1 2025-08-30 22:21:17,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ddd31d20-d634-468c-90a5-bc45343f3ef1 2025-08-30 22:21:17,478 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4709ae31-64a4-41c4-bb8f-545e77d8f99c 2025-08-30 22:21:18,776 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.846 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.846/2.257/3.668/1.411 ms') 2025-08-30 22:21:18,776 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72972619-91745546 passed 2025-08-30 22:21:18,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:21:18,961 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72972619-91745546, IP 159.123.227.3, Port 22 2025-08-30 22:21:19,150 - DEBUG - VM ctest-TestRoutersBasic-72972619-91745546 is ready for SSH connections 2025-08-30 22:21:19,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:21:19,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.123.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-30 22:21:19,151 - DEBUG - ping -s 56 -c 3 -W 1 159.123.227.3 2025-08-30 22:21:23,235 - DEBUG - PING 159.123.227.3 (159.123.227.3): 56 data bytes 64 bytes from 159.123.227.3: seq=0 ttl=62 time=7.719 ms 64 bytes from 159.123.227.3: seq=1 ttl=62 time=1.802 ms 64 bytes from 159.123.227.3: seq=2 ttl=62 time=1.987 ms --- 159.123.227.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.802/3.836/7.719 ms 2025-08-30 22:21:23,235 - INFO - Ping to IP 159.123.227.3 from VM ctest-TestRoutersBasic-72972619-54201760 passed 2025-08-30 22:21:23,235 - INFO - Deleting interface with subnet_id 6f15c5db-fadf-40c4-a803-d4c8598b7122, port_id None from router ed80c8a3-e212-4e3f-a461-eb96ad4e112d 2025-08-30 22:21:23,536 - INFO - Deleting VM ctest-TestRoutersBasic-72972619-91745546 2025-08-30 22:21:23,623 - INFO - Deleting VM ctest-TestRoutersBasic-72972619-54201760 2025-08-30 22:21:23,735 - INFO - Deleting VN ctest-ext_vn-39158904 2025-08-30 22:21:23,843 - DEBUG - VN 2bc89afe-0700-437f-82d5-dc1bb015021f still in use: Unable to complete operation on network 2bc89afe-0700-437f-82d5-dc1bb015021f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca98f575-73d2-4267-9647-5310ff0b33e3'] 2025-08-30 22:21:23,843 - WARNING - Deleting VN ctest-ext_vn-39158904 failed..Will retry 2025-08-30 22:21:26,075 - DEBUG - Response for deleting network () 2025-08-30 22:21:26,076 - INFO - Deleting VN ctest-vn-60057699 2025-08-30 22:21:26,229 - DEBUG - Response for deleting network () 2025-08-30 22:21:26,535 - DEBUG - No XMPP flaps were noticed during the test
2025-08-30 22:21:26,535 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-08-30 22:21:26,536 - INFO - -------------------------------------------------------------------------------- 2025-08-30 22:21:27,465 - INFO - Deleted project: ctest-TestRoutersBasic-72972619, ID : 7dc07354-3171-4c41-baac-78e22b9c4dfc