2025-04-26 11:24:37,242 - INFO - Domain Default found not creating
2025-04-26 11:24:37,359 - INFO - Project ctest-TestRoutersBasic-41062814 not found, creating it
2025-04-26 11:24:37,780 - INFO - Created Project:ctest-TestRoutersBasic-41062814, ID : d1c041a0-e715-438a-9b55-763c54172d1b
2025-04-26 11:24:39,088 - INFO - ================================================================================
2025-04-26 11:24:39,088 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-26 11:24:39,088 - 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-04-26 11:24:39,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-26 11:24:39,349 - INFO - Initial checks done. Running the testcase now
2025-04-26 11:24:39,349 - INFO -
2025-04-26 11:24:40,027 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41062814
2025-04-26 11:24:40,124 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41062814
2025-04-26 11:24:40,444 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41062814', 'default']}
2025-04-26 11:24:40,722 - DEBUG - Response for create_network : {'network': {'id': '92746a7d-f6df-476a-9b1b-b4f22e06113f', 'name': 'ctest-vn-99902304', 'tenant_id': 'd1c041a0e715438a9b55763c54172d1b', 'project_id': 'd1c041a0e715438a9b55763c54172d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41062814', 'ctest-vn-99902304'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 11:24:40,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d0685ad-ed4d-4f69-a59b-80e22ed847ed', 'name': '', 'tenant_id': 'd1c041a0e715438a9b55763c54172d1b', 'network_id': '92746a7d-f6df-476a-9b1b-b4f22e06113f', 'ip_version': 4, 'cidr': '104.220.50.64/26', 'allocation_pools': [{'start': '104.220.50.66', 'end': '104.220.50.126'}], 'gateway_ip': '104.220.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.220.50.66', 'tags': [], 'project_id': 'd1c041a0e715438a9b55763c54172d1b'}}
2025-04-26 11:24:40,903 - INFO - Created VN ctest-vn-99902304
2025-04-26 11:24:40,956 - DEBUG - VN ctest-vn-99902304 UUID is 92746a7d-f6df-476a-9b1b-b4f22e06113f
2025-04-26 11:24:41,284 - DEBUG - Response for create_network : {'network': {'id': 'e057a739-af2f-4094-a630-cb00022b333d', 'name': 'ctest-ext_vn-54168928', 'tenant_id': 'd1c041a0e715438a9b55763c54172d1b', 'project_id': 'd1c041a0e715438a9b55763c54172d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41062814', 'ctest-ext_vn-54168928'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 11:24:41,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eff0b62-5de4-46e9-9842-ef264fc95d2f', 'name': '', 'tenant_id': 'd1c041a0e715438a9b55763c54172d1b', 'network_id': 'e057a739-af2f-4094-a630-cb00022b333d', 'ip_version': 4, 'cidr': '54.24.42.128/26', 'allocation_pools': [{'start': '54.24.42.130', 'end': '54.24.42.190'}], 'gateway_ip': '54.24.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.24.42.130', 'tags': [], 'project_id': 'd1c041a0e715438a9b55763c54172d1b'}}
2025-04-26 11:24:41,471 - INFO - Created VN ctest-ext_vn-54168928
2025-04-26 11:24:41,524 - DEBUG - VN ctest-ext_vn-54168928 UUID is e057a739-af2f-4094-a630-cb00022b333d
2025-04-26 11:24:41,703 - DEBUG - Services list from nova: [, , ]
2025-04-26 11:24:42,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3220-1)
2025-04-26 11:24:43,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3220-1)
2025-04-26 11:24:43,878 - INFO - Setting gateway for router 0716350e-7935-407d-8440-a26af1656b38 to network e057a739-af2f-4094-a630-cb00022b333d
2025-04-26 11:24:43,937 - INFO - Adding interface with subnet_id 3d0685ad-ed4d-4f69-a59b-80e22ed847ed, port_id None to router 0716350e-7935-407d-8440-a26af1656b38
2025-04-26 11:24:44,310 - INFO - Waiting for VM ctest-TestRoutersBasic-41062814-86253862 to be up..
2025-04-26 11:24:44,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-26 11:24:49,525 - DEBUG - VM is in ACTIVE state now
2025-04-26 11:24:49,525 - INFO - VM name : ctest-TestRoutersBasic-41062814-86253862
2025-04-26 11:24:49,589 - DEBUG - VM ctest-TestRoutersBasic-41062814-86253862 ID is 4f68c546-493a-4746-8bf6-eec1d6c0464a
2025-04-26 11:24:49,606 - DEBUG - VM ctest-TestRoutersBasic-41062814-86253862 launched on Node cn-jenkins-deploy-platform-ansible-os-3220-1
2025-04-26 11:24:49,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f68c546-493a-4746-8bf6-eec1d6c0464a
2025-04-26 11:24:49,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f68c546-493a-4746-8bf6-eec1d6c0464a
2025-04-26 11:24:49,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0e5eb5a2-4b48-4614-be4a-5f97e1a22d5c
2025-04-26 11:24:53,245 - 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=2 ttl=63 time=11.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 11.395/11.395/11.395/0.000 ms')
2025-04-26 11:24:53,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41062814-86253862 passed
2025-04-26 11:24:53,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 11:24:53,396 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41062814-86253862, IP 104.220.50.67, Port 22
2025-04-26 11:24:53,547 - DEBUG - VM ctest-TestRoutersBasic-41062814-86253862 is ready for SSH connections
2025-04-26 11:24:53,547 - INFO - Waiting for VM ctest-TestRoutersBasic-41062814-77694013 to be up..
2025-04-26 11:24:53,609 - DEBUG - VM is in ACTIVE state now
2025-04-26 11:24:53,609 - INFO - VM name : ctest-TestRoutersBasic-41062814-77694013
2025-04-26 11:24:53,673 - DEBUG - VM ctest-TestRoutersBasic-41062814-77694013 ID is 5bb3b578-6e74-409c-9984-3bbcf9c4ef06
2025-04-26 11:24:53,673 - DEBUG - VM ctest-TestRoutersBasic-41062814-77694013 launched on Node cn-jenkins-deploy-platform-ansible-os-3220-1
2025-04-26 11:24:53,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5bb3b578-6e74-409c-9984-3bbcf9c4ef06
2025-04-26 11:24:53,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac05c955-a466-4ba0-9a43-83d436e13d6c
2025-04-26 11:24:55,005 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.716 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.716/2.627/4.539/1.911 ms')
2025-04-26 11:24:55,005 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41062814-77694013 passed
2025-04-26 11:24:55,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 11:24:55,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41062814-77694013, IP 54.24.42.131, Port 22
2025-04-26 11:24:55,323 - DEBUG - VM ctest-TestRoutersBasic-41062814-77694013 is ready for SSH connections
2025-04-26 11:24:55,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 11:24:55,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.24.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-26 11:24:55,324 - DEBUG - ping -s 56 -c 3 -W 1 54.24.42.131
2025-04-26 11:24:59,248 - DEBUG - PING 54.24.42.131 (54.24.42.131): 56 data bytes
64 bytes from 54.24.42.131: seq=0 ttl=62 time=7.355 ms
64 bytes from 54.24.42.131: seq=1 ttl=62 time=0.741 ms
64 bytes from 54.24.42.131: seq=2 ttl=62 time=0.784 ms
--- 54.24.42.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.741/2.960/7.355 ms
2025-04-26 11:24:59,249 - INFO - Ping to IP 54.24.42.131 from VM ctest-TestRoutersBasic-41062814-86253862 passed
2025-04-26 11:24:59,249 - INFO - Deleting interface with subnet_id 3d0685ad-ed4d-4f69-a59b-80e22ed847ed, port_id None from router 0716350e-7935-407d-8440-a26af1656b38
2025-04-26 11:24:59,410 - INFO - Deleting VM ctest-TestRoutersBasic-41062814-77694013
2025-04-26 11:24:59,477 - INFO - Deleting VM ctest-TestRoutersBasic-41062814-86253862
2025-04-26 11:24:59,546 - INFO - Deleting VN ctest-ext_vn-54168928
2025-04-26 11:24:59,608 - DEBUG - VN e057a739-af2f-4094-a630-cb00022b333d still in use: Unable to complete operation on network e057a739-af2f-4094-a630-cb00022b333d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5e48b12e-9ad3-4115-81ff-952bf51e4895']
2025-04-26 11:24:59,608 - WARNING - Deleting VN ctest-ext_vn-54168928 failed..Will retry
2025-04-26 11:25:01,703 - DEBUG - Response for deleting network ()
2025-04-26 11:25:01,703 - INFO - Deleting VN ctest-vn-99902304
2025-04-26 11:25:01,811 - DEBUG - Response for deleting network ()
2025-04-26 11:25:02,061 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 11:25:02,061 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-26 11:25:02,061 - INFO - --------------------------------------------------------------------------------
2025-04-26 11:25:02,698 - INFO - Deleted project: ctest-TestRoutersBasic-41062814, ID : d1c041a0-e715-438a-9b55-763c54172d1b