2025-07-17 16:52:18,470 - INFO - Domain Default found not creating
2025-07-17 16:52:18,681 - INFO - Project ctest-TestRoutersBasic-80465644 not found, creating it
2025-07-17 16:52:19,385 - INFO - Created Project:ctest-TestRoutersBasic-80465644, ID : d257fe1a-1edd-4bff-ad37-354b1af5fa6a
2025-07-17 16:52:20,877 - INFO - ================================================================================
2025-07-17 16:52:20,877 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-17 16:52:20,877 - 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-07-17 16:52:21,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-07-17 16:52:21,136 - INFO - Initial checks done. Running the testcase now
2025-07-17 16:52:21,136 - INFO -
2025-07-17 16:52:21,858 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80465644
2025-07-17 16:52:21,953 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80465644
2025-07-17 16:52:22,293 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80465644', 'default']}
2025-07-17 16:52:22,620 - DEBUG - Response for create_network : {'network': {'id': '8fe75001-7599-43c1-a7e7-1230d0ae9e1a', 'name': 'ctest-vn-79087351', 'tenant_id': 'd257fe1a1edd4bffad37354b1af5fa6a', 'project_id': 'd257fe1a1edd4bffad37354b1af5fa6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80465644', 'ctest-vn-79087351'], 'port_security_enabled': True, 'description': ''}}
2025-07-17 16:52:22,860 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c42c8a3e-797b-4774-8d12-39a9959379e6', 'name': '', 'tenant_id': 'd257fe1a1edd4bffad37354b1af5fa6a', 'network_id': '8fe75001-7599-43c1-a7e7-1230d0ae9e1a', 'ip_version': 4, 'cidr': '115.218.181.128/26', 'allocation_pools': [{'start': '115.218.181.130', 'end': '115.218.181.190'}], 'gateway_ip': '115.218.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.218.181.130', 'tags': [], 'project_id': 'd257fe1a1edd4bffad37354b1af5fa6a'}}
2025-07-17 16:52:22,881 - INFO - Created VN ctest-vn-79087351
2025-07-17 16:52:22,937 - DEBUG - VN ctest-vn-79087351 UUID is 8fe75001-7599-43c1-a7e7-1230d0ae9e1a
2025-07-17 16:52:23,320 - DEBUG - Response for create_network : {'network': {'id': 'a5a7732f-cb2b-49b7-bc93-b3f2dc98dc07', 'name': 'ctest-ext_vn-80319393', 'tenant_id': 'd257fe1a1edd4bffad37354b1af5fa6a', 'project_id': 'd257fe1a1edd4bffad37354b1af5fa6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80465644', 'ctest-ext_vn-80319393'], 'port_security_enabled': True, 'description': ''}}
2025-07-17 16:52:23,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '292bf3ef-27b4-49a9-a34d-a38d85ff6496', 'name': '', 'tenant_id': 'd257fe1a1edd4bffad37354b1af5fa6a', 'network_id': 'a5a7732f-cb2b-49b7-bc93-b3f2dc98dc07', 'ip_version': 4, 'cidr': '103.78.62.0/26', 'allocation_pools': [{'start': '103.78.62.2', 'end': '103.78.62.62'}], 'gateway_ip': '103.78.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.78.62.2', 'tags': [], 'project_id': 'd257fe1a1edd4bffad37354b1af5fa6a'}}
2025-07-17 16:52:23,524 - INFO - Created VN ctest-ext_vn-80319393
2025-07-17 16:52:23,577 - DEBUG - VN ctest-ext_vn-80319393 UUID is a5a7732f-cb2b-49b7-bc93-b3f2dc98dc07
2025-07-17 16:52:23,750 - DEBUG - Services list from nova: [, , ]
2025-07-17 16:52:24,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3659-1)
2025-07-17 16:52:25,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3659-1)
2025-07-17 16:52:26,103 - INFO - Setting gateway for router c55e1416-23c3-45e7-9cdb-bacb2b3f77c5 to network a5a7732f-cb2b-49b7-bc93-b3f2dc98dc07
2025-07-17 16:52:26,193 - INFO - Adding interface with subnet_id c42c8a3e-797b-4774-8d12-39a9959379e6, port_id None to router c55e1416-23c3-45e7-9cdb-bacb2b3f77c5
2025-07-17 16:52:26,568 - INFO - Waiting for VM ctest-TestRoutersBasic-80465644-63081390 to be up..
2025-07-17 16:52:26,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-17 16:52:31,795 - DEBUG - VM is in ACTIVE state now
2025-07-17 16:52:31,795 - INFO - VM name : ctest-TestRoutersBasic-80465644-63081390
2025-07-17 16:52:31,871 - DEBUG - VM ctest-TestRoutersBasic-80465644-63081390 ID is 970b60cf-8c08-4549-86ed-927e6ad30484
2025-07-17 16:52:31,891 - DEBUG - VM ctest-TestRoutersBasic-80465644-63081390 launched on Node cn-jenkins-deploy-platform-ansible-os-3659-1
2025-07-17 16:52:31,962 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/970b60cf-8c08-4549-86ed-927e6ad30484
2025-07-17 16:52:32,263 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/970b60cf-8c08-4549-86ed-927e6ad30484
2025-07-17 16:52:32,297 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c087ce2d-a1b5-40fd-9fec-b31372c25d44
2025-07-17 16:52:35,566 - 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 1007ms')
2025-07-17 16:52:35,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80465644-63081390 failed!
2025-07-17 16:52:35,621 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80465644:ctest-vn-79087351 is 115.218.181.129 and allocation pool is NOT set
2025-07-17 16:52:37,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=4.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.650 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.650/2.666/4.683/2.016 ms')
2025-07-17 16:52:37,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80465644-63081390 passed
2025-07-17 16:52:37,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 16:52:37,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80465644-63081390, IP 115.218.181.131, Port 22
2025-07-17 16:52:38,023 - DEBUG - VM ctest-TestRoutersBasic-80465644-63081390 is ready for SSH connections
2025-07-17 16:52:38,023 - INFO - Waiting for VM ctest-TestRoutersBasic-80465644-56451258 to be up..
2025-07-17 16:52:38,305 - DEBUG - VM is in ACTIVE state now
2025-07-17 16:52:38,306 - INFO - VM name : ctest-TestRoutersBasic-80465644-56451258
2025-07-17 16:52:38,414 - DEBUG - VM ctest-TestRoutersBasic-80465644-56451258 ID is 2f87a0a5-64c5-4ab4-ab3b-aff4f386aff4
2025-07-17 16:52:38,415 - DEBUG - VM ctest-TestRoutersBasic-80465644-56451258 launched on Node cn-jenkins-deploy-platform-ansible-os-3659-1
2025-07-17 16:52:38,515 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2f87a0a5-64c5-4ab4-ab3b-aff4f386aff4
2025-07-17 16:52:38,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ba254aa0-9eb9-4bd4-968d-8b6030f6483b
2025-07-17 16:52:39,803 - 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=5.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/2.789/5.021/2.232 ms')
2025-07-17 16:52:39,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80465644-56451258 passed
2025-07-17 16:52:39,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 16:52:39,965 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80465644-56451258, IP 103.78.62.3, Port 22
2025-07-17 16:52:40,141 - DEBUG - VM ctest-TestRoutersBasic-80465644-56451258 is ready for SSH connections
2025-07-17 16:52:40,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 16:52:40,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.78.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-17 16:52:40,141 - DEBUG - ping -s 56 -c 3 -W 1 103.78.62.3
2025-07-17 16:52:44,221 - DEBUG - PING 103.78.62.3 (103.78.62.3): 56 data bytes
64 bytes from 103.78.62.3: seq=0 ttl=62 time=8.130 ms
64 bytes from 103.78.62.3: seq=1 ttl=62 time=0.927 ms
64 bytes from 103.78.62.3: seq=2 ttl=62 time=1.139 ms
--- 103.78.62.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.927/3.398/8.130 ms
2025-07-17 16:52:44,221 - INFO - Ping to IP 103.78.62.3 from VM ctest-TestRoutersBasic-80465644-63081390 passed
2025-07-17 16:52:44,221 - INFO - Deleting interface with subnet_id c42c8a3e-797b-4774-8d12-39a9959379e6, port_id None from router c55e1416-23c3-45e7-9cdb-bacb2b3f77c5
2025-07-17 16:52:44,439 - INFO - Deleting VM ctest-TestRoutersBasic-80465644-56451258
2025-07-17 16:52:44,523 - INFO - Deleting VM ctest-TestRoutersBasic-80465644-63081390
2025-07-17 16:52:44,595 - INFO - Deleting VN ctest-ext_vn-80319393
2025-07-17 16:52:44,680 - DEBUG - VN a5a7732f-cb2b-49b7-bc93-b3f2dc98dc07 still in use: Unable to complete operation on network a5a7732f-cb2b-49b7-bc93-b3f2dc98dc07. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7dea2743-d6b9-489d-a155-b91c6e4ae522']
2025-07-17 16:52:44,680 - WARNING - Deleting VN ctest-ext_vn-80319393 failed..Will retry
2025-07-17 16:52:46,794 - DEBUG - Response for deleting network ()
2025-07-17 16:52:46,795 - INFO - Deleting VN ctest-vn-79087351
2025-07-17 16:52:46,908 - DEBUG - Response for deleting network ()
2025-07-17 16:52:47,165 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 16:52:47,165 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-07-17 16:52:47,165 - INFO - --------------------------------------------------------------------------------
2025-07-17 16:52:47,840 - INFO - Deleted project: ctest-TestRoutersBasic-80465644, ID : d257fe1a-1edd-4bff-ad37-354b1af5fa6a