2024-09-03 17:10:00,724 - INFO - Domain Default found not creating 2024-09-03 17:10:00,899 - INFO - Project ctest-TestRoutersBasic-19617782 not found, creating it 2024-09-03 17:10:01,368 - INFO - Created Project:ctest-TestRoutersBasic-19617782, ID : 4702e570-55e4-41b4-bc44-06305b14c00a 2024-09-03 17:10:02,873 - INFO - ================================================================================ 2024-09-03 17:10:02,873 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-03 17:10:02,873 - 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 2024-09-03 17:10:03,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2024-09-03 17:10:03,129 - INFO - Initial checks done. Running the testcase now 2024-09-03 17:10:03,129 - INFO - 2024-09-03 17:10:03,823 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19617782 2024-09-03 17:10:03,919 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19617782 2024-09-03 17:10:04,239 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19617782', 'default']} 2024-09-03 17:10:04,531 - DEBUG - Response for create_network : {'network': {'id': '6f89dac3-e4df-4c8b-926f-71b35effa4f0', 'name': 'ctest-vn-55867673', 'tenant_id': '4702e57055e441b4bc4406305b14c00a', 'project_id': '4702e57055e441b4bc4406305b14c00a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19617782', 'ctest-vn-55867673'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:10:04,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'beee75eb-8359-41f2-addb-e20bfb8d8f9a', 'name': '', 'tenant_id': '4702e57055e441b4bc4406305b14c00a', 'network_id': '6f89dac3-e4df-4c8b-926f-71b35effa4f0', 'ip_version': 4, 'cidr': '207.241.42.0/26', 'allocation_pools': [{'start': '207.241.42.2', 'end': '207.241.42.62'}], 'gateway_ip': '207.241.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.241.42.2', 'tags': [], 'project_id': '4702e57055e441b4bc4406305b14c00a'}} 2024-09-03 17:10:04,711 - INFO - Created VN ctest-vn-55867673 2024-09-03 17:10:04,763 - DEBUG - VN ctest-vn-55867673 UUID is 6f89dac3-e4df-4c8b-926f-71b35effa4f0 2024-09-03 17:10:05,062 - DEBUG - Response for create_network : {'network': {'id': 'f4f9db6b-a0a3-418b-b421-4d096eb63164', 'name': 'ctest-ext_vn-56856623', 'tenant_id': '4702e57055e441b4bc4406305b14c00a', 'project_id': '4702e57055e441b4bc4406305b14c00a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19617782', 'ctest-ext_vn-56856623'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:10:05,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '00ba082d-ff0a-4078-957b-02855f72d953', 'name': '', 'tenant_id': '4702e57055e441b4bc4406305b14c00a', 'network_id': 'f4f9db6b-a0a3-418b-b421-4d096eb63164', 'ip_version': 4, 'cidr': '146.206.69.192/26', 'allocation_pools': [{'start': '146.206.69.194', 'end': '146.206.69.254'}], 'gateway_ip': '146.206.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.206.69.194', 'tags': [], 'project_id': '4702e57055e441b4bc4406305b14c00a'}} 2024-09-03 17:10:05,285 - INFO - Created VN ctest-ext_vn-56856623 2024-09-03 17:10:05,335 - DEBUG - VN ctest-ext_vn-56856623 UUID is f4f9db6b-a0a3-418b-b421-4d096eb63164 2024-09-03 17:10:05,496 - DEBUG - Services list from nova: [, , ] 2024-09-03 17:10:06,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1839-1) 2024-09-03 17:10:07,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1839-1) 2024-09-03 17:10:07,692 - INFO - Setting gateway for router c23e8b03-7311-4630-b14e-88c38c5a9cd2 to network f4f9db6b-a0a3-418b-b421-4d096eb63164 2024-09-03 17:10:07,748 - INFO - Adding interface with subnet_id beee75eb-8359-41f2-addb-e20bfb8d8f9a, port_id None to router c23e8b03-7311-4630-b14e-88c38c5a9cd2 2024-09-03 17:10:08,169 - INFO - Waiting for VM ctest-TestRoutersBasic-19617782-67447733 to be up.. 2024-09-03 17:10:08,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 17:10:13,480 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:10:13,480 - INFO - VM name : ctest-TestRoutersBasic-19617782-67447733 2024-09-03 17:10:13,572 - DEBUG - VM ctest-TestRoutersBasic-19617782-67447733 ID is 03fa6980-7901-4f28-809e-f4955d54f910 2024-09-03 17:10:13,591 - DEBUG - VM ctest-TestRoutersBasic-19617782-67447733 launched on Node cn-jenkins-deploy-platform-ansible-os-1839-1 2024-09-03 17:10:13,668 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/03fa6980-7901-4f28-809e-f4955d54f910 2024-09-03 17:10:13,965 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/03fa6980-7901-4f28-809e-f4955d54f910 2024-09-03 17:10:13,998 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/7abff95d-c35a-45a3-b2a1-88de401bf0a6 2024-09-03 17:10:17,268 - 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 1021ms') 2024-09-03 17:10:17,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19617782-67447733 failed! 2024-09-03 17:10:17,323 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19617782:ctest-vn-55867673 is 207.241.42.1 and allocation pool is NOT set 2024-09-03 17:10:19,388 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/2.600/4.707/2.106 ms') 2024-09-03 17:10:19,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19617782-67447733 passed 2024-09-03 17:10:19,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:10:19,543 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19617782-67447733, IP 207.241.42.3, Port 22 2024-09-03 17:10:19,698 - DEBUG - VM ctest-TestRoutersBasic-19617782-67447733 is ready for SSH connections 2024-09-03 17:10:19,698 - INFO - Waiting for VM ctest-TestRoutersBasic-19617782-83899659 to be up.. 2024-09-03 17:10:19,780 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:10:19,780 - INFO - VM name : ctest-TestRoutersBasic-19617782-83899659 2024-09-03 17:10:19,852 - DEBUG - VM ctest-TestRoutersBasic-19617782-83899659 ID is 2da71c82-1c1d-4fe0-a4c4-be6e40c19ec5 2024-09-03 17:10:19,853 - DEBUG - VM ctest-TestRoutersBasic-19617782-83899659 launched on Node cn-jenkins-deploy-platform-ansible-os-1839-1 2024-09-03 17:10:19,925 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/2da71c82-1c1d-4fe0-a4c4-be6e40c19ec5 2024-09-03 17:10:19,933 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/2d825cda-d5b6-41d4-84d7-577b052b1263 2024-09-03 17:10:21,175 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.678/2.906/1.227 ms') 2024-09-03 17:10:21,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19617782-83899659 passed 2024-09-03 17:10:21,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:10:21,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19617782-83899659, IP 146.206.69.195, Port 22 2024-09-03 17:10:21,475 - DEBUG - VM ctest-TestRoutersBasic-19617782-83899659 is ready for SSH connections 2024-09-03 17:10:21,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:10:21,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.206.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-03 17:10:21,475 - DEBUG - ping -s 56 -c 3 -W 1 146.206.69.195 2024-09-03 17:10:25,465 - DEBUG - PING 146.206.69.195 (146.206.69.195): 56 data bytes 64 bytes from 146.206.69.195: seq=0 ttl=62 time=5.827 ms 64 bytes from 146.206.69.195: seq=1 ttl=62 time=0.849 ms 64 bytes from 146.206.69.195: seq=2 ttl=62 time=0.808 ms --- 146.206.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.494/5.827 ms 2024-09-03 17:10:25,465 - INFO - Ping to IP 146.206.69.195 from VM ctest-TestRoutersBasic-19617782-67447733 passed 2024-09-03 17:10:25,466 - INFO - Deleting interface with subnet_id beee75eb-8359-41f2-addb-e20bfb8d8f9a, port_id None from router c23e8b03-7311-4630-b14e-88c38c5a9cd2 2024-09-03 17:10:25,664 - INFO - Deleting VM ctest-TestRoutersBasic-19617782-83899659 2024-09-03 17:10:25,733 - INFO - Deleting VM ctest-TestRoutersBasic-19617782-67447733 2024-09-03 17:10:25,807 - INFO - Deleting VN ctest-ext_vn-56856623 2024-09-03 17:10:25,878 - DEBUG - VN f4f9db6b-a0a3-418b-b421-4d096eb63164 still in use: Unable to complete operation on network f4f9db6b-a0a3-418b-b421-4d096eb63164. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0cba1ac5-18d7-4cbc-ba57-2c46c1ca40dc'] 2024-09-03 17:10:25,878 - WARNING - Deleting VN ctest-ext_vn-56856623 failed..Will retry 2024-09-03 17:10:28,004 - DEBUG - Response for deleting network () 2024-09-03 17:10:28,004 - INFO - Deleting VN ctest-vn-55867673 2024-09-03 17:10:28,106 - DEBUG - Response for deleting network () 2024-09-03 17:10:28,360 - DEBUG - No XMPP flaps were noticed during the test 2024-09-03 17:10:28,360 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-09-03 17:10:28,360 - INFO - -------------------------------------------------------------------------------- 2024-09-03 17:10:29,031 - INFO - Deleted project: ctest-TestRoutersBasic-19617782, ID : 4702e570-55e4-41b4-bc44-06305b14c00a