2025-06-10 15:57:29,151 - INFO - Domain Default found not creating
2025-06-10 15:57:29,310 - INFO - Project ctest-TestRoutersBasic-75867713 not found, creating it
2025-06-10 15:57:29,787 - INFO - Created Project:ctest-TestRoutersBasic-75867713, ID : 5f06161d-3b94-4c73-bcc6-877254f15470
2025-06-10 15:57:31,183 - INFO - ================================================================================
2025-06-10 15:57:31,183 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-10 15:57:31,183 - 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-10 15:57:31,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with
2025-06-10 15:57:31,440 - INFO - Initial checks done. Running the testcase now
2025-06-10 15:57:31,440 - INFO -
2025-06-10 15:57:32,135 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75867713
2025-06-10 15:57:32,231 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75867713
2025-06-10 15:57:32,550 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75867713', 'default']}
2025-06-10 15:57:32,839 - DEBUG - Response for create_network : {'network': {'id': '81b44a8a-6da1-426f-b52e-f12f0b1e6ec7', 'name': 'ctest-vn-25073299', 'tenant_id': '5f06161d3b944c73bcc6877254f15470', 'project_id': '5f06161d3b944c73bcc6877254f15470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75867713', 'ctest-vn-25073299'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 15:57:33,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '33c9340b-319e-404f-bb85-7930b5de30d5', 'name': '', 'tenant_id': '5f06161d3b944c73bcc6877254f15470', 'network_id': '81b44a8a-6da1-426f-b52e-f12f0b1e6ec7', 'ip_version': 4, 'cidr': '121.223.211.192/26', 'allocation_pools': [{'start': '121.223.211.194', 'end': '121.223.211.254'}], 'gateway_ip': '121.223.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.223.211.194', 'tags': [], 'project_id': '5f06161d3b944c73bcc6877254f15470'}}
2025-06-10 15:57:33,101 - INFO - Created VN ctest-vn-25073299
2025-06-10 15:57:33,159 - DEBUG - VN ctest-vn-25073299 UUID is 81b44a8a-6da1-426f-b52e-f12f0b1e6ec7
2025-06-10 15:57:33,515 - DEBUG - Response for create_network : {'network': {'id': '2a5bb626-333d-4e57-81e1-db4e2263f261', 'name': 'ctest-ext_vn-65217558', 'tenant_id': '5f06161d3b944c73bcc6877254f15470', 'project_id': '5f06161d3b944c73bcc6877254f15470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75867713', 'ctest-ext_vn-65217558'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 15:57:33,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c6dccdd-fdb5-4293-b8fb-bebf7b4167aa', 'name': '', 'tenant_id': '5f06161d3b944c73bcc6877254f15470', 'network_id': '2a5bb626-333d-4e57-81e1-db4e2263f261', 'ip_version': 4, 'cidr': '92.227.140.128/26', 'allocation_pools': [{'start': '92.227.140.130', 'end': '92.227.140.190'}], 'gateway_ip': '92.227.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.227.140.130', 'tags': [], 'project_id': '5f06161d3b944c73bcc6877254f15470'}}
2025-06-10 15:57:33,726 - INFO - Created VN ctest-ext_vn-65217558
2025-06-10 15:57:33,779 - DEBUG - VN ctest-ext_vn-65217558 UUID is 2a5bb626-333d-4e57-81e1-db4e2263f261
2025-06-10 15:57:33,939 - DEBUG - Services list from nova: [, , ]
2025-06-10 15:57:34,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3435-1)
2025-06-10 15:57:36,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3435-1)
2025-06-10 15:57:36,309 - INFO - Setting gateway for router a239b6d6-e0e6-467c-acf6-df361595b2bc to network 2a5bb626-333d-4e57-81e1-db4e2263f261
2025-06-10 15:57:36,411 - INFO - Adding interface with subnet_id 33c9340b-319e-404f-bb85-7930b5de30d5, port_id None to router a239b6d6-e0e6-467c-acf6-df361595b2bc
2025-06-10 15:57:36,906 - INFO - Waiting for VM ctest-TestRoutersBasic-75867713-81188362 to be up..
2025-06-10 15:57:37,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-10 15:57:42,162 - DEBUG - VM is in ACTIVE state now
2025-06-10 15:57:42,162 - INFO - VM name : ctest-TestRoutersBasic-75867713-81188362
2025-06-10 15:57:42,231 - DEBUG - VM ctest-TestRoutersBasic-75867713-81188362 ID is 1037d58c-fd6e-4e51-b4ff-91e63a1f4b63
2025-06-10 15:57:42,250 - DEBUG - VM ctest-TestRoutersBasic-75867713-81188362 launched on Node cn-jenkins-deploy-platform-ansible-os-3435-1
2025-06-10 15:57:42,325 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1037d58c-fd6e-4e51-b4ff-91e63a1f4b63
2025-06-10 15:57:42,628 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1037d58c-fd6e-4e51-b4ff-91e63a1f4b63
2025-06-10 15:57:42,658 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9e09b05c-35b7-4504-8609-2643a1f1fc44
2025-06-10 15:57:45,933 - 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 1031ms')
2025-06-10 15:57:45,933 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75867713-81188362 failed!
2025-06-10 15:57:45,987 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75867713:ctest-vn-25073299 is 121.223.211.193 and allocation pool is NOT set
2025-06-10 15:57:48,054 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.794/3.164/1.370 ms')
2025-06-10 15:57:48,054 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75867713-81188362 passed
2025-06-10 15:57:48,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 15:57:48,215 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75867713-81188362, IP 121.223.211.195, Port 22
2025-06-10 15:57:48,381 - DEBUG - VM ctest-TestRoutersBasic-75867713-81188362 is ready for SSH connections
2025-06-10 15:57:48,381 - INFO - Waiting for VM ctest-TestRoutersBasic-75867713-57611105 to be up..
2025-06-10 15:57:48,464 - DEBUG - VM is in ACTIVE state now
2025-06-10 15:57:48,464 - INFO - VM name : ctest-TestRoutersBasic-75867713-57611105
2025-06-10 15:57:48,537 - DEBUG - VM ctest-TestRoutersBasic-75867713-57611105 ID is 28ea1a28-db68-4ae2-9808-3ad11c2c7ed4
2025-06-10 15:57:48,537 - DEBUG - VM ctest-TestRoutersBasic-75867713-57611105 launched on Node cn-jenkins-deploy-platform-ansible-os-3435-1
2025-06-10 15:57:48,628 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/28ea1a28-db68-4ae2-9808-3ad11c2c7ed4
2025-06-10 15:57:48,639 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5b118d0e-d3bc-4495-8829-f9fa4694e56f
2025-06-10 15:57:49,885 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/2.023/3.663/1.639 ms')
2025-06-10 15:57:49,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75867713-57611105 passed
2025-06-10 15:57:50,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 15:57:50,039 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75867713-57611105, IP 92.227.140.131, Port 22
2025-06-10 15:57:50,194 - DEBUG - VM ctest-TestRoutersBasic-75867713-57611105 is ready for SSH connections
2025-06-10 15:57:50,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 15:57:50,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.227.140.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-06-10 15:57:50,194 - DEBUG - ping -s 56 -c 3 -W 1 92.227.140.131
2025-06-10 15:57:53,854 - DEBUG - PING 92.227.140.131 (92.227.140.131): 56 data bytes
64 bytes from 92.227.140.131: seq=0 ttl=62 time=7.339 ms
64 bytes from 92.227.140.131: seq=1 ttl=62 time=0.820 ms
64 bytes from 92.227.140.131: seq=2 ttl=62 time=0.852 ms
--- 92.227.140.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.820/3.003/7.339 ms
2025-06-10 15:57:53,854 - INFO - Ping to IP 92.227.140.131 from VM ctest-TestRoutersBasic-75867713-81188362 passed
2025-06-10 15:57:53,854 - INFO - Deleting interface with subnet_id 33c9340b-319e-404f-bb85-7930b5de30d5, port_id None from router a239b6d6-e0e6-467c-acf6-df361595b2bc
2025-06-10 15:57:54,081 - INFO - Deleting VM ctest-TestRoutersBasic-75867713-57611105
2025-06-10 15:57:54,168 - INFO - Deleting VM ctest-TestRoutersBasic-75867713-81188362
2025-06-10 15:57:54,252 - INFO - Deleting VN ctest-ext_vn-65217558
2025-06-10 15:57:54,334 - DEBUG - VN 2a5bb626-333d-4e57-81e1-db4e2263f261 still in use: Unable to complete operation on network 2a5bb626-333d-4e57-81e1-db4e2263f261. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-96ad352d-3301-4bf4-b24c-50e02afb413d']
2025-06-10 15:57:54,334 - WARNING - Deleting VN ctest-ext_vn-65217558 failed..Will retry
2025-06-10 15:57:56,443 - DEBUG - Response for deleting network ()
2025-06-10 15:57:56,443 - INFO - Deleting VN ctest-vn-25073299
2025-06-10 15:57:56,548 - DEBUG - Response for deleting network ()
2025-06-10 15:57:56,804 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 15:57:56,804 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-10 15:57:56,804 - INFO - --------------------------------------------------------------------------------
2025-06-10 15:57:57,462 - INFO - Deleted project: ctest-TestRoutersBasic-75867713, ID : 5f06161d-3b94-4c73-bcc6-877254f15470