2024-10-28 02:19:44,556 - INFO - Domain Default found not creating
2024-10-28 02:19:44,777 - INFO - Project ctest-TestRoutersBasic-09374188 not found, creating it
2024-10-28 02:19:45,294 - INFO - Created Project:ctest-TestRoutersBasic-09374188, ID : e8fb4380-76fd-47de-bc18-ab0f2bdbc785
2024-10-28 02:19:47,239 - INFO - ================================================================================
2024-10-28 02:19:47,239 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-28 02:19:47,239 - 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-10-28 02:19:47,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.13': '0'}} with
2024-10-28 02:19:47,515 - INFO - Initial checks done. Running the testcase now
2024-10-28 02:19:47,515 - INFO -
2024-10-28 02:19:48,334 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09374188
2024-10-28 02:19:48,436 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09374188
2024-10-28 02:19:48,796 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09374188', 'default']}
2024-10-28 02:19:49,164 - DEBUG - Response for create_network : {'network': {'id': 'd02c1d8b-1f82-4265-b9fb-5f2839790c68', 'name': 'ctest-vn-55896746', 'tenant_id': 'e8fb438076fd47debc18ab0f2bdbc785', 'project_id': 'e8fb438076fd47debc18ab0f2bdbc785', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09374188', 'ctest-vn-55896746'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 02:19:49,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '35f7d94c-65df-45d6-ace0-b3d315e46cef', 'name': '', 'tenant_id': 'e8fb438076fd47debc18ab0f2bdbc785', 'network_id': 'd02c1d8b-1f82-4265-b9fb-5f2839790c68', 'ip_version': 4, 'cidr': '62.34.77.64/26', 'allocation_pools': [{'start': '62.34.77.66', 'end': '62.34.77.126'}], 'gateway_ip': '62.34.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.34.77.66', 'tags': [], 'project_id': 'e8fb438076fd47debc18ab0f2bdbc785'}}
2024-10-28 02:19:49,435 - INFO - Created VN ctest-vn-55896746
2024-10-28 02:19:49,488 - DEBUG - VN ctest-vn-55896746 UUID is d02c1d8b-1f82-4265-b9fb-5f2839790c68
2024-10-28 02:19:49,944 - DEBUG - Response for create_network : {'network': {'id': '6388de70-7b3f-4129-8293-cf95c3570ee6', 'name': 'ctest-ext_vn-21607551', 'tenant_id': 'e8fb438076fd47debc18ab0f2bdbc785', 'project_id': 'e8fb438076fd47debc18ab0f2bdbc785', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09374188', 'ctest-ext_vn-21607551'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 02:19:50,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '6827ee52-c3c3-4f1e-9b95-c86f55f6afb9', 'name': '', 'tenant_id': 'e8fb438076fd47debc18ab0f2bdbc785', 'network_id': '6388de70-7b3f-4129-8293-cf95c3570ee6', 'ip_version': 4, 'cidr': '55.213.128.192/26', 'allocation_pools': [{'start': '55.213.128.194', 'end': '55.213.128.254'}], 'gateway_ip': '55.213.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.213.128.194', 'tags': [], 'project_id': 'e8fb438076fd47debc18ab0f2bdbc785'}}
2024-10-28 02:19:50,351 - INFO - Created VN ctest-ext_vn-21607551
2024-10-28 02:19:50,408 - DEBUG - VN ctest-ext_vn-21607551 UUID is 6388de70-7b3f-4129-8293-cf95c3570ee6
2024-10-28 02:19:50,611 - DEBUG - Services list from nova: [, , ]
2024-10-28 02:19:51,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2156-1)
2024-10-28 02:19:53,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2156-1)
2024-10-28 02:19:53,363 - INFO - Setting gateway for router 5178e1e0-7bab-4d0a-9181-24391cbe8956 to network 6388de70-7b3f-4129-8293-cf95c3570ee6
2024-10-28 02:19:53,465 - INFO - Adding interface with subnet_id 35f7d94c-65df-45d6-ace0-b3d315e46cef, port_id None to router 5178e1e0-7bab-4d0a-9181-24391cbe8956
2024-10-28 02:19:53,996 - INFO - Waiting for VM ctest-TestRoutersBasic-09374188-65248004 to be up..
2024-10-28 02:19:54,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 02:19:59,302 - DEBUG - VM is in ACTIVE state now
2024-10-28 02:19:59,302 - INFO - VM name : ctest-TestRoutersBasic-09374188-65248004
2024-10-28 02:19:59,423 - DEBUG - VM ctest-TestRoutersBasic-09374188-65248004 ID is 999d717e-3df5-4142-8603-1898daf1a8f2
2024-10-28 02:19:59,443 - DEBUG - VM ctest-TestRoutersBasic-09374188-65248004 launched on Node cn-jenkins-deploy-platform-ansible-os-2156-1
2024-10-28 02:19:59,542 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/999d717e-3df5-4142-8603-1898daf1a8f2
2024-10-28 02:19:59,887 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/999d717e-3df5-4142-8603-1898daf1a8f2
2024-10-28 02:19:59,941 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/15bcaae1-3f06-4ebf-9fe9-c35aca52b768
2024-10-28 02:20:03,211 - 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')
2024-10-28 02:20:03,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09374188-65248004 failed!
2024-10-28 02:20:03,268 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09374188:ctest-vn-55896746 is 62.34.77.65 and allocation pool is NOT set
2024-10-28 02:20:05,333 - 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=3.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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.605/1.868/3.132/1.263 ms')
2024-10-28 02:20:05,333 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09374188-65248004 passed
2024-10-28 02:20:05,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:20:05,500 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09374188-65248004, IP 62.34.77.67, Port 22
2024-10-28 02:20:05,674 - DEBUG - VM ctest-TestRoutersBasic-09374188-65248004 is ready for SSH connections
2024-10-28 02:20:05,674 - INFO - Waiting for VM ctest-TestRoutersBasic-09374188-36534344 to be up..
2024-10-28 02:20:05,776 - DEBUG - VM is in ACTIVE state now
2024-10-28 02:20:05,776 - INFO - VM name : ctest-TestRoutersBasic-09374188-36534344
2024-10-28 02:20:05,881 - DEBUG - VM ctest-TestRoutersBasic-09374188-36534344 ID is a30927d0-1c8d-49d1-9ec1-3a3da1711c3d
2024-10-28 02:20:05,881 - DEBUG - VM ctest-TestRoutersBasic-09374188-36534344 launched on Node cn-jenkins-deploy-platform-ansible-os-2156-1
2024-10-28 02:20:06,000 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a30927d0-1c8d-49d1-9ec1-3a3da1711c3d
2024-10-28 02:20:06,014 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/0606cf83-990c-4b8a-8137-6245dfe387f9
2024-10-28 02:20:07,271 - 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=5.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.34 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 = 2.335/3.755/5.175/1.420 ms')
2024-10-28 02:20:07,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09374188-36534344 passed
2024-10-28 02:20:07,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:20:07,424 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09374188-36534344, IP 55.213.128.195, Port 22
2024-10-28 02:20:07,492 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-10-28 02:20:07,600 - DEBUG - VM ctest-TestRoutersBasic-09374188-36534344 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-28 02:20:12,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:20:12,601 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09374188-36534344, IP 55.213.128.195, Port 22
2024-10-28 02:20:12,763 - DEBUG - VM ctest-TestRoutersBasic-09374188-36534344 is ready for SSH connections
2024-10-28 02:20:12,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:20:12,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.213.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2024-10-28 02:20:12,764 - DEBUG - ping -s 56 -c 3 -W 1 55.213.128.195
2024-10-28 02:20:16,548 - DEBUG - PING 55.213.128.195 (55.213.128.195): 56 data bytes
64 bytes from 55.213.128.195: seq=0 ttl=62 time=6.761 ms
64 bytes from 55.213.128.195: seq=1 ttl=62 time=1.122 ms
64 bytes from 55.213.128.195: seq=2 ttl=62 time=1.293 ms
--- 55.213.128.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.122/3.058/6.761 ms
2024-10-28 02:20:16,548 - INFO - Ping to IP 55.213.128.195 from VM ctest-TestRoutersBasic-09374188-65248004 passed
2024-10-28 02:20:16,548 - INFO - Deleting interface with subnet_id 35f7d94c-65df-45d6-ace0-b3d315e46cef, port_id None from router 5178e1e0-7bab-4d0a-9181-24391cbe8956
2024-10-28 02:20:16,816 - INFO - Deleting VM ctest-TestRoutersBasic-09374188-36534344
2024-10-28 02:20:16,899 - INFO - Deleting VM ctest-TestRoutersBasic-09374188-65248004
2024-10-28 02:20:16,986 - INFO - Deleting VN ctest-ext_vn-21607551
2024-10-28 02:20:17,086 - DEBUG - VN 6388de70-7b3f-4129-8293-cf95c3570ee6 still in use: Unable to complete operation on network 6388de70-7b3f-4129-8293-cf95c3570ee6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cfbd4524-80da-455d-85c8-54aac1468692']
2024-10-28 02:20:17,086 - WARNING - Deleting VN ctest-ext_vn-21607551 failed..Will retry
2024-10-28 02:20:19,214 - DEBUG - Response for deleting network ()
2024-10-28 02:20:19,214 - INFO - Deleting VN ctest-vn-55896746
2024-10-28 02:20:19,342 - DEBUG - Response for deleting network ()
2024-10-28 02:20:19,619 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 02:20:19,619 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2024-10-28 02:20:19,619 - INFO - --------------------------------------------------------------------------------
2024-10-28 02:20:20,375 - INFO - Deleted project: ctest-TestRoutersBasic-09374188, ID : e8fb4380-76fd-47de-bc18-ab0f2bdbc785