2025-02-05 06:45:45,336 - INFO - Domain Default found not creating
2025-02-05 06:45:45,492 - INFO - Project ctest-TestRoutersBasic-17190531 not found, creating it
2025-02-05 06:45:45,957 - INFO - Created Project:ctest-TestRoutersBasic-17190531, ID : 9ebc1f18-9bdb-4f40-83ab-46800a753be6
2025-02-05 06:45:47,429 - INFO - ================================================================================
2025-02-05 06:45:47,429 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-05 06:45:47,429 - 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-02-05 06:45:47,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.13': '0'}} with
2025-02-05 06:45:47,684 - INFO - Initial checks done. Running the testcase now
2025-02-05 06:45:47,684 - INFO -
2025-02-05 06:45:48,372 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17190531
2025-02-05 06:45:48,470 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17190531
2025-02-05 06:45:48,790 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17190531', 'default']}
2025-02-05 06:45:49,084 - DEBUG - Response for create_network : {'network': {'id': 'd879eb0b-be06-45ed-b7ea-b64efa4023f0', 'name': 'ctest-vn-44228109', 'tenant_id': '9ebc1f189bdb4f4083ab46800a753be6', 'project_id': '9ebc1f189bdb4f4083ab46800a753be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17190531', 'ctest-vn-44228109'], 'port_security_enabled': True, 'description': ''}}
2025-02-05 06:45:49,251 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c21fa746-e119-4e0c-8250-78b521b74fac', 'name': '', 'tenant_id': '9ebc1f189bdb4f4083ab46800a753be6', 'network_id': 'd879eb0b-be06-45ed-b7ea-b64efa4023f0', 'ip_version': 4, 'cidr': '220.22.143.128/26', 'allocation_pools': [{'start': '220.22.143.130', 'end': '220.22.143.190'}], 'gateway_ip': '220.22.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.22.143.130', 'tags': [], 'project_id': '9ebc1f189bdb4f4083ab46800a753be6'}}
2025-02-05 06:45:49,267 - INFO - Created VN ctest-vn-44228109
2025-02-05 06:45:49,318 - DEBUG - VN ctest-vn-44228109 UUID is d879eb0b-be06-45ed-b7ea-b64efa4023f0
2025-02-05 06:45:49,620 - DEBUG - Response for create_network : {'network': {'id': 'a95a9112-49dd-4440-bb3e-5be481474296', 'name': 'ctest-ext_vn-79532035', 'tenant_id': '9ebc1f189bdb4f4083ab46800a753be6', 'project_id': '9ebc1f189bdb4f4083ab46800a753be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17190531', 'ctest-ext_vn-79532035'], 'port_security_enabled': True, 'description': ''}}
2025-02-05 06:45:49,827 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c26d572-087f-4e2b-a2fb-ad66637f1e85', 'name': '', 'tenant_id': '9ebc1f189bdb4f4083ab46800a753be6', 'network_id': 'a95a9112-49dd-4440-bb3e-5be481474296', 'ip_version': 4, 'cidr': '52.117.149.128/26', 'allocation_pools': [{'start': '52.117.149.130', 'end': '52.117.149.190'}], 'gateway_ip': '52.117.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.117.149.130', 'tags': [], 'project_id': '9ebc1f189bdb4f4083ab46800a753be6'}}
2025-02-05 06:45:49,845 - INFO - Created VN ctest-ext_vn-79532035
2025-02-05 06:45:49,894 - DEBUG - VN ctest-ext_vn-79532035 UUID is a95a9112-49dd-4440-bb3e-5be481474296
2025-02-05 06:45:50,106 - DEBUG - Services list from nova: [, , ]
2025-02-05 06:45:51,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2689-1)
2025-02-05 06:45:52,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2689-1)
2025-02-05 06:45:52,386 - INFO - Setting gateway for router 08b8c320-a8d4-4b8f-9e14-5a50ad620505 to network a95a9112-49dd-4440-bb3e-5be481474296
2025-02-05 06:45:52,444 - INFO - Adding interface with subnet_id c21fa746-e119-4e0c-8250-78b521b74fac, port_id None to router 08b8c320-a8d4-4b8f-9e14-5a50ad620505
2025-02-05 06:45:52,810 - INFO - Waiting for VM ctest-TestRoutersBasic-17190531-68096302 to be up..
2025-02-05 06:45:52,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-05 06:45:58,066 - DEBUG - VM is in ACTIVE state now
2025-02-05 06:45:58,066 - INFO - VM name : ctest-TestRoutersBasic-17190531-68096302
2025-02-05 06:45:58,148 - DEBUG - VM ctest-TestRoutersBasic-17190531-68096302 ID is 55aee36e-ab60-4016-84bf-c91cf59f90ec
2025-02-05 06:45:58,170 - DEBUG - VM ctest-TestRoutersBasic-17190531-68096302 launched on Node cn-jenkins-deploy-platform-ansible-os-2689-1
2025-02-05 06:45:58,254 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/55aee36e-ab60-4016-84bf-c91cf59f90ec
2025-02-05 06:45:58,551 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/55aee36e-ab60-4016-84bf-c91cf59f90ec
2025-02-05 06:45:58,583 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c1d95dba-3665-42b5-88c4-053ed76c6333
2025-02-05 06:46:01,838 - 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 1011ms')
2025-02-05 06:46:01,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17190531-68096302 failed!
2025-02-05 06:46:01,894 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17190531:ctest-vn-44228109 is 220.22.143.129 and allocation pool is NOT set
2025-02-05 06:46:03,960 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.624/2.812/1.187 ms')
2025-02-05 06:46:03,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17190531-68096302 passed
2025-02-05 06:46:04,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 06:46:04,114 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17190531-68096302, IP 220.22.143.131, Port 22
2025-02-05 06:46:04,269 - DEBUG - VM ctest-TestRoutersBasic-17190531-68096302 is ready for SSH connections
2025-02-05 06:46:04,270 - INFO - Waiting for VM ctest-TestRoutersBasic-17190531-01500161 to be up..
2025-02-05 06:46:04,342 - DEBUG - VM is in ACTIVE state now
2025-02-05 06:46:04,342 - INFO - VM name : ctest-TestRoutersBasic-17190531-01500161
2025-02-05 06:46:04,412 - DEBUG - VM ctest-TestRoutersBasic-17190531-01500161 ID is d051bbc5-1288-4bfb-9409-4f3764d1d28a
2025-02-05 06:46:04,412 - DEBUG - VM ctest-TestRoutersBasic-17190531-01500161 launched on Node cn-jenkins-deploy-platform-ansible-os-2689-1
2025-02-05 06:46:04,482 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d051bbc5-1288-4bfb-9409-4f3764d1d28a
2025-02-05 06:46:04,491 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3738e031-2454-4653-a520-494de7879de6
2025-02-05 06:46:05,723 - 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=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.559/2.703/1.143 ms')
2025-02-05 06:46:05,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17190531-01500161 passed
2025-02-05 06:46:05,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 06:46:05,870 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17190531-01500161, IP 52.117.149.131, Port 22
2025-02-05 06:46:06,025 - DEBUG - VM ctest-TestRoutersBasic-17190531-01500161 is ready for SSH connections
2025-02-05 06:46:06,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 06:46:06,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.117.149.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-02-05 06:46:06,026 - DEBUG - ping -s 56 -c 3 -W 1 52.117.149.131
2025-02-05 06:46:09,709 - DEBUG - PING 52.117.149.131 (52.117.149.131): 56 data bytes
64 bytes from 52.117.149.131: seq=0 ttl=62 time=5.861 ms
64 bytes from 52.117.149.131: seq=1 ttl=62 time=0.962 ms
64 bytes from 52.117.149.131: seq=2 ttl=62 time=0.843 ms
--- 52.117.149.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.843/2.555/5.861 ms
2025-02-05 06:46:09,709 - INFO - Ping to IP 52.117.149.131 from VM ctest-TestRoutersBasic-17190531-68096302 passed
2025-02-05 06:46:09,709 - INFO - Deleting interface with subnet_id c21fa746-e119-4e0c-8250-78b521b74fac, port_id None from router 08b8c320-a8d4-4b8f-9e14-5a50ad620505
2025-02-05 06:46:09,918 - INFO - Deleting VM ctest-TestRoutersBasic-17190531-01500161
2025-02-05 06:46:10,012 - INFO - Deleting VM ctest-TestRoutersBasic-17190531-68096302
2025-02-05 06:46:10,107 - INFO - Deleting VN ctest-ext_vn-79532035
2025-02-05 06:46:10,181 - DEBUG - VN a95a9112-49dd-4440-bb3e-5be481474296 still in use: Unable to complete operation on network a95a9112-49dd-4440-bb3e-5be481474296. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fd08ec7b-3738-4a55-9f7a-6173e69d891a']
2025-02-05 06:46:10,181 - WARNING - Deleting VN ctest-ext_vn-79532035 failed..Will retry
2025-02-05 06:46:12,301 - DEBUG - Response for deleting network ()
2025-02-05 06:46:12,301 - INFO - Deleting VN ctest-vn-44228109
2025-02-05 06:46:12,398 - DEBUG - Response for deleting network ()
2025-02-05 06:46:12,657 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 06:46:12,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-05 06:46:12,657 - INFO - --------------------------------------------------------------------------------
2025-02-05 06:46:13,314 - INFO - Deleted project: ctest-TestRoutersBasic-17190531, ID : 9ebc1f18-9bdb-4f40-83ab-46800a753be6