2025-09-04 20:02:16,431 - INFO - Domain Default found not creating
2025-09-04 20:02:16,775 - INFO - Project ctest-TestRoutersBasic-15392701 not found, creating it
2025-09-04 20:02:17,433 - INFO - Created Project:ctest-TestRoutersBasic-15392701, ID : 69137f21-c203-4a63-99ed-40c043bda3a2
2025-09-04 20:02:19,526 - INFO - ================================================================================
2025-09-04 20:02:19,526 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-04 20:02:19,527 - 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-09-04 20:02:19,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-04 20:02:19,828 - INFO - Initial checks done. Running the testcase now
2025-09-04 20:02:19,829 - INFO -
2025-09-04 20:02:20,615 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15392701
2025-09-04 20:02:20,722 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15392701
2025-09-04 20:02:21,100 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15392701', 'default']}
2025-09-04 20:02:21,529 - DEBUG - Response for create_network : {'network': {'id': '924c504f-48e7-4eb4-88bb-b6930937e5a2', 'name': 'ctest-vn-53414466', 'tenant_id': '69137f21c2034a6399ed40c043bda3a2', 'project_id': '69137f21c2034a6399ed40c043bda3a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15392701', 'ctest-vn-53414466'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 20:02:21,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc217ee1-4e02-4143-83ca-4b817a6fa880', 'name': '', 'tenant_id': '69137f21c2034a6399ed40c043bda3a2', 'network_id': '924c504f-48e7-4eb4-88bb-b6930937e5a2', 'ip_version': 4, 'cidr': '21.53.25.64/26', 'allocation_pools': [{'start': '21.53.25.66', 'end': '21.53.25.126'}], 'gateway_ip': '21.53.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.53.25.66', 'tags': [], 'project_id': '69137f21c2034a6399ed40c043bda3a2'}}
2025-09-04 20:02:21,792 - INFO - Created VN ctest-vn-53414466
2025-09-04 20:02:21,844 - DEBUG - VN ctest-vn-53414466 UUID is 924c504f-48e7-4eb4-88bb-b6930937e5a2
2025-09-04 20:02:22,301 - DEBUG - Response for create_network : {'network': {'id': '1c4c31bb-10e9-4590-b66d-c46b4553914f', 'name': 'ctest-ext_vn-10190872', 'tenant_id': '69137f21c2034a6399ed40c043bda3a2', 'project_id': '69137f21c2034a6399ed40c043bda3a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15392701', 'ctest-ext_vn-10190872'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 20:02:22,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bd064cd-6c2d-4486-8158-82fa80a2fd04', 'name': '', 'tenant_id': '69137f21c2034a6399ed40c043bda3a2', 'network_id': '1c4c31bb-10e9-4590-b66d-c46b4553914f', 'ip_version': 4, 'cidr': '133.141.221.0/26', 'allocation_pools': [{'start': '133.141.221.2', 'end': '133.141.221.62'}], 'gateway_ip': '133.141.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.141.221.2', 'tags': [], 'project_id': '69137f21c2034a6399ed40c043bda3a2'}}
2025-09-04 20:02:22,604 - INFO - Created VN ctest-ext_vn-10190872
2025-09-04 20:02:22,656 - DEBUG - VN ctest-ext_vn-10190872 UUID is 1c4c31bb-10e9-4590-b66d-c46b4553914f
2025-09-04 20:02:22,941 - DEBUG - Services list from nova: [, , ]
2025-09-04 20:02:24,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4019-1)
2025-09-04 20:02:25,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4019-1)
2025-09-04 20:02:25,858 - INFO - Setting gateway for router 27f45876-4067-4b4d-ace7-062a102c030c to network 1c4c31bb-10e9-4590-b66d-c46b4553914f
2025-09-04 20:02:25,916 - INFO - Adding interface with subnet_id cc217ee1-4e02-4143-83ca-4b817a6fa880, port_id None to router 27f45876-4067-4b4d-ace7-062a102c030c
2025-09-04 20:02:26,260 - INFO - Waiting for VM ctest-TestRoutersBasic-15392701-92801652 to be up..
2025-09-04 20:02:26,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 20:02:31,540 - DEBUG - VM is in ACTIVE state now
2025-09-04 20:02:31,540 - INFO - VM name : ctest-TestRoutersBasic-15392701-92801652
2025-09-04 20:02:31,643 - DEBUG - VM ctest-TestRoutersBasic-15392701-92801652 ID is 1842ea71-b4f6-4834-8d3b-08fda1fc9973
2025-09-04 20:02:31,670 - DEBUG - VM ctest-TestRoutersBasic-15392701-92801652 launched on Node cn-jenkins-deploy-platform-ansible-os-4019-1
2025-09-04 20:02:31,757 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1842ea71-b4f6-4834-8d3b-08fda1fc9973
2025-09-04 20:02:32,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1842ea71-b4f6-4834-8d3b-08fda1fc9973
2025-09-04 20:02:32,124 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/28ddbab3-943a-42e1-a066-e825b3040fc5
2025-09-04 20:02:35,436 - 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 1019ms')
2025-09-04 20:02:35,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15392701-92801652 failed!
2025-09-04 20:02:35,496 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15392701:ctest-vn-53414466 is 21.53.25.65 and allocation pool is NOT set
2025-09-04 20:02:37,566 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.237/4.241/5.246/1.004 ms')
2025-09-04 20:02:37,566 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15392701-92801652 passed
2025-09-04 20:02:37,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:02:37,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15392701-92801652, IP 21.53.25.67, Port 22
2025-09-04 20:02:37,933 - DEBUG - VM ctest-TestRoutersBasic-15392701-92801652 is ready for SSH connections
2025-09-04 20:02:37,933 - INFO - Waiting for VM ctest-TestRoutersBasic-15392701-58114407 to be up..
2025-09-04 20:02:38,104 - DEBUG - VM is in ACTIVE state now
2025-09-04 20:02:38,104 - INFO - VM name : ctest-TestRoutersBasic-15392701-58114407
2025-09-04 20:02:38,255 - DEBUG - VM ctest-TestRoutersBasic-15392701-58114407 ID is 0748f40d-f251-4263-a71c-545d66db2465
2025-09-04 20:02:38,255 - DEBUG - VM ctest-TestRoutersBasic-15392701-58114407 launched on Node cn-jenkins-deploy-platform-ansible-os-4019-1
2025-09-04 20:02:38,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0748f40d-f251-4263-a71c-545d66db2465
2025-09-04 20:02:38,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76f52335-16b2-4662-9c97-5670a7ec9dfa
2025-09-04 20:02:39,781 - 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=6.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.991 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.991/3.775/6.559/2.784 ms')
2025-09-04 20:02:39,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15392701-58114407 passed
2025-09-04 20:02:39,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:02:39,961 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15392701-58114407, IP 133.141.221.3, Port 22
2025-09-04 20:02:40,144 - DEBUG - VM ctest-TestRoutersBasic-15392701-58114407 is ready for SSH connections
2025-09-04 20:02:40,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:02:40,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.141.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-04 20:02:40,144 - DEBUG - ping -s 56 -c 3 -W 1 133.141.221.3
2025-09-04 20:02:44,074 - DEBUG - PING 133.141.221.3 (133.141.221.3): 56 data bytes
64 bytes from 133.141.221.3: seq=0 ttl=62 time=4.277 ms
64 bytes from 133.141.221.3: seq=1 ttl=62 time=1.651 ms
64 bytes from 133.141.221.3: seq=2 ttl=62 time=1.460 ms
--- 133.141.221.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.460/2.462/4.277 ms
2025-09-04 20:02:44,074 - INFO - Ping to IP 133.141.221.3 from VM ctest-TestRoutersBasic-15392701-92801652 passed
2025-09-04 20:02:44,074 - INFO - Deleting interface with subnet_id cc217ee1-4e02-4143-83ca-4b817a6fa880, port_id None from router 27f45876-4067-4b4d-ace7-062a102c030c
2025-09-04 20:02:44,337 - INFO - Deleting VM ctest-TestRoutersBasic-15392701-58114407
2025-09-04 20:02:44,425 - INFO - Deleting VM ctest-TestRoutersBasic-15392701-92801652
2025-09-04 20:02:44,506 - INFO - Deleting VN ctest-ext_vn-10190872
2025-09-04 20:02:44,587 - DEBUG - VN 1c4c31bb-10e9-4590-b66d-c46b4553914f still in use: Unable to complete operation on network 1c4c31bb-10e9-4590-b66d-c46b4553914f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4e8b7f01-a426-4b30-82ff-42281203fbff']
2025-09-04 20:02:44,587 - WARNING - Deleting VN ctest-ext_vn-10190872 failed..Will retry
2025-09-04 20:02:46,820 - DEBUG - Response for deleting network ()
2025-09-04 20:02:46,820 - INFO - Deleting VN ctest-vn-53414466
2025-09-04 20:02:46,967 - DEBUG - Response for deleting network ()
2025-09-04 20:02:47,271 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 20:02:47,271 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-09-04 20:02:47,271 - INFO - --------------------------------------------------------------------------------
2025-09-04 20:02:48,189 - INFO - Deleted project: ctest-TestRoutersBasic-15392701, ID : 69137f21-c203-4a63-99ed-40c043bda3a2