2025-08-31 04:49:55,308 - INFO - Domain Default found not creating
2025-08-31 04:49:55,442 - INFO - Project ctest-TestRoutersBasic-92308712 not found, creating it
2025-08-31 04:49:55,856 - INFO - Created Project:ctest-TestRoutersBasic-92308712, ID : ded86f60-5e11-43fa-b282-25a5b36ba40d
2025-08-31 04:49:57,233 - INFO - ================================================================================
2025-08-31 04:49:57,233 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-31 04:49:57,233 - 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-31 04:49:57,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-08-31 04:49:57,487 - INFO - Initial checks done. Running the testcase now
2025-08-31 04:49:57,487 - INFO -
2025-08-31 04:49:58,459 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92308712
2025-08-31 04:49:58,553 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92308712
2025-08-31 04:49:58,877 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92308712', 'default']}
2025-08-31 04:49:59,172 - DEBUG - Response for create_network : {'network': {'id': '4edfd64e-575e-4343-9095-0272d1baf6b5', 'name': 'ctest-vn-23424928', 'tenant_id': 'ded86f605e1143fab28225a5b36ba40d', 'project_id': 'ded86f605e1143fab28225a5b36ba40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92308712', 'ctest-vn-23424928'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 04:49:59,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a559f05-c169-4abc-af2b-b3eb1274627f', 'name': '', 'tenant_id': 'ded86f605e1143fab28225a5b36ba40d', 'network_id': '4edfd64e-575e-4343-9095-0272d1baf6b5', 'ip_version': 4, 'cidr': '89.7.157.192/26', 'allocation_pools': [{'start': '89.7.157.194', 'end': '89.7.157.254'}], 'gateway_ip': '89.7.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.7.157.194', 'tags': [], 'project_id': 'ded86f605e1143fab28225a5b36ba40d'}}
2025-08-31 04:49:59,363 - INFO - Created VN ctest-vn-23424928
2025-08-31 04:49:59,417 - DEBUG - VN ctest-vn-23424928 UUID is 4edfd64e-575e-4343-9095-0272d1baf6b5
2025-08-31 04:49:59,738 - DEBUG - Response for create_network : {'network': {'id': '95d17857-1589-415c-9b76-f47cca459121', 'name': 'ctest-ext_vn-90562135', 'tenant_id': 'ded86f605e1143fab28225a5b36ba40d', 'project_id': 'ded86f605e1143fab28225a5b36ba40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92308712', 'ctest-ext_vn-90562135'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 04:49:59,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '57391609-300f-420b-a8d7-f70089efe36e', 'name': '', 'tenant_id': 'ded86f605e1143fab28225a5b36ba40d', 'network_id': '95d17857-1589-415c-9b76-f47cca459121', 'ip_version': 4, 'cidr': '204.9.30.192/26', 'allocation_pools': [{'start': '204.9.30.194', 'end': '204.9.30.254'}], 'gateway_ip': '204.9.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.9.30.194', 'tags': [], 'project_id': 'ded86f605e1143fab28225a5b36ba40d'}}
2025-08-31 04:49:59,929 - INFO - Created VN ctest-ext_vn-90562135
2025-08-31 04:49:59,977 - DEBUG - VN ctest-ext_vn-90562135 UUID is 95d17857-1589-415c-9b76-f47cca459121
2025-08-31 04:50:00,169 - DEBUG - Services list from nova: [, , ]
2025-08-31 04:50:01,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1)
2025-08-31 04:50:02,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1)
2025-08-31 04:50:02,265 - INFO - Setting gateway for router 8c3e1f9b-a30c-4ec4-afb8-975f4cf00b50 to network 95d17857-1589-415c-9b76-f47cca459121
2025-08-31 04:50:02,326 - INFO - Adding interface with subnet_id 4a559f05-c169-4abc-af2b-b3eb1274627f, port_id None to router 8c3e1f9b-a30c-4ec4-afb8-975f4cf00b50
2025-08-31 04:50:02,642 - INFO - Waiting for VM ctest-TestRoutersBasic-92308712-75639211 to be up..
2025-08-31 04:50:02,868 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-31 04:50:07,942 - DEBUG - VM is in ACTIVE state now
2025-08-31 04:50:07,942 - INFO - VM name : ctest-TestRoutersBasic-92308712-75639211
2025-08-31 04:50:08,024 - DEBUG - VM ctest-TestRoutersBasic-92308712-75639211 ID is 27657344-74e3-4fbb-8ab1-dca4d0534dd3
2025-08-31 04:50:08,042 - DEBUG - VM ctest-TestRoutersBasic-92308712-75639211 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1
2025-08-31 04:50:08,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/27657344-74e3-4fbb-8ab1-dca4d0534dd3
2025-08-31 04:50:08,441 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/27657344-74e3-4fbb-8ab1-dca4d0534dd3
2025-08-31 04:50:08,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5851cb17-fd78-4422-a80f-fd2615985b05
2025-08-31 04:50:11,739 - 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 1014ms')
2025-08-31 04:50:11,739 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92308712-75639211 failed!
2025-08-31 04:50:11,789 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92308712:ctest-vn-23424928 is 89.7.157.193 and allocation pool is NOT set
2025-08-31 04:50:13,851 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/1.563/2.692/1.129 ms')
2025-08-31 04:50:13,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92308712-75639211 passed
2025-08-31 04:50:13,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 04:50:13,997 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92308712-75639211, IP 89.7.157.195, Port 22
2025-08-31 04:50:14,149 - DEBUG - VM ctest-TestRoutersBasic-92308712-75639211 is ready for SSH connections
2025-08-31 04:50:14,149 - INFO - Waiting for VM ctest-TestRoutersBasic-92308712-28489656 to be up..
2025-08-31 04:50:14,214 - DEBUG - VM is in ACTIVE state now
2025-08-31 04:50:14,214 - INFO - VM name : ctest-TestRoutersBasic-92308712-28489656
2025-08-31 04:50:14,274 - DEBUG - VM ctest-TestRoutersBasic-92308712-28489656 ID is f4ff6fc3-8c75-4a81-afcb-d602dd7c0d2c
2025-08-31 04:50:14,274 - DEBUG - VM ctest-TestRoutersBasic-92308712-28489656 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1
2025-08-31 04:50:14,336 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f4ff6fc3-8c75-4a81-afcb-d602dd7c0d2c
2025-08-31 04:50:14,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6cc425d8-bf57-4566-998c-d8a8ba85105c
2025-08-31 04:50:15,576 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.591/2.823/1.231 ms')
2025-08-31 04:50:15,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92308712-28489656 passed
2025-08-31 04:50:15,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 04:50:15,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92308712-28489656, IP 204.9.30.195, Port 22
2025-08-31 04:50:15,880 - DEBUG - VM ctest-TestRoutersBasic-92308712-28489656 is ready for SSH connections
2025-08-31 04:50:15,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 04:50:15,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.9.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-31 04:50:15,881 - DEBUG - ping -s 56 -c 3 -W 1 204.9.30.195
2025-08-31 04:50:19,868 - DEBUG - PING 204.9.30.195 (204.9.30.195): 56 data bytes
64 bytes from 204.9.30.195: seq=0 ttl=62 time=7.662 ms
64 bytes from 204.9.30.195: seq=1 ttl=62 time=0.839 ms
64 bytes from 204.9.30.195: seq=2 ttl=62 time=0.728 ms
--- 204.9.30.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.728/3.076/7.662 ms
2025-08-31 04:50:19,868 - INFO - Ping to IP 204.9.30.195 from VM ctest-TestRoutersBasic-92308712-75639211 passed
2025-08-31 04:50:19,868 - INFO - Deleting interface with subnet_id 4a559f05-c169-4abc-af2b-b3eb1274627f, port_id None from router 8c3e1f9b-a30c-4ec4-afb8-975f4cf00b50
2025-08-31 04:50:20,026 - INFO - Deleting VM ctest-TestRoutersBasic-92308712-28489656
2025-08-31 04:50:20,092 - INFO - Deleting VM ctest-TestRoutersBasic-92308712-75639211
2025-08-31 04:50:20,158 - INFO - Deleting VN ctest-ext_vn-90562135
2025-08-31 04:50:20,217 - DEBUG - VN 95d17857-1589-415c-9b76-f47cca459121 still in use: Unable to complete operation on network 95d17857-1589-415c-9b76-f47cca459121. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-02e6d2df-1107-42f7-9885-184407976507']
2025-08-31 04:50:20,217 - WARNING - Deleting VN ctest-ext_vn-90562135 failed..Will retry
2025-08-31 04:50:22,326 - DEBUG - Response for deleting network ()
2025-08-31 04:50:22,326 - INFO - Deleting VN ctest-vn-23424928
2025-08-31 04:50:22,416 - DEBUG - Response for deleting network ()
2025-08-31 04:50:22,669 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 04:50:22,670 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-31 04:50:22,670 - INFO - --------------------------------------------------------------------------------
2025-08-31 04:50:23,330 - INFO - Deleted project: ctest-TestRoutersBasic-92308712, ID : ded86f60-5e11-43fa-b282-25a5b36ba40d