2025-07-25 02:27:46,973 - INFO - Domain Default found not creating
2025-07-25 02:27:47,134 - INFO - Project ctest-TestRoutersBasic-53492994 not found, creating it
2025-07-25 02:27:47,631 - INFO - Created Project:ctest-TestRoutersBasic-53492994, ID : 8a8d5582-c6fe-4c60-8670-08296157b917
2025-07-25 02:27:49,205 - INFO - ================================================================================
2025-07-25 02:27:49,205 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-25 02:27:49,206 - 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-25 02:27:49,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-25 02:27:49,465 - INFO - Initial checks done. Running the testcase now
2025-07-25 02:27:49,465 - INFO -
2025-07-25 02:27:50,245 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53492994
2025-07-25 02:27:50,350 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53492994
2025-07-25 02:27:50,678 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53492994', 'default']}
2025-07-25 02:27:50,985 - DEBUG - Response for create_network : {'network': {'id': 'e52d852f-1bf1-442f-9f4a-7af606c4b24d', 'name': 'ctest-vn-03520668', 'tenant_id': '8a8d5582c6fe4c60867008296157b917', 'project_id': '8a8d5582c6fe4c60867008296157b917', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53492994', 'ctest-vn-03520668'], 'port_security_enabled': True, 'description': ''}}
2025-07-25 02:27:51,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '92cd1b87-097e-4b36-a179-6b3d0e46fb59', 'name': '', 'tenant_id': '8a8d5582c6fe4c60867008296157b917', 'network_id': 'e52d852f-1bf1-442f-9f4a-7af606c4b24d', 'ip_version': 4, 'cidr': '64.241.50.192/26', 'allocation_pools': [{'start': '64.241.50.194', 'end': '64.241.50.254'}], 'gateway_ip': '64.241.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.241.50.194', 'tags': [], 'project_id': '8a8d5582c6fe4c60867008296157b917'}}
2025-07-25 02:27:51,182 - INFO - Created VN ctest-vn-03520668
2025-07-25 02:27:51,234 - DEBUG - VN ctest-vn-03520668 UUID is e52d852f-1bf1-442f-9f4a-7af606c4b24d
2025-07-25 02:27:51,587 - DEBUG - Response for create_network : {'network': {'id': 'c2886481-d3fe-4c33-9e72-fc9d2c6bdb9e', 'name': 'ctest-ext_vn-07410994', 'tenant_id': '8a8d5582c6fe4c60867008296157b917', 'project_id': '8a8d5582c6fe4c60867008296157b917', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53492994', 'ctest-ext_vn-07410994'], 'port_security_enabled': True, 'description': ''}}
2025-07-25 02:27:51,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9ff6435-fb58-46bf-994b-8a3b8a103021', 'name': '', 'tenant_id': '8a8d5582c6fe4c60867008296157b917', 'network_id': 'c2886481-d3fe-4c33-9e72-fc9d2c6bdb9e', 'ip_version': 4, 'cidr': '38.221.250.64/26', 'allocation_pools': [{'start': '38.221.250.66', 'end': '38.221.250.126'}], 'gateway_ip': '38.221.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.221.250.66', 'tags': [], 'project_id': '8a8d5582c6fe4c60867008296157b917'}}
2025-07-25 02:27:51,787 - INFO - Created VN ctest-ext_vn-07410994
2025-07-25 02:27:51,842 - DEBUG - VN ctest-ext_vn-07410994 UUID is c2886481-d3fe-4c33-9e72-fc9d2c6bdb9e
2025-07-25 02:27:52,039 - DEBUG - Services list from nova: [, , ]
2025-07-25 02:27:53,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3715-1)
2025-07-25 02:27:54,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3715-1)
2025-07-25 02:27:54,483 - INFO - Setting gateway for router c1b4716a-d203-4a14-86d3-d1fcde1b22a1 to network c2886481-d3fe-4c33-9e72-fc9d2c6bdb9e
2025-07-25 02:27:54,553 - INFO - Adding interface with subnet_id 92cd1b87-097e-4b36-a179-6b3d0e46fb59, port_id None to router c1b4716a-d203-4a14-86d3-d1fcde1b22a1
2025-07-25 02:27:54,976 - INFO - Waiting for VM ctest-TestRoutersBasic-53492994-78064278 to be up..
2025-07-25 02:27:55,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-25 02:28:00,264 - DEBUG - VM is in ACTIVE state now
2025-07-25 02:28:00,265 - INFO - VM name : ctest-TestRoutersBasic-53492994-78064278
2025-07-25 02:28:00,365 - DEBUG - VM ctest-TestRoutersBasic-53492994-78064278 ID is 66b28456-084c-4a0b-9f06-bf72f59ec40a
2025-07-25 02:28:00,394 - DEBUG - VM ctest-TestRoutersBasic-53492994-78064278 launched on Node cn-jenkins-deploy-platform-ansible-os-3715-1
2025-07-25 02:28:00,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66b28456-084c-4a0b-9f06-bf72f59ec40a
2025-07-25 02:28:00,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66b28456-084c-4a0b-9f06-bf72f59ec40a
2025-07-25 02:28:00,870 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dc57ea17-13ec-450d-883f-3f963b76bbff
2025-07-25 02:28:04,160 - 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 1026ms')
2025-07-25 02:28:04,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53492994-78064278 failed!
2025-07-25 02:28:04,218 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53492994:ctest-vn-03520668 is 64.241.50.193 and allocation pool is NOT set
2025-07-25 02:28:06,277 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.173/2.748/4.323/1.575 ms')
2025-07-25 02:28:06,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53492994-78064278 passed
2025-07-25 02:28:06,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-25 02:28:06,430 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53492994-78064278, IP 64.241.50.195, Port 22
2025-07-25 02:28:06,601 - DEBUG - VM ctest-TestRoutersBasic-53492994-78064278 is ready for SSH connections
2025-07-25 02:28:06,601 - INFO - Waiting for VM ctest-TestRoutersBasic-53492994-70397136 to be up..
2025-07-25 02:28:06,688 - DEBUG - VM is in ACTIVE state now
2025-07-25 02:28:06,688 - INFO - VM name : ctest-TestRoutersBasic-53492994-70397136
2025-07-25 02:28:06,779 - DEBUG - VM ctest-TestRoutersBasic-53492994-70397136 ID is b96042b0-40d5-4399-a656-1e3d17ff9df2
2025-07-25 02:28:06,779 - DEBUG - VM ctest-TestRoutersBasic-53492994-70397136 launched on Node cn-jenkins-deploy-platform-ansible-os-3715-1
2025-07-25 02:28:06,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b96042b0-40d5-4399-a656-1e3d17ff9df2
2025-07-25 02:28:06,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9a72eccb-5542-45d1-8218-9dd5e37ab5b4
2025-07-25 02:28:08,119 - 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=3.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/2.002/3.475/1.473 ms')
2025-07-25 02:28:08,120 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53492994-70397136 passed
2025-07-25 02:28:08,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-25 02:28:08,278 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53492994-70397136, IP 38.221.250.67, Port 22
2025-07-25 02:28:08,434 - DEBUG - VM ctest-TestRoutersBasic-53492994-70397136 is ready for SSH connections
2025-07-25 02:28:08,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-25 02:28:08,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.221.250.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-25 02:28:08,435 - DEBUG - ping -s 56 -c 3 -W 1 38.221.250.67
2025-07-25 02:28:12,147 - DEBUG - PING 38.221.250.67 (38.221.250.67): 56 data bytes
64 bytes from 38.221.250.67: seq=0 ttl=62 time=5.979 ms
64 bytes from 38.221.250.67: seq=1 ttl=62 time=1.273 ms
64 bytes from 38.221.250.67: seq=2 ttl=62 time=1.203 ms
--- 38.221.250.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.203/2.818/5.979 ms
2025-07-25 02:28:12,147 - INFO - Ping to IP 38.221.250.67 from VM ctest-TestRoutersBasic-53492994-78064278 passed
2025-07-25 02:28:12,147 - INFO - Deleting interface with subnet_id 92cd1b87-097e-4b36-a179-6b3d0e46fb59, port_id None from router c1b4716a-d203-4a14-86d3-d1fcde1b22a1
2025-07-25 02:28:12,355 - INFO - Deleting VM ctest-TestRoutersBasic-53492994-70397136
2025-07-25 02:28:12,431 - INFO - Deleting VM ctest-TestRoutersBasic-53492994-78064278
2025-07-25 02:28:12,507 - INFO - Deleting VN ctest-ext_vn-07410994
2025-07-25 02:28:12,596 - DEBUG - VN c2886481-d3fe-4c33-9e72-fc9d2c6bdb9e still in use: Unable to complete operation on network c2886481-d3fe-4c33-9e72-fc9d2c6bdb9e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3f238356-9157-4f43-a28c-24c77e0189fc']
2025-07-25 02:28:12,596 - WARNING - Deleting VN ctest-ext_vn-07410994 failed..Will retry
2025-07-25 02:28:14,711 - DEBUG - Response for deleting network ()
2025-07-25 02:28:14,711 - INFO - Deleting VN ctest-vn-03520668
2025-07-25 02:28:14,830 - DEBUG - Response for deleting network ()
2025-07-25 02:28:15,084 - DEBUG - No XMPP flaps were noticed during the test
2025-07-25 02:28:15,084 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-25 02:28:15,084 - INFO - --------------------------------------------------------------------------------
2025-07-25 02:28:15,825 - INFO - Deleted project: ctest-TestRoutersBasic-53492994, ID : 8a8d5582-c6fe-4c60-8670-08296157b917