2025-01-27 16:09:06,226 - INFO - Domain Default found not creating
2025-01-27 16:09:06,371 - INFO - Project ctest-TestRoutersBasic-50557557 not found, creating it
2025-01-27 16:09:06,832 - INFO - Created Project:ctest-TestRoutersBasic-50557557, ID : b10d526a-d98f-4532-a2d8-232e8835d6aa
2025-01-27 16:09:08,248 - INFO - ================================================================================
2025-01-27 16:09:08,248 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-27 16:09:08,248 - 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-01-27 16:09:08,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.6': '0'}} with
2025-01-27 16:09:08,511 - INFO - Initial checks done. Running the testcase now
2025-01-27 16:09:08,511 - INFO -
2025-01-27 16:09:09,287 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50557557
2025-01-27 16:09:09,382 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50557557
2025-01-27 16:09:09,710 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50557557', 'default']}
2025-01-27 16:09:10,012 - DEBUG - Response for create_network : {'network': {'id': 'a9650fc6-ed11-47cb-9547-01fdac4c09e9', 'name': 'ctest-vn-53839256', 'tenant_id': 'b10d526ad98f4532a2d8232e8835d6aa', 'project_id': 'b10d526ad98f4532a2d8232e8835d6aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50557557', 'ctest-vn-53839256'], 'port_security_enabled': True, 'description': ''}}
2025-01-27 16:09:10,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '52d3bbe6-6950-4873-85ba-9f2230acb12e', 'name': '', 'tenant_id': 'b10d526ad98f4532a2d8232e8835d6aa', 'network_id': 'a9650fc6-ed11-47cb-9547-01fdac4c09e9', 'ip_version': 4, 'cidr': '171.4.11.192/26', 'allocation_pools': [{'start': '171.4.11.194', 'end': '171.4.11.254'}], 'gateway_ip': '171.4.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.4.11.194', 'tags': [], 'project_id': 'b10d526ad98f4532a2d8232e8835d6aa'}}
2025-01-27 16:09:10,236 - INFO - Created VN ctest-vn-53839256
2025-01-27 16:09:10,294 - DEBUG - VN ctest-vn-53839256 UUID is a9650fc6-ed11-47cb-9547-01fdac4c09e9
2025-01-27 16:09:10,677 - DEBUG - Response for create_network : {'network': {'id': '79c97b83-0eb4-45df-8779-382afaee74ab', 'name': 'ctest-ext_vn-25346237', 'tenant_id': 'b10d526ad98f4532a2d8232e8835d6aa', 'project_id': 'b10d526ad98f4532a2d8232e8835d6aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50557557', 'ctest-ext_vn-25346237'], 'port_security_enabled': True, 'description': ''}}
2025-01-27 16:09:10,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b4d90ad-f117-4f18-b4d1-c74ba5e13cb8', 'name': '', 'tenant_id': 'b10d526ad98f4532a2d8232e8835d6aa', 'network_id': '79c97b83-0eb4-45df-8779-382afaee74ab', 'ip_version': 4, 'cidr': '112.133.112.192/26', 'allocation_pools': [{'start': '112.133.112.194', 'end': '112.133.112.254'}], 'gateway_ip': '112.133.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.133.112.194', 'tags': [], 'project_id': 'b10d526ad98f4532a2d8232e8835d6aa'}}
2025-01-27 16:09:10,916 - INFO - Created VN ctest-ext_vn-25346237
2025-01-27 16:09:10,970 - DEBUG - VN ctest-ext_vn-25346237 UUID is 79c97b83-0eb4-45df-8779-382afaee74ab
2025-01-27 16:09:11,147 - DEBUG - Services list from nova: [, , ]
2025-01-27 16:09:12,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2665-1)
2025-01-27 16:09:13,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2665-1)
2025-01-27 16:09:13,322 - INFO - Setting gateway for router 5ad5d66f-f3d0-4b50-8722-b8f55dfe0c4c to network 79c97b83-0eb4-45df-8779-382afaee74ab
2025-01-27 16:09:13,417 - INFO - Adding interface with subnet_id 52d3bbe6-6950-4873-85ba-9f2230acb12e, port_id None to router 5ad5d66f-f3d0-4b50-8722-b8f55dfe0c4c
2025-01-27 16:09:13,897 - INFO - Waiting for VM ctest-TestRoutersBasic-50557557-18613346 to be up..
2025-01-27 16:09:14,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-27 16:09:19,147 - DEBUG - VM is in ACTIVE state now
2025-01-27 16:09:19,147 - INFO - VM name : ctest-TestRoutersBasic-50557557-18613346
2025-01-27 16:09:19,231 - DEBUG - VM ctest-TestRoutersBasic-50557557-18613346 ID is 2935bb6a-8379-4d91-9c13-1924ac7d9afa
2025-01-27 16:09:19,250 - DEBUG - VM ctest-TestRoutersBasic-50557557-18613346 launched on Node cn-jenkins-deploy-platform-ansible-os-2665-1
2025-01-27 16:09:19,343 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/2935bb6a-8379-4d91-9c13-1924ac7d9afa
2025-01-27 16:09:19,634 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/2935bb6a-8379-4d91-9c13-1924ac7d9afa
2025-01-27 16:09:19,663 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/3f63384e-dd08-4a59-aab4-5fb0abe94686
2025-01-27 16:09:22,929 - 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 1031ms')
2025-01-27 16:09:22,929 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50557557-18613346 failed!
2025-01-27 16:09:22,986 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50557557:ctest-vn-53839256 is 171.4.11.193 and allocation pool is NOT set
2025-01-27 16:09:25,042 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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 = 0.370/1.629/2.889/1.259 ms')
2025-01-27 16:09:25,042 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50557557-18613346 passed
2025-01-27 16:09:25,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 16:09:25,190 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50557557-18613346, IP 171.4.11.195, Port 22
2025-01-27 16:09:25,358 - DEBUG - VM ctest-TestRoutersBasic-50557557-18613346 is ready for SSH connections
2025-01-27 16:09:25,358 - INFO - Waiting for VM ctest-TestRoutersBasic-50557557-58272981 to be up..
2025-01-27 16:09:25,448 - DEBUG - VM is in ACTIVE state now
2025-01-27 16:09:25,448 - INFO - VM name : ctest-TestRoutersBasic-50557557-58272981
2025-01-27 16:09:25,539 - DEBUG - VM ctest-TestRoutersBasic-50557557-58272981 ID is 5db5fe29-6419-4aef-8ddc-d291d5634843
2025-01-27 16:09:25,540 - DEBUG - VM ctest-TestRoutersBasic-50557557-58272981 launched on Node cn-jenkins-deploy-platform-ansible-os-2665-1
2025-01-27 16:09:25,631 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/5db5fe29-6419-4aef-8ddc-d291d5634843
2025-01-27 16:09:25,642 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/19b95104-e4fd-4df7-b7ce-67f0b9d84a1f
2025-01-27 16:09:26,895 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.829 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.829/2.911/4.994/2.082 ms')
2025-01-27 16:09:26,895 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50557557-58272981 passed
2025-01-27 16:09:27,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 16:09:27,050 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50557557-58272981, IP 112.133.112.195, Port 22
2025-01-27 16:09:27,205 - DEBUG - VM ctest-TestRoutersBasic-50557557-58272981 is ready for SSH connections
2025-01-27 16:09:27,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 16:09:27,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.133.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2025-01-27 16:09:27,206 - DEBUG - ping -s 56 -c 3 -W 1 112.133.112.195
2025-01-27 16:09:30,895 - DEBUG - PING 112.133.112.195 (112.133.112.195): 56 data bytes
64 bytes from 112.133.112.195: seq=0 ttl=62 time=4.523 ms
64 bytes from 112.133.112.195: seq=1 ttl=62 time=0.780 ms
64 bytes from 112.133.112.195: seq=2 ttl=62 time=1.043 ms
--- 112.133.112.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.780/2.115/4.523 ms
2025-01-27 16:09:30,895 - INFO - Ping to IP 112.133.112.195 from VM ctest-TestRoutersBasic-50557557-18613346 passed
2025-01-27 16:09:30,895 - INFO - Deleting interface with subnet_id 52d3bbe6-6950-4873-85ba-9f2230acb12e, port_id None from router 5ad5d66f-f3d0-4b50-8722-b8f55dfe0c4c
2025-01-27 16:09:31,112 - INFO - Deleting VM ctest-TestRoutersBasic-50557557-58272981
2025-01-27 16:09:31,186 - INFO - Deleting VM ctest-TestRoutersBasic-50557557-18613346
2025-01-27 16:09:31,290 - INFO - Deleting VN ctest-ext_vn-25346237
2025-01-27 16:09:31,393 - DEBUG - VN 79c97b83-0eb4-45df-8779-382afaee74ab still in use: Unable to complete operation on network 79c97b83-0eb4-45df-8779-382afaee74ab. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8d5feb08-8b73-4122-913d-35303b946017']
2025-01-27 16:09:31,393 - WARNING - Deleting VN ctest-ext_vn-25346237 failed..Will retry
2025-01-27 16:09:33,512 - DEBUG - Response for deleting network ()
2025-01-27 16:09:33,512 - INFO - Deleting VN ctest-vn-53839256
2025-01-27 16:09:33,629 - DEBUG - Response for deleting network ()
2025-01-27 16:09:33,885 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 16:09:33,885 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-27 16:09:33,885 - INFO - --------------------------------------------------------------------------------
2025-01-27 16:09:34,569 - INFO - Deleted project: ctest-TestRoutersBasic-50557557, ID : b10d526a-d98f-4532-a2d8-232e8835d6aa