2025-07-17 14:24:20,709 - INFO - Domain Default found not creating
2025-07-17 14:24:20,871 - INFO - Project ctest-TestRoutersBasic-12249360 not found, creating it
2025-07-17 14:24:21,351 - INFO - Created Project:ctest-TestRoutersBasic-12249360, ID : 523a72ac-007a-4830-b365-1e33f7b6fd94
2025-07-17 14:24:23,653 - INFO - ================================================================================
2025-07-17 14:24:23,653 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-17 14:24:23,653 - 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 14:24:23,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-17 14:24:23,913 - INFO - Initial checks done. Running the testcase now
2025-07-17 14:24:23,914 - INFO -
2025-07-17 14:24:24,695 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12249360
2025-07-17 14:24:24,795 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12249360
2025-07-17 14:24:25,127 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12249360', 'default']}
2025-07-17 14:24:25,451 - DEBUG - Response for create_network : {'network': {'id': '757fd4b4-770b-409f-bcd3-e3ab01b0b118', 'name': 'ctest-vn-23831298', 'tenant_id': '523a72ac007a4830b3651e33f7b6fd94', 'project_id': '523a72ac007a4830b3651e33f7b6fd94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12249360', 'ctest-vn-23831298'], 'port_security_enabled': True, 'description': ''}}
2025-07-17 14:24:25,706 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9a888d5-58a7-4f4f-8e21-ef18ae297010', 'name': '', 'tenant_id': '523a72ac007a4830b3651e33f7b6fd94', 'network_id': '757fd4b4-770b-409f-bcd3-e3ab01b0b118', 'ip_version': 4, 'cidr': '103.172.2.128/26', 'allocation_pools': [{'start': '103.172.2.130', 'end': '103.172.2.190'}], 'gateway_ip': '103.172.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.172.2.130', 'tags': [], 'project_id': '523a72ac007a4830b3651e33f7b6fd94'}}
2025-07-17 14:24:25,726 - INFO - Created VN ctest-vn-23831298
2025-07-17 14:24:25,779 - DEBUG - VN ctest-vn-23831298 UUID is 757fd4b4-770b-409f-bcd3-e3ab01b0b118
2025-07-17 14:24:26,171 - DEBUG - Response for create_network : {'network': {'id': 'e7321367-ceef-445c-b5d3-170eaeed629a', 'name': 'ctest-ext_vn-41734889', 'tenant_id': '523a72ac007a4830b3651e33f7b6fd94', 'project_id': '523a72ac007a4830b3651e33f7b6fd94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12249360', 'ctest-ext_vn-41734889'], 'port_security_enabled': True, 'description': ''}}
2025-07-17 14:24:26,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '76fc58af-9a32-406d-bb76-6bd591ee3b8f', 'name': '', 'tenant_id': '523a72ac007a4830b3651e33f7b6fd94', 'network_id': 'e7321367-ceef-445c-b5d3-170eaeed629a', 'ip_version': 4, 'cidr': '198.53.127.64/26', 'allocation_pools': [{'start': '198.53.127.66', 'end': '198.53.127.126'}], 'gateway_ip': '198.53.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.53.127.66', 'tags': [], 'project_id': '523a72ac007a4830b3651e33f7b6fd94'}}
2025-07-17 14:24:26,355 - INFO - Created VN ctest-ext_vn-41734889
2025-07-17 14:24:26,411 - DEBUG - VN ctest-ext_vn-41734889 UUID is e7321367-ceef-445c-b5d3-170eaeed629a
2025-07-17 14:24:26,592 - DEBUG - Services list from nova: [, , ]
2025-07-17 14:24:27,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3656-1)
2025-07-17 14:24:28,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3656-1)
2025-07-17 14:24:29,072 - INFO - Setting gateway for router 44f02372-0215-48fa-9b64-5729dbcc12fa to network e7321367-ceef-445c-b5d3-170eaeed629a
2025-07-17 14:24:29,137 - INFO - Adding interface with subnet_id c9a888d5-58a7-4f4f-8e21-ef18ae297010, port_id None to router 44f02372-0215-48fa-9b64-5729dbcc12fa
2025-07-17 14:24:29,535 - INFO - Waiting for VM ctest-TestRoutersBasic-12249360-00706054 to be up..
2025-07-17 14:24:29,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-17 14:24:34,829 - DEBUG - VM is in ACTIVE state now
2025-07-17 14:24:34,829 - INFO - VM name : ctest-TestRoutersBasic-12249360-00706054
2025-07-17 14:24:34,912 - DEBUG - VM ctest-TestRoutersBasic-12249360-00706054 ID is 4c49847b-fb1d-42f5-bdc8-15c554b1abf0
2025-07-17 14:24:34,935 - DEBUG - VM ctest-TestRoutersBasic-12249360-00706054 launched on Node cn-jenkins-deploy-platform-ansible-os-3656-1
2025-07-17 14:24:35,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4c49847b-fb1d-42f5-bdc8-15c554b1abf0
2025-07-17 14:24:35,355 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4c49847b-fb1d-42f5-bdc8-15c554b1abf0
2025-07-17 14:24:35,394 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08a4d6c8-0410-41f3-8618-f4e0af4a9cf0
2025-07-17 14:24:38,683 - 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 1030ms')
2025-07-17 14:24:38,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12249360-00706054 failed!
2025-07-17 14:24:38,743 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12249360:ctest-vn-23831298 is 103.172.2.129 and allocation pool is NOT set
2025-07-17 14:24:40,807 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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 = 1.376/3.036/4.697/1.660 ms')
2025-07-17 14:24:40,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12249360-00706054 passed
2025-07-17 14:24:40,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 14:24:40,963 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12249360-00706054, IP 103.172.2.131, Port 22
2025-07-17 14:24:41,122 - DEBUG - VM ctest-TestRoutersBasic-12249360-00706054 is ready for SSH connections
2025-07-17 14:24:41,122 - INFO - Waiting for VM ctest-TestRoutersBasic-12249360-41883498 to be up..
2025-07-17 14:24:41,213 - DEBUG - VM is in ACTIVE state now
2025-07-17 14:24:41,213 - INFO - VM name : ctest-TestRoutersBasic-12249360-41883498
2025-07-17 14:24:41,292 - DEBUG - VM ctest-TestRoutersBasic-12249360-41883498 ID is 2496329c-4511-4827-a698-d8ce1965c551
2025-07-17 14:24:41,293 - DEBUG - VM ctest-TestRoutersBasic-12249360-41883498 launched on Node cn-jenkins-deploy-platform-ansible-os-3656-1
2025-07-17 14:24:41,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2496329c-4511-4827-a698-d8ce1965c551
2025-07-17 14:24:41,395 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9bcf7cbf-febc-4da5-bddb-28089db73e5a
2025-07-17 14:24:42,653 - 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=4.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 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 = 1.537/3.017/4.497/1.480 ms')
2025-07-17 14:24:42,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12249360-41883498 passed
2025-07-17 14:24:42,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 14:24:42,807 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12249360-41883498, IP 198.53.127.67, Port 22
2025-07-17 14:24:42,972 - DEBUG - VM ctest-TestRoutersBasic-12249360-41883498 is ready for SSH connections
2025-07-17 14:24:42,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 14:24:42,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.53.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-17 14:24:42,973 - DEBUG - ping -s 56 -c 3 -W 1 198.53.127.67
2025-07-17 14:24:46,717 - DEBUG - PING 198.53.127.67 (198.53.127.67): 56 data bytes
64 bytes from 198.53.127.67: seq=0 ttl=62 time=6.007 ms
64 bytes from 198.53.127.67: seq=1 ttl=62 time=0.943 ms
64 bytes from 198.53.127.67: seq=2 ttl=62 time=0.940 ms
--- 198.53.127.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.940/2.630/6.007 ms
2025-07-17 14:24:46,717 - INFO - Ping to IP 198.53.127.67 from VM ctest-TestRoutersBasic-12249360-00706054 passed
2025-07-17 14:24:46,717 - INFO - Deleting interface with subnet_id c9a888d5-58a7-4f4f-8e21-ef18ae297010, port_id None from router 44f02372-0215-48fa-9b64-5729dbcc12fa
2025-07-17 14:24:46,933 - INFO - Deleting VM ctest-TestRoutersBasic-12249360-41883498
2025-07-17 14:24:47,003 - INFO - Deleting VM ctest-TestRoutersBasic-12249360-00706054
2025-07-17 14:24:47,121 - INFO - Deleting VN ctest-ext_vn-41734889
2025-07-17 14:24:47,240 - DEBUG - VN e7321367-ceef-445c-b5d3-170eaeed629a still in use: Unable to complete operation on network e7321367-ceef-445c-b5d3-170eaeed629a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-579744da-437d-4a37-879f-f2bad4d55cc7']
2025-07-17 14:24:47,240 - WARNING - Deleting VN ctest-ext_vn-41734889 failed..Will retry
2025-07-17 14:24:49,356 - DEBUG - Response for deleting network ()
2025-07-17 14:24:49,356 - INFO - Deleting VN ctest-vn-23831298
2025-07-17 14:24:49,471 - DEBUG - Response for deleting network ()
2025-07-17 14:24:49,729 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 14:24:49,729 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-17 14:24:49,729 - INFO - --------------------------------------------------------------------------------
2025-07-17 14:24:50,462 - INFO - Deleted project: ctest-TestRoutersBasic-12249360, ID : 523a72ac-007a-4830-b365-1e33f7b6fd94