2025-06-26 11:46:52,725 - INFO - Domain Default found not creating
2025-06-26 11:46:52,854 - INFO - Project ctest-TestRoutersBasic-29099604 not found, creating it
2025-06-26 11:46:53,276 - INFO - Created Project:ctest-TestRoutersBasic-29099604, ID : c855e516-7021-41d9-8825-6e3ce7aaa12c
2025-06-26 11:46:54,611 - INFO - ================================================================================
2025-06-26 11:46:54,611 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-26 11:46:54,611 - 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-06-26 11:46:54,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-06-26 11:46:54,865 - INFO - Initial checks done. Running the testcase now
2025-06-26 11:46:54,865 - INFO -
2025-06-26 11:46:55,548 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29099604
2025-06-26 11:46:55,647 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29099604
2025-06-26 11:46:55,971 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29099604', 'default']}
2025-06-26 11:46:56,247 - DEBUG - Response for create_network : {'network': {'id': '9a24073b-f834-4a32-b12c-0ff7aa2869eb', 'name': 'ctest-vn-28955502', 'tenant_id': 'c855e516702141d988256e3ce7aaa12c', 'project_id': 'c855e516702141d988256e3ce7aaa12c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29099604', 'ctest-vn-28955502'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 11:46:56,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3b40178-013a-42b1-9b77-94614cd25d2c', 'name': '', 'tenant_id': 'c855e516702141d988256e3ce7aaa12c', 'network_id': '9a24073b-f834-4a32-b12c-0ff7aa2869eb', 'ip_version': 4, 'cidr': '27.42.223.128/26', 'allocation_pools': [{'start': '27.42.223.130', 'end': '27.42.223.190'}], 'gateway_ip': '27.42.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.42.223.130', 'tags': [], 'project_id': 'c855e516702141d988256e3ce7aaa12c'}}
2025-06-26 11:46:56,453 - INFO - Created VN ctest-vn-28955502
2025-06-26 11:46:56,511 - DEBUG - VN ctest-vn-28955502 UUID is 9a24073b-f834-4a32-b12c-0ff7aa2869eb
2025-06-26 11:46:56,862 - DEBUG - Response for create_network : {'network': {'id': '0d73ca2f-f8c0-440d-9c67-01366ef99c85', 'name': 'ctest-ext_vn-73909018', 'tenant_id': 'c855e516702141d988256e3ce7aaa12c', 'project_id': 'c855e516702141d988256e3ce7aaa12c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29099604', 'ctest-ext_vn-73909018'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 11:46:57,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e6b7483-ea8e-491f-a668-03cea1a1eec6', 'name': '', 'tenant_id': 'c855e516702141d988256e3ce7aaa12c', 'network_id': '0d73ca2f-f8c0-440d-9c67-01366ef99c85', 'ip_version': 4, 'cidr': '59.236.172.64/26', 'allocation_pools': [{'start': '59.236.172.66', 'end': '59.236.172.126'}], 'gateway_ip': '59.236.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.236.172.66', 'tags': [], 'project_id': 'c855e516702141d988256e3ce7aaa12c'}}
2025-06-26 11:46:57,066 - INFO - Created VN ctest-ext_vn-73909018
2025-06-26 11:46:57,123 - DEBUG - VN ctest-ext_vn-73909018 UUID is 0d73ca2f-f8c0-440d-9c67-01366ef99c85
2025-06-26 11:46:57,322 - DEBUG - Services list from nova: [, , ]
2025-06-26 11:46:58,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3558-1)
2025-06-26 11:46:59,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3558-1)
2025-06-26 11:46:59,443 - INFO - Setting gateway for router 10df6b5a-c0e0-4964-82d2-7b3198903b60 to network 0d73ca2f-f8c0-440d-9c67-01366ef99c85
2025-06-26 11:46:59,506 - INFO - Adding interface with subnet_id f3b40178-013a-42b1-9b77-94614cd25d2c, port_id None to router 10df6b5a-c0e0-4964-82d2-7b3198903b60
2025-06-26 11:46:59,913 - INFO - Waiting for VM ctest-TestRoutersBasic-29099604-21969892 to be up..
2025-06-26 11:47:00,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-26 11:47:05,117 - DEBUG - VM is in ACTIVE state now
2025-06-26 11:47:05,117 - INFO - VM name : ctest-TestRoutersBasic-29099604-21969892
2025-06-26 11:47:05,189 - DEBUG - VM ctest-TestRoutersBasic-29099604-21969892 ID is b111af4d-d0de-40e5-9e1e-8db9e07c80be
2025-06-26 11:47:05,207 - DEBUG - VM ctest-TestRoutersBasic-29099604-21969892 launched on Node cn-jenkins-deploy-platform-ansible-os-3558-1
2025-06-26 11:47:05,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b111af4d-d0de-40e5-9e1e-8db9e07c80be
2025-06-26 11:47:05,573 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b111af4d-d0de-40e5-9e1e-8db9e07c80be
2025-06-26 11:47:05,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3775c46-f1a2-418c-84f7-b53e24b35bde
2025-06-26 11:47:08,868 - 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 1020ms')
2025-06-26 11:47:08,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29099604-21969892 failed!
2025-06-26 11:47:08,923 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29099604:ctest-vn-28955502 is 27.42.223.129 and allocation pool is NOT set
2025-06-26 11:47:10,983 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.784 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 = 0.784/2.998/5.212/2.214 ms')
2025-06-26 11:47:10,983 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29099604-21969892 passed
2025-06-26 11:47:11,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 11:47:11,131 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29099604-21969892, IP 27.42.223.131, Port 22
2025-06-26 11:47:11,286 - DEBUG - VM ctest-TestRoutersBasic-29099604-21969892 is ready for SSH connections
2025-06-26 11:47:11,286 - INFO - Waiting for VM ctest-TestRoutersBasic-29099604-48186168 to be up..
2025-06-26 11:47:11,366 - DEBUG - VM is in ACTIVE state now
2025-06-26 11:47:11,366 - INFO - VM name : ctest-TestRoutersBasic-29099604-48186168
2025-06-26 11:47:11,434 - DEBUG - VM ctest-TestRoutersBasic-29099604-48186168 ID is 980f9e4c-0691-4fc6-8614-dfb02d1ab492
2025-06-26 11:47:11,434 - DEBUG - VM ctest-TestRoutersBasic-29099604-48186168 launched on Node cn-jenkins-deploy-platform-ansible-os-3558-1
2025-06-26 11:47:11,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/980f9e4c-0691-4fc6-8614-dfb02d1ab492
2025-06-26 11:47:11,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51c4e511-fe26-49e0-8e12-8eb6a68347b6
2025-06-26 11:47:12,756 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.317 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.317/1.466/2.616/1.149 ms')
2025-06-26 11:47:12,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29099604-48186168 passed
2025-06-26 11:47:12,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 11:47:12,907 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29099604-48186168, IP 59.236.172.67, Port 22
2025-06-26 11:47:13,058 - DEBUG - VM ctest-TestRoutersBasic-29099604-48186168 is ready for SSH connections
2025-06-26 11:47:13,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 11:47:13,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.236.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-26 11:47:13,059 - DEBUG - ping -s 56 -c 3 -W 1 59.236.172.67
2025-06-26 11:47:16,728 - DEBUG - PING 59.236.172.67 (59.236.172.67): 56 data bytes
64 bytes from 59.236.172.67: seq=0 ttl=62 time=3.979 ms
64 bytes from 59.236.172.67: seq=1 ttl=62 time=0.740 ms
64 bytes from 59.236.172.67: seq=2 ttl=62 time=0.784 ms
--- 59.236.172.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.740/1.834/3.979 ms
2025-06-26 11:47:16,728 - INFO - Ping to IP 59.236.172.67 from VM ctest-TestRoutersBasic-29099604-21969892 passed
2025-06-26 11:47:16,728 - INFO - Deleting interface with subnet_id f3b40178-013a-42b1-9b77-94614cd25d2c, port_id None from router 10df6b5a-c0e0-4964-82d2-7b3198903b60
2025-06-26 11:47:16,908 - INFO - Deleting VM ctest-TestRoutersBasic-29099604-48186168
2025-06-26 11:47:16,975 - INFO - Deleting VM ctest-TestRoutersBasic-29099604-21969892
2025-06-26 11:47:17,064 - INFO - Deleting VN ctest-ext_vn-73909018
2025-06-26 11:47:17,130 - DEBUG - VN 0d73ca2f-f8c0-440d-9c67-01366ef99c85 still in use: Unable to complete operation on network 0d73ca2f-f8c0-440d-9c67-01366ef99c85. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-310bf607-acee-4af3-b40f-af040d6d045c']
2025-06-26 11:47:17,131 - WARNING - Deleting VN ctest-ext_vn-73909018 failed..Will retry
2025-06-26 11:47:19,225 - DEBUG - Response for deleting network ()
2025-06-26 11:47:19,225 - INFO - Deleting VN ctest-vn-28955502
2025-06-26 11:47:19,319 - DEBUG - Response for deleting network ()
2025-06-26 11:47:19,576 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 11:47:19,576 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-26 11:47:19,576 - INFO - --------------------------------------------------------------------------------
2025-06-26 11:47:20,233 - INFO - Deleted project: ctest-TestRoutersBasic-29099604, ID : c855e516-7021-41d9-8825-6e3ce7aaa12c